AIRCRACK-NG(1)
Okay bestie, welcome to AIRCRACK-NG(1) from the General Commands Manual πβ¨ This is the manual for the cracking tool, so get comfy, grab your snacks, and let's go π
πΈ NAME πΈ
aircrack-ng is an 802.11 WEP / WPA-PSK key cracker, and honestly it's iconic π
π§ SYNOPSIS π§
aircrack-ng [options] <input file(s)>
Options go first, then your input file(s). Simple, cute, done π«Ά
π¦ DESCRIPTION π¦
Okay so aircrack-ng is an 802.11 WEP, 802.11i WPA/WPA2, and 802.11w WPA2 key cracking program. It's giving main character energy π
It can recover the WEP key once enough encrypted packets have been captured with airodump-ng. This part of the aircrack-ng suite figures out the WEP key using two fundamental methods π₯ The first is the PTW approach (Pyshkin, Tews, Weinmann), and the big win there is that very few data packets are required to crack the WEP key π¦ The second is the FMS/KoreK method, which uses various statistical attacks to discover the WEP key and mixes them with brute forcing π
Additionally, the program has a dictionary method for finding the WEP key. For cracking WPA/WPA2 pre-shared keys, you'll need a wordlist (file or stdin) or an airolib-ng database π
π· INPUT FILES π·
Bestie, you can feed it capture files (.cap, .pcap), IVS (.ivs) or Hashcat HCCAPX files (.hccapx) π
π OPTIONS π
Here's every option, sorted into playlists so it's easier to scroll πΆ
π Common options π
-a <amode>β Force the attack mode:1orwepfor WEP (802.11), and2orwpafor WPA/WPA2 PSK (802.11i and 802.11w) β¨-e <essid>β Pick the target network by its ESSID. This is also required for WPA cracking if the SSID is cloaked. For SSIDs with special characters, checkhttps://www.aircrack-ng.org/doku.php?id=faq#how_to_use_spaces_double_quote_and_single_quote_etc_in_ap_names-b <bssid>or--bssid <bssid>β Pick the target network by its access point MAC address π―-p <nbcpu>β Set how many CPUs to use for cracking the key/passphrase. This only works on SMP systems. By default, it uses all available CPUs πͺ-qβ If set, no status information gets displayed. Shh π€«-C <macs>or--combine <macs>β Merges all those APs' MACs (separated by a comma) into one virtual one πΈ-l <file>β Write the key into a file. Heads up: it overwrites the file if it already exists π
πΈ Static WEP cracking options πΈ
-cβ Search alphanumeric characters only π€-tβ Search binary coded decimal characters only π’-hβ Search the numeric key for Fritz!BOX π‘-d <mask>or--debug <mask>β Specify the mask of the key. For example:A1:XX:CF-m <maddr>β Only keep the IVs coming from packets that match this MAC address. Or go wild and use-m ff:ff:ff:ff:ff:ffto use all and every IV, regardless of the network. Just know this disables ESSID and BSSID filtering π-n <nbits>β Specify the key length:64for 40-bit WEP,128for 104-bit WEP, etc., all the way up to 512 bits. The default is128π-i <index>β Only keep the IVs with this key index (1 to 4). By default it ignores the key index in the packet and uses the IV regardless ποΈ-f <fudge>β By default this is set to2. Use a higher value to crank up the bruteforce level. Cracking takes longer, but the odds of success go up π-k <korek>β There are 17 KoreK attacks. Sometimes one attack makes a huge false positive that blocks the key from showing up, even with lots of IVs π Try-k 1,-k 2, ...-k 17to disable each attack selectively-xor-x0β Disable last keybytes bruteforce. (Not advised, bestie π ββοΈ)-x1β Enable last keybyte bruteforcing (default) β-x2β Enable last two keybytes bruteforcing π«-Xβ Disable bruteforce multithreading. This is SMP only π§΅-sβ Shows the ASCII version of the key on the right side of the screen π-yβ This is an experimental single brute-force attack. Only use it when the standard attack mode fails with more than one million IVs π§ͺ-zβ Uses the PTW attack (Andrei Pyshkin, Erik Tews and Ralf-Philipp Weinmann). This is the default attack π-P <num>or--ptw-debug <num>β PTW debug:1disables klein,2is PTW π-Kβ Use KoreK attacks instead of PTW π§-Dor--wep-decloakβ WEP decloak mode π΅οΈββοΈ-1or--oneshotβ Run only one try to crack the key with PTW π―-M <num>β Specify the maximum number of IVs to use π’-Vor--visual-inspectionβ Run in visual inspection mode. This can only be used when using KoreK ποΈ
π§ WEP and WPA-PSK cracking options π§
-w <words>β Path to a dictionary file for WPA cracking. Separate filenames with a comma if you're using multiple dictionaries. Specify"-"to use stdin. Here's a list of wordlists:https://www.aircrack-ng.org/doku.php?id=faq#where_can_i_find_good_wordlistsTo use a dictionary with hexadecimal values, prefix it with"h:". Each byte in each key must be separated by':'. When using it with WEP, set the key length with-nπ-N <file>or--new-session <file>β Create a new cracking session. This lets you pause a cracking session and pick it back up later (using-Ror--restore-session). Status files get saved every 10 minutes. It won't overwrite an existing session file πΎ-R <file>or--restore-session <file>β Restore and continue a previously saved cracking session. This one is a solo act: don't pass any other parameter when starting aircrack-ng, because all the required info is already in the session file π€
π WPA-PSK options π
-E <file>β Create an Elcomsoft Wireless Security Auditor (EWSA) Project file v3.02 π-j <file>β Create a Hashcat v3.6+ Capture file (HCCAPX) π§©-J <file>β Create a Hashcat Capture file (HCCAP) π§©-Sβ WPA cracking speed test β±οΈ-Z <sec>β How long the WPA cracking speed test runs, in seconds β²οΈ-r <database>β Path to the airolib-ng database. Can't be used with-wπ«
π SIMD selection π
--simd=<option>β Aircrack-ng automatically loads the fastest optimization based on the instructions your CPU supports. This option lets you force a different one. The choices depend on your CPU, and these are all the possibilities that may be compiled regardless of CPU type:generic,sse2,avx,avx2,avx512,neon,asimd,altivec,power8π--simd-listβ Shows a list of the available SIMD architectures, separated by a space character. Aircrack-ng picks the fastest optimization on its own, so you rarely need this. It's handy for testing, or when a "lower" optimization like "generic" runs faster than the auto-picked one. Before forcing a SIMD architecture, check that your CPU supports the instruction using-uπ
β¨ Other options β¨
-Hor--helpβ Show the help screen π-uor--cpu-detectβ Shows info on the number of CPUs and SIMD support π₯οΈ
π«Ά AUTHOR π«Ά
This manual page was written by Adam Cecile <gandalf@le-vert.net> for the Debian system (but anyone can use it). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL π
π SEE ALSO π
Bestie, here are your next reads π
airbase-ng(8)aireplay-ng(8)airmon-ng(8)airodump-ng(8)airodump-ng-oui-update(8)airserv-ng(8)airtun-ng(8)besside-ng(8)easside-ng(8)tkiptun-ng(8)wesside-ng(8)airdecap-ng(1)airdecloak-ng(1)airolib-ng(1)besside-ng-crawler(1)buddy-ng(1)ivstools(1)kstats(1)makeivs-ng(1)packetforge-ng(1)wpaclean(1)airventriloquist(8)
That's the whole manual, bestie π aircrack-ng version 1.7.0, last updated May 2022. Stay iconic π
π¦ where this page comes from
- debian trixie: aircrack-ng 1:1.7+git20230807.4bf83f1a-2 Β· GPL-2.0-or-later
- ubuntu noble: aircrack-ng 1:1.7+git20230807.4bf83f1a-1build2 Β· GPL-2.0-or-later
- ubuntu questing: aircrack-ng 1:1.7+git20230807.4bf83f1a-2ubuntu1
- ubuntu resolute: aircrack-ng 1:1.7+git20230807.4bf83f1a-2ubuntu2 Β· GPL-2.0-or-later
- ubuntu stonking: aircrack-ng 1:1.7+git20230807.4bf83f1a-3build1 Β· GPL-2.0-or-later
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms