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

IPv6 Neighbor Discovery and Spoofing Parallels

How IPv6's NDP replaces ARP, similar vulnerabilities to spoofing, and mitigations like RA Guard and SEND.

IPv6 Neighbor Discovery and Spoofing Parallels

What You'll Learn

You'll learn how IPv6 replaces ARP with Neighbor Discovery Protocol (NDP), why it faces similar spoofing attacks, and how to defend against them.

The IPv6 Evolution

Remember ARP from IPv4? It's the protocol that maps IP addresses to MAC addresses but suffers from poisoning attacks. When IPv6 was designed, ARP was replaced by Neighbor Discovery Protocol (NDP), which uses ICMPv6 messages instead of broadcast requests.

How NDP Works

NDP performs the same basic job as ARP but uses different messages:

  • Neighbor Solicitation (NS): "Who has this IPv6 address?" (like ARP request)
  • Neighbor Advertisement (NA): "I do, and here's my MAC address" (like ARP reply)
  • Router Advertisement (RA): Routers announce themselves and network configuration

The Spoofing Problem Persists

Unfortunately, NDP inherited ARP's trust problem. By default, it accepts responses without verification. Attackers can:

  • Send fake Neighbor Advertisements to redirect traffic (same as ARP spoofing)
  • Send malicious Router Advertisements to hijack routing or conduct denial-of-service
  • Impersonate legitimate devices just as easily as in IPv4

Think of it like replacing your home's mailbox but keeping the same unlocked design—new hardware, same vulnerability.

Mitigations

Unlike IPv4, IPv6 includes built-in security options:

  • RA Guard: Configured on switches to block rogue Router Advertisements from unauthorized ports
  • SEND (Secure Neighbor Discovery): Uses cryptographic signatures to authenticate NDP messages, though rarely deployed due to complexity
  • IPv6 Snooping: Similar to DHCP snooping, validates NDP messages against a trusted database

Key Takeaway: IPv6's NDP replaced ARP but faces parallel spoofing vulnerabilities; mitigations like RA Guard and SEND provide defense mechanisms that didn't exist in IPv4, though they require explicit configuration.