Skip to content

Prefer Hashcat over Aircrack-ng for WPA handshake cracking (GPU acceleration) #375

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
zozidalom opened this issue Apr 3, 2025 · 0 comments

Comments

@zozidalom
Copy link

Feature Request: Prefer Hashcat over Aircrack-ng for WPA Cracking

Summary

Aircrack-ng is currently used to crack WPA handshakes in Wifite, but it's CPU-only and much slower than Hashcat, which supports GPU acceleration. This feature request proposes prioritizing Hashcat for WPA handshake cracking when available.


Motivation

Hashcat provides significantly faster WPA cracking on systems with supported GPUs. Since Hashcat supports .hccapx/.22000 format WPA handshakes, Wifite could leverage it for cracking, while still verifying cracked passwords with Aircrack-ng (which handles MIC verification).


Suggested Behavior

  • Use Hashcat as the primary cracking engine if installed.
  • Convert .cap to .hccapx using hcxpcapngtool.
  • Verify any cracked password using Aircrack-ng.
  • If verification fails, continue cracking with Hashcat from where it left off (using --restore).

Basic Outline

  1. Detect if hashcat is installed.
  2. Convert .cap to .hccapx or .22000 using hcxpcapngtool.
  3. Run Hashcat with:
    hashcat -m 22000 -a 0 handshake.22000 wordlist.txt --status --status-timer=2 --restore
  4. If a password is found, validate it using:
    aircrack-ng -w <(echo 'cracked_psk') -b BSSID capture.cap
  5. If validation fails, resume Hashcat (--restore auto-saves state every few seconds).

Benefits

  • GPU acceleration via Hashcat = faster cracking
  • Still accurate thanks to Aircrack-ng verification
  • No wasted results due to false positives
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant