Skip to content
Pwnversity
NET-IPV6advanced · 5 min · upd. 2026-10

IPv6 Attacks

T1557

IPv6 is enabled by default on Windows and many modern systems, but hardly anyone configures, filters or monitors it. That combination —present but unattended— makes it an excellent vector: the attacker uses IPv6 to pose as the network’s DHCPv6/DNS server, intercept traffic and, on Windows environments, build one of the most reliable Active Directory compromise chains (mitm6 + ntlmrelayx). “We don’t use IPv6” does not mean it is off.

Windows hosts prefer IPv6 over IPv4 and, at boot, look for IPv6 configuration (DHCPv6) and resolve names. If nobody answers legitimately over IPv6 —the norm on “IPv4-only” networks— the attacker answers first via a rogue DHCPv6 and assigns itself as the victims’ IPv6 DNS server, without touching the existing IPv4 configuration. mitm6 does not act as a gateway or route all traffic: it selectively redirects the names it cares about (hence it chains with ntlmrelayx). The underlying problem is a lack of parity: the controls watching IPv4 (DHCP snooping, inspection) rarely cover IPv6.

sequenceDiagram
    participant V as Victim (Windows)
    participant A as Attacker (mitm6)
    participant DC as Domain controller
    V->>A: DHCPv6 solicit (at boot)
    A->>V: Reply: "I am your IPv6 DNS"
    V->>A: DNS query (e.g. wpad)
    A->>V: WPAD reply -> forces authentication
    V->>A: Net-NTLMv2 authentication
    A->>DC: Relay (ntlmrelayx) to LDAP/SMB
    DC->>A: Access / account creation / RBCD

The IPv6 address space is gigantic, so brute-force scanning is useless and many people assume (wrongly) that “there is nothing to attack”. But the attack does not need to discover hosts: it relies on victims actively looking for IPv6 configuration at boot or renewal. It is enough to answer before anyone else.

Red Team — mitm6 + relay (the star chain in AD)

Section titled “Red Team — mitm6 + relay (the star chain in AD)”
Ventana de terminal
# 1) mitm6 answers DHCPv6 solicits and becomes the victims' IPv6 DNS
mitm6 -d target.local
# 2) ntlmrelayx receives the authentication and relays it (LDAP/SMB/AD CS)
ntlmrelayx.py -6 -t ldaps://dc.target.local -wh fakewpad.target.local --delegate-access

Combined with WPAD (automatic proxy), it forces browsers and services to authenticate, allowing domain credentials to be captured or relayed. It is the chain documented by Dirk-jan Mollema and one of the most effective for going from “I’m on the LAN” to compromising the domain (see NTLM Relay).

  • Router Advertisement (RA) spoofing: pose as the IPv6 router for an IPv6 traffic MITM, analogous to ARP spoofing on IPv4 (see ARP Spoofing). Tools: the THC-IPv6 suite (fake_router6, parasite6, etc.).
  • Link-local host discovery via multicast and NDP, since brute force is not viable.
Ventana de terminal
ping6 ff02::1%eth0 # all nodes on the local link
nmap -6 <address> # IPv6 scan of a known target
  • If you don’t use IPv6, disable it properly (ignoring it is not enough) or filter it on the network.
  • RA Guard and DHCPv6 Guard on switches: block unauthorized RA and DHCPv6 (cut mitm6 and RA spoofing).
  • Disable WPAD (the wpad DNS entry) and, in AD, LLMNR/NBT-NS (see LLMNR / NBT-NS / mDNS Poisoning).
  • Enforce SMB/LDAP signing plus channel binding: breaks the relay even if the authentication is captured (see NTLM Relay).
  • Monitor anomalous DHCPv6/NDP and authentications toward unexpected hosts.
  • Treat IPv6 with the same controls as IPv4: parity is the key to everything.

Like MITM, these attacks are not a CVE but protocol abuse, catalogued in MITRE ATT&CK as T1557 (Adversary-in-the-Middle). The mitm6 + ntlmrelayx chain is a standard, well-documented technique for compromising AD over IPv6, used routinely in internal pentests and Red Team engagements when IPv6 is left unmonitored.

  • Check whether IPv6 is active on the hosts (even if “unused”)
  • mitm6 to become the victims’ IPv6 DNS
  • ntlmrelayx -6 toward LDAP/SMB/AD CS (see NTLM Relay)
  • WPAD to force authentication
  • RA spoofing / THC-IPv6 for IPv6 MITM
  • IPv6 host discovery (multicast/NDP)
  • Blue: verify RA Guard/DHCPv6 Guard, signing and filtered IPv6
  • Document the chain up to the impact (domain)