![]() |
|
Kali / Airmon-g / Alfa WIFI - Issue - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45) +--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449) +---- Forum: Wifi 5G WPA WEP Bluetooth Wireless Hacking (https://hackforums.net/forumdisplay.php?fid=104) +---- Thread: Kali / Airmon-g / Alfa WIFI - Issue (/showthread.php?tid=5863154) |
Kali / Airmon-g / Alfa WIFI - Issue - rangr000t - Jul 17, 2018 Hello. I have a strange issue with Kali on two different computers. I'm kind of a noob, and I'm trying to learn legally by attacking my own router, etc. I'm trying to get acquainted with airmon-ng and WPA2 cracking. I'm using an Alfa AWUS036NEH WIFI USB Dongle I have 1 Laptop and 1 Desktop. Both are running Windows 10 Both are using VMware Workstation 14 Pro Both are using Kali Linux 2018.2 I've only ever been able to run airodump-ng and have it successfully return AP's on the laptop. The desktop will recognize the Alfa card, it will put it into monitor mode, it will run airmon and airodump, but there aren't any results on any channel. Now here is the weird thing... When I actually am able to get it working on my laptop, it goes like this: Code ifconfig wlan0 downAnd it will run, but show NOTHING. Then, I open up the VMware Virtual Machine Settings for Kali, I go USB Controller > And I changed USB compatibility from 2.0 to 3.0 Click Ok. Then all I do is run airodump-ng wlan0 again..... and it somehow starts printing results. Changed nothing else except USB comparability. There's only two ports on my laptop and both of them are USB 3.0. If I turn the VM off on the laptop after airodump-ng has been successfully run, turn it back on, run it... it won't work. The only way to get it working on the laptop is changing USB comparability. That's all for my laptop. ____ Desktop: I've never ever gotten airodump to work successfully on the desktop. The desktop has 2 rear (motherboard) USB 3.0 slots and 2 front (case, connected by header) 3.0 slots. If I stick the Alfa into a 3.0 slot on the Desktop, windows will recognize it, but VMware will not recognize it no matter what (even messing with USB compatibility options). VMware will recognize the Alfa if I stick it in a USB 2.0, I can put it into monitor mode, etc... but airodump doesn't return any results ever. Doesn't matter what channel. TL:DR - I can only get airodump to print results on my laptop, and that's only after I've changed the USB comparability in VMware settings mid-session. And even then it won't work anymore if I reboot. Let me know if you need any more info. Thanks. RE: Kali / Airmon-g / Alfa WIFI - Issue - shaberu - Jul 17, 2018 try like this Code airmon-ng check killRE: Kali / Airmon-g / Alfa WIFI - Issue - rangr000t - Jul 17, 2018 Still no dice. Thanks for trying. Code root@kali:~# airmon-ng check killiwconfig and ifconfig results: Code root@kali:~# ifconfigRE: Kali / Airmon-g / Alfa WIFI - Issue - shaberu - Jul 18, 2018 out of curiosity try reinstalling the firmware with Code apt-get remove firmware-atherosCode airmon-ng check killRE: Kali / Airmon-g / Alfa WIFI - Issue - rangr000t - Jul 18, 2018 I got it to work on the laptop using your way (airmon-ng check kill being first was important). Also it still does seem like USB Controller compatibility HAS to be set to USB 3.0 in the VMware settings or it won't work. So thank you there. Just odd I can't get it working on the Desktop. I'm thinking the issue has to do with USB compatibility/drivers and VMware. Laptop has 2 USB ports. Both are USB 3.0, but probably backwards compatible with 2.0. I mounted a flash drive on the laptop. Windows can see the flash drive. VMware and Kali can see the flash drive (USB compatibility still set to 3.0). I mount the same flash drive on my Desktop in a USB 3.0 slot. Windows can see it. But VMware and Kali cannot. So ultimately I think that possibly confirms my suspicions about there being a USB issue. The host can use and see what is mounted to USB 3.0, but VMware and the VM OS cannot. Could be a coincidence and there is another issue, but this is where I'm at. RE: Kali / Airmon-g / Alfa WIFI - Issue - jalfraag - Jul 19, 2018 (Jul 18, 2018 12:02 PM)rangr000t Wrote: I got it to work on the laptop using your way (airmon-ng check kill being first was important). Also it still does seem like USB Controller compatibility HAS to be set to USB 3.0 in the VMware settings or it won't work. Try running a live version from usb and see if the problems go away. You could also try vitualbox. RE: Kali / Airmon-g / Alfa WIFI - Issue - rangr000t - Jul 24, 2018 So I tried booting Kali from a USB and airodump finally actually started picking things up on my Desktop. I tried Virtual Box just to see what would happen, and it didn't work. So airodump-ng scan shows results when booting Kali from a USB but not when booting it within VMware Workstation or Virtualbox. So weird. Any ideas? RE: Kali / Airmon-g / Alfa WIFI - Issue - B4ND4lD - Jul 24, 2018 Probably an issue with your drivers or the way the VM is handling the wifi card. It's been a few years since i've used VMWare though, are you using a unix or MS host though? RE: Kali / Airmon-g / Alfa WIFI - Issue - _RoMa_ - Jul 25, 2018 it has to be airmon-ng wlan0mon cant be wlan0 because that interface has been put into monitor mode and no longer goes under the name wlan0. RE: Kali / Airmon-g / Alfa WIFI - Issue - pasnger57 - Jul 25, 2018 hummm should look more like this airmon-ng check kill airmon-ng start wlan0 airodump-ng wlan0mon RE: Kali / Airmon-g / Alfa WIFI - Issue - rangr000t - Jul 26, 2018 (Jul 24, 2018 09:29 PM)B4ND4lD Wrote: Probably an issue with your drivers or the way the VM is handling the wifi card. It's been a few years since i've used VMWare though, are you using a unix or MS host though? MS. I've tried different drivers. Just odd because the exact same setup works fine on my laptop. I was thinking maybe something do with USB 3.0 vs 2.0. VMware only sees the card on 2.0. The host sees it just fine on both. (Jul 25, 2018 10:21 AM)_RoMa_ Wrote: it has to be airmon-ng wlan0mon cant be wlan0 because that interface has been put into monitor mode and no longer goes under the name wlan0. I've gotten it to work fine with wlan0mon or just wlan0. (Jul 25, 2018 12:34 PM)pasnger57 Wrote: hummm Tried this exact thing and it works fine to start airodump with the card in monitor mode, but there are no results showing on any channel. Same problem every time. Only works if I boot Kali from a USB. VMware works just fine on my laptop with airodump and this card. RE: Kali / Airmon-g / Alfa WIFI - Issue - pasnger57 - Jul 26, 2018 (Jul 26, 2018 01:58 PM)rangr000t Wrote: MS. I've tried different drivers. Just odd because the exact same setup works fine on my laptop. I was thinking maybe something do with USB 3.0 vs 2.0. VMware only sees the card on 2.0. The host sees it just fine on both. IF you boot from a USB you giving Full Root access to the hard ware if you running under Vm your access is only relent to the hardware you designate to the VM .. ill note that in a laptop Most Wifi chips are attaches on the PCI Bus and not on the usb and this is probably the issue you are having and why ruining from a USB work better as you ginve the OS full run of the hardware side note if you attach a USB card device on top of the internal WiFi it my almost add the next interface down the line the wlan1 as 0 will be the internal hardware one most likely or maybe ath0 RE: Kali / Airmon-g / Alfa WIFI - Issue - B4ND4lD - Jul 26, 2018 (Jul 26, 2018 03:36 PM)pasnger57 Wrote: IF you boot from a USB you giving Full Root access to the hard ware if you running under Vm your access is only relent to the hardware you designate to the VM .. ill note that in a laptop Most Wifi chips are attaches on the PCI Bus and not on the usb and this is probably the issue you are having Yeah this reminds me, i don't have much experience with VMWare i used to always use oracle because free and stuff. I do remember having to enable usb/hardware filters for the wifi adapter. That way the VM will "own" the card so to speak, and it won't be shared by the host machine. The only way i could get it to work if for the VM to intercept the card entirely, you shouldn't be able to access it from the host while the filter is active. I'm pretty confident this is the solution you are looking for. virtualbox.org/manual/ch03.html#settings-usb |