This section covers different scripting labs where the user has been provided with an emulated WiFi environment. Python and the scapy library are installed on the machine. The user has to write the Python program to complete the given task.
What will you learn?
Parsing, analyzing WiFi frames with Python
Sniffing WiFi traffic in monitor mode
Writing custom program to list SSIDs/BSSIDs, clients, PNLs, uncover hidden SSIDs
References:
Scapy library (https://scapy.readthedocs.io/en/latest/introduction.html)
Labs Covered:
In this lab, you will learn to write a Python program to read the packets from a PCAP file, identify and parse the beacon frames to list the BSSIDs/SSIDs.
In this lab, you will learn to write a Python program to read the packets from a PCAP file, identify and parse the probe requests frames to list the client MAC with corresponding probed SSIDs.
In this lab, you will learn to write a Python program to use raw sockets to sniff the WiFi traffic and print the list of SSIDs.
In this lab, you will learn to write a Python program to sniff the WiFi traffic and print the list of SSIDs using the Scapy python library.
In this lab, you will learn to write a Python program to sniff the WiFi traffic and print the list of probed SSIDs using the Scapy python library.
In this lab, you will learn to write a Python program to sniff the WiFi traffic and print the packet summary using the Scapy python library.
In this lab, you will learn to write a Python program to sniff the WiFi traffic and find the SSID of a hidden network operating in the vicinity using the Scapy python library.
In this lab, you will learn to write a Python program to sniff the WiFi traffic and create a list of unique probed SSIDs using the Scapy python library.
In this lab, you will learn to write a Python program to sniff the WiFi traffic and create a list of SSIDs probed by a specific client using the Scapy python library.
In this lab, you will learn to write a Python program to sniff the WiFi traffic and create a list of BSSIDs for a specific SSID.
Scapy: All clients probing same SSID
In this lab, you will learn to write a Python program to sniff the WiFi traffic and create a list of client MACs that are probing the same SSID.