AIRCRACK-NG(1)

πŸ“¦
version 1.7+git20230807.4bf83f1a Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

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: 1 or wep for WEP (802.11), and 2 or wpa for 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, check https://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:ff to use all and every IV, regardless of the network. Just know this disables ESSID and BSSID filtering πŸ™ˆ
  • -n <nbits> β€” Specify the key length: 64 for 40-bit WEP, 128 for 104-bit WEP, etc., all the way up to 512 bits. The default is 128 πŸ“
  • -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 to 2. 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 17 to disable each attack selectively
  • -x or -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: 1 disables klein, 2 is PTW πŸ›
  • -K β€” Use KoreK attacks instead of PTW πŸ”§
  • -D or --wep-decloak β€” WEP decloak mode πŸ•΅οΈβ€β™€οΈ
  • -1 or --oneshot β€” Run only one try to crack the key with PTW 🎯
  • -M <num> β€” Specify the maximum number of IVs to use πŸ”’
  • -V or --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_wordlists To 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 -R or --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 ✨

  • -H or --help β€” Show the help screen πŸ†˜
  • -u or --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 πŸ“š


That's the whole manual, bestie 🌈 aircrack-ng version 1.7.0, last updated May 2022. Stay iconic πŸ’–