what have you done to my topic????
guys, please read the first few posts for this topic. Its about securing *nix, not Netbios arguements and who first implemented it and how. So, move it to another thread or contribute to the TOPIC of this thread.
Thanks.
Re: what have you done to my topic????
Hello Hogfly,
Here is my (little) contribution. I'm not an *nix-guru, not guru at all.
First of all
------------
- Disable any unnecessary services.
- Try to replace uncrypted with crypted (ssh instead of telnet etc)
- Try to stay at current level of patching for OS and offered services.
- Read greedily news forums about those products.
- Remove any "information giving" features (Ok, I didn't apply this one yet on my server.) For example, named gave kindly its version from a request in CHAOS class. Also, APACHE gives its version when prompting for a "GET /" or an unexisting page.
- Don't install unnecessary applications on a server. And at all, NO X-WINDOW if that can be avoided.
Second of all
-----------------
- Install tripwire or an equivalent to audit files and filesystem for any modification.
- At the installation, create a very granular file system with RO were it should be (/bin, /usr/bin and so on), /var on its own, /tmp also.
- Try to install strong PAM and shadow passwords. Some systems accept a library on PAM that will try to crack the password on password changes, and accept or refuse that password based on the easiness of the crack.
- Grab yourself a password cracker and try to hack your password. Use it on another system! (as it is very very resources consuming)
- Install some kind of host firewalling. Denying (or logging) icmp, and requests made to not offered and "known for flaws" services (for example : smtp, pop, telnet and so on)
- Install some kind of host IDS. Snort is quite cool for that, even if it is a NIDS rather than an IDS.
Ok, I agree that those are only a few steps in a long marathon. But be secure doesn't mean you can't be hacked, but that you respond to cracker's attack ... before they think of attacking!
Jean-Francois