5

As stated, does aircrack-ng when brute forcing a WPA2 handshake capture use GPU/CUDA resources such as a program like Hashcat does?

2
  • 1
    I think hashcat supports gpu based wpa2 cracking. Jun 5, 2017 at 16:39
  • Hashcat does, yes
    – Norr
    Jun 5, 2017 at 16:52

4 Answers 4

6

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.

0
9

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.

3
  • 1
    Here, have some rep. +1
    – Azteca
    Jun 5, 2017 at 23:26
  • 1
    Note 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. Nov 22, 2017 at 17:10
  • 1
    Hi, Pyrit worked with CPU and GPU in my case, (using Ubuntu 18.10) it was difficult to install but it ended up working. Jan 30, 2019 at 19:30
3

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.

3

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .