Tuesday, June 24, 2014

Kali (formerly Backtrack) Linux & BeEF

Today's post is contributed by Ben Waugh (@bw_z).

BeEF is preinstalled on Kali linux distributions, allowing you to quickly use BeEF as part of your security testing toolkit.

 Running BeEF in Kali

Kali packages BeEF within the beef-xss service which can either be started from the command line, or the pre-populated menu item under Kali-Linux > Exploitation Tools > BeEF-XSS Framework. We don't recommend starting BeEF directly in Kali (using ruby beef) as this will not load BeEF with the required prerequisites.
You can start BeEF from the command line with; service beef-xss start

Stopping BeEF in Kali

Unfortunately, as the Kali GUI doesn't present the user with the ability to stop BeEF easily you have to stop the service manually by running: service beef-xss stop

Keeping Up to Date

To eliminate known issues and bugs, it's important to keep Kali and BeEF packages up to date. You can update both through the package manger by running apt-get update; apt-get upgrade

Known Issues

There are a small number of known issues running BeEF under the Kali distribution.

The most frequently encountered issue occurs when Kali loads the BeEF Admin GUI in your web browser when you start BeEF. We have found that the Firefox page often loads before BeEF has finished starting resulting in a 'server not found' error. You should be able to reload the page after a few moments to resolve the issue.

Also, we are currently aware of issues with some dependancies and ARM architectures. This has now been fixed, you can update to a working version by running apt-get update; apt-get upgrade 

Have any issues with Kali BeEF or suggestions? Please let us know on Twitter at @beefproject or on github!


  1. Thank you for the post as I have just discovered BeEF. I just wanted to clarify the following with Kali:

    service beef-xss start == good
    menu_path --> beef == good

    /usr/share/beef-xss# ./beef == not good?

    If this is true I have a couple of questions.

    1. How can I clear out the BeEF database? Usually done with beef -x
    2. How can I drop into a command shell vice GUI? (Actually when I enable the shell in the config file it breaks the gui)

    Any pointers are appreciated.

  2. The integration with metasploit is not working properly. I can see all the exploits under metasploit menu on Kali web interface but when I run an exploit I cannot see any job in msfconsole.

    1. Do you have solution for this problem. I'm still having it July 2015. Seems to be related to the version of ruby. Kali ships eith ruby-1.9.3. The current ruby is ruby-2.2.2.

    2. Actually not. I just use metaploit modules manually and forgot the integration.

  3. Visit for great iOS android source code . you can also sell your app templates or code here "
    mobile app development and keep working on freedom251

  4. Beef intergration with Kali not working. API fire error. As you saying using beef /usr/share/beef-xss# ./beef == not good?

  5. Great Information sharing .. I am very happy to read this article .. thanks for giving us go through info.Fantastic nice. I appreciate this post.custom clothing

  6. You have posted a extremely detail document. I go through all of your article and I actually really like it, I understand your point of view.
    * Boy names starting with T


  7. Thanks for such interesting and terrific post.
    Really useful and helpful information. I’ve twitted your blog.Virtual Edge

  8. Hellos craze for acting started in lofty college, during by happen he walked by the tragedy Costa Calida group also saw the undergraduates acting love poultrys.

  9. I blog frequently and I really thank Murcia you for your information. The article bee removal in tucson az has truly peaked my interest. I will book mark your blog and keep checking for new information about once per week. I opted in for your RSS feed too

  10. Recently I've found this guide on BeEF. Tell me, you guys did it?

  11. Hey!
    A faster, easier, more effective home "And, when you want something, all the universe conspires in helping you to achieve it." tree pruning Bronx County I likes your article...really good info thanks to share with us your information.....(Y). to clean your CPAP equipment. SoClean kills 99.9% of CPAP germs in your mask, house and reservoir with no disassembly.:}

  12. I have read you post, Great work you really did it very well. Keep working like this and sharing informative posts like
    this one. keep it up. I'm waiting for your next post...
    when does it make sense to refinance your mortgage

  13. Great tips I have noted all in my diary I'll use your all tips as you mentioned I really like your article I was searching on health tips as I'm working on health topics as you can see my work but yours is too good I personally appreciate you for this. Keep working like this.custom t shirts calgary

  14. just try to read this sample and you will understand the essential of kindness. Bless you!

  15. Detailed instruction. Thanks for sharing gmail sign in

  16. It isn't against the law to are searching out help and thoughts from individuals who maintain taking part in in the situation rely on or writing such paper. Statistical dissertation help author is the most asked expert dissertation writing provider within the ultra-present day information of tutorial writing offerings.

  17. There had been times while the garbage has grown to be gathered in huge rubbish cans. Best garbage disposal for the money disposing of this rubbish became an actual assignment. Kitchen junk is accumulated in huge quantity after every few hours. As a prevent end result, it's miles crucial to hold it ways far from the kitchen then this is extraordinary for all chef and housewife.

  18. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.

    Selenium with python Training in Electronic City

  19. I have noticed all in my journal I'll utilize your everything tips as you referenced I truly like your article Pay for Assignment to be Done. I was looking on wellbeing tips as I'm dealing with wellbeing points as should be obvious my work yet yours is too great what an unbelievable work! it was instructive as well as pleasantly composed. to the point. might want to peruse more from this space.