Automated Penetration Testing With The Metasploit Framework

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Automated Penetration Testing With The Metasploit Framework - Presentation Transcript

    1. Automated Penetration Testing with the Metasploit Framework Tom Eston NEO Information Security Forum March 19, 2008
    2. Topics
      • What makes a good penetration testing framework?
      • Frameworks available
      • What is the Metasploit Framework?
      • How does it work?
      • Features
      • Metasploit autopwn
      • Limitations
      • Live demonstration
          • Basic Metasploit exploit
          • Exploit multiple hosts with autopwn
    3. What makes a good penetration testing framework?
      • Platform independent
          • Install on Windows, Mac, Linux
      • Good exploit collection w/regular updates
      • A intuitive, robust GUI
      • Ability to add new exploits
      • Open source or ability to customize
      • Good reporting tools
    4. What frameworks are available?
      • Metasploit Framework
      • Inguma
      • SecurityForest
      • Attack Tool Kit
      • SAINT ($)
      • Immunity Canvas ($)
      • CORE IMPACT ($)
      • Some are application or web specific…
          • Orasploit (Oracle)
          • PIRANA (email content filtering framework)
          • BeEF (Browser Exploitation Framework)
          • W3af (Web Application Exploit Framework)
    5. What is the Metasploit Framework?
      • Tool for developing and executing exploit code against a remote target machine
      • Runs on Linux, Mac OS X, BSD, Windows
      • Version 3.x written in Ruby. 2.x Perl
      • Remote/Local exploits
        • browser exploits with self contained web server
      • Ability to create exploits
      • Written by HD Moore
        • Version 3.1 HD Moore, spoonm, skape
    6. How does it work?
      • Allows a user to configure exploit modules and launch them against target systems
      • Choose and configure a payload Payload : code that is executed on the target system if the exploit is successful (bind/reverse shell, VNC server, etc...)
      • Basic Example If the exploit is successful...a payload is executed and the user is able to interact with a command shell
      • Automated Example Collect host information and exploit multiple hosts (autopwn)
        • Nmap Scan, Nessus import
    7. Features
      • Choose from 269 exploits. 118 payloads. (latest updated version 3.1)
      • Web, command line, GUI interfaces, multiple sessions
      • Auxiliary modules
        • Lorcon (802.11 packet injection), fuzzing, various scanners, DoS tools
      • Injection into running processes (meterpreter payload)
          • Executed into memory, never touches the disk
      • Create packaged executable payloads (runme.exe)
      • Pivoting
          • Use compromised host to attack hosts on internal network
      • IDS/IPS evasion options
    8. Metasploit autopwn
      • Automated exploit module
      • Requires a database
          • MySQL, Sqlite, Postgres
      • Some pre-configuration required
          • RubyGems, active record (part of ruby on rails)
          • Database configuration
      • Ability to import vulnerability data
          • Nessus NBE files, Nmap XML output
      • Run Nmap from the module and puts results in the database
      • Launches exploits based on ports, services or vulnerabilities from imported data
    9. Limitations of Metasploit
      • Majority of exploits are for Windows
      • Detailed logging not default, need to setup
      • Local exploits only start the web server locally
          • Need to send email on your own
      • autopwn may be difficult to configure correctly
      • No automated reporting in autopwn
          • Database can be queried for vulnerability data
      • Basic “bind shell” only option for payload in autopwn
      • Large amounts of import data slows exploits
          • Module needs tuning...hopefully fixed in future versions
    10. More Information
      • Metasploit Web Site http://metasploit.com
      • Metasploit Toolkit Book
      • autopwn Overview http: //blog . metasploit .com/2006/09/metasploit-30-automated-exploitation.html
      • Want to test autopwn in a lab? Backtrack 2 has it working and installed (ninja script) Backtrack 3 requires fast-track.py run first...
    11. Questions
      • [email_address]
      • Presentation posted at:
      • http://spylogic.net
    12. Live Demonstration
      • Lab Setup
          • VMware Workstation
          • 3 Windows Systems
            • 1 Windows 2000 Srv, 2 Windows XP Pro
      • Basic Metasploit exploit
          • Show basic commands
      • Exploit multiple hosts with autopwn
          • Using Nessus vulnerability data

    + agent0x0agent0x0, 2 years ago

    custom

    2543 views, 0 favs, 1 embeds more stats

    Presentation I did for the NEO InfoSec Forum in 200 more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 2543
      • 2539 on SlideShare
      • 4 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 0
    Most viewed embeds
    • 4 views on http://www.arcanesecurity.net

    more

    All embeds
    • 4 views on http://www.arcanesecurity.net

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories