BeEF – The Browser Exploitation Framework Project 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.
Step 1 :
To download the latest version of BeEF to the current directory.
apt-get install git
git clone git://github.com/beefproject/beef.git
Step 2 :
To install BeEF and her related packages.
sudo apt-get install ruby1.9.1-dev libsqlite3-dev sqlite3 sqlite3-doc build-essential
sudo gem install bundler
sudo bundle install
Step 3 :
To run it.
Then point the Firefox to
hxxp://[your IP address]:3000/ui/panel
Step 4 :
To update it.
If you also installed Metasploit, you can integrate Metasploit to BeEF to perform attacks, such as browsers autopwn.