Packet injection
In wireless networks, packet injection is a technique in which an attacker injects malformed packets into an ongoing transmission. These packets will look like legitimate data packets to perform certain tasks, such as intercepting the communication. Packet injection can be performed by many means and methods, but for this chapter, we will use the Scapy module:
- Let's first check whether the packet injection is working successfully on our target AP. To perform this, we will be using
aireplay-ng -9 -e WirelessRed wlan0
.
Tip
This can be verified in Wireshark with filters – wlan.bssid == CA:58:C0:13:2E:5F) && !(wlan.fc.type_subtype == 0x08
. Please feel free to explore this further.
Now, let's move forward and do some real stuff that red teamers do in real-time injections. There are many techniques available on the internet to create our packets...