Jump to content

i messed up my bash bunny please help recover it


Ron4586

Recommended Posts

so i was trying to work on getting the quickcreds payload to work it kept stopping at the white blinking stating dependencies not met yet i had a tools installed.txt so i dont get why my dependencies werent met i was able to get other payloads to work then out of nowhere my bash bunny kept turning to read only and it kept saying something about dirty bit and i would correct it but same problem i couldn't copy anything to the bunny so as a last resort i formatted it now its rendered useless please help how do i fix this

Link to post
Share on other sites

You shouldn't have reformatted it. Which partitions did you format? Try unplugging the bunny immediately after the green light on boot THREE times to induce recovery mode. It will automatically restore. The documentation says:

 

Quote

 

Firmware Recovery

If the Bash Bunny fails to boot more than 3 times, it will automatically enter recovery mode. The LED will blink red while the file system is replaced by the backup partition. DO NOT UNPLUG THE BASH BUNNY DURING RECOVERY
 
This process takes about 3 minutes. When complete, the Bash Bunny will reboot as indicated by the blinking green LED.


 

Wait for the green LED. DO NOT UNPLUG.

Link to post
Share on other sites

i did that and when i plugged it back into my computer it says 2.1 GB Volume and it is still Read only and it has no files at all on it it wont even let me put the old files back on it either but i'll try that again all i did in my linux box was click the reformat box and to keep all old files so i hope i didn't completely forever whipe it. because it wont even let me rename it and it says its read only so i hope it works this time

Link to post
Share on other sites

If the BB is running properly it will flash blue in switch position 3, not sure if you are asking about after the reinstall process though, that I do not know...never done it. if you can ssh into the device mount the file system, I'm assuming you are saying Windows is saying that its read only.
mount -o sync /dev/nandf /root/udisk
Do ls -la /root/udisk does it also show that it is read only? ... Just in case you need help reading the output... https://wiki.archlinux.org/index.php/File_permissions_and_attributes
Based on my device all files/folders(excluding "..") should have at least the following attributes, -rwxr-xr-x 

Link to post
Share on other sites

ok so i plugged my bunny into a windows computer and pulled up the serial root Bunny console and was able to log in to it and i typed those commands you said and they all have the rwxr-xr-x but they have a d in front of it so it says drwxr-xr-x 3 root root 4096 Dec 31 16:00 . then under that it says drwx------ 6 root root 4096 Dec 31 16:03 .. then under that it says drwxr-xr-x 2 root root 4096 Mar 11 2017 System Volume Information that popped up after i typed the mount-o sync /dev/nandf /root/udisk and the ls-la /root/udisk yet the bash bunny serial console still has all of the files in it when i type ls for directories its all there.  but when i manually go into the bash bunny as a drive it just says drive D: isn't called Bash Bunny anymore and there is nothing on the bunny except System Volume Information and the contents inside that.  So howcome all the Bunny files are still their in the linux serial console but i can't access anything on the bunny and it's not even called Bash Bunny anymore and it is still Read Only

Link to post
Share on other sites
26 minutes ago, Ron4586 said:

ok so i plugged my bunny into a windows computer and pulled up the serial root Bunny console and was able to log in to it and i typed those commands you said and they all have the rwxr-xr-x but they have a d in front of it so it says drwxr-xr-x 3 root root 4096 Dec 31 16:00 . then under that it says drwx------ 6 root root 4096 Dec 31 16:03 .. then under that it says drwxr-xr-x 2 root root 4096 Mar 11 2017 System Volume Information that popped up after i typed the mount-o sync /dev/nandf /root/udisk and the ls-la /root/udisk yet the bash bunny serial console still has all of the files in it when i type ls for directories its all there.  but when i manually go into the bash bunny as a drive it just says drive D: isn't called Bash Bunny anymore and there is nothing on the bunny except System Volume Information and the contents inside that.  So howcome all the Bunny files are still their in the linux serial console but i can't access anything on the bunny and it's not even called Bash Bunny anymore and it is still Read Only

i forgot to add in there that im still getting a Dirty Bit even though i have chosen to correct it it never goes away

Link to post
Share on other sites

ok update to my problem i can plug my bunny into a windows computer and transfer files as i please cut and paste into the bunny and i can even run payloads now the quick creds one works and all payloads work so far.  The New problem is the bunny is only Read Only on my linux computer how do i resolve this problem?

Link to post
Share on other sites

Could you explain how you did for your bashbunny to work again ?

 

I did exactly the same, it was in read-only after a fail with the tools installer, then I formatted, and now, my bashbunny can only be used as a usb ^^'

Link to post
Share on other sites
17 hours ago, ZZZ_ said:

Could you explain how you did for your bashbunny to work again ?

 

I did exactly the same, it was in read-only after a fail with the tools installer, then I formatted, and now, my bashbunny can only be used as a usb ^^'

well I mainly use kali Linux on my computer although I do have separate windows computer after the bunny being read only in Linux I decided to attempt using the bunny in windows the kind person on here told me to see if I could still connect to serial on windows and I was able to and all the files were till in the bash bunny directory and I was able to rename my bashbunny bashbunny in windows even though its in all caps lol.  then what I did once all that was there I downloaded the bashbunny master folder that Darren posted in the QuickCreds post in the forums the [PAYLOAD]Quickcreds one once I downloaded that folder I unzipped it and copied the payloads folder over to my Bunny which gave me the library switch 1 and switch 2. the Pentest folder I am at a loss at. I can run payloads though.  Here is a tip about installing the tools now this is something I wasn't able to find on this site for help installing the tools. in the tools_install folder is the install.sh the readme.md and the payload ok.  you don't want to name your payloads payload.txt just name it payload its already a .txt file if you name it payload.txt its really payload.txt.txt.  That being said run the payload as it is named payload.  once you run it your install.sh will change to install.sh.INSTALLED  that is the secret to getting the tools installed then once I got that working the quick creds payload works.  Just make sure all of your payloads are named payload.  I am still having the read only problem in Linux I can still run the payloads I put on the bunny from windows but I can't modify or do any changes to the bunny in Linux since it says it is read only.  I might just have to buy a new one.  But that is how you properly install the tools_installer you can run it in switch 1 or switch 2 but I installed the toold in switch 2. hope that helps  

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...