How to install wireless adapter in kali VM?

Hello Everyone,

I am learning Ethical hacking. I have a home lab setup. My physical host having Windows 11 and Installed two VMs in Virtual Box : one is Kali linux and other is Metasploit.

I want practice wireless hacking lab with aircrack-ng. how can i add wi-fi feature for my kali linux. I have one usb wifi adapter which is connected to physical computer( which is already having ethernet adapter).

Help me /advice me to adding wi-fi feature to Kali machine.

Thanks

Hi @Blue_bird

The reason your Kali VM sees an Ethernet connection instead of WiFi is due to how VirtualBox virtualizes network hardware. By default, it bridges your host’s connection as a wired interface.

To use your USB WiFi adapter for wireless testing (monitor mode/aircrack-ng), you need to use USB Passthrough. You can get it recognized by following these steps:

1. Install Extension Pack: Ensure you have the VirtualBox Extension Pack installed on your host to support USB 2.0/3.0.

Link: Downloads – Oracle VirtualBox

(There is a Virtual box extension pack option, select it)

2. USB Filter: Go to VM Settings > USB, enable the controller, and add a filter for your specific WiFi dongle.

3. Reconnect: Once Kali is booted, try unplugging and re-plugging the adapter. It should then be captured by the guest OS.

You can verify it by running iwconfig in the terminal. If you see wlan0, you’re good to go.

Make sure you select accept and download, you have to note your virtual box version, and look for the appropriate extension pack with your virtual box version

Thanks for the reply @Jakarta2
I will try this and let you know..!

It worked, thanks