
BeEF
BeEF, the Browser Exploitation Framework, is an open-source Ruby tool for taking control of web browsers. An operator injects a small JavaScript hook into a page, usually through an XSS flaw or social engineering, and any browser that loads the page is hooked: it beacons back to the BeEF server and the operator drives it from a web panel, running modules for keylogging, phishing, network reconnaissance, and credential theft against the victim's browser session. It is a standard penetration-testing tool, and like any browser C2 it works the same way for an intruder as for a tester.
BeEF targets the browser, not the host. The control sits in a hooked tab, so the lasting signal is the hook itself and the exposed BeEF installs operators leave behind in open directories. Hunt.io picks it up there, in AttackCapture.
- Aliases: BeEF, BeEF-XSS, Browser Exploitation Framework
- Type: browser exploitation and client-side C2 framework
- Maintainer: the BeEF project, open source
- Project: github.com/beefproject/beef (open-source tool source, referenced as text only, not linked)
- Written in: Ruby, with a JavaScript hook
- Default port: 3000, serving both the hook and the admin panel
- Hook: /hook.js, which sets a BEEFHOOK session on the victim browser
- Admin panel: /ui/panel, default credentials beef / beef
- Dual-use tool
- Browser C2


