ARP Cache Poisoning on Switches
What You'll Learn
You'll discover how ARP cache poisoning defeats network switches, allowing you to intercept traffic on modern segmented networks.
The Challenge Switches Present
You've already learned that switches segment network traffic, sending packets only to their intended destination port—not broadcasting them to everyone like old hubs. This makes simple packet sniffing impossible. But ARP cache poisoning is a powerful technique that forces switches to forward traffic through your machine, even on a switched network.
How ARP Poisoning Works on Switches
Remember that switches learn which MAC addresses are on which ports by observing traffic. When you perform ARP cache poisoning (also called ARP spoofing), you send forged ARP replies to both your target victim and the gateway router.
The attack flow:
- You tell the victim: "I am the gateway router—send all traffic to my MAC address"
- You tell the gateway: "I am the victim—send all their traffic to my MAC address"
- The switch dutifully forwards all traffic between them through your port
- You relay packets between them (while capturing copies)
Think of it like standing between two people having a phone conversation, secretly listening while passing messages back and forth. The switch doesn't care who claims to have which IP address—it just follows the MAC address mappings you've poisoned.
Why This Works
Switches operate at Layer 2 (MAC addresses), not Layer 3 (IP addresses). They trust ARP announcements and update their MAC address tables accordingly. By continuously sending spoofed ARP replies, you maintain your man-in-the-middle position despite the switched infrastructure.
Key Takeaway: ARP cache poisoning overcomes switch segmentation by manipulating MAC-to-IP mappings, redirecting traffic through your attacker machine even on modern switched networks.