Tuesday, July 3, 2012

Raspberry Pi with a side of BeEF

A guest post from our friend g13:

The Raspberry Pi(http://www.raspberrypi.org) is a $25 ARM GNU/Linux box that is the size of a credit card. The applications for this little device are seemingly endless. So naturally I picked one up and started working on some penetration testing scripts for this box. One of my goals was to get BeEF running; which I have done.


BeEF comes with a couple installation scripts. I used these as a starting ground to get BeEF running on the Raspberry Pi. The script I started with was the "install-beef" script. After running the script, I noticed that the install failed after trying to install rvm. It appeared that even though rvm installed, it was not available to run. I was able to track this down to a PATH issue. In the install-beef script, the $HOME/.rvm/scripts/rvm file is referenced. That file was never created. I changed the install-beef script to contain a line which created the symbolic link between /usr/local/rvm/scripts/rvm and the one in my local path. After that, everything went off without a hitch!

I also removed some of the code to detect other OSes as the script is intended to only run on the Raspberry Pi. I would also like to note that during the installation, Ruby 1.9.2 is compiled and installed. I highly recommend changing the RAM allocation from 128/128 to 224/32. This will speed up compile time. If you are not familiar with how to do that, here is the command:
As Root: cp /boot/arm224-start.elf /boot/start.elf

BeEF takes about 1 minute to load after the RAM changes are made.  It is not recommended to run X while running BeEF.  Navigating to the UI from another machine is decent, but not as snappy if BeEF was run from more powerful hardware.  I tested hooking a few clients and the performance in the UI did not degrade.

Of course, what would this post be without a screen shot of BeEF running on the Pi:

I have included my modified install script in the PwnBerryPi pentesting suite which is available on github.

135 comments:

  1. It is my first visit to this webpage; I am going by this site and read your post, for example, important and supportive blog entry .

    ReplyDelete
    Replies
    1. I have read your article, it is very informative and helpful for me.I admire the valuable information you offer in your articles. Thanks for posting it.
      Tangki Panel
      Tangki Fiberglass
      Jual Septic Tank
      Mesin RO

      Delete
    2. Good information for me about Ram. Our mobdro baixar application is provided here:https://mobdroportugal.net/

      Delete
  2. an interesting and well-written post, and if you need help writing, then the https://ordercheappaper.com/thesis-papers/ service will help you in this so that you have more time for yourself

    ReplyDelete
  3. Take a look at this great list of homework apps, that are designed to help students.

    ReplyDelete
  4. This posts lists some options windows 10 help support & resources on how to get help in Windows 10. Some built-in, some via Help Desk or Support or Community forums and websites.

    ReplyDelete
  5. It is my first visit to this webpage; I am going by this site and read your post, for example, important and supportive blog entry .

    https://popcorntimeapk.org/

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete
  7. A Raspberry Pi has to run a full operating system which includes things like processor threading, user handling, and file services so it can struggle to push bits out at the speeds required. BK Experience

    ReplyDelete
  8. This is indeed a great and enriching experience, a part from work it enables you to explore new things and learn some amazing skills pikview

    ReplyDelete
  9. 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

    ReplyDelete
  10. Sickbits is a library of unlimited hacks for android, ios smartphones. Get unlimited amount of hacks and modes for mac & pc. https://sickbits.net/

    ReplyDelete
  11. Mulți bărbați care utilizează diluanți spun că după aceea și chiar în timpul utilizării extensorului au suferit o slăbire remarcabilă a erecției lor. https://www.titan-gels.ro/

    ReplyDelete
  12. Thanks for your sharing! Vidmate app is renowned as a well-deserved movie-watching artifact. What’s more, you can download the hottest movies, music, HD videos and live TV on your Android device for free! Download here!Vidmate apkVidmate download

    ReplyDelete
  13. It's interesting that many of the bloggers your tips helped to clarify a few things for me as well as giving.. very specific niche content. www.appslure.com

    ReplyDelete
  14. The information you shared is very helpful to us.
    fnaf sister location

    ReplyDelete
  15. Hepatitis C, caused by the HCV virus, is transmitted only through blood contact. Sexual transmission and during pregnancy and breastfeeding are considered rare.

    Both diseases evolve silently. And that is where the problem lies. Because they do not manifest symptoms, many people do not even realize they are infected, even discovering the condition only when it is already at an advanced stage and has compromised the liver. Read more info

    ReplyDelete
  16. We understand how strict schools are with regards to plagiarism. Therefore, every Best Custom Essay Writing Service has to be screened for plagiarism so that to avoid any traces of Best Online Paper Writing Service.

    ReplyDelete
  17. مكافحة الصراصير Bisha يساعدك أيضًا على ضمان عدم عودة الصراصير مرة أخرى ، مما يضمن لك عزيزي العميل الراحة والنظافة لأن الشركة تعمل على تخليص مكان الصراصير غير ضار بالمكان الحالي الذي لا تحتاج إلى ترك المكان للهروب منه من مشاكل الرائحة أو التنفس ، لذلك اتصل بشركة Bisha الصراصير التي ستأتي في الوقت المناسب لك.
    شركة مكافحة النمل الابيض بابها
    شركة مكافحة حشرات بابها
    شركة رش مبيدات بابها
    ارخص شركة مكافحة حشرات

    ReplyDelete
  18. This comment has been removed by the author.

    ReplyDelete
  19. chase bp visa login
    In the event that you are more into utilizing Credit cards, at that point BP Credit Card will discover you simple choices to proceed with your shopping and feasting.

    ReplyDelete
  20. In the event that you are more into utilizing Credit cards mybkexperience.

    ReplyDelete
  21. Untuk memulainya, Anda dan pasangan Anda harus setuju bahwa Anda akan bertindak dengan memberikan umpan balik ketika mereka berada dalam koitus penuh. Anda akan menjadi semacam "diri pelengkap", tanpa makna ini bahwa Anda memutuskan hubungan dari sensasi menyenangkan Anda sendiri atau menjadi pengevaluasi pasangan Anda. click this link

    ReplyDelete
  22. Por último, los resultados obtenidos en el transcurso de los talleres pusieron de manifiesto la preocupación por parte de la población ante la falta de servicios sanitarios adecuados y, por sobre todo,
    Detoxic

    ReplyDelete
  23. Your blog content is very different. It is good and helpful. Thanks for sharing!!
    Java assignment help
    Programming Help
    Accounting Homework Help

    ReplyDelete
  24. Are you looking to buy the Best Custom Essay Paper from the best writers? When given assignments, many students look for Top-Ranked Essay Writing Service and through a basic web search, you can find many online companies offering help with Best Custom Essay Ever.

    ReplyDelete
  25. StudentsAssignmentHelp.com provide online homework help to those students who have rude professors who give them hard assignments and students are not be able to do their homework on time. Such type of students can get help on homework help USA from StudentsAssignmentHelp.com.

    ReplyDelete
  26. Custom Article Review Writing Services you secure from the firm are versatile such as Custom Article Review Help and Legitimate Article Review Writing Help and any other form of writing, contact them for assistance.

    ReplyDelete
  27. The raspberry pi comes in two models, they are model A and model B. The main difference between model A and model B is USB port. Model A board will consume less power and that does not include an Ethernet port. But, the model B board includes an Ethernet port and designed in china McDVOICE

    ReplyDelete
  28. Your blog content is very different. It is good and helpful. Thanks for sharing!!
    https://www.mybkexperience.xyz/

    ReplyDelete

  29. رش مبيدات بالمدينة المنورة رش مبيدات بالمدينة المنورة
    رش مبيدات بالدمام رش مبيدات بالدمام
    مكافحة الحمام بالمدينة المنورة مكافحة الحمام بالمدينة المنورة


    ReplyDelete
  30. Wow! Very helpful advice within this post! It is the little changes that will make the most important changes. Thanks a lot for sharing.These type of posts keeps the users interest in the website, and keep on sharing more. I enjoyed reading your articles .. good luck.
    newamericanjackets

    ReplyDelete
  31. Your blog is filled with unique good articles! I was impressed how well you express your thoughts.
    Flud for PC

    ReplyDelete
  32. I have read your excellent post. This is a great job. I have enjoyed reading your post the first time. MyBKExperience

    ReplyDelete
  33. i have never red that kind of post i really like it thanks for sharing You must share this valuable post on WhatsApp Plus with friends

    ReplyDelete
  34. Thanks for sharing you website.We would like to introduce our service in social media accounts like Bulk Gmail Accounts.we provide our service to increase your business growth.Please visit our website for more information : http://www.bulkgmailaccounts.com/phone-verified-gmail-accounts/

    ReplyDelete
  35. We love the Raspberry Pi because it's a tiny $35 computer you can use ... I had more fun hacking together a half-working machine with cables ..

    ezlms app apkxyz

    ReplyDelete
  36. It is a great article. You will surely like this also because it is a great stuff apk

    ReplyDelete
  37. The development of artificial intelligence (AI) has propelled more programming architects, information scientists, and different experts to investigate the plausibility of a vocation in machine learning. Notwithstanding, a few newcomers will in general spotlight a lot on hypothesis and insufficient on commonsense application. machine learning projects for final year In case you will succeed, you have to begin building machine learning projects in the near future.

    Projects assist you with improving your applied ML skills rapidly while allowing you to investigate an intriguing point. Furthermore, you can include projects into your portfolio, making it simpler to get a vocation, discover cool profession openings, and Final Year Project Centers in Chennai even arrange a more significant compensation.


    Data analytics is the study of dissecting crude data so as to make decisions about that data. Data analytics advances and procedures are generally utilized in business ventures to empower associations to settle on progressively Python Training in Chennai educated business choices. In the present worldwide commercial center, it isn't sufficient to assemble data and do the math; you should realize how to apply that data to genuine situations such that will affect conduct. In the program you will initially gain proficiency with the specialized skills, including R and Python dialects most usually utilized in data analytics programming and usage; Python Training in Chennai at that point center around the commonsense application, in view of genuine business issues in a scope of industry segments, for example, wellbeing, promoting and account.

    ReplyDelete
  38. If you want to add more pep to your Pi, fast mobile internet, or a suite of sensors, these are the add-ons you need.

    jogos do friv online

    ReplyDelete
  39. The only platform that works diligently to serve its clients with the best downloadable material as much as possible.Revdl mod apk  Though the apks are not made by the developer of this site but only the most positively reviewed ones are kept.

    ReplyDelete
  40. This is the greatest articles I have come across on internet. Most nurses work and study at the same time which makes them lack time to work on their nursing papers. Nursing also covers a wide range of topics that need thorough research especially when students have nursing papers to work not. Do not fret when Write My nursing Paper for me . is here. Our team of writers is skilled and knowledgeable in all nursing areas.

    ReplyDelete
  41. Great article with excellent information found resourceful and enjoyed reading it thank you, looking forward for next blog.
    typeerror nonetype object is not subscriptable

    ReplyDelete
  42. After study many of the web sites on your own internet site now, and I also really much like your method of blogging.
    I bookmarked it to my bookmark site list and will also be checking back soon. Pls, look into my internet site also and make me aware of what you consider.
    bandicut crack
    foxit reader crack
    driver easy pro crack
    windows 7 product

    ReplyDelete
  43. I admire the art of writing you poses. Keep up. If you’ve found yourself desperately staring at a blank screen with no understanding of where to start your statement of purpose, then you’ve come to the right place. As a great SoP plays a major role in the whole application process, you can feel a lot of pressure of responsibility. That’s why choosing our statement of purpose writing service is a brilliant idea to take a weight off your mind and use professional assistance. Go ahead and reach out to us for Sop Writing Services

    ReplyDelete
  44. You can comment on the blog ordering system. You should discuss, it's splendid. Auditing your blog would increase the number of visitors. I was very happy to find this site. Thank you...

    Business Analytics Course in Bangalore

    ReplyDelete
  45. I finally found a great article here. I will stay here again. I just added your blog to my bookmarking sites. Thank you. Quality postings are essential to get visitors to visit the website, that's what this website offers.

    Data Analytics Course in Bangalore

    ReplyDelete
  46. The application info you have shared will use for best hospitals in india

    ReplyDelete
  47. Now, the online store wants to propose product recommendations for each customer based on their past activity. The store got the entire information of the customers like past purchase history, products browsing the history, income, age and some more. data science course syllabus

    ReplyDelete
  48. Wales publications research grant UK breaks the barrier to getting the research from the developing countries and by publishing their research in international journals and encounter the issues that researcher faces across all developing countries,
    by providing them active opportunities to fill the gap between the scientific knowledge and new technology development.

    ReplyDelete
  49. Wales Publications is a research publishing solution provide best Publication Research In UK
    in all issues from research to the journal publication are catering in your discipline based on your requirements.

    ReplyDelete
  50. Thanks for this... I really love using Raspberry pi.Rebrawl APK and Kinemaster Diamond APK

    ReplyDelete
  51. Are you looking for a guide on Mylincoln portal login at www.mylincolnportal.com? If so, then you are on the right spot. Here we discuss Mylincoln portal signup, login and everything related to Mylincolnportal.

    mylincoln portal

    ReplyDelete
  52. In general, we can see that most of the people are struggling to find the stuffs when you want to know. If you are looking for the same, then without going for a second thought, go ahead with this- Check new posts- fmwhatsapp and gbwhatsapp

    ReplyDelete
  53. I have read your blog its very attractive and impressive. I like it your blog.
    Data Science Training in Hyderabad
    Data Science Course in Hyderabad

    ReplyDelete
  54. Burger king Store conducts an online survey via queries to analyze user level of satisfaction, but first, know How to do Burger King Survey to avoid any hassle later.

    ReplyDelete
  55. KFC offers a wide range of chicken food products throughout the day. However, the chicken food chain wants to know customer opinion so that they introduced kfc guest experience survey, participate in the official survey and win rewards.

    ReplyDelete
  56. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts.
    myhtspace
    myhtspace.com
    myhtspace login

    ReplyDelete
  57. Amazing information providing by your article, thank you so much for taking the time to share a wonderful article.
    free fire for pc jiofi.local.html

    ReplyDelete
  58. BeEF takes about 1 minute to load after the RAM changes are made. shareit vidmate app

    ReplyDelete
  59. Ok, thanks for the information and have a good day! video streaming

    ReplyDelete

  60. شركة مكافحة الفئران بالرياض و هذه الشركة تعمل على توفير العديد من الخدمات المتخصصة في التنظيف و مكافحة الحشرات ، و على رأسها الفئران ، و ذلك عن طريق استخدام احدث التقنيات التي تعمل على التعرف على أماكن شركة مكافحة الفئران بالرياض، هذا فضلا عن توفير مبيدات مميزة تعمل على إبادتهم ،.
    شركة مكافحة الفئران بالرياض
    نظافة القصور وجمالها وراءه جهد كبير، لأنها تحتاج لمجهود ووقت كبير في التنظيف، وهو ما يؤرق أصحابها بشكل كبير، وذلك لتحمل مسئولية إبقائها نظيفة في نظر الجميع، خاصة مع وجود الكثير من الأماكن التي تحتاج للتنظيف في الفلل، مثل حمامات السباحة، والممرات الخارجية، إضافة لما تحتويه من الداخل، وبالرغم من وجود عمال للنظافة في كثير من الأحيان، ولكنهم قد لا يتمكنوا من جعلها نظيفة على النحو الأمثل، نتيجة لعدم وجود الخبرة الكافية في تنظيفها ، لذلك سوف نعرض على حضراتكم افضل شركة متخصصة في خدمات تنظيف القصور و هي شركة عالم الصيانة
    شركة تنظيف قصور بالرياض
    الستائر هي أغطية النوافذ التي تؤدي وظائف عديدة. على سبيل المثال، تمنع أشعة الشمس المباشرة من الدخول إلى المنزل وتوفر الخصوصية في الليل أو عندما يكون صاحب المنزل بعيدًا. وتساعد الستائر أيضًا في الحفاظ على الطاقة فالستائر هي أكثر بكثير من مجرد قطعة قماش ذاتية تحافظ على الضوء وتوفر الحماية في الليل
    شركة تنظيف ستائر بالرياض

    ReplyDelete
  61. It's really a nice and helpful piece of information. I'm glad that you shared this helpful info with us. Please keep us informed like this. I want to say it would supply up to
    HTC Desire 12+

    ReplyDelete
  62. I think your website is the best website in the world because there is a lot of good content available.
    Inshot Pro Apk

    ReplyDelete
  63. I think your website is the best website in the world because there is a lot of good content available.

    ReplyDelete
  64. It's really a nice and helpful piece of information. I'm glad that you shared this helpful info with us. Please keep us informed like this. I want to say it would supply up to

    ReplyDelete
  65. I'm glad that you shared this helpful info with us. Please keep us informed like this. I want to say it would supply up to Pixaloop pro apk

    ReplyDelete
  66. I'm glad that you shared this helpful info with us. Please keep us informed like this. I want to say it would supply up to Best TIG Welder under 1500

    ReplyDelete
  67. I'm glad that you shared this helpful info with us. Please keep us informed like this. I want to say it would supply up to Best Motherboards For Ryzen 7 2700X

    ReplyDelete
  68. Mcdvoice

    The study's fundamental goal is getting to know the client's surveys for the café. With the assistance of input, they can work on the nature of their food varieties and administrations.

    ReplyDelete
  69. Subsequent to presenting your criticism by means of KFC Experience Survey you will get KFC Coupons Code. By utilizing this approval code you can get a free beast on your future visit to KFC.Read the whole article about MyKFCExperience (K.F.C. Review), and know every one of the guidelines and qualification to win a free beast, K.F.C. Go Cups, Free Chicken, French Fries, and Drinks.
    Mykfcexperience executed a connected with the WWW review to take an arrangement about Mykfcexperience Helpline notwithstanding your support level thereafter visiting service For more info MyKFCExperience.com

    ReplyDelete
  70. KineMaster Mod APK is a modified version of the Original Kinemaster Application which offers Premium Features For Completely Free.

    This is a Totally Unlocked Apk at which you won’t observe any watermark in your movies or videos. But at precisely the exact same time, should you take advantage of a completely free variant of Kinemaster, you’ll have a watermark on it.

    ReplyDelete
  71. Avid Media Composer v2022.12.0 – Avid Media Composer is the most reliable video editing software in the market, backed by professionals who edit across all areas of film making broadcast, television and other streaming channels. Also, download DaVinci Resolve Studio 17.4.2 Full Crack 2022.

    ReplyDelete
  72. do you enter the setup the same as if you just had it on a linux pc?

    ReplyDelete
  73. You should simply visit the authority McDvoice entryway at www.Mcdvoice.com and give your fair audit about your last visit to any of the McDonald's outlet. After the McDVOICE executed a connected with the WWW review to take an arrangement about Jacklistens Helpline notwithstanding your support level thereafter visiting service Click here Mcdvoice.com


    ReplyDelete
  74. MasterCard can go about as an answer for all of your card expectations.The initial one is their client care administration where you will be expected to dial up the JetBlue client care number and pass your issue on to the individual client care agent. The client care number is given down underneathRochesterboule.org executed a connected with the WWW review to take an arrangement about Rochesterboule.org Helpline notwithstanding your support level thereafter visiting service Click here Rochesterboule.org

    ReplyDelete
  75. Folding bikes are favoured over ordinary bicycles for one simple reason: they fold up quickly. They collapse in seconds and are simple to fold and unfurl Click here Best Folding Bike for Camping 2022

    ReplyDelete
  76. Diamond Drill Bits are a must-have for flooring and bathrooms, since they quickly cut through marble, glass, stone, slate, porcelain, or ceramic tiles. Their diamond cutting surfaces make it more easier to start drilling with the bit and allow it to endure longer than other varieties. Click here Best Diamond Drill Bits for Porcelain Tile 2022

    ReplyDelete
  77. This blog publish will provide step-via-step commands on a way to activate your Capital One credit card using.diocesedemolegbe.org executed a connected with the WWW review to take an arrangement about diocesedemolegbe.org Helpline notwithstanding your support level thereafter visiting service Click here diocesedemolegbe.org

    ReplyDelete
  78. Thanks for sharing this information
    https://www.techapkpc.com/
    https://www.techforapps.com/
    https://www.zaixtech.com/
    https://www.techappszone.com/

    ReplyDelete
  79. So if you are a KFC Customer, and you want to become a part of the MyKFCExperience Guest Satisfaction Survey, then you need to follow all the steps given belowMykfcexperience executed a connected with the WWW review to take an arrangement about Mykfcexperience Helpline notwithstanding your support level thereafter visiting service Visit here Mykfcexperience

    ReplyDelete
  80. If you live in the United States, you very surely have a Dollar General Store nearby where you may acquire the commodities and items you need at a reasonable price.
    dgcustomerfirst.com executed a connected with the WWW review to take an arrangement about dgcustomerfirst.com Helpline notwithstanding your support level thereafter visiting service Click here dgcustomerfirst.com

    ReplyDelete
  81. Super Tank Rumble Mod apk free download mod application for many more application.


    ReplyDelete
  82. Are you one of Dollar General's satisfied customers? Would you want to give your thoughts on how the DG firm could better serve you
    dgcustomerfirst executed a connected with the WWW review to take an arrangement about dgcustomerfirst Helpline notwithstanding your support level thereafter visiting service Click here dgcustomerfirst

    ReplyDelete
  83. I KNOW THAT THIS IS EXTREMELY BORING AND YOU ARE SKIPPING TO SUCCEEDING COMMENT, HOWEVER I JUST NEEDED TO THROW YOU A BIG THANKS YOU CLEARED UP SOME THINGS FOR ME! THANKS!
    스포츠토토

    ReplyDelete
  84. over at this website get more company website a fantastic read his response advice

    ReplyDelete
  85. MyBKExperience overview is otherwise called Burger King Experience (www.mybkexperience.com) which is essentially a fulfillment review that offers you the chance to offer your viewpoint and assist the organization with encouraging work on its administrations.mybkexperiencewin executed a connected with the WWW review to take an arrangement about dqfanfeedbacks Helpline notwithstanding your support level thereafter visiting service Click here mybkexperiencewin

    ReplyDelete
  86. DGCustomerFirst: Dollar General Survey is the most alluring and sensation sweepstakes program in the U.S. to offer a $100 Sweepstakes Gift Card.dgcustomerfirsts executed a connected with the WWW review to take an arrangement about dgcustomerfirsts Helpline notwithstanding your support level thereafter visiting service Click here dgcustomerfirsts

    ReplyDelete
  87. This is a very nice blog and learned more knowledge to read this post thanks for sharing this informative post. Click HereMcdvoice Click Here dgcustomerfirst

    ReplyDelete
  88. I really like the work which you have done by posting such an interesting post about google accounts. I got some useful knowledge from this post. Keep Posting. buy google accounts

    ReplyDelete
  89. FMWhatsApp is the superb version that allows you to hide your last seen, delivery report, online status, and other interface icons. You enjoy the flexibility of thousands of themes from the library, which has a lot of options to choose from.

    ReplyDelete