Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Focus-Sun
[Top] [All Lists]

Solaris Security Script

Subject: Solaris Security Script
Date: Fri, 10 Dec 2004 10:37:12 -0000 (GMT)
Hi All,

I'm working on a rather large Solaris security script, could you please
all post your idea's in here or mail me directly for things that you would
recommend checking for. I will be releasing the script undel the GPL when
it's finished, at the moment it is only in a development stage, but works,
and is a right mess. At this point in time I am mainly concerned about
functionality, I will do a lot of tidying up later on.
So far here's what it's doing, checking for:

- Does a complete filesystem search in all files for the word "password",
as a load of developers tend to leave passwords lying around in scripts,
etc. The output here is a mess, but as I said I will be tidying it up.

- Check what files users have in their home directories, and what the
permissions on these files are.

- Check for the presence of SUID files

- Get network information, IP's routes, netstat -a output.

- Copy important configuration files to have a look at, inetd.conf,
sshd2_conf, services, passwd

- Checks what services are set to run automatically

- Search for symbolic links

- Check for known development tools, gcc, cc, jave, perl, etc

- Check mount points, and what options they are mounted with

- Check ftpusers file to make sure root is not allowed to ftp

- Check various files executable permissions, snoop, sshd2, rlogin, rwho, etc

- Check certain accounts for the presence of a shell, lp, nobody, sys,
adm, etc

- Check for programs that shouldn't be on a production box, nmap, tcpdump,
nc, etc

That's all I have for now, but any ideas would be really welcome. The idea
is to run this script as root, so that as much information as possible can
be obtained, so that it takes the grunt work out of checking a solaris
box, and so that we can concentrate on more important things.
As soon as the script gets to a decent level I will post links to it, so
whoever wants it can grab it. If I get enough responses I may open up an
area on sourceforge for it as well, and get a couple more people working
on if anyone is willing.

xyberpix


<Prev in Thread] Current Thread [Next in Thread>