Course contentsShow
← Security
Lesson 405 of 3,0529. Network Security - Traffic AnalysisFree lesson

ARP Cache Poisoning on Switches

Master ARP spoofing techniques to redirect traffic through attacker-controlled hosts on switched networks.

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:

  1. You tell the victim: "I am the gateway router—send all traffic to my MAC address"
  2. You tell the gateway: "I am the victim—send all their traffic to my MAC address"
  3. The switch dutifully forwards all traffic between them through your port
  4. 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.