Wifi Pcap Analysis

Unterstütze HackTricks

Überprüfe BSSIDs

Wenn du einen Capture erhältst, dessen Hauptverkehr Wifi ist, kannst du mit WireShark alle SSIDs des Captures untersuchen, indem du Wireless --> WLAN Traffic auswählst:

Brute Force

Eine der Spalten dieses Bildschirms zeigt an, ob irgendeine Authentifizierung im pcap gefunden wurde. Wenn das der Fall ist, kannst du versuchen, es mit aircrack-ng zu brute-forcen:

aircrack-ng -w pwds-file.txt -b <BSSID> file.pcap

For example it will retrieve the WPA passphrase protecting a PSK (pre shared-key), that will be required to decrypt the trafic later.

Daten in Beacons / Seitenkanal

If you suspect that Daten in Beacons eines Wifi-Netzwerks geleakt werden, you can check the beacons of the network using a filter like the following one: wlan contains <NAMEofNETWORK>, or wlan.ssid == "NAMEofNETWORK" search inside the filtered packets for suspicious strings.

Unbekannte MAC-Adressen in einem Wifi-Netzwerk finden

The following link will be useful to find the Maschinen, die Daten in einem Wifi-Netzwerk senden:

  • ((wlan.ta == e8:de:27:16:70:c9) && !(wlan.fc == 0x8000)) && !(wlan.fc.type_subtype == 0x0005) && !(wlan.fc.type_subtype ==0x0004) && !(wlan.addr==ff:ff:ff:ff:ff:ff) && wlan.fc.type==2

If you already know MAC-Adressen, können Sie diese aus der Ausgabe entfernen, adding checks like this one: && !(wlan.addr==5c:51:88:31:a0:3b)

Once you have detected unbekannte MAC-Adressen communicating inside the network you can use filters like the following one: wlan.addr==<MAC address> && (ftp || http || ssh || telnet) to filter its traffic. Note that ftp/http/ssh/telnet filters are useful if you have decrypted the traffic.

Verkehr entschlüsseln

Edit --> Preferences --> Protocols --> IEEE 802.11--> Edit

Support HackTricks

Last updated