Reconnaisance
Scan All Bands
detailed scan of 2.4GHz and 5GHz bands to find the target BSSID, Channel, and ESSID.
sudo airodump-ng --band abg wlan0monTargeted Capture
Once the target is found, lock the adapter to that specific channel to capture data.
sudo airodump-ng -c <channel> wlan0monTo get the network channel first we put the card in monitor mode with “airmon-ng”, then we scan all the channels using “airodump-ng” to find the “wifi-global” network (including the 5Ghz channels).
Example Recon
I recommend to create Wi-Fi folder and store all the captures there.
mkdir ~/wifisudo airmon-ng start wlan0
sudo airodump-ng wlan0mon -w ~/wifi/scan --manufacturer --wps --band abgsudo: This stands for "superuser do," and it runs the command with elevated privileges (as root). This is often required when working with networking tools that interact with hardware or require access to sensitive resources.airodump-ng: This is the command for the airodump-ng tool, which is used to capture wireless network traffic. It scans for all the wireless networks in range and can display detailed information about the networks (SSID, BSSID, channel, encryption type, etc.).wlan0mon: This refers to the name of your wireless interface.wlan0monsuggests that the network interfacewlan0is in "monitor mode." Monitor mode allows your wireless card to capture all wireless traffic (even traffic not destined for your device) instead of just your own connection.-w ~/wifi/scan: This option specifies the output directory and file prefix where captured data will be saved.~/wifi/scanmeans the scan data will be saved in thewifidirectory in your home directory. The file will start withscanas its name.Airodump-ng will create files like
scan-01.cap, which will store the captured packets in the.capfile format.
--manufacturer: This option tellsairodump-ngto display the manufacturer information of the devices in the capture. It attempts to identify the manufacturers of the access points (APs) based on the MAC address.--wps: This enables the display of WPS (Wi-Fi Protected Setup) information. WPS is a feature that simplifies the process of connecting devices to a wireless network. However, it’s often a target for attacks, and showing this information can be helpful in penetration testing.--band abg: This option specifies which frequency bands the tool should scan. Thea,b, andgbands correspond to:a: 5 GHz (802.11a)
b: 2.4 GHz (802.11b)
g: 2.4 GHz (802.11g) By using
abg, you're tellingairodump-ngto scan networks operating on these frequency bands.

Last updated