http://bastille-linux.sourceforge.net/ is an automatic hardening tool originally oriented towards the Red Hat and Mandrake Linux distributions. However, the 
bastille package provided in Debian (since woody) is patched in order to provide the same functionality for Debian GNU/Linux systems.