Wireless Attacks
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.
sudo apt install aircrack-ng
aircrack-ng [options] <capture-file>
Aircrack-ng is the most widely used wireless security auditing suite available for Kali Linux. It provides a complete toolkit for monitoring WiFi networks, capturing packets, and testing the security of wireless encryption protocols.
The suite includes airodump-ng for packet capture, aireplay-ng for packet injection and replay attacks, airmon-ng for managing monitor mode interfaces, and aircrack-ng itself for cracking WEP and WPA/WPA2 pre-shared keys.
Wireless security professionals rely on Aircrack-ng for authorized penetration testing, security audits, and research. Its comprehensive toolset covers the entire wireless assessment lifecycle from discovery to key recovery.
| Command | Purpose |
|---|---|
airmon-ng | List wireless interfaces and monitor-mode status. |
airmon-ng check | Identify processes that may interfere with monitor mode. |
airmon-ng start <wireless-interface> | Enable monitor mode on the authorized lab adapter. |
airodump-ng --channel <lab-channel> --bssid <lab-ap-bssid> --write <capture-prefix> <monitor-interface> | Focus passive capture on one authorized access point. |
aircrack-ng -w <lab-wordlist.txt> -b <lab-ap-bssid> <authorized-capture.cap> | Audit an authorized capture with a lab wordlist. |
airmon-ng stop <monitor-interface> | Stop monitor mode. |
airmon-ngList interfaces - Show available wireless cardsairmon-ng start wlan0Enable monitor mode - Start packet capture interfaceairmon-ng stop wlan0monDisable monitor mode - Return interface to managed modeairmon-ng check killKill interfering processes - Stop NetworkManager or other processesairodump-ng wlan0monScan networks - List all available wireless networksairodump-ng -c 6 --bssid AA:BB:CC:DD:EE:FF -w capture wlan0monCapture handshake - Target a specific network on a channelairodump-ng --band abg wlan0monAll bands - Scan both 2.4GHz and 5GHz frequenciesairodump-ng --wps wlan0monWPS scan - Find access points with WPS enabledairodump-ng --manufacturer wlan0monShow vendors - Display device manufacturers in capture listaireplay-ng -0 10 -a AA:BB:CC:DD:EE:FF wlan0monDeauth attack - Disconnect clients to force a handshakeaireplay-ng -0 10 -a AA:BB:CC:DD:EE:FF -c CC:DD:EE:FF:00:11 wlan0monTargeted deauth - Disconnect a specific client from an APaireplay-ng -1 0 -e "NetworkName" -a AA:BB:CC:DD:EE:FF wlan0monFake auth - Fake associate with an access pointaireplay-ng -3 -b AA:BB:CC:DD:EE:FF wlan0monARP replay - Inject ARP packets to generate WEP IVsaireplay-ng -2 -p 0841 -c FF:FF:FF:FF:FF:FF -b AA:BB:CC:DD:EE:FF wlan0monInteractive replay - Launch a custom packet injection attackaircrack-ng -w wordlist.txt capture-01.capDictionary attack - Crack WPA/WPA2 capture keys offlineaircrack-ng -w wordlist.txt -b AA:BB:CC:DD:EE:FF capture*.capMultiple captures - Combine cap files to crack keyaircrack-ng -a 1 capture-01.capForce WEP mode - Decode legacy WEP encryptionaircrack-ng -a 2 -w wordlist.txt capture-01.capForce WPA mode - Decode WPA/WPA2 encryptionairdecap-ng -w hex_key capture.capDecrypt WEP - Decrypt packet capture using a known hex keyairdecap-ng -p password -e ESSID capture.capDecrypt WPA - Decrypt packet capture using network passwordairbase-ng -e "FreeWiFi" -c 6 wlan0monFake AP - Create a rogue access pointairolib-ng passwords-db --import passwd wordlist.txtCreate DB - Precompute a PMK database from wordlistaircrack-ng -r passwords-db capture-01.capUse PMK DB - Run high-speed cracking with precomputed databasebesside-ng -b AA:BB:CC:DD:EE:FF wlan0monAuto crack - Automated WEP/WPA handshake extraction attackAssess the security of wireless networks by testing encryption strength and identifying weak configurations.
Recover WEP keys by capturing initialization vectors and performing statistical cracking attacks.
Capture the 4-way handshake during client authentication for offline dictionary cracking.
Test network resilience against deauthentication attacks and packet injection techniques.
Configure and manage wireless interfaces in monitor mode for passive network surveillance.
Capture PMKID from access points to crack WPA/WPA2 without requiring a full handshake capture.
Identify unauthorized and evil twin access points that impersonate legitimate networks to intercept credentials.
Test whether wireless clients properly handle deauthentication frames and reconnection without exposing sensitive data.
Identify and test access points with WPS PIN enabled for brute-force and Pixie Dust attacks.
Capture and analyze wireless traffic for evidence collection, intrusion investigation, and protocol analysis.
Look for adapters that support monitor mode and packet injection on chipsets like Atheros AR9271, Ralink RT3070, or Realtek RTL8812AU. Check the Aircrack-ng supported cards list at aircrack-ng.org/doku.php for compatibility.
WPA2-PSK uses a pre-shared key (password) for all users. WPA2-Enterprise uses a RADIUS authentication server, giving each user unique credentials. Aircrack-ng can crack WPA2-PSK handshakes offline but cannot crack WPA2-Enterprise without the RADIUS server credentials.
Run 'airodump-ng wlan0mon' and look at the 'ENC' column. It will display WEP, WPA, or WPA2 next to each detected network, indicating the encryption type used by that access point.
Aircrack-ng requires a wireless network adapter that supports monitor mode and packet injection. Without a compatible adapter, you cannot capture wireless packets. However, you can use aircrack-ng for offline cracking of previously captured handshakes without an active adapter.
Use 'airdecap-ng -e <SSID> -p <password> capture.cap' to decrypt a captured WPA packet capture file. This produces a decap-ircap file that can be opened in Wireshark for plaintext analysis.
Running 'airmon-ng check kill' stops processes like wpa_supplicant and NetworkManager that interfere with monitor mode. These processes periodically scan or manage WiFi connections, which can prevent your monitor interface from working correctly or cause packet loss.
Wireless Attacks
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 Attacks
Fern WiFi Cracker is a GUI wireless security auditing tool that can crack WEP/WPA/WPS keys and run network-based attacks.
Wireless Attacks
Kismet is a wireless network and device detector, sniffer, wardriving tool, and wireless IDS. It works passively with WiFi, Bluetooth, and other wireless protocols.
Wireless Attacks
Reaver implements a brute force attack against WiFi Protected Setup (WPS) registrar PINs to recover WPA/WPA2 passphrases.
Password Attacks
Learn how to use Hashcat in Kali Linux as a beginner, from checking the install and selecting the right modes to running a wordlist crack and reading results.
Sniffing & Spoofing
Bettercap is a powerful, flexible network attack and monitoring framework. It is the complete modular successor to ettercap, offering wide-ranging capabilities for WiFi, Bluetooth, and IP network security auditing.
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.
Wireless Security · AdvancedLearn wireless reconnaissance techniques including network discovery, client enumeration, hidden SSID detection, signal mapping, and WiFi monitoring for security assessment.
Wireless Security · AdvancedAn 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 · AdvancedA technical examination of captive portal WiFi authentication including how portals work, common implementations, security weaknesses, bypass techniques, and secure deployment practices.
The interface displays hardware addresses (BSSID), power levels, active channels, encryption algorithms, and network names. A distinct alert confirms when a password hash has been successfully decoded.
This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.