Sniffing wireless networks
Sniffing wireless networks is defined as reading the ongoing communication between wireless clients and APs. Sniffing wireless packets helps attackers to perform various attacks, such as MITM. Now, before jumping into the practical demonstrations, let's first understand some basic terminologies and tools that will be helpful here:
- airmon-ng: A tool in aircrack-ng to set up monitor mode.
- Monitor mode: Also known as RFMon (Radio Frequency Monitor) mode, this allows the Wireless Network Interface Card (WNIC), or wireless card, for short, to monitor ongoing traffic in the network onto the wireless card.
- airodump-ng: A tool in aircrack-ng to dump wireless packets.
- Wireshark: A tool to capture wireless packets.
- aireplay-ng: A tool to perform deauth, Denial of Service (DOS), and packet injection-related attacks, as well as others.
So, without wasting time, let's sniff some wireless packets or frames:
- Turn on the...