Join our Newsletter — 33% off our NHI Course
Home› Guides› LLMNR and NBT-NS Poisoning for Beginners: How a…
Guide Network Security

LLMNR and NBT-NS Poisoning for Beginners: How a Typo Can Leak a Password Hash

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 28 November 2026 12 min read
On this page

LLMNR and NBT-NS poisoning tricks a Windows computer into sending a scrambled password to an attacker.

This guide is for anyone who has seen these names in a security report or a course and wants to know what they mean. You do not need to run a network to be affected: if you sign in to a work computer on an office network, your password may be the one at risk.

In short

  • When a Windows computer cannot find a name, older settings make it ask every computer nearby.
  • Any computer on the same local network can answer "that's me", true or not.
  • The fooled computer may then send the user's name and a scrambled copy of their password, called a hash.
  • Turning off these two old features, requiring signed connections and using long passwords greatly reduce the risk.

What you will learn

  • Explain in plain words what LLMNR and NBT-NS do.
  • Spot why a simple typo can start the attack.
  • Check whether your organisation has switched these features off.
  • Ask the right questions after a security test finds them.
Network address book (DNS)
the service that turns computer names into network addresses.
Shout to the room (LLMNR and NBT-NS)
two older Windows features that ask every nearby computer for a name when DNS has no answer.
Scrambled password (password hash)
a coded version of a password that a computer can check, but that can sometimes be guessed back.

What is LLMNR and NBT-NS poisoning?

Think of an open-plan office. You need a colleague's desk, so you check the staff directory. Their name is missing, so you shout across the room: "Where is Sam?"

A stranger who has slipped in waves and says "Over here!" You walk over and show them your staff pass. Now they have seen your details.

Windows computers can behave the same way. They first ask the network address book, called DNS. If DNS has no answer, older settings let the computer ask every machine on the same local network. The two features that do this "shout" are called LLMNR (Link-Local Multicast Name Resolution) and NBT-NS (NetBIOS Name Service).[1]

Nothing checks who answers. An attacker's computer on the same network can reply "that name is me". This is called poisoning, because the answer is false.[1]

The computer may then try to sign in to the fake machine. If so, Windows may send the user's name and a password hash (a scrambled version of the password).[1]

Where the comparison stops working: in an office you would see the stranger's face. On a network, the fake reply looks just like a real one, and the sign-in happens in the background without the person noticing.

Why does it matter?

The attacker only needs a foothold on the same local network, such as one infected laptop. No software flaw is needed, because the attack uses normal behaviour. With the hash, an attacker can try to guess the password offline, or pass the sign-in on to another server in real time.[1]

If you work in an office

What could happen: a mistyped shared drive name sends your scrambled password to a stranger's computer.

Check this: use a long passphrase at work, so a captured hash is much harder to guess.

Next: Password Cracking for Beginners

If you are new to IT support

What could happen: old drive mappings point at servers that no longer exist, so computers shout for them all day.

Check this: fix or remove links to retired servers when you find them.

Next: How DNS Works for Beginners

If you manage IT for a small firm

What could happen: a powerful account used by a scanning or backup tool is caught, giving wide access.

Check this: ask your IT provider whether LLMNR and NBT-NS are switched off on every computer.

Next: Service Accounts for Beginners

What does it look like?

Here is a made-up conversation between computers, written out as if you could hear it.

Example only. All values are made up.

Laptop  -> DNS:      Where is FILESERVR?            (1)
DNS     -> Laptop:   No such name.
Laptop  -> everyone: Anyone here called FILESERVR?  (2)
192.0.2.66 -> Laptop: That's me!                    (3)
Laptop  -> 192.0.2.66: Here is my sign-in for
                       EXAMPLE\user0000 (hash FAKE)  (4)
  1. The user typed FILESERVER with a letter missing, so DNS has no record.
  2. The laptop falls back to LLMNR or NBT-NS and asks the whole local network.
  3. An attacker's computer answers first. Nothing checks that it is telling the truth.
  4. In a real message, this line would contain the user's name and their password hash.

Why this is risky: the user sees only an error or a slow folder. Behind the scenes, their scrambled password has gone to a stranger, who can try to guess it at leisure.[1]

The safer way: with LLMNR and NBT-NS switched off, step 2 never happens. The lookup simply fails, and the typo stays a typo.[3]

How does it work?

  1. A name cannot be found. A person mistypes a server name, or an old shortcut points at a server that has gone.
  2. The computer shouts. Windows asks the local network using LLMNR or NBT-NS. Every computer on that part of the network can hear the question.[2]
  3. A fake answer arrives. The attacker's computer replies that it owns the name. Free tools can listen and answer this way, which is why security testers check for it.
  4. The sign-in is sent. If the fake machine asks for a sign-in, Windows may send the user name and password hash using an older sign-in method called NTLM.[1]
  5. The hash is used. The attacker tries to guess the password from the hash, or forwards the sign-in to another server. Forwarding it is called a relay.[1]
Diagram titled How a typo can hand over a password hash. Five boxes in a row joined by arrows. 1 Typo: the laptop asks the address book (DNS) for FILESERVR. 2 No answer: DNS replies no such name. 3 The shout: the laptop asks every computer nearby who is FILESERVR. 4 Fake reply, shown in red: a stranger's computer answers that's me. 5 Hash sent, shown in red: the laptop sends the user name and a scrambled password. A green bar underneath says the fix is to switch off the shout and protect the sign-in: turn off LLMNR and NBT-NS on company computers, require signed connections and use long passwords.
Figure 1. Five steps from a typo to a leaked password hash, and the fix.
Before and after diagram titled Shouting for directions versus asking the address book. Left panel, labelled Risky: DNS fails, so the laptop shouts to everyone on the local network; any computer on that network may answer; the laptop may send a password hash to the computer that answered first; a weak password may then be guessed. Right panel, labelled Safer: shouting (LLMNR and NBT-NS) is switched off; if DNS fails, the lookup just fails and the helpdesk fixes the name; signed connections make a relayed sign-in much harder to use; long passwords are slow to guess.
Figure 2. Risky and safer: with the shout switched off, a failed lookup simply fails.

Three things must line up for the attack to work. The shout is switched on, a name cannot be found, and the sign-in can be captured or forwarded. Breaking any one of them helps. Microsoft has said it plans to turn NetBIOS name lookups and LLMNR off by default over time.[3] Until that reaches every computer, organisations can switch LLMNR off with a central setting called Turn off multicast name resolution.[4] NBT-NS needs its own setting on each network connection.

Signed connections help too. SMB signing adds a check to each message on Windows file shares. Microsoft says this confirms who is sending and receiving, which blocks relay attacks.[5]

A worked example

Bodhi Zeller is the office manager at a fictional architecture firm with thirty staff. The firm hires a security tester, Tomas Tanaka, to check its office network for a day.

By lunchtime, Tomas has a list of password hashes. He has not broken into any server. He plugged a laptop into a spare network socket in the meeting room and listened.

Bodhi is puzzled. "Nobody gave you their password."

Tomas explains the shouting. Several laptops still have a shortcut to an old file server, retired last year. Each time they look for it, DNS has no answer, so they ask the whole office. His laptop answered, and their computers sent scrambled passwords to it.

Two of the hashes came from staff with short passwords. Tomas guessed those within the test. One came from the account the backup tool uses, which has rights on every server.

Bodhi remembers the stranger in the open-plan office. The answer is to stop people shouting for directions, and to make sure the staff pass is less useful if someone does see it.

Over the next month, the firm's IT provider takes four steps. It removes the old shortcuts and fixes DNS records. It switches off LLMNR and NBT-NS on every computer, after a short trial with the IT team first. It turns on SMB signing. Last, it gives the backup tool's account a long, random password that changes automatically, and reduces its rights.

When Tomas returns for a re-test, his laptop hears no shouting at all. Bodhi adds a line to the firm's IT checklist so new computers get the same settings.

Myths and mistakes

What people thinkWhat is true
A password hash is safe because it is scrambled.Short or common passwords can often be guessed from the hash. Long passphrases make guessing much slower.
Switching off LLMNR is enough.NBT-NS is a separate feature with separate settings. Both need to be off, and a newer feature, mDNS, may also need review.[1]
An attacker has to break in from the internet.They need a foothold on the same local network, such as one infected laptop or an open network socket.
Turning these features off will break everything.On networks with working DNS, many organisations find little depends on them. Test with a small group first and fix any names that fail.
Only people's passwords are at risk.Accounts used by tools, such as scanners and backup software, sign in automatically too, and often have wide rights.

