header image
Home arrow Home
Unix-privesc-check Update: v1.2
Blog
Jul 06, 2008 at 08:23 PM

I've just released version 1.2 of unix-privesc-check.  Download it here.

The following improvements have been made over version 1.1:

* Added check of library dirs (/etc/ld.so.conf) for Linux
* Crude check of programs called from shell scripts
* Check of libraries used by each binary program (using ldd)
* Check of hard-coded paths within binaries (using strings)
* More verbose WARNING messages. All the explanation for a WARNING
should now be on one line so you can grep for 'WARNING' and still
understand the results
* Check of file perms on open file handles of running processes
* Check for running SSH agent. Lists keys if possible.
* Check for public and private SSH keys in home directories.
* Check for running GPG agent.
* Check for cron jobs in /var/spool/cron/tabs
* Extra non-priv check for local postgres trusts
* Bug fix: lanscan now used on HPUX to get interface names
* Check if system is an NFS client (HPUX only)
* Check if swap space is readable / writable

I must admit that I haven't tested this version on HPUX and Solaris yet.  You might want to keep version 1.1 around for the time being.  I'll release a new version as time permits.

It's worth nothing that the usage has also changed...

Last Updated ( Jul 06, 2008 at 08:30 PM )
Read more...
Yaptest Update: v0.1.3
Blog
May 16, 2008 at 08:40 AM

The new version of yaptest can be downloaded here.

Here's the change log:

* Global settings (for all users) can now be configured in
/etc/yaptest.conf - useful if lots of pentesters use a
shared server.
* Lines in config files starting with # are treated as
comments.
* Included some example dictionaries. These get installed
in /usr/local/yaptest. You want to replace these
with some good dicts or select a different dict using
/etc/yaptest.conf
* Created yaptest-db-ips-mac.sh for mac users. It's basically
the same as yaptest-db-ips.sh but doesn't run yapscan
(yapscan doesn't work on mac)
* Changed usage of "yaptest-hosts.pl delete" to be like
"yaptest-hosts.pl add".
* Bug fix: yaptest-parse-nmap-xml.pl now copes when extra
XML has been appended to an existing results file.

Tennable to Charge for Nessus from August 2008
Blog
May 15, 2008 at 08:01 AM

It seems that Tennable are going to start charging to use Nessus commercially.  The Carnal0wnage blog does a good job of highlighting the pros and cons to this, so I won't repeat those views here.

Maybe now would be a good time for the pentest community to get behind OpenVAS - an open source fork of Nessus.  It's a very promising looking project, but still needs support to come up to the current Nessus standard.

If anyone knows of another good free VA tool, drop me a mail to pentestmonkey at pentestmonkey dot net and I'll post and update here. 

Metasploit Release Database of Weak SSH Keys for Debian OpenSSL Vuln
Blog
May 14, 2008 at 10:53 PM

The metasploit guys have released a database of all 1024-bit DSA and 2048-bit RSA SSH public/private keypairs that could have been generated by x86 Debian/Ubuntu hosts vulnerable to the OpenSSL Predictable Random Number Generator flaw.

This opens up the possibility of two practical attacks against weak SSH keys during pentests:

  1. If you can read a user's home directory and obtain their ~/.ssh/authorized_keys file, you can look up their corresponding private key in the metaspoloit key database and log into their account over SSH.  Nice.
  2. If you find an SSH server that uses a weak key for it's host key (check if it's weak using dowkd.pl), you can look up the corresponding private SSH host key in the metasploit database, then perform a Man-in-the-Middle attack: when legitimate users attempt to log into the server, you ARP spoof them (or similar) so they're actually talking to your SSH server.  Your SSH server authenticates itself to the user with the legit server's private SSH key.  The user believes you're the legit server and sends their username and password to you over the encrypted channel*.

Well done to the metasploit guys for the quick turn-around.  And also well done the Debian guys for the open and efficient way they've dealt with this vulnerability.

* Probably only works if tunneled clear-text password are used.  I haven't completely through this through, but I'm sure you can do something pretty bad.

 

Last Updated ( May 14, 2008 at 10:53 PM )
Yaptest Update: v0.1.2
Blog
May 12, 2008 at 09:57 PM

Yaptest v0.1.2 contains a minor bugfix.  Download it here.

* yaptest-nmap-tcp.pl now parallelises scans - accidentally
  removed in previous version.
Last Updated ( May 12, 2008 at 09:59 PM )
<< Start < Previous 1 2 3 4 5 Next > End >>

Results 26 - 50 of 102