HOWTO : BeEF on Ubuntu Desktop 12.04 LTS

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.



sudo -sH

cd /opt

apt-get install git

git clone git://github.com/beefproject/beef.git




Step 2 :



To install BeEF and her related packages.



cd beef



sudo apt-get install ruby1.9.1-dev libsqlite3-dev sqlite3 sqlite3-doc build-essentail



sudo gem install bundler



sudo bundle install




Step 3 :



To run it.



sudo -sH

cd /opt/beef



./beef




Then point the Firefox to http://[your IP address]:3000/ui/panel



Step 4 :



To update it.



sudo -sH

cd /opt/beef



./update-beef




Remarks :



If you also installed Metasploit, you can integrate Metasploit to BeEF to perform attacks, such as browsers autopwn.



That's all! See you.