What can I do this week?

  • Ask your IT team or provider whether LLMNR and NBT-NS are switched off on all Windows computers.
  • Check your last security test report for "LLMNR", "NBT-NS" or "name resolution poisoning".
  • Remove shortcuts and drive mappings that point at servers you no longer use.
  • Change your own work password to a long passphrase if it is short.

Checklist

  • LLMNR is switched off by central policy on every Windows computer.
  • NBT-NS is switched off, including on computers with fixed network settings.
  • Old shortcuts, drive mappings and DNS records for retired servers are cleaned up.
  • SMB signing is required on servers and computers.
  • Accounts used by scanners and backup tools have long, managed passwords and only the rights they need.
  • Staff use long passphrases for their work accounts.
  • The security team is alerted if any computer starts answering these lookups again.

Common questions

Is LLMNR poisoning the same as DNS poisoning?

No, they are different. DNS poisoning plants a false answer in the network address book itself. LLMNR poisoning happens only after DNS has failed, when a computer asks the local network instead. The attacker simply answers that question first. Both send the victim to the wrong machine.

Can this happen on home Wi-Fi?

It can, but it is mostly a workplace risk. The attacker must be on the same local network, and the prize is usually a work account. On public Wi-Fi, a work laptop with these features on may be exposed. Companies should switch them off on laptops that travel.

Why do security testers always find this?

Because it is common and easy to check. Many networks still have these older features switched on and old shortcuts that fail. A tester only needs to listen on the network for a while. That is why it appears in so many test reports.

What is Responder?

Responder is the name of a freely available tool that answers these lookups and collects the sign-ins that follow. Security testers use it to show the risk. Attackers can use similar tools, which is why defenders switch the features off and watch for unexpected answers.

Does this affect Macs and Linux?

The attack mainly targets Windows networks, because LLMNR and NBT-NS sign-ins are Windows features. Other systems use a similar local lookup called mDNS, which can also be answered falsely. On mixed networks, the security team should review all three together.

Where next?

Ready for the detail? Read the practitioner guide: LLMNR and NBT-NS Poisoning. It goes further into the exact policy settings, a safe rollout plan and how to detect a poisoner on the network.

Also useful:

Related NHI Mgmt Group resources: NTLM Relay Guide · NTLM Deprecation and Elimination Guide · Network Segmentation for Beginners

Key terms

LLMNR
A Windows feature that asks computers on the local network for a name when DNS cannot find it.
NetBIOS
An older networking layer whose name service (NBT-NS) does a similar local lookup by asking every computer on the network.
LLMNR poisoning
Answering these local lookups falsely so a computer connects to the attacker instead.
DNS
The naming system that turns computer names into network addresses.
Password hash
A coded version of a password that a computer can check without storing the password itself.
NTLM
An older Microsoft sign-in method that proves identity with a scrambled challenge and response.
NTLM relay
Forwarding a captured sign-in to another server so the attacker is accepted as the user.
SMB signing
A setting that adds a check to each file-sharing message so it cannot be altered or relayed unnoticed.

Sources and further reading

  1. Adversary-in-the-Middle: LLMNR/NBT-NS Poisoning and SMB Relay (T1557.001). MITRE ATT&CK. https://attack.mitre.org/techniques/T1557/001/, accessed 28 Nov 2026.
  2. RFC 4795: Link-Local Multicast Name Resolution (LLMNR). IETF, January 2007. https://www.rfc-editor.org/rfc/rfc4795, accessed 28 Nov 2026.
  3. Aligning on mDNS: ramping down NetBIOS name resolution and LLMNR. Microsoft Networking Blog, April 2022. https://techcommunity.microsoft.com/blog/networkingblog/aligning-on-mdns-ramping-down-netbios-name-resolution-and-llmnr/3290816, accessed 28 Nov 2026.
  4. Policy CSP: ADMX_DnsClient, Turn off multicast name resolution. Microsoft Learn. https://learn.microsoft.com/en-us/windows/client-management/mdm/policy-csp-admx-dnsclient, accessed 28 Nov 2026.
  5. Overview of Server Message Block signing. Microsoft Learn. https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/overview-server-message-block-signing, accessed 28 Nov 2026.

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.