As stated, does aircrack-ng when brute forcing a WPA2 handshake capture use GPU/CUDA resources such as a program like Hashcat does?
-
1I think hashcat supports gpu based wpa2 cracking. – CodesInChaos Jun 05 '17 at 16:39
-
Hashcat does, yes – Norr Jun 05 '17 at 16:52
4 Answers
As stated by @RoyceWilliams, it does not seem to use CUDA. For this purpose, you might want to look at Pyrit, since it leverages CPUs and GPUs on the cracking process.
NB: I wanted to leave this as a comment but I still don't have enough reputation.
![](../../users/profiles/141144.webp)
- 261
- 2
- 12
-
1
-
1Note that if both GPU and CPU are present, hashcat will only use GPU by default - but you can explicitly ask hashcat to use both CPU and GPU if desired. – Royce Williams Nov 22 '17 at 17:10
-
1Hi, Pyrit worked with CPU and GPU in my case, (using Ubuntu 18.10) it was difficult to install but it ended up working. – Philippe Delteil Jan 30 '19 at 19:30
I don't think so. There's only one mention of OpenCL or CUDA in the source code, and it appears to be a leftover from code copied from John the Ripper.
Edited to answer your implicit question: if you want efficient WPA2 cracking on GPU, consider hashcat for the cracking, and hcxtools for conversion to the required format (hccapx). hashcat is superior to some other implementations because it has a rules engine that is implemented directly in-kernel on GPU.
![](../../users/profiles/6203.webp)
- 9,128
- 1
- 31
- 55
There used to be a CUDA version of aircrack-ng but since oclhashcat became popular, you will need to build from the source to enable the CUDA feature in aircrack-ng. There is little documentation about how to enable it however.
![](../../users/profiles/164373.webp)
- 141
- 1
- 1
- 6
Since I don't have enough "reputation" I cannot comment, but as Aero Wang's answer, you need to download cuda lib and recompile aircrack, I did this many years ago trying on a Nvidia Quattro, the aircrack-ng cuda runs very fast, if I remember well I could get 30000 passwords/sec instead of 5000/sec on a Xeon. But lately I try hashcat and it is better as built-in support for GPU is included, you don't need to recompile.
![](../../users/profiles/227393.webp)
- 31
- 2