iSnare.com - Free Content Articles Directory
Authors Contents [Advanced Search][Add OpenSearch][Job Search]
Distribute your articles to thousands of article sites for only $2 and below! Read more...

Index  Computers and Technology
 

Check List For Linux Security

 
[ Contact the Author] [ Send to a Friend] [ Article Publisher] [Make PDF] [ Print] [ Bookmark & Share]
 
Read our Terms of Service before reprinting this article. The submitter specified above has claimed the rights to this article.
Jair Santos

Linux is an amazing operating system considering how it was originally created. It was a modest program written for one person as a hobby – Linus Torvald of Finland. It has grown into a full-fledge 32-bit operating system. It is solid, stable and provides support for an incredible number of applications. It has very powerful capabilities and runs very fast and rarely crashes.

Unfortunately Linux machines are broken almost every day. This happens not because it is an insecure operating system. It contains all the necessary tools to make it very secure. But the truth is. It hasn’t become significantly more secure with the increase in popularity. On the other hand, our understanding of the hackers methods and the wide variety of tools and techniques available contributed to help system administrators to secure their Linux computers.

Our goal in this article is to list the most critical situations, and how to prevent an invasion with simple measures.

1- Weak passwords – By far the first and most used method used by hackers to try penetrating a Linux system is cracking a password, preferently of the user root. Usually they will target a common user first, and then, using his/her access to the operating system, try to get a privileged access cracking the root password. Good password policy, and good passwords are absolutely critical to the security on any computer. Some common mistakes when selecting a password:

A- use “password” as password.
B- use the name of the computer.
C- a well-know name from science, sports or politics.
D- reference to movies.
E- anything that is part of the user web site.
F– references associated with the account.

The latest version of Linux offer shadowed passwords. If a cracker can see an encrypted password, crack it would a simple task. So, instead of storing the password in the passwd file, they are now stored in the shadow file which is readable only for root. Before a hacker can crack a password he needs to figure out an account name. So, simple accounts names must be avoided as well. Another security measure is to apply a “no login” to the account in the passwd file. This must be done to all the accounts that don’t need to log in to the system. Examples are: apache, mysql, ftp and other.

Limit which terminals root may log in from. If the root account is allowed to log in only in certain terminals that are considered secure, it will be almost impossible for a hacker to penetrate the system. This can be done listing the allowed terminals on /etc/security. The login program will consider insecure any terminal that is not listed on this file, which is readable, only by root.

2- Open Network Ports

Any Linux default installation will provide the Operating System with tons of software and services. Several of them are not necessary or even wanted by the administrator. Removing these software and services will close the path to several attacks and improve security. The /sbin/chkconfig program can be used to stop services from automatically starting at run levels 3, 4 and 5. Log in as root and type /sbin/chkconfig --list to view all the services set to start automatically. Select the ones you don’t need and type /sbin/chkconfig 345 name_of_service off. You must do that to all services you don’t want to keep running. Also, the xinetd server can be used to disable other services as well.

3- Old Software Versions

Everyday vulnerabilities are found in programs, and most of them are fixed constantly. It is important, and sometimes critical, to keep up with the changes. There are mailing lists for every Linux distribution where one can have security related information’s, and the latest vulnerabilities found.

Some place to watch for security holes are:

· http://www.redhat.com/mailman/listinfo/redhat-announce-list
· http://www.debian.org/MailingLists/
· http://www.mandrakesecure.net/en/mlist.php
· http://www.suse.com/us/private/support/security/index.html
· http://www.freebsd.org/security/index.html
· http://www.linuxtoday.com/
· http://www.lwn.net/

It is crucial to insure that the security released patches are applied to the programs as soon as they area available. The hacker community will be aware of the discovered holes and will try to explore them before the fixes are applied.

4- Insecure and Badly Configured Programs

There are some programs that have a history of security problems. To name a few IMAP, POP, FTP, port map and NFS, are the most known. The good thing is that most of these programs can be replaced by a secure version like spop, sftp or scp.

It is important that, before deploying any service, the administrator investigate its security history. Sometimes simple configuration measures can prevent serious headaches in the future.

Some advices regarding a web server configuration are well worth to mention:

- Never run the web server as a privileged user;
- Do not keep clients’ confidential data on the web server – Credit card numbers, phone numbers, mailing addresses, must be recorded on a different machine.
- Make sure the privileged data that a user supplies on a form does not show up as a default for the next person to use the form;
- Establish acceptable values for data that is supplied by web clients.
- Check vulnerabilities on CGI programs.

5- Stale and Unnecessary Accounts

When a user no longer uses his /her account, make sure it is removed from the system. This stale account won’t have this password changed periodically leaving a hole. Publicly readable or writable files owned by that account must be removed. When you remove an unnecessary service make sure you remove or disable the correspondent account.

Security Resources in the web

Bugtraq – Includes detailed discussions of Unix security holes - http://www.securityfocus.com/

Firewalls – Discuss the design, construction, operation, and maintenance of firewall systems. - http://www.isc.org/services/public/lists/firewalls.html

