Browser Exploitation Framework for assessing browser security through client-side attack vectors and hooking.
beef -x config.yaml beef -x config.yaml Sandbox: execFile · Timeout: 600s
browser.exploitation browser.attack browser.hooking credential.harvesting | Name | Type | Required | Default | Description | Aliases |
|---|---|---|---|---|---|
flag-x | string | No | - | Config file path | -x, --config |
flag-p | integer | No | - | Bind port | -p, --port |
flag-H | string | No | - | Bind host/address | -H, --host |
flag-P | string | No | - | Admin UI password | -P, --password |
flag-c | string | No | - | Command to execute | -c, --cmd |
flag-d | boolean | No | - | Debug mode | -d, --debug |
flag-v | boolean | No | - | Verbose output | -v, --verbose |
flag-s | boolean | No | - | Enable SSL | -s, --ssl |
flag-D | boolean | No | - | Daemonize (run in background) | -D, --daemon |
flag-l | string | No | - | Log file path | -l, --log |
flag-ui | integer | No | - | UI server port | --ui, --ui-port |
flag-ui-host | string | No | - | UI server bind address | --ui-host |
r | boolean | No | - | Enable RESTful API | -r, --restful |
Inputs
network.url Hook URL to serve to target
Outputs
browser.session Hooked browser session
credential.data Harvested credentials
network_trafficprocess_spawn Produces
browser.sessioncredential.dataConsumes
network.url| Resource | Value |
|---|---|
| CPU | medium |
| Memory | 128 MB |
| Network | medium |
| Disk I/O | low |
Start BeEF with default config
beef -x config.yaml Start BeEF on custom port
beef -x config.yaml -p 8080 Start BeEF with SSL enabled
beef -x config.yaml -s -p 443 Start BeEF daemonized
beef -x config.yaml -D Start BeEF with custom UI port
beef -x config.yaml --ui 8081 Start BeEF in debug mode
beef -x config.yaml -d -v Start BeEF on specific interface
beef -x config.yaml -H 10.0.0.1 -p 3000 BeEF (Browser Exploitation Framework) is a penetration testing tool focused on web browsers. It uses a client-side attack vector to assess browser security by hooking one or more browsers and using them as beachheads for launching further attacks.
BeEF consists of: