IPv6 DNS Takeover via mitm6 (Write Up)
The report describes an IPv6 DNS takeover using mitm6 and NTLMRelayx, where an attacker broadcasts spoofed router advertisements to become the DNS server for IPv6-enabled Windows hosts. This allows the attacker to relay captured NTLM authentication to LDAP/LDAPS and potentially gain domain privileges.
Published on blog.evanricafort.com
If you're into network pentesting, I'm sure you're familiar with this type of vulnerability. This vulnerability is all about IPv6 and DNS.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the network allows IPv6 router advertisements and WPAD, and LDAP signing/channel binding are not enforced, enabling NTLM relay.
Impact
An attacker could relay NTLM authentication to LDAP/LDAPS and potentially impersonate users, with privileges enumerated.
What the attacker needed
Attacker on same network; IPv6 enabled on targets; LDAP signing not enforced
How it was found
- Scan the target with NMAP to find the domain name and open LDAP port.
- Run NTLMRelayx with IPv6 and WPAD spoofing, targeting LDAPS.
- Run mitm6 to send spoofed router advertisements and DNS replies.
- Check the lootme folder for captured data.
- Verify the vulnerability by reviewing the output.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
This is a network attack where a rogue device pretends to be the router for IPv6 traffic, so other computers send their DNS requests to it. The attacker then captures login attempts and relays them to the domain controller to gain access.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.