BeEF – Browser Exploitation Framework

The Browser Exploitation Framework (BeEF) is a powerful professional security tool. BeEF is pioneering techniques that provide the experienced penetration tester with practical client side attack vectors. 

Unlike other security frameworks, BeEF focuses on leveraging browser vulnerabilities to assess the security posture of a target. This project is developed solely for lawful research and penetration testing.

Browser Exploitation Framework: BeEF Browser Exploitation Framework: BeEF

BeEF hooks one or more web browsers as beachheads for the launching of directed command modules. Each browser is likely to be within a different security context, and each context may provide a set of unique attack vectors. The framework allows the penetration tester to select specific modules (in real-time) to target each browser, and therefore each context.

The framework contains numerous command modules that employ BeEF’s simple and powerful API. This API is at the heart of the framework’s effectiveness and efficiency. It abstracts complexity and facilitates quick development of custom modules.

BeEF can be used to further exploit a cross site scripting (XSS) flaw in a web application. The XSS flaw allows an attacker to inject BeEF project Javascript code into the vulnerable web page. In BeEF terminology, the browser that has visited the vulnerable page is “hooked”. This injected code in the “hooked” browser then responds to commands from the BeEF server. The BeEF server is a Ruby on Rails application that communicates with the “hooked browser” through a web-based user interface. BeEF comes with the Kali Linux

Browser Exploitation Framework: BeEF Wiki





Browser Exploitation Framework: BeEF installation guide



The commands that come with BeEF include, but are not limited to:

  • changing URLs of links on the target page.
  • redirecting the victim’s browser to an arbitrary site
  • causing dialog boxes to appear and attempt to collect information from the user,
  • browser fingerprinting,
  • uploading arbitrary files from the victim’s device, and
  • detecting valid sessions with selected applications such as Twitter, Facebook and GMail.


Notable features

  • BeEF’s modular framework allows addition of custom browser exploitation commands.
  • The extension API allows users to change BeEF’s core behavior.
  • Keystroke logging
  • Browser proxying
  • Integration with Metasploit
  • Plugin detection
  • Intranet service exploitation
  • Phonegap modules
  • Hooking through QR codes
  • Social Engineering modules spur user response such as entering sensitive data and responding to reminders to update software
  • Restful API allows control of BeEF through http requests (JSON format).


Source && Download

Browser Exploitation Framework: BeEF download

Leave a Reply

Your email address will not be published. Required fields are marked *