Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Hardening scripts

  • 18-07-2012 3:26pm
    #1
    Registered Users, Registered Users 2 Posts: 10,288 ✭✭✭✭


    Hey,

    Was just looking to see if anyone has any hardening scripts for the likes of Red Hat-CentOS 5->6 and Solaris 9->11?

    I've a number of servers to harden and would like to automate it if possible. These would be mainly web servers.

    I have a generic script based on CIS_Redhat_Linux_5_Benchmark_v2.0.0 for RH to harden the box which I'll post up later.

    Any input?


Comments

  • Registered Users, Registered Users 2 Posts: 1,333 ✭✭✭Saganist


    For Solaris google SUNWjass.

    Its a hardening package that should do the business.


  • Registered Users, Registered Users 2 Posts: 10,288 ✭✭✭✭Standard Toaster


    Cheers for that, will have a sniff of it tomorrow.


  • Registered Users, Registered Users 2 Posts: 91 ✭✭madhatter76


    Bumping this again.

    for RHEL there are several scripts from https://fedorahosted.org/aqueduct/. But they seems to be outdated and not updated anymore.

    Could you post or send or give tghe link please the one you have for CIS_Redhat_Linux_5_Benchmark_v2.0.0 which is the latest?


  • Moderators, Technology & Internet Moderators Posts: 1,336 Mod ✭✭✭✭croo


    Hey,

    Was just looking to see if anyone has any hardening scripts for the likes of Red Hat-CentOS 5->6 and Solaris 9->11?

    I've a number of servers to harden and would like to automate it if possible. These would be mainly web servers.

    I have a generic script based on CIS_Redhat_Linux_5_Benchmark_v2.0.0 for RH to harden the box which I'll post up later.

    Any input?
    I haven't tried it in many years but I used to run Bastille on my debian servers way back to harden them.

    A little googling tells me you can run it on redhat too
    http://bastille-linux.sourceforge.net/running_bastille_on.htm

    I assume you enabled SELinux on the install.


  • Closed Accounts Posts: 18,966 ✭✭✭✭syklops


    If you didn't already, read the hardening guide from the NSA:
    www.nsa.gov/ia/_files/os/redhat/rhel5-guide-i731.pdf

    Its for RHEL 5 but most things should work for RHEL 6. There are many commands mentioned, so just put them together into a script(each command on a new line).


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 453 ✭✭Ant


    syklops wrote: »
    If you didn't already, read the hardening guide from the NSA:
    www.nsa.gov/ia/_files/os/redhat/rhel5-guide-i731.pdf

    Its for RHEL 5 but most things should work for RHEL 6. There are many commands mentioned, so just put them together into a script(each command on a new line).

    That's a great document. It gives just the right amount of explanatory information for the likes of me who doesn't want to just run some hardening script without knowing exactly what it's doing. A while back, I was helping another friend with a CentOS system and it took me a while to figure out what all those default services were doing. This would have been very useful at the time.

    Unfortunately, I'm currently an Ubuntu user so it'll take extra time to transfer the instructions in this guide to an Ubuntu system.


  • Closed Accounts Posts: 18,966 ✭✭✭✭syklops


    Ant wrote: »
    That's a great document. It gives just the right amount of explanatory information for the likes of me who doesn't want to just run some hardening script without knowing exactly what it's doing. A while back, I was helping another friend with a CentOS system and it took me a while to figure out what all those default services were doing. This would have been very useful at the time.

    Unfortunately, I'm currently an Ubuntu user so it'll take extra time to transfer the instructions in this guide to an Ubuntu system.

    I started work on a new version for RHEL 6, but my circumstances have changed a little and need to dive into OpenVMS(which is about as open as I am a lobster), so if you need any further help let me know.


Advertisement