BeEF is short for The Browser Exploitation Framework. It is a penetration testing tool that focuses on the web browser.

Amid growing concerns about web-borne attacks against clients, including mobile clients, BeEF allows the professional penetration tester to assess the actual security posture of a target environment by using client-side attack vectors.

Unlike other security frameworks, BeEF looks past the hardened network perimeter and client system, and examines exploitability within the context of the one open door: the web browser.

BeEF will hook one or more web browsers and use them as beachheads for launching directed command modules and further attacks against the system from within the browser context.

Also Read : Trommel : Sift Through Embedded Device Files to Identify Potential Vulnerable Indicators

Requirements

  • Operating System: Mac OSX 10.5.0 or higher / modern Linux. Note: Windows is not supported.
  • Ruby: 2.4 or newer
  • SQLite: 3.x
  • Node.js: 6 or newer
  • The gems listed in the Gemfile:
  • Selenium is required on OSX: brew install selenium-server-standalone.

Quick Start

The following is for the impatient.

The install script installs the required operating system packages and all the prerequisite Ruby gems:

$ ./install

For full installation details, please refer to INSTALL.txt.

We also have an Installation page on the wiki.

Upon successful installation, be sure to read the Configuration page on the wiki for important details on configuring and securing BeEF.

Usage

To get started, simply execute beef and follow the instructions:

$ ./beef