nutt318 Posted March 17, 2017 Share Posted March 17, 2017 I'm trying to get the Git-Bunny-Git payload to work on switch 2. My device shows up as Ethernet 2 (running windows) and I follow the instructions on the FAQ (http://wiki.bashbunny.com/#!./index.md#Sharing_an_Internet_Connection_with_the_Bash_Bunny_from_Windows) but still cannot get the payload to work. I'm just getting a red error light meaning to internet connection. Instructions say to set the IP to 172.16.64.10, i've done that along with IP'ing with a similar IP on my LAN connection. Looking at the logs in /var/log/git.log just say no internet connection. Do I need to use the BB.sh script or is that only for a nix machine? Any help is appreciated. Thanks! Link to comment Share on other sites More sharing options...
Decoy Posted March 17, 2017 Share Posted March 17, 2017 What's the switch position you're using? Link to comment Share on other sites More sharing options...
Sl0thy2406 Posted March 17, 2017 Share Posted March 17, 2017 Hi Nutt318, Just had similar problem, but I have set the windows nic (the bash bunny one) to 172.16.64.64 rather than .10 and all seems to work (in terms of getting the internet connection) My problem now is that do I need to install git on the bunny before I run the script Link to comment Share on other sites More sharing options...
Draxiom Posted March 18, 2017 Share Posted March 18, 2017 @Sl0thy2406 Git should be installed by default. Let me know if it isn't cause I might need to change my payload. @nutt318 looks like your are trying to run my payload! Sweeeet. Sorry you are having troubles with it. bb.sh is only for linux machines. Follow the guide on the wiki for sharing the internet connection with a pc. Let me know if you get it working, because I didn't test it on a pc. If you want to try bb.sh, it should work through a vm: Note: it will not work in arm-mode because it needs to share the internet connection, and internet sharing only work in the other two switch positions. Link to comment Share on other sites More sharing options...
Sl0thy2406 Posted March 18, 2017 Share Posted March 18, 2017 @Draxiom Thanks, yes looks like it was already installed. Link to comment Share on other sites More sharing options...
nutt318 Posted March 20, 2017 Author Share Posted March 20, 2017 On 3/17/2017 at 2:55 PM, Decoy said: What's the switch position you're using? It is on Switch 2 Link to comment Share on other sites More sharing options...
nutt318 Posted March 20, 2017 Author Share Posted March 20, 2017 I've tried switching the payload to Switch 1 and still no luck. I've also changed the ip to 172.16.64.64 and while its plugged in on Switch 1 I can ping the Bunny on the 172.16.64.64 ip. However I cannot SSH into it. It does have git installed but for some reason I still cannot get internet access to it. The Payload just turns solid red after a bit. Anyone have any other ideas? Link to comment Share on other sites More sharing options...
nutt318 Posted March 20, 2017 Author Share Posted March 20, 2017 I tried a different machine and it works, not sure why my desktop is not allowing this. Anyways thanks for the help Link to comment Share on other sites More sharing options...
Draxiom Posted March 20, 2017 Share Posted March 20, 2017 2 hours ago, nutt318 said: I tried a different machine and it works, not sure why my desktop is not allowing this. Anyways thanks for the help Was the machine you got it running on a pc/windows? What version? Link to comment Share on other sites More sharing options...
nutt318 Posted March 21, 2017 Author Share Posted March 21, 2017 10 hours ago, Draxiom said: Was the machine you got it running on a pc/windows? What version? Machine that didn't work was Windows 10 Pro 64bit, Machine that did work was Windows 7 Pro 64bit Let me know if you need anything else Link to comment Share on other sites More sharing options...
Sl0thy2406 Posted March 22, 2017 Share Posted March 22, 2017 Try disabling and re-enabling the LAN nic - this seems to kick things in to life. Link to comment Share on other sites More sharing options...
Kel Posted March 23, 2017 Share Posted March 23, 2017 The configuration file advertise : Configured for linux by default. Swap RNDIS_ETHERNET with ECM_ETHERNET on Windows But on the BB WIKI it says that : ECM_ETHERNET ECM - Ethernet Control Model, is rather suited for : Linux/Mac/Android Ethernet Adapter can one use ECM_ETHERNET on windows ? (if so, how to install the drivers ?) Link to comment Share on other sites More sharing options...
RazerBlade Posted March 23, 2017 Share Posted March 23, 2017 I have the same problem as nutt318 and I'm running a windows 10 Professional machine and can't get internet access to work, even when following the wiki step-by-step. The internet speed shows 0 bps as you can see in the picture. I am able to login in to the BashBunny via SSH at ip 172.16.64.1 which I think its a bit weird when you set the IP of the device on the wiki to something else. If someone can help me out that would be greatly appreciated. Link to comment Share on other sites More sharing options...
RazerBlade Posted March 26, 2017 Share Posted March 26, 2017 I have even gone through a recovery cycle but still no succes to getting the bunny online. It would be great if someone could help! Link to comment Share on other sites More sharing options...
Draxiom Posted March 26, 2017 Share Posted March 26, 2017 Hey @RazerBlade, Try out this method I wrote out for sharing a connection with a vm. Just pretend the vm is your host computer, and ignore steps 1-5: Link to comment Share on other sites More sharing options...
Draxiom Posted March 26, 2017 Share Posted March 26, 2017 Oh... you're using windows... nvm, unless you run linux through a vm. Link to comment Share on other sites More sharing options...
EgoIsTheEnemy Posted March 28, 2017 Share Posted March 28, 2017 @RazerBlade I was experiencing the same problem and nothing was fixing it. I disabled my wireless NIC and re-enabled it (thanks @Sl0thy2406!), and now i'm getting 2Gbps connection at 172.16.64.1. Link to comment Share on other sites More sharing options...
RazerBlade Posted March 28, 2017 Share Posted March 28, 2017 Well I have succes to getting the bunny online with my linux machine but the problem still persist to getting the bunny online on windows. Link to comment Share on other sites More sharing options...
gmojo02 Posted April 1, 2017 Share Posted April 1, 2017 Winblows 10 Pro - ICS is working as per link below - initial detection of RNDIS_ETHERNET device driver took a few seconds but it installed no issues - http://wiki.bashbunny.com/#!./index.md%23Sharing_an_Internet_Connection_with_the_Bash_Bunny_from_Windows yeah - a working bash bunny - wee Link to comment Share on other sites More sharing options...
RazerBlade Posted April 1, 2017 Share Posted April 1, 2017 Well that doesent really help me. I don't know what to do and this limits my Bunnys capability's as i can't run payloads like SMB_Exfilitrator successfully. Link to comment Share on other sites More sharing options...
Sl0thy2406 Posted April 2, 2017 Share Posted April 2, 2017 Smb_exfiltrator doesn't require Internet access as it is a connection from the victim's machine to the Bunny via its virtual nic and the smb server setup on the Linux machine on the stick. Link to comment Share on other sites More sharing options...
K00B404 Posted April 11, 2017 Share Posted April 11, 2017 I also can not get windows 10 64bit to share its internet connection with the bunny (ethernet 2) Did anyone get this to work? Link to comment Share on other sites More sharing options...
RazerBlade Posted April 11, 2017 Share Posted April 11, 2017 My problem still persist and it's sad to not see a response from Hak5 Link to comment Share on other sites More sharing options...
Fang_Shadow Posted April 11, 2017 Share Posted April 11, 2017 When trying to get the bash bunny to have internet sharing with windows (10 in this case), you need to put the bunny in ARMING mode (closest to the usb port), and change the payload.txt to the following: ATTACKMODE RNDIS_ETHERNET select the switch that you have put this payload into. Your computer should recognize the device and start installing drivers, to make sure your computer sees it properly try SSH into it with default root and hak5bunny. It should also be viewable from network connections window.(Control Panel\Network and Internet\Network Connections) Go into the properties of your main network interface (internet interface) and go to the sharing tab, tick the Allow sharing to other devices and select the bash bunny RNDIS interface from the drop down menu (some machines need to have no devices named 'Ethernet' for bunny to show up). By default the bunny gives your computer 172.16.64.10 from its DHCP server, SSH into the bunny and do ping 8.8.8.8 (google dns) If the bunny gets responses to the ping request then it is connected to the internet, else you need to set a static ip for the bunny RNDIS interface in the network connections. [Bunny RNDIS Device]\Properties->ipv4-> static ip: 172.16.64.64 These methods should work for obtaining internet on bash bunny, else something on your system might not like sharing or the wrong interface is being used for sharing. Link to comment Share on other sites More sharing options...
devildog31415 Posted April 13, 2017 Share Posted April 13, 2017 I can ping real world IP addresses from the bunny ssh, and it can resolve dns to an IP. but I can't actually connect to get content. Here I show me doing a ping to an IP, then a ping to a dns name and both work. what doesn't work is apt-get update.. it just times out. Please advise: root@bunny:~# ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=56 time=15.8 ms 64 bytes from 8.8.8.8: icmp_seq=2 ttl=56 time=12.0 ms 64 bytes from 8.8.8.8: icmp_seq=3 ttl=56 time=12.8 ms 64 bytes from 8.8.8.8: icmp_seq=4 ttl=56 time=12.4 ms 64 bytes from 8.8.8.8: icmp_seq=5 ttl=56 time=110 ms ^C --- 8.8.8.8 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4005ms rtt min/avg/max/mdev = 12.017/32.720/110.459/38.892 ms root@bunny:~# ping www.cisco.com PING e2867.dsca.akamaiedge.net (23.193.69.111) 56(84) bytes of data. 64 bytes from a23-193-69-111.deploy.static.akamaitechnologies.com (23.193.69.111): icmp_seq=1 ttl=56 time=19.5 ms 64 bytes from a23-193-69-111.deploy.static.akamaitechnologies.com (23.193.69.111): icmp_seq=2 ttl=56 time=12.7 ms 64 bytes from a23-193-69-111.deploy.static.akamaitechnologies.com (23.193.69.111): icmp_seq=3 ttl=56 time=104 ms ^C --- e2867.dsca.akamaiedge.net ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 12.793/45.682/104.736/41.847 ms root@bunny:~# apt-get update 0% [Connecting to httpredir.debian.org (128.31.0.62)] Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.