I have recently come across the BeEF- a browser exploitation tool. In most of the articles, it is said time and again that it is developed for research and pen test purposes! Has anyone worked with this tool?(If so can you give a working understanding or please point to some links where they have explained more real life examples)
What purpose does it have in real world? I am curious to know how it would enhance the security in an organization.
|
|
|||
|
|
Alright, BeEF is a framework similar to Metasploit. BeEf uses a javascript, More Details: The BeEF launches a BeEF instance which is a combination of the UI server(the UI which is used to launch attacks and shows the various exploits) and the communications server which coordinates and communicates with the hooked browsers. These 2 servers in collaboration makes BeEF work. BeEF has a very clean interface, by organizing attacks based on type and also indicating if particular attack is relevant to a browser (IE, FF, Chrome etc.). So you can just point and click on the attacks to launch.
It can be used as a serious Pen Test tool. In most cases, when you demonstrate an XSS to a client (assuming you're a pen tester) it does not have that much of an impact when you show them a silly pop up. On the other hand, if you demonstrate XSS using BeEF, now that will give them a scare. Further reading: http://code.google.com/p/beef/wiki/WindowsInstall |
||||
|
|
While I do not have direct experience with this tool, I can say that an exploitation toolkit will not directly enhance the security of an organization. That is, this is an offensive tool not a defensive tool. How offensive tools can be, and often are, used are as a means to help guide your defensive posture. Offensive tools, like BeEF or Metasploit and to a lesser extent Nessus, are used to find vulnerabilities in your organizations defenses. Once you know about the holes you can start building out defensive measures to counteract them. The measures may be implementing a patch management system, hardening your systems and applications, tightening down (installing?) firewalls, creating a user training program, or any other project that is intended to reduce your risk profile. |
|||||
|
|
I have to agree with Scott. BeEF has very limited use as a pentest tool. It is a great attack tool however, as practically any browser that loads the hook script will get hooked. To prevent this, you will have to disable Javascript from running in your browser. If you happen to be running the BeEF server, hooked browsers will show up in the dashboard whenever a victim visits the site hosting your javascript hook. You can configure BeEF to create persistent cookies on the victim machine that will survive a simple cookie-cache clearing. So long as the target machine has a browser window open running the BeEF hook code, the attacker will have access to the victims browser. It is during this window an attacker would have to initiate additional exploits from within the BeEF framework to maintain a persistent connection after the browser window is closed. BeEF is not good as a pentesting tool as currently mitigation of the attack vector requires expecting all web browsers within an organization to run without javascript enabled. As the majority of websites (including this one) use javascript for functionality that is not likely to happen. |
|||||
|