LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Security for Linux for beginners? (https://www.linuxquestions.org/questions/linux-security-4/security-for-linux-for-beginners-4175482919/)

Novatian 10-31-2013 09:48 AM

Security for Linux for beginners?
 
Good day, I ask, is there a sticky or page to read for securing your Linux OS for beginners?

I have heard of root kits, Linux AV, hacking, phishing, key logging, and need to know more. Other users could use the knowledge too.

TobiSGD 10-31-2013 10:25 AM

http://www.linuxquestions.org/questi...erences-45261/

Turbocapitalist 10-31-2013 02:54 PM

Quote:

Originally Posted by TobiSGD (Post 5055930)

Some of the links there could be touched up. There is a LQ Wiki, maybe it could be ported over to that?

Nessus, for example, is long gone. So OpenVAS should get named there.

Also some graphical tools are available, Zenmap and Wireshark are two.

Soon the iptables references will have to be supplemented with NFTables references. It will be in the new kernels soon.

szboardstretcher 10-31-2013 03:01 PM

Yes,. Unspawn has put together a huge sticky:

http://www.linuxquestions.org/questi...erences-45261/

unSpawn 11-01-2013 02:27 AM

Quote:

Originally Posted by Turbocapitalist (Post 5056069)
Some of the links there could be touched up. There is a LQ Wiki, maybe it could be ported over to that?

Thanks for volunteering!

salasi 11-01-2013 01:27 PM

Quote:

Originally Posted by Novatian (Post 5055909)
Good day, I ask, is there a sticky or page to read for securing your Linux OS for beginners?

I am not sure that there is a good '...for beginners...' security guide on this site (there are more 'drill down' type of materials, but you have really to know what you are looking for and why to make best use of them), although there may be a number of posts that you can search for which cover the subject in more or less detail.

These are distro-specific, but the principles that they cover apply everywhere:

http://doc.opensuse.org/documentatio....security.html
http://www.debian.org/doc/manuals/se.../index.en.html

This isn't so distro-specific, and is part of a series

http://www.ibm.com/developerworks/li...ary/l-seclnx3/

This is a bit more general, and specifically aimed at beginners

http://beginlinux.com/blog/2013/02/s...your-linux-pc/

(but a search with your favourite search engine will turn up more)

Quote:

Originally Posted by Novatian (Post 5055909)
I have heard of root kits, Linux AV, hacking, phishing, key logging, and need to know more. Other users could use the knowledge too.

Assuming that you are using a Linux distro (which one?) one of the things that you can do is go into the package manager and look for appropriate packages. So, if, for example, you were particularly interested in 'root kits', searching for 'root' will give you a list, probably including rkhunter (root kit hunter) and chkrootkit (check for root kits). the list will probably be a little longer than you'd like, but it doesn't take all that long to look through, say, 20 or 30 candidates and spot the two or three worthwhile candidates.

At some point, you have to have some faith in your distro, and assume that they have made choices that are sound, and that, when they chose what applications to include in their repos, they made good choices.

AV: the same trick will work, and turn up, eg, ClamAV, although something like 'antivirus', 'anti' or 'virus' might work better.

You might also want to check on 'firewall' too; your distro probably includes an 'easy' set up package, but that will vary from distro to distro. Or, you could learn iptables, which is the (non GUI) system which underlies the GUI front ends.

salasi 11-01-2013 04:06 PM

I intended to add:

If all your computing is on Linux, you don't really have to (currently) bother with anti-virus. The vast majority are 'windows-only' and won't do you any harm. That said, there are lab samples (proof of concept) Linux viruses that could spread amongst Linux machines, and having anti-virus is a polite thing to do, because you could have a virus that might be passed on to a windows machine. And, given that it is theoretically possible to have a Linux virus, maybe tomorrow will be the day that a virulent Linux virus gets into the wild, and, if it is, maybe having installed an anti-virus today puts you into a better position.

Keep your software up to date. This is almost inevitably a simple process under Linux (provided that you don't try to use it 'like windows'). Somewhere in the package manager or a separate updater there is a 'get updates' facility (it'll probably run automatically at some time, either periodically or when you start the computer) and all you have to do is say 'yes' at a time at which you are connected to the 'net to get the updates.

If your distro provides something like 'SELinux' or 'AppArmor' either of those would provide an additional level of protection.

Don't do stupid things! there are some sites that you know are dubious, don't download things from them and probably best to avoid them altogether.

While all that gloom and despondency might seem a bit much, most ordinary Linux users get by without consciously doing anything in particular to avoid problems. A little bit of conscientiousness on top, and you'd have to be very unlucky to have a problem (please feel free to ignore the above if you happen to be a three letter agency, or feel that you should have similar standards).


All times are GMT -5. The time now is 05:19 PM.