Aircrack-ng forum

General Category => Newbies => Topic started by: JenrasGomes on October 30, 2019, 01:39:36 pm

Title: Virtualbox Kali Linux wireless aircrack-ng problem!!
Post by: JenrasGomes on October 30, 2019, 01:39:36 pm
So this is my first post, and it's about a problem I'm having with Kali Linux Virtualbox VM I'm new to hacking so sorry if this is a noob question ,but when I was installing Kali Linux into Virtualbox ,and I wanted to have a wireless card instead of a Ethernet cable so I was setting up my setting ,and when I was done I thought it would use auto use the wireless card but when I went to type in "ifconfig" & "iwconfig" it only showed "eth0" & "lo" ,and when I looked up how to get "wlan0" on my VM (it was through a software I got from a site that I consistently showed in Youtube videos for this problem) I put it into monitor then used "airodump-ng" on it didn't pick up in any traffic not only that I wasn't able to use it to connect to nearby Wifi. I later learned that it was the software I was using then I had to delete that VM ,and installed a new 1 so now I'm here ,and I need help so if someone knows how to fix this please tell me.

Title: Re: Virtualbox Kali Linux wireless aircrack-ng problem!!
Post by: misterx on October 31, 2019, 02:42:00 am
It's hard to follow what you did.

Are you trying to use the built-in card in the VM? That doesn't work because virtualbox doesn't support PCI-passthrough. The card must be a USB card.

If using USB, what chipset? Show the output of 'airmon-ng'.

Have you installed the extension pack? It is necessary to use USB 2.0 and 3.0. If your card is 2.0, set it as 2.0, and same goes for 3.0, set the VM USB to 3.0.

Just FYI, Virtualbox USB passthrough is crap and drops packets, which causes weird problems, and is solved by using VMware workstation (use player, which is free).
Title: Re: Virtualbox Kali Linux wireless aircrack-ng problem!!
Post by: S4ndm4n on November 29, 2019, 04:54:30 pm
JenrasGomes,

Your internal WiFi adapter will not work. I ran into the same problem awhile ago. You need a USB WiFi adapter. Your internal WiFi card can be used to get an internet connection through to your virtual machine (it will appear as eth0). As an inexpensive option, you can get a Ralink RT5370 (there are plenty of other options as well). I ordered mine from Amazon for about $8.50 US. You add the USB WiFi adapter in the Virtual Machine settings under USB (create a USB filter). From there you boot up your VM and get into terminal. Using ifconfig, you will see eth0 showing as if it's a wired ethernet connection (that's your onboard WiFi adapter providing your VM with an internet connection). Using iwconfig command, you will see your USB WiFi adapter under wlan0 interface. Put that interface into monitor mode using aircrack-ng and go from there.