I was wondering if you guys might be willing to help me create a sticky thread that we could use to talk about Linux security from beginner level up to more advanced topics. I was thinking that this way we could help any newbies to Linux (or BSD for that matter) get a feel for security, and I'd have a place to refer back to (because I forget things). I'd appreciate any contributions you guys are willing to make.
Sweet, thanks for the response! Perhaps we could elaborate on these one by one? For example, how might one find a list of all the outward facing daemons on their machine? I think after finding all the outward facing daemons, it might be a good idea to either shut them down as Linux_0 so wisely stated, or if they are needed, perhaps change the ports they use so that scanners will have a harder time finding them?
Also, I think we should also talk about doing a bit of "forensic analysis" (i.e. how to figure out if your machine got compromised and what to do about it). When I have a bit more free time (like this weekend) I will read up on it and post my findings here.
Step 1) only install software from the official software distribution application (i.e. in Ubuntu 9.10 that's the Software Store)
Step 2) Enable updates and make sure they are installed at regular intervals
Step 3) Don't connect your PC directly to the internet, but make use of a NAT router in between. Note that this works independently from any firewall you may or may not have.
Step 4) there is no step 4
Basically, if you leave the Windows world where you're used to download executable code from the internet and execute it without thought or restrictions, you're so much better off from a security standpoint. Since virtually all windows PCs are infected with spyware a merge to Linux would be very beneficial to security. Even with a clean windows installation contains a light form of spyware - Microsoft does business with Alexia which integrates their sniffing app with Windows).
------------------------------...man will occasionally stumble over the truth, but usually manages to pick himself up, walk over or around it, and carry on.
Reply to sub mesa