2.4
In progress
On-Path Attacks
Summary
In an on-path attack, the attacker positions themselves between two parties so traffic passes through them. They can then read, relay or alter it. On local networks this is often done by poisoning ARP so hosts send traffic to the attacker's MAC address.
Detailed explanation
- On-path attack: Intercepting communication between two parties by sitting in the traffic path, able to eavesdrop or modify data. Formerly called man-in-the-middle.
- Address Resolution Protocol (ARP): Maps IP addresses to MAC addresses on a local network; it has no authentication.
- ARP poisoning: Sending false ARP replies so hosts associate the attacker's MAC address with another host's IP address, often the default gateway. Also called ARP spoofing.
Indicators
- Duplicate mappings: One MAC address claiming several IP addresses, or the gateway's IP address suddenly mapping to a different MAC.
- Gratuitous ARP floods: Large numbers of unsolicited ARP replies.
- Certificate warnings: Unexpected TLS certificate errors for familiar sites.
Defenses
- Controls: Dynamic ARP inspection and DHCP snooping on switches, 802.1X, encryption with TLS or VPNs so intercepted traffic is unreadable, and certificate validation.
Important terms
taken from the text above- On-path attack
- Intercepting communication between two parties by sitting in the traffic path, able to eavesdrop or modify data. Formerly called man-in-the-middle.
- Address Resolution Protocol (ARP)
- Maps IP addresses to MAC addresses on a local network; it has no authentication.
- ARP poisoning
- Sending false ARP replies so hosts associate the attacker's MAC address with another host's IP address, often the default gateway. Also called ARP spoofing.
- Duplicate mappings
- One MAC address claiming several IP addresses, or the gateway's IP address suddenly mapping to a different MAC.
- Gratuitous ARP floods
- Large numbers of unsolicited ARP replies.
- Certificate warnings
- Unexpected TLS certificate errors for familiar sites.
What I should remember
- On-path attack: Attacker intercepts traffic between two parties.
- ARP poisoning: False ARP replies redirect local traffic.
- Dynamic ARP inspection: Switch feature that blocks invalid ARP messages.
- Encryption: Protects intercepted traffic.