RISKS Discuss risks to society from computers - http://www.risks.org/

Insecure.org - http://www.insecure.org/

Important NoticeDISCLAIMER: All information, content, and data in this article are sole opinions and/or findings of the individual user or organization that registered and submitted this article at Isnare.com without any fee. The article is strictly for educational or entertainment purposes only and should not be used in any way, implemented or applied without consultation from a professional. We at Isnare.com do not, in anyway, contribute or include our own findings, facts and opinions in any articles presented in this site. Publishing this article does not constitute Isnare.com's support or sponsorship for this article. Isnare.com is an article publishing service. Please read our Terms of Service for more information.

Jair Santos, Software Engineer, manager of Technical Support of Cliconnect Internet Telephony - http://www.cliconnect.com He has 15 years experience developing software, hold a B.Sc. and a Software Engineer Specialization course.
Article Tags: password [See Dictionary], security [See Dictionary], system [See Dictionary]
Got a question about this article? Ask the community!
Article published on October 26, 2005 at Isnare.com
 
Rate this article:

Hightech Cameras Making Sport Training Easier
Submitted by: Jesse Akre

Lately, the advances in commonly used everyday items has increased dramatically We have cell phones that can double as MP3 players, as well as having internet capabilities, video consultations on our computers, digital cameras that can download right to the computer and then be sent in for printing, and so on...

Choosing a Guillotine Style Paper Cutter
Submitted by: Jeff McRitchie

An important piece of equipment to have in your copy room or work area is a guillotine paper cutter Guillotine paper cutters can help you quickly trim large stacks of paper...

MBM Destroyit 3803 Shredder Review
Submitted by: Jeff McRitchie

The Destroyit 3808 is a heavy duty shredder that the manufacturer posits as a centralized, heavy-use office shredder...

MBM Destroyit 4005 Shredder Review
Submitted by: Jeff McRitchie

Strengths: 1 The MBM Destroyit 4005 offers a super-wide 16 inch feed opening...

MBM Destroyit 4605 Shredder Review
Submitted by: Jeff McRitchie

The Destroyit 4606 is a high-capacity industrial shredder with a top-loading mechanism that is rated for continuous use...

DFG E Titan Wire Review
Submitted by: Jeff McRitchie

DFG's E Titan Wire is an electric wire binding system that is meant for ultra heavy duty use In this review, we will take a closer look at this machine a list what we consider to be some of its strengths and weaknesses...

DFG Titan Coil Binding Machine Review
Submitted by: Jeff McRitchie

The DFG Titan Coil is a well-constructed binding system aimed at filling the needs of medium sized organizations who want to have the ability to bind their own documents in the spiral coil style...

DFG Titan Comb Review
Submitted by: Jeff McRitchie

The DFG Titan Comb is a well-constructed, heavy duty plastic comb binding option aimed at smaller binderies, print shops, and other organizations who want the ability to bind booklets, proposals, presentations, and reports in a large variety of sizes and thicknesses...

DFG TitanCoil Ultra Review
Submitted by: Jeff McRitchie

As one of the only spiral coil binding machines on the market capable of punching through hard bound / chipboard covers, DFG's TitanCoil Ultra is aimed at providing a new binding option to print and copy shops as well any organizations who desires the capability of producing hardcover wire bound books...

DFG TitanWire L Review
Submitted by: Jeff McRitchie

As a relatively new company on the binding scene, DFG is setting out to make a name for themselves The TitanWire L is a two-to-one pitch wire binding machine that is aimed at small to medium sized organizations that do a fair amount of binding in the twin loop style...

DFG Wire 1000 Review
Submitted by: Jeff McRitchie

Aimed at small or home offices and organizations that are looking for a method of binding a few dozen or so booklets a week, The DFG Wire 1000 offers the user 3:1 pitch hole punching and three different binding styles at a reasonable price...

Smart Buying Tips For Smartphone
Submitted by: Roberto Sedycias

Have you been thinking of purchasing a Smartphone This may be the perfect time as the market increasingly improves existing choices due to competition...

Smartphone - The Boss
Submitted by: Roberto Sedycias

The buzzword these days has changed dramatically and is not limited to making phone calls alone Smartphone is a tech-savvy providing a series of functions comprising of Internet access and has the aptitude of receiving and sending mails, besides editing word documents...

Hidden Cameras – So Many Reasons to Use Spy Gear Like Hidden Cameras and Surveillance Cameras
Submitted by: Marie Mardeko

People decide on buying a hidden camera for all types of reasons; several of these are for covert reasons, to be secure in their house or even just to amuse themselves...

Hidden Cameras – Wireless Hidden Cameras Keep an Eye on All the Activities When You Are Away
Submitted by: Raul Crasmin

Wireless hidden cameras are available in the market hidden in all shapes and sizes of everyday domestic articles...

Isnare.com Footer Divider

© 2004-2009. Isnare Free Articles - An Isnare Online Technologies Free Articles Project. All Rights Reserved.   Privacy Policy