Aircrack-ng on Parrot Linux: Auditing Your Own Wi-Fi Network

This tutorial is for authorized testing only: audit a Wi-Fi network you own and control, such as your own home router, or a lab access point you set up for practice. Capturing or cracking traffic on a network you do not own is illegal in most countries, so keep every step here pointed at your own equipment.

The aircrack-ng suite on Parrot Linux is the standard toolkit for testing the strength of your own Wi-Fi. The point is not to break into networks; it is to prove to yourself that your home network resists an offline attack. If your own WPA2 passphrase falls to a dictionary in minutes, so would it for anyone parked outside your house. This guide walks through the full loop on your own access point: putting your card in monitor mode, capturing a handshake, and attempting to crack it, then hardening based on what you learn.

What is in the aircrack-ng suite

aircrack-ng is a collection of command-line tools that work together. The ones you use most are airmon-ng to manage monitor mode, airodump-ng to scan and capture, aireplay-ng to generate traffic such as a deauthentication frame, and aircrack-ng itself to run the offline crack against a captured handshake. Parrot Linux ships the whole suite in its Security Edition, so on a standard install it is already available.

You need a compatible wireless adapter

This is the step most beginners get stuck on. Your wireless card must support monitor mode and packet injection, and many built-in laptop chipsets do not. A dedicated USB adapter with a well-supported chipset is the reliable path. Before buying, check our list of supported Wi-Fi chipsets, and if your card is not detected at all, the Wi-Fi not working guide covers driver and firmware fixes. Confirm the card is seen:

ip link
iw dev

You should see a wireless interface such as wlan0.

Install and verify the suite

On the Security Edition it is preinstalled. On the Home Edition:

sudo apt update
sudo apt install aircrack-ng

Check it runs:

aircrack-ng --help | head

Step 1: Put the card into monitor mode

Monitor mode lets the adapter capture all frames in range rather than only those addressed to it. First stop processes that interfere, then enable monitor mode:

sudo airmon-ng check kill
sudo airmon-ng start wlan0

The check kill step stops NetworkManager and wpa_supplicant, which otherwise fight for the card. After starting, your interface is usually renamed to something like wlan0mon. Confirm with:

iw dev

Note that killing NetworkManager drops your own internet connection, which is expected. You restore it at the end.

Step 2: Scan for your own network

Run a broad scan to find your access point’s BSSID (its MAC address) and channel:

sudo airodump-ng wlan0mon

Watch the list until you spot your own router by its ESSID (network name). Record three things from its row: the BSSID, the channel (CH), and the ESSID. Press Ctrl+C to stop the scan. Everything from here targets only that BSSID.

Step 3: Capture the WPA handshake

Now lock onto your network’s channel and BSSID and write the capture to a file:

sudo airodump-ng --bssid AA:BB:CC:DD:EE:FF -c 6 -w myhandshake wlan0mon

Replace the BSSID and channel with your own. Leave this running. You need a device to complete a WPA handshake while you watch; the handshake happens when a client (your own phone or laptop) connects to the access point. You can wait for a natural reconnect, or, on your own network, speed it up by sending a deauthentication frame to one of your own connected devices so it reconnects:

sudo aireplay-ng --deauth 3 -a AA:BB:CC:DD:EE:FF wlan0mon

Send only a few frames, and only against your own gear. When airodump-ng captures the handshake, a WPA handshake notice appears in the top-right of its display. That is your signal to stop; press Ctrl+C. You now have a .cap file containing the handshake.

Step 4: Attempt the offline crack

The crack itself never touches the network again; it is a pure offline guess against the captured handshake using a wordlist. Point aircrack-ng at your capture and a wordlist:

sudo aircrack-ng myhandshake-01.cap -w /usr/share/wordlists/rockyou.txt

On Parrot the rockyou.txt wordlist is usually present but may be compressed; if so, decompress it first with gunzip. If your passphrase is in the wordlist, aircrack-ng prints KEY FOUND with the passphrase. If it exhausts the list without a match, that is the good outcome for a home network: your passphrase is not a common dictionary word.

Cracking speed depends on your CPU, but a strong, random passphrase will simply never appear in a general wordlist. If you want to push the test harder with GPU acceleration, convert the handshake and run it through hashcat; our hashcat on Parrot Linux guide covers the GPU setup.

Step 5: Restore your normal networking

When you are done, take the card out of monitor mode and bring NetworkManager back:

sudo airmon-ng stop wlan0mon
sudo systemctl start NetworkManager

Your Wi-Fi should reconnect as usual.

What the result tells you, and how to harden

If aircrack-ng cracked your passphrase, the fix is immediate: set a long, random passphrase that no wordlist contains. A passphrase of several unrelated words or 16+ random characters defeats offline dictionary attacks in practice. Where your router supports it, enable WPA3, which strengthens the handshake against exactly this offline capture-and-crack approach. Disabling WPS is also worth doing, as it has its own weaknesses. The capture step itself cannot be prevented; your defence is a passphrase strong enough that the offline crack never succeeds.

If you want to go further into defensive monitoring, watching the same traffic in a protocol analyser is a natural next step; see our guide to Wireshark on Parrot Linux for reading captures in detail.

Troubleshooting a capture that never shows a handshake

If airodump-ng runs but the WPA handshake notice never appears, work through the usual causes before assuming the capture is broken. First, confirm you are actually locked to the right channel and BSSID; a mismatched channel means you are listening to empty air. Second, make sure a client genuinely reconnects during the capture. The handshake only happens at the moment a device associates with the access point, so if every device is already connected and idle, nothing is captured until one reconnects. A small, targeted deauthentication against one of your own devices forces that reconnect, but send only a few frames rather than a flood; hammering the air often prevents a clean four-way handshake rather than helping. Third, keep your adapter physically close to your own router during the test, because a weak signal produces partial captures that aircrack-ng will reject as incomplete.

You can validate a capture before spending time on the crack. Running aircrack-ng against the .cap file will report whether a valid handshake is present; if it says there are none, repeat the capture rather than feeding a broken file to a long wordlist run. Keeping the capture window short and focused on a single reconnect gives you the cleanest file.

Why the offline model matters for your defence

The reason this whole exercise maps so directly to real risk is that the attacker’s crack happens entirely offline. Once someone captures a handshake, they can walk away and run the dictionary attack on their own hardware for as long as they like, with no further contact with your network and nothing for your router to detect or block. That is why rate-limiting or lockouts on the router do nothing against this attack, and why the only defence that actually holds is passphrase strength. When you run the crack yourself and watch a general wordlist fail against your passphrase, you are measuring the exact margin of safety an outside attacker would face. If it succeeds, you have found a real weakness before anyone else did; if it fails, you have evidence your current passphrase is doing its job.

FAQ

Why does airmon-ng check kill disconnect my internet?

Monitor mode needs exclusive control of the wireless card, so airmon-ng check kill stops NetworkManager and wpa_supplicant. Restart NetworkManager when you finish and your connection returns.

My laptop’s built-in Wi-Fi won’t enter monitor mode. Why?

Many built-in chipsets do not support monitor mode or injection. A dedicated USB adapter with a supported chipset is the dependable solution; check the supported chipsets list before buying.

Is it legal to run aircrack-ng?

Running the tools is legal; using them against a network you do not own or have written permission to test is not. Keep every step on this page pointed at your own home router or a lab access point you control.