droidmasta Posted July 31, 2021 Share Posted July 31, 2021 Just to establish my problem the script works to allow an ssh connection to the Bash Bunny. Cannot 'apt install' or 'ping 8.8.8.8' from the bash bunny, however. I have the bash bunny payload switch 1 set with ATTACKMODE ECM_ETHERNET STORAGE and the bb.sh script appears to work, allowing ssh but without internet on the bash bunny. So I run 'iptables --flush' and rerun bb.sh and attempt different configurations but to no avail. In fact, all other configurations don't even allow ssh capability into the Bash Bunny. Also, most times I run bb.sh I lose connection on my wlan0 and I think maybe if that didn't happen the Bash Bunny would receive connection. I know that on windows with the RNDIS_ETHERNET payload some people can set the speed with RNDIS_SPEED (I think) to solve a similar issue. Could something similar solve my problem in Kali Linux or is there something specific to Kali that might be causing this? Any suggestions are welcome but if you have gotten it working could you show me the correct configuration? Potentially useful command outputs below: root@bunny:~# cat /etc/network/interfaces.d/usb0 allow-hotplug usb0 auto usb0 iface usb0 inet static address 172.16.64.1 netmask 255.255.255.0 gateway 192.168.0.1 dns-nameserver 8.8.8.8 dns-nameserver 8.8.4.4 ----------------------------------------------------- ─(root💀kali)-[/home/droid/bashbunny-payloads] └─# iptables --list Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy DROP) target prot opt source destination ACCEPT all -- 172.16.64.0/24 anywhere state NEW ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED Chain OUTPUT (policy ACCEPT) target prot opt source destination -------------------------------------------------------- ──(root💀kali)-[/home/droid/bashbunny-payloads] └─# head bb.sh -n 20 #!/bin/bash # Bash Bunny Connector for Linux # EULA https://www.bashbunny.com/licence/eula.txt # License https://www.bashbunny.com/licence/software_licence.txt bbver=1 sbunnynmask=255.255.255.0 sbunnynet=172.16.64.0/24 sbunnylan=eth1 sbunnywan=wlan0 sbunnygw=192.168.0.1 sbunnyhostip=172.16.64.64 sbunnyip=172.16.64.1 sfirsttime=0 Quote Link to comment Share on other sites More sharing options...
droidmasta Posted July 31, 2021 Author Share Posted July 31, 2021 It's a mark II bash bunny if that makes a difference. Quote Link to comment Share on other sites More sharing options...
Irukandji Posted August 1, 2021 Share Posted August 1, 2021 2 hours ago, droidmasta said: It's a mark II bash bunny if that makes a difference. It's still the same. Only difference between the two is Bluetooth and MicroSD slot. Quote Link to comment Share on other sites More sharing options...
chrizree Posted August 1, 2021 Share Posted August 1, 2021 8 hours ago, droidmasta said: gateway 192.168.0.1 Why is the gateway set to this IP on the Bunny? 1 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.