Summary
Connecting to public Wi-Fi and getting on with your day is a normal part of life, but if Windows tries to reach a network resource it cannot find, your computer can end up asking almost everyone on that public Wi-Fi for directions. A stranger can then answer, impersonate that resource, and potentially trick Windows into sending authentication material. It happens because of an old convenience feature first released in 2007, but it still carries a risk today. Windows asks the whole coffee shop for directions LLMNR and NetBIOS are the nosy neighbors of name resolution Computers need to translate website names into IP addresses before connecting to them, and that’s handled by your network’s DNS. LLMNR, or Link-Local Multicast Name Resolution, provides another option when conventional DNS resolution is unavailable, letting devices ask others on the same local network link to resolve a name. Another service, called NetBIOS Name Service or NBT-NS, also provides a legacy name-resolution mechanism. LLMNR queries usually use UDP port 5355, and NBT-NS uses UDP port 137. They serve similar purposes, but they are separate protocols. But calling these mechanisms fallbacks only tells part of the story. Windows doesn’t always follow one universal DNS, then LLMNR, then NetBIOS sequence. Its configuration can allow parallel queries across network interfaces. That matters because local name resolution is not necessarily confined to being a Hail Mary step after everything fails. Anyone can answer, and Windows believes them The attack lives in the gap between replying and proving ownership In this situation, the attack exploits the gap between answering a name query and proving ownership of that name. A malicious device responds as though the requested resource lives at its address. Windows can then connect to the impostor rather than the intended destination. Responder is a well-known tool that automates this name-service poisoning and impersonates network services to collect credentials. The name lookup itself does not contain your password. The consequential step happens later. If the redirected connection uses NTLM authentication, the attacker-controlled service can solicit and capture authentication material. Depending on the application and security settings, authentication can happen automatically. Windows supports this behavior so accessing network resources doesn’t always require another login prompt. That convenience becomes dangerous when the destination is an imposter. Thankfully, merely receiving a spoofed name-resolution reply does not guarantee that you’ve lost your credentials, as it must be followed up with an authentication attempt. A captured hash isn’t your password, but it’s still a problem Crack it offline, relay it live, and nobody counts the failed guesses What this attack is really doing is capturing your NTLM hash. More precisely, a typical NTLMv2 capture contains challenge-response material, commonly called NetNTLMv2, rather than the underlying password hash stored on your computer. It is not a plaintext password either, meaning the attacker still needs to solve the hash. One approach to this is offline password guessing, otherwise called brute forcing. An automated script or program can test potential passwords against the captured hash. A weak password may fall quickly, but a long, unpredictable one is a much harder challenge. Because that guessing happens offline, though, it doesn’t require repeatedly submitting guesses to the victim’s login screen and hence has no rate or login limit. Another option is relaying a live authentication exchange to a different service that accepts it. This can let an attacker act as the victim without knowing their password. But relaying is not simply replaying a saved capture whenever required, and success depends on reachable targets and missing protections. SMB signing and Extended Protection for Authentication also handle different parts of this risk. Public Wi-Fi is the doorway, not the whole break-in The attack needs a lot to go right, which is the only comfort here For the method to work, the attacker needs local-network access to your device, and public Wi-Fi networks are one of the easiest ways to get on the same network as an unsuspecting victim. But the attacker also needs to capture a query worth poisoning, and a subsequent connection that permits useful authentication. This means that sharing a connection with someone is not, by itself, proof that the complete attack chain is possible. Network segmentation settings and traffic filtering can stop it in its tracks. Defaults also deserve care here. Microsoft’s documentation says LLMNR remains enabled when its disabling policy is unconfigured. NetBIOS behavior is more qualified, though. Its documented DNS-client policy describes disabling resolution on public networks, but that policy entry is marked for Insider Preview. Neither claim means every current Windows laptop broadcasts both protocols at every coffee shop. Turn off the question nobody should be answering Disabling LLMNR is one policy; NetBIOS needs its own Where legacy dependencies allow it, disabling LLMNR and NetBIOS name resolution is the best option. On supported Windows editions, the Group Policy setting is under Computer Configuration, Administrative Templates, Network, DNS Client. Enable the Turn off multicast name resolution policy to disable LLMNR across adapters. Windows Home doesn’t include the Group Policy Editor, but you can set the same policy by creating an EnableMulticast value set to 0 under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\DNSClient. However, NetBIOS requires separate attention. Disabling one does not disable the other. For NetBIOS, open your adapter’s IPv4 properties, go to Advanced, then the WINS tab, and select Disable NetBIOS over TCP/IP. It’s also a good idea to test network workflows before deploying changes broadly. A 2007 shortcut shouldn’t still be making trust decisions Neither step guarantees a breach, but together they’re reason enough to act The uncomfortable part is that an old compatibility feature can keep making trust decisions long after its original convenience stops being useful. LLMNR poisoning turns an unanswered question into a connection to the wrong machine, and NTLM can turn that connection into exposed authentication material. Neither step guarantees a compromised account, but together they do create a risk you should avoid. Refraining from joining public Wi-Fi everywhere you go may not be possible, but a quick settings tweak to control what discovery mechanisms your laptop actually uses might just do the trick.