Using a USB WiFi Adapter with Kali for Penetration Testing

I found a driver-free USB WiFi adapter. Although it can access the internet without a driver, you still need to install the driver to unlock all its features.

Steps

1. Buy a USB WiFi Adapter

Search Taobao for kali and driver-free and just pick one you like. I used the 2.4G adapter from the Qiwei Huaqing shop that looks like a receiver.

2. Install the Driver

Run the following commands to update:

1
2
sudo apt update
sudo apt install linux-image-amd64 -y

Edit /etc/modprobe.d/realtek.conf and add this line:

1
blacklist r8188eu

Reboot, then run:

1
2
sudo apt install linux-headers-$(uname -r) -y
sudo apt install realtek-rtl8188eus-dkms -y

That’s it. After that, you can mess around freely with things like ARP man-in-the-middle attacks and packet sniffing. However, I only used it to change my MAC address, so I won’t do any further testing — I’m a law-abiding citizen 🤣.