question about hardened linux

question about hardened linux

Secure Home | Search | About
 Computer Software Security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
question about hardened linux Tom Forsmo 03-17-2008
Posted by Tom Forsmo on March 17, 2008, 12:15 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
Hi

I am setting up a small private server which will run services like
smtp, imap, webserver, news and webmail on Debian. I have been reading,
among other things, the Gentoo hardening documentation and it explains
different hardening techniques, such as PaX, GrSecurity and hardened
toolchain and sources. I am a little bit confused now and are looking
for some help to clarify some questions I have.

My main question is, what of all that is relevant for me to do to harden
my server? Since my server is only going to run a few security minded
services, my thinking is that a lot of what the gentoo hardening
doucmentation describes does not apply as much to my scenario.

- As I see it, MAC is mostly of interest if users has login access to
the server.
- hardened toolchains and sources (i.e. use of ASLR and SSP) are mostly
of interest to servers/programs which do not care that much about
security, i.e. they have lots of buffer overrun problems

On the contrary, Bastille is important, so is probably parts of GrSecurity.

The way I see it is that if I run a server, the most important things I
have to focus on is:
- only use servers that are designed for security, such as dovecot,
postfix, apache2, ssh, openvpn
- configure them properly and securely, including applying chroot and
only accepting ssl connections with certificates.
- only start the services I actually use
- setup a proper firewall
- perform environment security setup, including things such as
        - using bastille,
        - basic linux security setup, such as hosts.deny etc
        - read-only partitions
        - tripwire
        - secure system logs
- regularily perform security maintenance and updates.

Is this enough to fend of 99% of the security issues, or am I entirely
mistaken? My aim here is to keep away even the seasoned hackers, but
probably not the best of them. DDOS is not an issue yet, its more about
making sure things stored on the server are kept private.

regards

tom

Similar ThreadsPosted
Linux Question September 10, 2005, 12:50 am
What Is Linux? December 31, 2007, 10:16 am
KDE (on linux) in the classroom August 8, 2005, 4:41 am
Securing Linux in 10 steps... June 19, 2005, 8:00 pm
Securing linux/bsd review June 30, 2005, 10:13 am
Linux Security Better than other platforms August 1, 2005, 3:03 am
How to check your linux security August 1, 2005, 7:33 pm
Diary of a linux newbie... August 16, 2005, 6:03 pm
Linspire Gives Away Free Linux September 5, 2005, 6:52 pm
Cryptocard secure auth for Linux & Mac... June 9, 2005, 12:17 am

The site map in XML format XML site map

Contact Us | Privacy Policy