aircrack-ng
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
aircrack-ng [2018/07/11 21:04] – [Usage] added requirement for -V mister_x | aircrack-ng [2018/08/31 20:33] – [Sample files to try] Updated sample files mister_x | ||
---|---|---|---|
Line 105: | Line 105: | ||
|-t|// | |-t|// | ||
|-h|// | |-h|// | ||
- | |-d|start|Long version --debug. | + | |-d|start|Long version -'''' |
|-m|maddr|MAC address to filter WEP data packets. Alternatively, | |-m|maddr|MAC address to filter WEP data packets. Alternatively, | ||
|-n|nbits|Specify the length of the key: 64 for 40-bit WEP, 128 for 104-bit WEP, etc. The default value is 128| | |-n|nbits|Specify the length of the key: 64 for 40-bit WEP, 128 for 104-bit WEP, etc. The default value is 128| | ||
Line 145: | Line 145: | ||
^Option^Param.^Description^ | ^Option^Param.^Description^ | ||
- | |--simd|optimization|Use user-specified SIMD optimization instead of the fastest one| | + | |-'''' |
- | |--simd-list|// | + | |-'''' |
== Other options == | == Other options == | ||
Line 329: | Line 329: | ||
Now you have the passphrase and can connect to the network. | Now you have the passphrase and can connect to the network. | ||
+ | |||
+ | === SIMD === | ||
+ | |||
+ | Aircrack-ng is compiled with multiple optimizations based on CPU features we call crypto engines. CPU features are different based on the type of CPU. | ||
+ | |||
+ | On x86 (and 64 bit), typically SSE2, AVX and AVX2 are available (AVX512 can be compiled in but it should only be done if the current CPU supports it). On ARM, neon and ASIMD are usually available and on PowerPC, ASIMD and altivec. A generic optimization is always available no matter what architecture it is compiled on or for. A limited set of optimizations may be available depending on the OS/ | ||
+ | |||
+ | When running aircrack-ng, | ||
+ | |||
+ | In order to override, the option -'''' | ||
+ | |||
+ | aircrack-ng --simd=avx wpa.cap -w password.lst | ||
+ | |||
+ | In order to list all the available SIMD optimization, | ||
+ | |||
+ | aircrack-ng --simd-list | ||
+ | |||
+ | will display "avx2 avx sse2 generic" | ||
+ | |||
+ | ==== Cracking session ==== | ||
+ | |||
+ | Cracking can sometimes take a very long time and it is sometimes necessary to turn off the computer or put it to sleep for a while. In order to handle this kind of situation, a new set of option has been created. | ||
+ | |||
+ | It will create and/or update a session file saving the current status of the cracking (every 10 minutes) as well as all the options used, wordlists and capture files used. Multiple wordlists can be used and it works with WEP and WPA. | ||
+ | |||
+ | aircrack-ng --new-session current.session -w password.lst, | ||
+ | |||
+ | In order to restore the session, use -'''' | ||
+ | |||
+ | aircrack-ng --restore-session current.session | ||
+ | |||
+ | It will keep updating // | ||
+ | |||
+ | Limitations: | ||
+ | * The wordlist must be files. For now, they cannot be //stdin// or [[airolib-ng]] databases | ||
+ | * Session has to be restored from the same directory as when first using -'''' | ||
+ | * No new options can be added when restoring session | ||
===== Usage Tips ===== | ===== Usage Tips ===== | ||
==== General approach to cracking WEP keys ==== | ==== General approach to cracking WEP keys ==== | ||
Line 409: | Line 446: | ||
There are a number of sample files that you can try with aircrack-ng to gain experience: | There are a number of sample files that you can try with aircrack-ng to gain experience: | ||
- | * wpa.cap: | + | * [[https:// |
- | * wpa2.eapol.cap: | + | * [[https:// |
* [[http:// | * [[http:// | ||
- | * [[http://dl.aircrack-ng.org/ptw.cap|ptw.cap]]: | + | * [[https://github.com/aircrack-ng/ |
+ | * [[https:// | ||
+ | * [[https:// | ||
==== Dictionary Format ==== | ==== Dictionary Format ==== |
aircrack-ng.txt · Last modified: 2019/09/18 22:39 by mister_x