Owasp2012 MarkPiper
Owasp2012 MarkPiper
Owasp2012 MarkPiper
WHO
: Specifically:
• Wade Alcorn
• Michele Orru
• Brendan Coles
• Christian Frichot
• Ben Passmore
• Heather Pilkington
XSS < 60 SECONDS
BeEF History
BeEF in PHP-minor
: Web UI
: Console UI
: Metasploit Integration
: XSSRays
: Modular structure
Module Features:
: Persistence
Architecture Overview
: The Core
: Extensions
: Command Modules
ARCHITECTURE
CORE
: CentralAPI
: Filters
: Ruby extensions
: Database modelling
: Hooking methods
EXTENSIONS
Extensions
Extension Examples
: The Console
: Metasploit Integration
: XSS Rays
: Web UI
: Event handling
Command Modules
: “The Payload”
: Several categories:
• Browser
• Debugging
• Host
• Misc.
• Network
• Persistence
• Recon
• Router
ARCHITECTURE
Module Overview
config.yaml:
module.rb:
command.js:
E.g.: beef.dom.createInvisibleIframe();
UI VIEW
GETTING STARTED
EXECUTION – INSTALLATION ON EC2
EXECUTION – INSTALLATION ON EC2
EXECUTION – INSTALLATION ON EC2
UI: /ui/authentication
UI: /ui/panel
ZOMBIE: /demos/basic.html
HOOKING:
COMMAND UI:
: Includes:
Zombie list
module browser
selected command module configuration
ZOMBIE: COMMAND RECV
POLLING:
PAYLOAD:
RETURN RESULT:
MOBILE BROWSERS:
: QR code support
INTRODUCING THE RESTFUL API
RESTFUL API:
: Works as advertised
USAGE:
: Twitter :: @beefproject
: Github :: https://github.com/beefproject
: IRC :: ircs://irc.freenode.net/beefproject
: Me :: [email protected]
REFERENCES
Futher Reading
: https://www.owasp.org/index.php/Cross-
site_Scripting_(XSS)
: http://code.google.com/p/browsersec/
: http://aaronhardy.com/javascript/javascript-
architecture-the-basics/
: http://events.ccc.de/congress/2011/Fahrplan/attachm
ents/2009_aaj-28c3.pdf
: https://github.com/beefproject/beef/wiki/BeEF-
RESTful-API
www.insomniasec.com