This video demonstrates an attack on the PostgreSQL database service on the metasploitable hackable box.
"Metasploitable is an Ubuntu 8.04 server install on a VMWare 6.5 image. A number of vulnerable packages are included, including an install of tomcat 5.5 (with weak credentials), distcc, tikiwiki, twiki, and an older mysql." - blog.metasploit.com
Links
Watch video on-line:
Download video: http://download.g0tmi1k.com/videos_archive/Metasploitable-PostgreSQL.mp4
Method
- Use Nmap to scan the network (gathering information)
- Use Nmap to do a more detailed scan of the target (gathering information)
- Use Metasploit to brute force the login (gaining access)
- By using PostgreSQL client we are able to send commands to the database (Discover password hashes and reading files)
Tools
- Nmap - on Backtrack 4 (Final)
- Metasploit - on Backtrack 4 (Final)
- MySQL - on Backtrack 4 (Final)
- Dictionaries/Word-lists - defaults with metasploit work (/pentest/exploits/framework3/data/wordlists)
- Metasploitable.vmdk (SHA-1: 7DF98130DAC3167690209716EBF86047C6B9672F)
Commands
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|
Notes
Song: Carl Cox - Phoebus Apollo
Video length: 3:24
Capture length: 5:58
Blog Post: https://blog.g0tmi1k.com/2010/07/metasploitable-postgresql/