Let's suppose you have bought the right USB wifi adapter. Now you want to connect and use it on
Kali Linux that runs in VirtualBox. To use USB devices in VM
you need to install Virtual Box Extension Pack on your Host OS.
This is Virtual Box Extension Pack. I'm downloading it and running it
Remember that it should be installed on the host not guest OS.
After installing the extension pack you selected the VM,
in this case Kali, go to settings then USB and click on add USB
filter, in the list you select the USB WiFi adapter and Okay. Now the guest OS, in this case
Kali, can access and use the external USB WiFi adapter.
I'm starting Kali
and I'm logging in.
See how it passively discovered all WiFi networks in the range; if the chipset supports the monitor
mode and packet injection
you can start hacking wifi networks, of course from an ethical point like audit the security of your
own Wwifi network.
One last remark!
if the host OS runs Linux
so you have installed Virtual Box on Linux, then you have to add the user that starts Virtual Box to the
vboxusers
group. The commands that put the card into monitor mode will be presented in the following lecture
in this section.