Explore our new Cybersecurity Terms Glossary, explained by our experts.
Cybersecurity Terms Glossary
Aircrack-ng is a suite of command-line tools for auditing Wi-Fi security: capturing 802.11 frames, injecting traffic, and recovering WEP and WPA pre-shared keys offline.

What Is Aircrack-ng?
Aircrack-ng is a suite of command-line tools for assessing the security of Wi-Fi networks. It captures raw 802.11 frames, injects or replays traffic, and recovers the keys that protect WEP and WPA/WPA2 pre-shared key networks. The name covers the whole suite rather than a single program, and in practice the capture and injection tools see far more use than the cracker they are named after.
It has been maintained since 2006, when it was forked from the older Aircrack project, and it remains the reference implementation that most wireless assessment work is built around. Nearly every wireless penetration test you will read about involves at least two of its components.
WEP was broken by design. Its 24-bit initialisation vectors repeat quickly, and the PTW attack implemented in aircrack-ng recovers a 104-bit key from a few tens of thousands of captured frames, usually in minutes. WEP was deprecated in 2004, yet it still turns up on legacy barcode scanners, building management controllers, and medical equipment that nobody wants to touch.
WPA and WPA2 with a pre-shared key are a different problem. The key itself is not transmitted, but the four-way handshake that occurs when a client joins contains enough material to test passphrase guesses offline. Since 2018 the PMKID technique, published by the Hashcat project, has allowed that material to be collected from a single frame requested directly from a vulnerable access point, with no client present and no deauthentication needed.
Offline is the critical word. There is no account lockout, no rate limit, and no log entry on the access point. The derivation function applies 4,096 PBKDF2 iterations with the SSID as salt, which makes each guess slow, so the outcome depends entirely on the passphrase. A dictionary word with a couple of digits appended falls in minutes; a genuinely random passphrase of sufficient length does not fall at all. Captured handshakes are usually passed to Hashcat in mode 22000, which is considerably faster than the suite’s own cracker.
The defences are well understood and cheap:
Passive capture produces no transmissions and cannot be detected over the air. Injection can be. A sudden volume of deauthentication or disassociation frames, repeated association attempts from one unfamiliar MAC address, or a second access point broadcasting your SSID on a different channel are all visible to a wireless intrusion detection sensor or to Kismet. Most enterprise controllers from Cisco, Aruba, and Ruckus include rogue access point detection; the common failure is that nobody reads the alerts.
Wireless testing has a scoping problem that wired testing does not: the signal does not stop at the property boundary. Capturing or decrypting traffic on a network you have not been authorised to test engages both the Computer Misuse Act 1990 and the interception provisions of the Wireless Telegraphy Act 2006. A wireless engagement scope should name the SSIDs and BSSIDs in scope, state whether deauthentication is permitted, and record the physical locations the tester may operate from.
At Privia Security, our Penetration Test Services cover wireless infrastructure under exactly that kind of written scope, including rogue access point and client-side testing.
The capture and survey tools are, because they show you what is actually broadcasting in your building, including forgotten legacy access points and rogue devices. The offline passphrase attack is not effective against WPA3-Personal, which uses SAE instead of the four-way handshake. Many deployments run WPA3 in transition mode, however, which still accepts WPA2 clients and therefore still exposes the older handshake.
It depends entirely on the passphrase, not on the encryption. A common dictionary word with digits appended falls within minutes on a single modern GPU. A passphrase of fifteen or more random characters, or four genuinely random words, is not recoverable by guessing within any useful timeframe. The attack tests candidates, so predictability is the only variable that matters.
Not while they are only listening. Monitor mode is entirely passive and transmits nothing. You can detect the active steps that usually accompany it: deauthentication floods, repeated association attempts, PMKID requests from an unknown client, and new access points advertising your SSID. A wireless intrusion detection system or a Kismet sensor will flag all of these if someone reviews the alerts.
Yes. The adapter chipset must support monitor mode and frame injection, which most built-in laptop cards do not. Testers typically use external USB adapters based on Atheros or Realtek chipsets with patched drivers. Dual-band support matters as well, since a 2.4 GHz-only adapter will miss everything your 5 GHz and 6 GHz access points are doing.
You May Be Interested In These
We use a few cookies that are needed to make this website work, and they are always on. We would also like to set analytics cookies, to see which pages are useful; functional cookies, so that our live chat works; and advertising cookies, to measure our campaigns. We will not set any of those until you say yes, and you can change your mind at any time from the Cookie Settings link in the footer.
Choose the cookies you are happy for us to use. Strictly necessary cookies are always on; everything else is off until you turn it on.
These cookies keep the website working: they hold your security checks, your form submissions and the choice you make here. The site cannot run without them, so they are always on.
These let our live chat open and remember your conversation, and let the newsletter sign-up work. Switch them off and the chat window will not appear.
These tell us which pages are read and how people find us, so that we can improve the site. The reports are about groups of visitors, never about you personally.
These let us measure our advertising and show you our adverts on other websites, such as LinkedIn, Google and Meta. Switch them off and you will still see adverts, but they will be less relevant.