Results 11 to 14 of 14
The server was blocked (by MAC) so 'netstat -ltun' got nothing.
HTTPD and FTPD are open to internet. I was th only person who
uses SSHD at my office computer.
...
- 11-08-2007 #11Just Joined!
- Join Date
- Oct 2007
- Posts
- 7
- 11-08-2007 #12Just Joined!
- Join Date
- Oct 2007
- Posts
- 7
Hi, could you please explain the following issues? Specifically how to do all these:
[*] Shell access is restricted/hardened.
[*] Packet filtering rules are appropriately set.
[*] MAC policies are correctly set.
[*] Suid binaries are disabled or somehow contained.
[*] Public services are hardened to great extent.
[*] Physical access is properly controlled.
- 11-08-2007 #13I don't follow. You have MAC policies preventing netstat from doing its standard job?
Originally Posted by renbenzhuyi
Originally Posted by renbenzhuyi Since you are the only person who requires ssh access, there should be firewall packet filtering rules in place that allow connections to tcp port 22 only from your client IP. And/or you should allow only pubkey authentication. And you should disable ssh protocol 1 and disallow root logins.
Originally Posted by renbenzhuyi
Since httpd and ftpd need to serve up the world, they will need to be hardened properly. A book could be written (and several have been) on this topic.
A couple basic ideas for httpd. You'll want to:
- Completely understand the (apache?) configuration directives you're using.
- Stay current with security updates.
- Blacklist abusers (with iptables or tcp_wrappers rules).
A couple basic points for ftpd. You'll want to:
- Allow only anonymous authentication.
- Serve up only non-sensitive files.
- Keep transfer directory on its own filesystem/partition.
- If your requirements include regular user authentication, then you should be looking at sftp (ssh subsystem) or require ftps (ftp over ssl) rather than plain-text logins.
- Stay current with security updates.
- Blacklist abusers.
I'm not going to get into MAC policies (not even sure what Mandriva admins prefer in that arena). That's another book.
My suggestion on suid binaries is that you search for them and remove the suid/sgid bit, unless you really need them for some reason.
Regarding packet filtering rules, if you want to post your finished ruleset here I am sure we'd be happy to review and offer suggestions.
As for physical access, the box needs to be in a trusted, secured location.
- 11-08-2007 #14Just Joined!
- Join Date
- Oct 2007
- Posts
- 7



Reply With Quote
