michas Posted August 12, 2017 Share Posted August 12, 2017 Hi, I recently bought a Bash Bunny and now had a closer look on it. As far as I see, the central part of Bash Bunny is that bunny_gadget kernel module that is doing all the USB setup. I would really like to learn more about it. Is the source code for that module available? Quote Link to comment Share on other sites More sharing options...
Dave-ee Jones Posted August 14, 2017 Share Posted August 14, 2017 Here's some stuff that you should look at, I believe the Bunny uses this kind of thing for its 'gadgeting'. I believe you can make a Raspberry Pi Zero (maybe even W) with this kind of setup. http://www.linux-usb.org/gadget/ http://linux-sunxi.org/USB_Gadget https://www.kernel.org/doc/htmldocs/gadget/index.html https://events.linuxfoundation.org/sites/events/files/slides/LinuxConNA-Make-your-own-USB-gadget-Andrzej.Pietrasiewicz.pdf That should be enough to get you started on your knowledge of Linux Gadgets. Have fun :) Quote Link to comment Share on other sites More sharing options...
gavin_darkglider Posted October 13, 2017 Share Posted October 13, 2017 I am also curious what exactly this module is doing, as I am working on a similar project. Basically, I want to combine the power of the bash bunny, wifi pineapple, lan turtle, mouse jacking, possibly SDR(as an attachment device) , and bluetooth attacks in a hand held game system/media center, using KODI as a front end. Just something I have been working on in my spare time, just to see if I can pull it off, and as an amature pentester/programmer, and a long time linux(gentoo) user, I think I might be on to something here. Basically, I am looking at making an all in one device, that I can also play video games/and stream media on. This isnt a project I am looking to sell or make any money off of, just a challenge to curb my technolust. That being said, I have looked at the standard modules for this in the kernel, and while there is a g_multi module, that let you combine multiple types of devices, it requires home made drivers for windows or else it doesnt work(Havnt tested on a linux or mac system, so this might not apply there). So, I guess, what I am looking for is how you guys got the bash bunny around this driver issue. The bash and python stuff is really easy to follow, but since it all coincides with this module, it doesnt really help me with my project. :( The other thing of note with this module, is that it is mounting a folder that is in the standard directory tree, and not a partition, or an img file of a partition. The standard g_storage module requires that an option points it at a partition, or an img file of a partition. I am also curious how you managed that. I love the work that has been done and is being done on these projects, and because of that, I want my project to be compatible with things like turtle modules, infusions, and bunny scripts. I see no point in recreating the wheel, when so much awesome work has already been done on it. For this project I am using an UP board, and a gentoo base. Since it is running an x64 processor, using the precompiled module isnt an option(even if there werent other complications there). That being said, love the shows. So much so, that even my 3 year old niece know who Darren, Shannon, Kirby(RIP), and Mubix are. :) Keep up the good work, and all the best to the Hak5 Crew. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.