Lab
WiFi is everywhere: home, work, airport, hospitals, shopping complexes, even airplanes. These exercises cover analyzing Wi-Fi traffic with tshark.
Start the lab, locate the PCAP file, and use tshark to answer the questions below.
Set A
-
Which command can be used to show only WiFi traffic?
tshark -r <PCAP_FILE.pcap> -Y 'wlan' -
Which command can be used to view only the deauthentication packets?
tshark -r <PCAP_FILE.pcap> -Y 'wlan.fc.type_subtype == 0x000c' -
Which command can be used to only display WPA handshake packets?
tshark -r <PCAP_FILE.pcap> -Y 'eapol' -
Which command can be used to only print the SSID and BSSID values for all beacon frames?
tshark -r <PCAP_FILE.pcap> -Y 'wlan.fc.type_subtype == 8' -Tfields -e wlan.ssid -e wlan.bssid
Set B
-
What is the BSSID of SSID "LazyArtists"?
tshark -r <PCAP_FILE.pcap> -Y 'wlan.ssid == LazyArtists' -Tfields -e wlan.bssid -
SSID "Home_Network" is operating on which channel?
tshark -r <PCAP_FILE.pcap> -Y 'wlan.ssid == Home_Network' -Tfields -e wlan_radio.channel -
Which two devices received the deauth messages? State the MAC addresses of both.
tshark -r <PCAP_FILE.pcap> -Y 'wlan.fc.type_subtype == 0x000c' -Tfields -e wlan.ra -
Which device does MAC 5c:51:88:31:a0:3b belong to? Mention the manufacturer and model number.
tshark -r <PCAP_FILE.pcap> -Y 'wlan.ta == 5c:51:88:31:a0:3b && http' -Tfields -e http.user_agent