-
Notifications
You must be signed in to change notification settings - Fork 887
BadUsb nexus 7 2013 Lte #32
Comments
Maybe answering my own issue, but is it anything to do with the nexus 7 Lte wifi not being supported for these attacks? |
@Skycrazy - I made a note of the issue you are having in the forums also. Have you tried running tcpdump or tshark to see if any traffic is being generated? |
No traffic, muts mentioned to me about tethering. I think he might be right. I found this on https://code.google.com/p/android-developer-preview/issues/list |
Are you seeing interface rndis0 being created on your device? If so, what is the ip listed? |
Using kali terminal. ip link show - no rndis0 , but usb0. No ip address. Shows in windows network connections but displays network cable unplugged. Using tethering hotspot - ip link show , usb0 with ip address. Both devices using same driver in windows 7 yet badusb, no ip and cable un plugged. Hope this makes sense I tend to ramble and get in knots. Much appreciate. Your help. |
Apologies I meant with ifconfig -a not ip link show |
That would explain a lot, although really really weird. You would need to exchange usb0 with any instances of rndis0 in all your scripts for things to work. I wonder why the interface is named differently? |
After reflashing and installing a few times using the rootkits, I decided to use the installer you just released, makes installing a lot easier. How ever same out come, changing all scripts to usb0 would this be the best course of action, would this have any affect on any other functions? I'd still like to know why this happens especially if its user error on my part. I'd like to know where I've gone wrong , also if I just change interface in BadUsb to usb0 should it have any effect? Can always see adapter created on win7 machine but never gets an ip. Many thanks for your help |
Just a thought would it be possible to rename usb0 to rndis0 at beginning of script and returning to default on exit or something along those lines. |
@Skycrazy - I just tested on N72013 and I appear to be having same issue as you. I don't see usb0 up though. Could you do me a favor and try starting badusb from command line and tell me if it just loops at waiting for the interface?
The commands are outside kali (chroot). |
BinkyBear I can confirm looping waiting for interface rndis0. |
su /sdcard/files/startbadusb.sh Waiting for interface rndis0 looping |
Looking at the dmesg the usb0 is def the one being assigned the interface (which you mentioned). I've replaced interface var in start-badusb (sorry about earlier wrong name). The interface starts/is assigned IP...but no luck with recognizing it. The kernel looks good and has rndis enabled so I do think its related to usb0. Will update with more testing. ** edit 2 ** Noticed if you manually set usb tethering it creates usb0 also. |
Hey BinkyBear, yes same for me with the tethering- usb0. Was just reading some articles about similar issues with other device's, not related to nexus or nethunter. Would a temporary fix(or permanent) be possible using a udev rule to change from usb0 to rndis0. one of the articles I read claimed this happened because of a random mac being assigned at boot in kernal ? ? |
I can look into that. If you have a link to that article that would be interesting also. |
https://bugs.launchpad.net/linux-linaro/+bug/622429 Just realised it was a bug report on launchpad, ill dig through the numerous tabs and book marks I've got open if you think this could be helpful. |
I don't think this is a bug per-se. Try the following:
|
Hey, getprop ro.product.board. results in deb Using other commands resulted in connection with win 7 Default gateway 10.0.0.1 |
See if you can apply this patch to start-badusb:
With this patch and /data/local/kali-armhf/etc/dnsmasq.conf set to usb0, can you confirm that BadUSB works for you ? |
Having a brain freeze, could you give me commands to install patch please. Many thanks |
Try this:
Don't forget to have interface=usb0 in /etc/dnsmasq.conf in the chroot. |
sorry for late reply, now usb0 shows in nethunter panel. Is created on windows 7. When started from Terminal. Also on windows asks for select network location?(home/worknet/publicnetwork). doesn't work from start badusb in webserver. |
harmon25 was able to get it working in the forums: |
Great news. Just read forum, thanks for everyones hard work. Much respect binkybear offensive-security and Harmon25. |
Just a quick comment. Forum method didn't work for me- however offensive-securitys method here enables me to run from terminal. Also starting tcpdump etc with -i usb works from terminal as kali menu doesn't find device. Thanks |
I've been trying to resolve this issue for many hours. BadUsb creates the rndis on windows 7 but just displays the cable unplugged symbol. I've tried on different laptops, different cables and still the same issue. Tried reinstalling nethunter, reflashing nexus and reinstalling. Just updated with android 4.4.4 rom and installed nethunter. Reinstalled windows 7 on laptop. All with same result, also tried on windows 8 laptop. Would you possibly have any ideas how I could resolve this please.
The text was updated successfully, but these errors were encountered: