WiFi - How to installed a wireless adapter with 8812BU chipset to capture traffic in Kali Linux by Ulises Cázares
In this post, i'll tell you how to install and use a wireless adapter that uses the RealTek 8812BU chipset in Kali linux version "Linux 5.16.0-kali7-amd64". It's very condensed and tested when I was writting this post.
The steps to install:
- Initialize Kali Linux
- Open a terminal
- Paste the following commands, one by one
- sudo apt update
- sudo apt install -y linux-headers-$(uname -r) build-essential dkms git libelf-dev
- git clone https://github.com/morrownr/88x2bu-20210702.git
- cd 88x2bu-20210702
- sudo ./install-driver.sh
- sudo reboot (The install may have promted you to reboot so skip this if you'have done it already)
To know the adapter identifier use the command ifconfig (in this case is wlan0)
The steps to use it.
ifconfig wlan0 down
airmon-ng check kill
iwconfig wlan0 mode monitor
ifconfig wlan0 up
airodump-ng wlan0
!!! Even though you can capture in all channels, one at a time, it's better you focus on the one channel you want to capture traffic from. !!!
!!! To capture packets in channel 64 in the 5GHz band !!!
airodump-ng wlan0 --band a --channel 64
!!! To capture packets in channel 1 in the 2.4GHz band !!!
airodump-ng wlan0 --band g --channel 1
After you start capturing in the desired band and channel you can open wireshark to see the packets selecting the appropiate interface than in this case is wlan0
Hope this helps.
Nice post Uli. We will still waiting one method to obtain captures using Windows :(
ReplyDelete