23
CANSECWEST 2007 OR OR HACK HARD HACK HARD LIVE FREE LIVE FREE M E T A S P L O I T 2 0 0 7

LIVE FREE ORHACK HARD - CanSecWest · • Ruby shell available at any time. CANSECWEST 2007 scalability ... • timestomp (f*off Encase) ... • Write security tools as modules

  • Upload
    lyhanh

  • View
    220

  • Download
    0

Embed Size (px)

Citation preview

CANSECWEST 2007

OROR HACK HARDHACK HARDLIVE FREELIVE FREE

M E T A S P L O I T 2 0 0 7

CANSECWEST 2007

who am i ?who am i ?

H D Moore <hdm [at] metasploit.com>

Metasploit project

Core developer and project lead

BreakingPoint SystemsDirector of Security Research

CANSECWEST 2007

why listen ?why listen ?• Fun with Metasploit 3

• Tools for pen-testers

• Tools for bug hunters

• API for developers

CANSECWEST 2007

metasploit frameworkmetasploit framework• An exploit development platform

• Security researchers• Penetration testers• Security vendors• Script kiddies

CANSECWEST 2007

metasploit coveragemetasploit coverage• In the last few weeks

• Windows .ANI (unpatched)• Windows DNS RPC (unpatched)• Handful of ActiveX exploits• Fun new DCERPC tools

CANSECWEST 2007

metasploit historymetasploit history• 1.0 (2003-2004) PERL

• 15 exploits, curses UI

• 2.7 (2003-2006) PERL• 150+ exploits, 3 UIs

• 3.0 (2007+) RUBY

CANSECWEST 2007

metasploit 3.0metasploit 3.0• 100,000 lines of Ruby• 53,000 lines of C/C++• 8,000 lines of ASM• 360 unique modules• 2 years to develop

CANSECWEST 2007

3.0 release3.0 release• Announced March 27th 2007

• 20,000 IPs downloaded

• 4,000 IPs updated

• RoR == 100+ load avg.

CANSECWEST 2007

compatibilitycompatibility• Linux, BSD, Win32, Mac OS X

• Native Windows support

• Runs on embedded Linux/BSD• Nokia 770, Nokia N800• Zaurus (multiple models)

CANSECWEST 2007

extensibilityextensibility• New Auxiliary module format

• Event hooking framework

• Plugins can hook and extend

• Ruby shell available at any time

CANSECWEST 2007

scalabilityscalability• Modules split into directories

• Modules are cached

• Namespace is enforced

• Supports thousands of modules

CANSECWEST 2007

concurrencyconcurrency• Use Ruby's built-in threading

• Multiple users per interface

• Persistent exploit modules

• Handle multiple shells at once

CANSECWEST 2007

802.11802.11• Ruby-Lorcon (injection)

• Ruby-PcapX (sniffing)

• Rewrites of common tools

• 802.11 driver exploits

CANSECWEST 2007

kernel-modekernel-mode• Support win32 kernel payloads

• Stage any userland payload

• Opens the door...

CANSECWEST 2007

client-sideclient-side• Web server for browser exploits

• SMTP delivery of file-format bugs

• Inject any payload as an EXE

• Deep evasion features

CANSECWEST 2007

meterpretermeterpreter• The super-payload for Windows

• Merged functions into “stdapi”• ls, rm, upload, download• ps, kill, execute, open• route, ifconfig, portfwd• eventlog, registry, threads

CANSECWEST 2007

meterpretermeterpreter• The Meterpreter “priv” extension

• hashdump (no-disk pwdump)• timestomp (f*off Encase)• privilege escalation...

meterpreter > use priv

CANSECWEST 2007

meterpretermeterpreter• Provides a rich Ruby API

• Meterpreter scripting• Kill all antivirus, firewalls, etc• Search and download files• Read and write process memory...

CANSECWEST 2007

auxiliaryauxiliary• Write security tools as modules

• Seperated into functional groups• discovery, scanning, info, dos• audit, brute force, fuzzing

CANSECWEST 2007

licensinglicensing• Metasploit Framework License

• Prevents commercial abuse

• Allows commercial modules

• Not FSF/OSU compatible

CANSECWEST 2007

licensinglicensing• Rex library provided under BSD

• Rex includes the interesting code• HTTP, SMB, DCERPC, SMTP

CANSECWEST 2007

Demos !Demos !

CANSECWEST 2007

questions ?questions ?