The good news is that the attack needs several things to go right, and both protocols can be switched off. The less good news is that Microsoft has been trying to retire them for more than four years, and LLMNR is still enabled unless you change a policy.
Where the "2007" comes from
Link-Local Multicast Name Resolution (LLMNR) was published by the IETF as RFC 4795 in January 2007. It lets hosts on the same local link resolve names among themselves when normal DNS can't. Its queries go out on port 5355. The RFC's own security section admits the problem. It says LLMNR is often deployed where no trust model can be assumed, and that an attacker on the link only has to answer faster than the real host.
NetBIOS Name Service (NBT-NS) is a separate and older mechanism. Microsoft's documentation lists NetBIOS name traffic on UDP 137, plus 137/TCP, 138/UDP and 139/TCP for the related services. Turning one of them off does not turn off the other.
Section summary: LLMNR and NBT-NS are two separate local name-resolution protocols. Both trust whichever device answers first, and neither is turned off by default.
Not always a last resort
It's common to describe these protocols as fallbacks that only run after DNS fails. Microsoft's own policy documentation is more nuanced. The ADMX_DnsClient policy CSP describes a "smart multi-homed name resolution" behavior that improves performance by issuing DNS, LLMNR and NetBT queries in parallel across all networks. That optimization is on unless an administrator turns it off. With the policy enabled, Windows uses the strict order: DNS on all networks first, then LLMNR if DNS fails, then NetBT if LLMNR fails.
Safeguard's write-up of Microsoft's documentation makes the same point. When the policy is not configured, Windows optimizes name resolution "by issuing parallel DNS, link local multicast name resolution (LLMNR) and NetBIOS over TCP/IP (NetBT) queries across all networks." So local multicast lookups can happen more readily than the word "fallback" suggests.
How the con works
The attack happens between answering a name query and proving you own the name. Neither protocol requires that proof:
- Windows asks the local network where some name is, for example
fileserver. - An attacker's machine replies that the name is at its own address.
- Windows connects to the impostor.
- If that connection uses NTLM, the fake service asks the client to authenticate. Depending on the app and settings, Windows may do this automatically without a prompt.
Responder is the well-known open-source tool that automates this poisoning and pretends to be common network services. The spoofed reply itself reveals nothing. The damage only starts if an authentication attempt follows.
What the attacker actually gets
Microsoft's NTLM documentation describes a challenge/response protocol. The server sends a random challenge, the client encrypts it with a hash of the user's password, and the password itself never crosses the wire. What an attacker captures is NetNTLMv2 challenge-response material. That is not your plaintext password, and it is not the hash stored on your PC.
It is still useful to an attacker in two ways:
- Offline guessing. The attacker tests candidate passwords against the captured exchange on their own hardware. There is no lockout and no rate limit. Weak passwords fall quickly, while long, random ones hold out much longer.
- Live relay. The attacker forwards the authentication, as it happens, to another service that accepts it, and acts as the victim without ever learning the password. This is not the same as replaying an old capture, and it only works against targets that lack protections.
Microsoft's MSRC describes NTLM relay as a two-step attack: coerce a victim to authenticate, then relay that authentication to a vulnerable target. The main defenses are Extended Protection for Authentication (EPA) and channel binding, which make sure clients can only authenticate to the server they meant to reach. In December 2024, Microsoft said Exchange Server 2019 CU14 and Windows Server 2025 (for AD CS and LDAP) enable these protections by default. It also said NTLMv1 was removed in Windows 11 24H2 and Windows Server 2025, and NTLMv2 is deprecated. Microsoft's SMB documentation says SMB signing protects SMB traffic against tampering, relay and spoofing.
None of these protections covers every service. Each one protects a different part of the attack chain.
Public Wi-Fi opens the door, but it isn't the whole attack
A shared hotspot is one of the easiest ways for an attacker to get onto the same local network as you. The attacker still needs three things:
- A query from your laptop worth poisoning
- A follow-up connection that tries NTLM authentication
- A hotspot that lets client devices talk to each other at all
Many hotspots isolate client devices from one another, and traffic filtering can stop the attack completely. Sharing a network with someone doesn't mean the whole attack can work.
Defaults matter too. Microsoft's policy documentation says LLMNR stays enabled on all adapters if the "Turn off multicast name resolution" policy is disabled or not configured. NetBIOS is less clear-cut. The CSP describes a policy where the DNS client disables NetBIOS name resolution on public networks by default, but that entry is marked as applying to Windows Insider Preview builds. Don't assume your retail laptop already does this.
Microsoft has been trying to retire these since 2022
The original warning covered the attack but not the history, which explains why LLMNR is still around. In April 2022, Microsoft's Networking Blog published "Aligning on mDNS: ramping down NetBIOS name resolution and LLMNR." According to Safeguard's summary, Microsoft's stated goal is for mDNS to be the only multicast name-resolution protocol on by default, while NetBIOS name resolution and LLMNR "progress toward being turned off by default in all cases."
gHacks reported at the time that the company has not started the process of disabling LLMNR by default yet, but it has started the process for NetBIOS. NetBIOS was moved into a "learning mode" in which it is only used as a fallback if mDNS and LLMNR queries fail.
About four and a half years later, LLMNR is still enabled unless you configure the policy. MakeUseOf ran its own Windows 11 Wireshark test last month. Its capture of a lookup for a nonexistent computer shows LLMNR queries to muo-test-01, mDNS queries for muo-test-01.local, and NetBIOS name queries for MUO-TEST-01. After the Group Policy change, the publication found that setting "Turn off multicast name resolution" to Enabled actually disables LLMNR.
The direction is clear, but the defaults haven't caught up, which is why changing the policy yourself is still worthwhile.
How to turn both off
Before you start: know what depends on these protocols. Microsoft warns that disabling the NetBIOS transport can stop a PC from talking to older systems that rely on it. Home users with a modern NAS and printers that resolve through DNS or mDNS rarely notice any difference. In offices, test first.
Disable LLMNR (Windows Pro, Enterprise, Education)
- Press Win + R, type
gpedit.msc, and press Enter. - Go to Computer Configuration > Administrative Templates > Network > DNS Client.
- Open Turn off multicast name resolution, set it to Enabled, and click OK.
Microsoft says enabling this policy turns off LLMNR on all available network adapters.
Disable LLMNR (Windows Home)
Home editions don't include the Group Policy Editor, but the policy maps to a registry value. Back up the registry first, then:
- Open
regeditas an administrator. - Go to
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\DNSClient. Create theDNSClientkey if it doesn't exist. - Create a DWORD (32-bit) value named
EnableMulticastand set it to0. - Restart the PC.
Disable NetBIOS over TCP/IP (per adapter)
- Open the adapter's Internet Protocol Version 4 (TCP/IPv4) properties.
- Click Advanced, then open the WINS tab.
- Select Disable NetBIOS over TCP/IP and confirm.
Repeat this for every adapter you use, including Wi-Fi, Ethernet and any dock adapters. Microsoft notes that NetBT is bound to each adapter separately. Administrators can push the same change through DHCP using Microsoft's vendor-specific option 1 with a value of 2. As Safeguard and others point out, that only reaches clients that take their NetBIOS setting from DHCP. Statically addressed machines still need the adapter setting.
Check that it worked
Microsoft says you can run net config redirector at a command prompt. If any NetBT_Tcpip entries are listed, the NetBIOS-over-TCP transport is still bound to an adapter. The NetbiosSmb line is direct-hosted SMB on port 445, which is expected and separate.
Common failure points:
- Disabling only one protocol. LLMNR and NetBIOS are separate switches.
- Forgetting other adapters. The NetBIOS setting applies per adapter, so a USB-C dock or a new Wi-Fi card can bring it back.
- Legacy shares disappearing. If an old device stops resolving after the change, give it a DNS record or connect by its fully qualified name instead of re-enabling the protocol for the whole PC.
The bottom line
Most of the time, a spoofed name reply on café Wi-Fi leads nowhere. The risk depends on a chain of conditions, not on simply joining a network. But each step is plausible on its own: an unanswered name query, a stranger who answers it, and NTLM authenticating without asking you. That makes the chain worth breaking. Microsoft has said it wants these protocols off by default, and you don't have to wait for that. The fix takes about two minutes per machine, and the protocols were originally a convenience, so most people won't miss them.
References
- Windows laptops still answer strangers on public Wi-Fi because of a protocol from 2007 MakeUseOf · 2026-11-26T20:30:16+00:00
- LLMNR and NBT-NS Explained: Name Poisoning Risk and How to Turn Them Off safeguard.sh
- Microsoft starts to phase out NetBIOS and LLMNR to focus on mDNS - gHacks Tech News ghacks.net