main logo icon

Published on

December 4, 2026

|

24 min read

LLMNR Poisoning Explained: NBT-NS and mDNS, Detection and Fixes (2026)

What LLMNR poisoning is and why it works in 2026: how Windows falls back to LLMNR, NBT-NS and mDNS, why a wrong hostname becomes a captured NetNTLMv2 response, evidence from CISA and Microsoft, the events that detect it and the settings that stop it.

Arafat Afzalzada

Arafat Afzalzada

Founder

Network Security

Summarize with AI

ChatGPTPerplexityGeminiGrokClaude

TL;DR

LLMNR poisoning is an attack in which a machine on the same subnet answers the name lookups Windows sends out when DNS has no answer, so the victim connects to the attacker and authenticates. NBT-NS and mDNS poisoning are the same attack on the other two fallback protocols. MITRE ATT&CK tracks all three as T1557.001. The attacker gets a NetNTLMv2 challenge response, not a password. Microsoft's incident responders describe the two uses: relay it "for authentication against other systems that support NTLMv2 authentication", or "perform offline cracking to extract the password". It still works in 2026 because the fallback is on by default: Microsoft's policy reference, dated 14 October 2026, says that if the "Turn off multicast name resolution" policy is not configured, "LLMNR will be enabled on all available network adapters", and NTLM remains supported on every in-market version of Windows. CISA's assessment teams have lived off it: in a 2023 healthcare assessment the team captured 55 NTLMv2 hashes by answering LLMNR and NBT-NS queries, cracked a weak service account password and reached the domain. CISA published a dedicated countermeasure, CM0053, in March 2025. Detection is cheap: a decoy name that nothing resolves, alerts on LLMNR (UDP 5355), NBT-NS (UDP 137) and mDNS (UDP 5353) answers from unexpected hosts, NTLM events 4020 and 4021 on Windows 11 24H2 and Windows Server 2025 clients, and 4624 and 4648 anomalies that show a relayed or cracked credential being used. The fix is four settings and a clean-up: turn off LLMNR by Group Policy, turn off NetBIOS over TCP/IP by DHCP, control mDNS by firewall profile, require SMB signing, then audit and restrict NTLM. Stingrai's internal network and Active Directory testing shows which hosts still answer and what each captured response reaches.

LLMNR poisoning is an attack in which a machine on the same network segment answers the name lookups that Windows multicasts when DNS has no answer, so the victim connects to the attacker instead of the server it wanted and authenticates to it. NBT-NS poisoning and mDNS poisoning work the same way on the other two fallback protocols. It matters because the authentication the victim offers is NTLM, and what the attacker captures can be cracked offline or relayed to another server. In MITRE ATT&CK's words, the adversary spoofs "an authoritative source for name resolution" and poisons the service "so that the victims will communicate with the adversary controlled system" (T1557.001).

This guide covers the fallback behaviour at protocol level, what the attacker obtains and does with it, dated evidence from CISA, MITRE and Microsoft, where Microsoft stands on LLMNR, NetBIOS and mDNS as of 3 December 2026, how to detect poisoning with decoys and event IDs, how to fix it with settings and policies, and how an internal assessment demonstrates it safely. It includes no attack commands or tool syntax.

Quick answer. LLMNR poisoning works because Windows asks the local subnet for help when DNS fails, and any host may answer. The victim then authenticates to the answering host with NTLM, handing over a NetNTLMv2 challenge response that can be cracked offline or relayed. Microsoft has said since April 2022 that it is ramping down LLMNR and NetBIOS name resolution in favour of mDNS, but as of 3 December 2026 LLMNR is still on by default. The fix is to turn off LLMNR by Group Policy, turn off NetBIOS over TCP/IP by DHCP, control mDNS by firewall profile, require SMB signing, and audit and restrict NTLM. Stingrai's internal network testing lists every host that still answers and proves what each captured response reaches.

LLMNR poisoning at a glance

Question

Short answer

What is it?

Answering a victim's fallback name query so that it connects to the attacker. MITRE ATT&CK tracks LLMNR, NBT-NS and mDNS poisoning together as T1557.001, Adversary-in-the-Middle: Name Resolution Poisoning and SMB Relay.

Who can do it?

Anyone with a foothold on the same subnet: a compromised workstation, a rogue device on a wall port, a laptop on the guest Wi-Fi if it bridges to the LAN. No account is needed.

What triggers it?

A name that DNS cannot resolve: a typo, a mapped drive or shortcut to a decommissioned server, a script that points at an old file share, a printer by its old name.

What does the attacker get?

A NetNTLMv2 challenge response for the user or computer account that tried to connect, plus the user name. Not a password and not a reusable hash.

What do they do with it?

Crack it offline against candidate passwords, or relay it live to a server that does not require signing or channel binding.

What stops it?

Turning off LLMNR and NetBIOS over TCP/IP, controlling mDNS, requiring SMB signing, long random passwords, and less NTLM.

How LLMNR, NBT-NS and mDNS poisoning works

Windows resolves a name through DNS first. When DNS returns no answer, the client does not give up: it asks the local link. Microsoft's DNS client policy reference describes the order when the multi-homed optimisation is switched off: "DNS queries will be issued across all networks first. LLMNR queries will be issued if the DNS queries fail, followed by NetBT queries if LLMNR queries fail." With the optimisation on, which is the default, Windows issues "parallel DNS, link local multicast name resolution (LLMNR) and NetBIOS over TCP/IP (NetBT) queries across all networks" and accepts the first positive answer by binding order.

The three fallback protocols differ in detail and share one property: any host on the link may answer.

Protocol

How it asks

Port

What the standard says

LLMNR (Link-Local Multicast Name Resolution)

Multicast to 224.0.0.252 on the local link

UDP 5355

RFC 4795 (Informational, January 2007) recommends LLMNR "as a secondary name resolution mechanism" and notes that "multicast LLMNR queries are propagated to all hosts on the link".

NBT-NS (NetBIOS Name Service)

Broadcast on the subnet

UDP 137

ATT&CK: "NBT-NS identifies systems on a local network by their NetBIOS name."

mDNS (Multicast DNS)

Multicast for names ending in .local

UDP 5353

ATT&CK: "a zero-configuration service" that resolves hostnames ending in ".local". Windows has had native mDNS since Windows 10 1703, and Microsoft calls it "the modern standard for multicast name discovery".

The attack runs in five stages. None of them needs an exploit, and the table is written from the defender's side: what each stage depends on, and what it leaves behind.

Stage

What happens

What it depends on

What the defender can see

1. A name fails in DNS

A user mistypes a share name, a logon script maps a drive to a retired server, or a shortcut points at a host that no longer exists. DNS answers that the name does not exist.

Stale names in scripts, shortcuts, printers and mapped drives. Every estate has them.

DNS server logs: the same names failing again and again.

2. Windows asks the subnet

The client sends the same name out over LLMNR, mDNS or NBT-NS.

The fallback protocols being enabled, which is the default for LLMNR.

Multicast and broadcast queries on UDP 5355, 5353 and 137, visible to any network sensor.

3. The attacker answers

A host the attacker controls replies that the name belongs to its own address.

Being on the same link, and nothing else. Nothing checks who answered.

Answers from a host that is not an authorised responder. A decoy name that nothing legitimate resolves gets an answer.

4. The client connects and authenticates

The client opens the connection it meant to open, usually SMB or HTTP, and authenticates with NTLM, because Kerberos cannot be used for a name the domain does not know.

NTLM being allowed, which it is on every in-market version of Windows.

NTLM events 4020 and 4021 on Windows 11 24H2 and Windows Server 2025 clients, which record the target address and the reason NTLM was used.

5. The attacker uses the response

Offline, candidate passwords are tried against the captured response until one fits. Or, live, the response is forwarded to a server that does not require signing.

A password weak enough to guess, or a server that accepts unsigned sessions.

Nothing for offline cracking. For a relay, event 4624 on the target with Logon Type 3, Authentication Package NTLM and a source address that is not the account's own machine.

Diagram of the five stages of an LLMNR, NBT-NS or mDNS poisoning attack and what a defender can see at each

Figure 1: The five stages of name resolution poisoning, and what each leaves behind. Stingrai's view, built from MITRE ATT&CK T1557.001, Microsoft's NTLM auditing enhancements and Microsoft's event 4624 reference.

Why a wrong hostname becomes a credential capture

The step that turns a name lookup into a credential problem is stage 4, and it is a property of NTLM, not of the name protocols. Microsoft's NTLM reference describes the exchange: the client sends the user name, "The server generates a 8-byte random number, called a challenge or nonce, and sends it to the client", and "The client encrypts this challenge with the hash of the user's password and returns the result to the server. This is called the response." In a normal logon the server passes the user name, challenge and response to a domain controller for checking. In a poisoning attack the "server" is the attacker, who chose the challenge and now holds the response. Nothing in the exchange proves to the client which server it is talking to. Microsoft's September 2026 NTLM retirement FAQ states the weakness plainly: NTLM "relies on weak cryptography", "has no mutual authentication", and "remains a leading vector for credential relay and pass-the-hash attacks".

Kerberos would not fall for this, because a Kerberos ticket is issued for a named service the domain knows about. But a name the domain cannot resolve has no service principal name, so the client falls back to NTLM. The same FAQ notes that connections made by IP address "fall back to NTLM" for the same reason. The fallback name protocols supply the wrong address; NTLM supplies the credential.

What the attacker obtains, and what they do with it

The capture is a NetNTLMv2 challenge response for the account that tried to connect, with the user name in clear. It is not the account's password and not its stored password hash. Microsoft's incident responders drew the line in their guidance on CVE-2023-23397: a captured Net-NTLMv2 response can be used to "relay for authentication against other systems that support NTLMv2 authentication" or to "perform offline cracking to extract the password", and "they cannot be leveraged as part of a Pass-the-Hash technique."

Offline cracking. The attacker already holds the challenge and the response, so they can test candidate passwords on their own hardware until one reproduces the response. No lockout policy applies and no failed logon is written anywhere. The outcome depends entirely on the password. CISA's healthcare sector assessment found that "Passwords less than 15 characters without randomness are easily crackable", and in a November 2024 red team assessment the opposite held: "The organization's domain password policy neutralized the red team's attempts to crack hashes and spray passwords."

Relay. Instead of cracking, the attacker forwards the live authentication to a different server in the victim's name. ATT&CK notes that the relay step "can happen in conjunction with poisoning but may also be independent of it", and that the captured response can be carried into "LDAP, MSSQL and HTTP" as well as SMB. Relay needs a target that does not check where the authentication came from, which is why SMB signing, LDAP signing and channel binding, and Extended Protection for Authentication decide whether a relay works. Stingrai's guide to the ntlm relay attack covers every relay target and its fix.

The two uses need different defences. Cracking is beaten by password length and by not having NTLM at all. Relay is beaten by signing and channel binding on every target. Poisoning is beaten by turning off the fallback protocols, which removes the supply of authentications that feeds both.

Why LLMNR poisoning still works in 2026

The technique is old and the fixes are settings, yet NSA and CISA wrote in their top ten misconfigurations advisory that "Malicious actors frequently exploit these protocols to compromise entire Windows' environments." Five reasons keep it alive.

LLMNR is on by default. Microsoft's policy reference for the DNS client, dated 14 October 2026, says of "Turn off multicast name resolution": "If you disable this policy setting, or you don't configure this policy setting, LLMNR will be enabled on all available network adapters." Microsoft's own April 2022 announcement that it would ramp LLMNR down said "The default LLMNR behavior has not been changed in Windows yet", and as of 3 December 2026 LLMNR does not appear on Microsoft's deprecated features list for the Windows client.

NetBIOS name resolution is off only on public networks. The same policy reference states: "By default, the DNS client will disable NetBIOS name resolution on public networks for security reasons." A domain-joined workstation in an office is on a domain network, where NetBIOS name resolution still answers.

NTLM is deprecated, not gone. Microsoft deprecated "All versions of NTLM, including LANMAN, NTLMv1, and NTLMv2" in June 2024, and its September 2026 FAQ says "In-market versions of Windows client and Windows Server will continue to support NTLM." A fallback name query that reaches an attacker still ends in an NTLM authentication.

Stale names never run out. Every decommissioned file server leaves mapped drives, scripts and shortcuts behind. Each one is a query that DNS cannot answer, and each is an invitation for the subnet to answer instead.

Signing defaults arrived only with the newest versions. Microsoft's SMB security hardening page says that "Starting with Windows 11 24H2 and Windows Server 2025, all outbound and inbound SMB connections are now required to be signed by default", and that before this, signing "was only required by default for connections to shares named SYSVOL and NETLOGON, and for clients of AD domain controllers". The per-edition list adds that Windows Server 2025 "requires outbound SMB signing only". File servers on Windows Server 2022 and earlier, storage appliances and printers did not get the new defaults, so a captured response still has somewhere to be relayed.

Evidence from 2023 to 2026

Date

Source

What it reported

5 October 2023

NSA and CISA, top ten misconfigurations

Assessment teams observed LLMNR and NBT-NS enabled in production. "If these services are enabled in a network, actors can use spoofing, poisoning, and relay techniques to obtain domain hashes, system access, and potential administrative system sessions."

15 December 2023

CISA healthcare and public health assessment

By answering LLMNR and NBT-NS queries, "the CISA team captured fifty-five New Technology Local Area Network Manager version 2 (NTLMv2) hashes, including the NTLMv2 hash for a service account." The service account "had a weak password, allowing the team to quickly crack it". In a later attack path the team "used Responder to capture the NTLMv2 hash for a domain administrator account". The finding: legacy name resolution protocols "(e.g., NetBIOS, LLMNR, mDNS) enabled in the network".

21 November 2024

CISA red team assessment of a critical infrastructure organization

The team "was unable to crack any hashes of all 115 service accounts it targeted" because of the password policy. Mitigations: "If NTLM must be enabled, enable Extended Protection for Authentication (EPA) to prevent NTLM-relay attacks, and implement SMB signing to prevent certain adversary-in-the-middle and pass-the-hash techniques."

14 March 2025

CISA Eviction Strategies countermeasure CM0053

A dedicated countermeasure, "Disable Link-Local Multicast Name Resolution (LLMNR) Service": "LLMNR is exploited by attackers to perform man-in-the-middle (MitM) attacks and credential harvesting via LLMNR poisoning."

21 October 2025

MITRE ATT&CK detection strategy DET0462

A published analytic for "LLMNR/NBT-NS Poisoning and SMB Relay on Windows", built on LLMNR and NBT-NS answers from unauthorised hosts, registry changes to the LLMNR policy value and suspicious service creation.

28 April 2026

MITRE ATT&CK v19

The sub-technique moved from v1.4 to v2.0 under its current name, "Adversary-in-the-Middle: Name Resolution Poisoning and SMB Relay", which now names mDNS alongside LLMNR and NBT-NS. Lazarus Group and Wizard Spider are among the groups listed as using it.

30 October 2026

Google Threat Intelligence Group and Mandiant on ARTEX

Reporting on an agentic offensive framework in use, Google's hardening advice includes: "enforce SMB signing, and enforce LDAP signing and channel binding", and "Reduce or disable NTLM where operationally feasible".

The pattern across these reports is consistent: the poisoning itself is trivial, the outcome depends on password strength and signing, and the organisations that fared well were the ones whose password policy and signing settings left the captured responses worthless.

Timeline from April 2022 to May 2027 of evidence and Microsoft's changes around name resolution poisoning

Figure 2: Name resolution poisoning in assessments and guidance, and Microsoft's changes, April 2022 to May 2027. Sources: CISA AA23-278A, CISA AA23-349A, CISA CM0053, MITRE DET0462, MITRE ATT&CK v19, Microsoft, Aligning on mDNS, Microsoft, deprecated features, Microsoft, SMB security hardening, Microsoft, NTLM auditing enhancements and Microsoft, KB5135557.

Where Microsoft stands on LLMNR, NetBIOS and mDNS

Microsoft has said where it wants to go, and has moved slowly. The dates below are from Microsoft's own pages.

Date

What Microsoft said or changed

Source

22 April 2022

"NetBIOS name resolution and LLMNR are rarely used today", and "having them enabled needlessly expands the attack surface of devices". The goal is that "mDNS is the only multicast name resolution protocol on by default". In Insider builds NetBIOS entered a learning mode where it "is only used as a fallback after mDNS and LLMNR queries fail". But: "The default LLMNR behavior has not been changed in Windows yet."

Aligning on mDNS

June 2024

All versions of NTLM deprecated. NTLMv1 removed in Windows 11 24H2 and Windows Server 2025.

Deprecated features for Windows client

1 November 2024 (Windows Server 2025 general availability; Windows 11 24H2 shipped the same defaults on 1 October 2024)

SMB signing required by default; SMB client can block NTLM for outbound connections; the SMB NetBIOS ports "are no longer included in the built-in firewall rules".

SMB security hardening, Block NTLM connections on SMB

9 September 2026

"In-market versions of Windows client and Windows Server will continue to support NTLM." Connections by IP address "fall back to NTLM".

Retiring NTLM: FAQ

13 October 2026

Enhanced NTLM auditing, which records the process, target and reason NTLM was used, extended from Windows 11 24H2 and Windows Server 2025 to Windows Server 2022 and 2019.

NTLM auditing enhancements

14 October 2026 (policy reference date)

"Turn off multicast name resolution" remains an opt-in policy; unconfigured, "LLMNR will be enabled on all available network adapters". "Configure NetBIOS settings" offers Disable, Allow, Disable on public networks, and "NetBIOS learning mode". The policy reference scopes it to Windows Insider Preview, yet Microsoft's Windows 11, version 25H2 security baseline (30 September 2025) already uses it to disable NetBIOS name resolution on all adapters.

ADMX_DnsClient policy reference

10 November 2026

NTLM signing, phase one: "Windows client devices begin offering NTLM signing on all connections by default", to reduce "exposure to relay attacks". Phase two, planned for May 2027: "Windows servers begin requiring NTLM signing by default."

KB5135557

Three things follow for a defender. LLMNR has not been deprecated or disabled by Microsoft, so turning it off is your decision and your policy. mDNS is the protocol Microsoft intends to keep, so the plan for it is control, not removal. And every NTLM change Microsoft ships narrows what a captured response is worth, but none of them stops the capture, which only the name protocol settings do.

mDNS is different

Microsoft's networking team describes mDNS as the protocol it is aligning on, and its own enterprise guidance is candid: "it is possible to poison name and service resolution with a cleverly written malicious script or program." The same page gives the control Microsoft supports: the "mDNS (UDP-In)" rules in Windows Defender Firewall, which can be disabled for the Domain profile only ("To disable mDNS within corporate offices only"), or for all profiles. It also warns that Microsoft Teams "has been known to use mDNS", so test before turning it off on laptops that share screens in meeting rooms. ATT&CK's mitigation M1042 covers all three: "Disable LLMNR, mDNS, and NetBIOS in local computer security settings or by group policy if they are not needed."

How LLMNR poisoning differs from its neighbours

Technique

What it needs

What it produces

Where it is covered

LLMNR, NBT-NS or mDNS poisoning

A position on the same subnet and a name that DNS cannot resolve

A NetNTLMv2 challenge response to crack or relay

This guide

NTLM relay

A victim authenticating right now, from poisoning, coercion or a lure file, and a target without signing or channel binding

A live session on the target as the victim

ntlm relay attack

Missing SMB signing

A server that accepts unsigned sessions

The condition that makes a relay to SMB succeed

smb signing

Password spraying

A list of user names and a few common passwords tried online against the domain

A valid password, at the cost of failed logons on the domain controller

password spraying

Pass the hash

The stored NT hash of an account, taken from a compromised machine

Authentication as that account without the password

Pass the hash explained

The distinction that matters most in a report: poisoning produces responses, relay consumes them, and cracking is the offline step between a response and a password. A finding that says "LLMNR enabled" is a hygiene item; a finding that says "LLMNR enabled, 40 responses captured in an hour, one belonging to a server administrator, relayable to three file servers without signing" is a path. All of this sits inside the wider scope of internal network penetration testing.

How to detect LLMNR, NBT-NS and mDNS poisoning

Detection has one hard limit, the same one Kerberoasting has: the cracking in stage 5 happens off your network. Everything else is visible, and the cheapest signal of all is a name that nobody should ever answer.

Signal

Where to look

Source and why it matters

A decoy name gets an answer

A scheduled job on a handful of workstations and servers resolves a name that does not exist in DNS and that no device uses. Any successful resolution is an answer from the subnet, and the answering address is the attacker.

Stingrai's guidance, not a standard. Cheap, exact and silent to the attacker, who cannot tell a decoy query from a real one. Run it from different VLANs, because poisoning is per segment.

Answers on UDP 5355, 5353 or 137 from a host that is not an authorised responder

Network sensors and NetFlow

ATT&CK DET0462: "Unusual responses to LLMNR (UDP 5355) or NBT-NS (UDP 137) queries from unauthorized hosts", with a "TrustedResponderList" to tune out printers and media devices.

The LLMNR policy value changed

Security log registry auditing on the DNS client policy key, value EnableMulticast

DET0462 lists "registry modifications re-enabling multicast name resolution" as part of the analytic. Once you turn LLMNR off, a change back is a finding.

A client used NTLM to a target it should not reach

NTLM events 4020 and 4021 in Microsoft-Windows-NTLM/Operational on Windows 11 24H2, Windows Server 2025 and, since 13 October 2026, Windows Server 2019 and 2022

Microsoft's enhanced NTLM auditing records the process, the target name and IP and the reason NTLM was used. Reason 6, "The target name could not be resolved by Kerberos or other protocols", on a connection to an address that is not a server you own, is a poisoned lookup caught in the act. Microsoft says the events are on by default.

A process used explicit credentials toward an unexpected server

Event 4648 on the client, fields Target Server Name and Network Address

Microsoft's monitoring guidance: "If credentials for Account Whose Credentials Were Used\Account Name should not be used from Network Information\Network Address, monitor this event." Scheduled tasks and scripts are the batch jobs most likely to chase a stale name, and 4648 "most commonly occurs in batch-type configurations such as scheduled tasks".

A cracked or relayed credential being used

Event 4624 on the target: Logon Type 3, Authentication Package NTLM, Workstation Name or Source Network Address that does not belong to the account

Microsoft lists the case: "If New Logon\Security ID credentials shouldn't be used from Workstation Name or Source Network Address." A server administrator's account logging on over NTLM from a workstation address is the relay outcome; the same account logging on from a new machine days later is the cracked password being used.

Two cautions. The capture itself leaves nothing on a domain controller, because the attacker's fake server never forwards the response for validation; the client-side NTLM events and the network sensor are the only places it shows. And a response captured today may be cracked next week, so a 4624 for a dormant account from a new machine deserves the same attention as the capture would have.

How to fix LLMNR, NBT-NS and mDNS poisoning

The fix is a short list of settings, each with Microsoft's own documentation, in the order Stingrai recommends. Audit first, then enforce, and test printers, scanners and meeting-room devices before the last two steps.

Step

Setting

Where it lives

Vendor source

1. Turn off LLMNR

"Turn off multicast name resolution", Enabled

Computer Configuration, Administrative Templates, Network, DNS Client. Registry key Software\Policies\Microsoft\Windows NT\DNSClient, value EnableMulticast

ADMX_DnsClient policy reference: enabled, "LLMNR will be disabled on all available network adapters on the DNS client"

2. Turn off NetBIOS over TCP/IP

DHCP scope option "001 Microsoft Disable Netbios Option" set to 0x2 under the Microsoft Options vendor class, with clients set to "Use NetBIOS setting from the DHCP server". Static hosts: the WINS tab of each adapter

DHCP server scope options

Disable NetBIOS over TCP/IP by using DHCP, updated 12 February 2026

3. Control mDNS

Disable the "mDNS (UDP-In)" firewall rules for the Domain profile, or for all profiles where nothing depends on mDNS

Windows Defender Firewall, by Group Policy

mDNS in the enterprise. Test Teams and casting first

4. Require SMB signing

"Microsoft network client: Digitally sign communications (always)" and "Microsoft network server: Digitally sign communications (always)", both Enabled

Security Options. Already the default on Windows 11 24H2 Enterprise, Pro and Education; outbound only on Windows Server 2025

SMB signing overview: the signature "confirms the sender's and receiver's identities, and prevents relay attacks". Microsoft's Control SMB signing behavior page: "We don't recommend disabling SMB signing as a workaround for third-party servers."

5. Audit, then restrict NTLM

"Network security: Restrict NTLM: Outgoing NTLM traffic to remote servers" set to Audit all, review the NTLM operational log, then Deny all with an exception list. On Windows 11 24H2 and Windows Server 2025, "Block NTLM (LM, NTLM, NTLMv2)" for the SMB client, with the server exception list

Security Options; Administrative Templates, Network, Lanman Workstation

Restrict NTLM: outgoing traffic: "First, select Audit all and then review the operational event log". Block NTLM connections on SMB: blocking "prevents bad actors from tricking clients into sending NTLM requests to malicious servers"

6. Make captured responses worthless

Long random passwords, Managed Service Accounts, Protected Users for privileged accounts, and NTLM signing once the November 2026 update is deployed

Password policy and account design; ServerRequireNtlmSign after auditing

CISA AA23-349A: "Ensure adequate password length (ideally 15+ characters)" for service accounts and "Use Managed Service Accounts, when possible". KB5135557: servers planned to require NTLM signing from May 2027

7. Close the relay targets

LDAP signing and channel binding on domain controllers, Extended Protection on AD CS web enrolment, Exchange and internal web applications

Domain controllers, certificate authorities, IIS

Covered in the ntlm relay attack guide

8. Remove the stale names

Retire mapped drives, logon script paths and shortcuts that point at hosts DNS no longer knows

Group Policy Preferences, logon scripts, print servers

Stingrai's guidance: DNS failure logs list them. No query, no poisoning

Steps 1 and 2 remove the attack. Step 3 removes the protocol Microsoft intends to keep, where you can afford to. Steps 4 to 7 decide what a response is worth if a device you cannot control still answers. Step 8 is the one most teams skip and the one that shrinks the problem fastest.

If only two things can be done this quarter, do steps 1 and 4: turning off LLMNR removes most of the queries, and SMB signing removes the most common relay target.

How an internal assessment demonstrates it safely

An internal network penetration test treats name poisoning as a measurement, not a stunt. The tester starts from a network port or a standard domain account, which is the position a rogue device or a phished user gives away. What to expect from a competent tester, with the commands left out on purpose:

Listen before answering. The first pass is passive: the tester counts the LLMNR, NBT-NS and mDNS queries on each segment, which names are being asked for and by which hosts. That list is the first deliverable, because every name on it is a broken shortcut, script or drive mapping that will fall back whether or not anyone attacks it.

Answer only inside the rules of engagement. With written agreement on segments, hours and which queries may be answered, the tester responds to a limited set of queries for a bounded window and records which accounts authenticated. Captured responses are handled as sensitive data: stored encrypted, reported by account, never printed, destroyed at the end.

Run a time-boxed offline password audit. The responses are tested against the kinds of passwords people choose, for an agreed number of hours stated in the report. A response that survived the window has not been shown to be strong, so the report says "not recovered within N hours", never "secure".

Prove the relay on agreed targets only. Where a captured authentication could be relayed, the tester lists every host that does not require signing and performs one controlled relay against an agreed target to show the outcome, then stops. Relays that would change the directory are agreed beforehand and reversed.

Test detection while doing it. Whether anyone noticed a workstation answering name queries for an hour is one of the most useful results the test can produce.

The report should be a table your team can act on: one row per segment where poisoning worked, the number of responses captured per hour, the accounts involved and their privilege, which passwords fell inside the time box, which hosts accepted a relay, and the fix for each with its policy name and Microsoft source. Severity follows the path: LLMNR on in a segment where nothing privileged ever connects is Medium; the same setting where a server administrator's scheduled task chases a retired file server is Critical. In Stingrai's State of Penetration Testing 2026 dataset (408 findings across 8 internal network tests, October 2024 to August 2026), internal network tests returned a median of 11 verified findings and 92% of them were rated High or Critical.

What evidence shows the fix worked

Behaviour, not a Group Policy report: the passive listen on each segment shows no LLMNR or NBT-NS queries from managed hosts; a decoy name resolves nowhere; each listed file server refuses an unsigned session; and, if detection was in scope, the answering host raises an alert within the agreed time.

Where Stingrai fits

Stingrai is a global CREST-accredited penetration testing services company founded in Toronto, Canada in 2021, trusted by companies from startups to enterprises to meet audit requirements for SOC 2, ISO 27001, CMMC, PCI DSS and HIPAA. OSCE³, OSWE, OSEP, CREST CRT certified penetration testers, who are also world-class security researchers and bug bounty hunters. Choose from fully human-led or hybrid (AI agents plus human penetration testers) engagements across web, API, mobile, AI and LLM, cloud, network, Active Directory and social engineering penetration tests and red team engagements. Stingrai Inc is a proud CREST member, holding the CREST accreditations Penetration Testing and AI-Enabled Penetration Testing and the CREST AI Charter company certification, as listed on the CREST Marketplace.

Network and Active Directory work is human-led. Stingrai's internal network testing covers name resolution poisoning, credential relay and cleartext protocols alongside lateral movement between hosts and VLANs. The Active Directory security assessment starts from an ordinary domain user and reports every path proved toward control of the directory, including what a captured or relayed credential reaches, with data collected through PingCastle and BloodHound and validated manually.

  • Who does the work: two named penetration testers from a team holding OSCE³, OSEP, CRTE, CRTO and CREST CRT certifications, with 18 published CVEs across the team, reviewed by a team lead with 16 years in penetration testing, red teaming and exploit development and by an engagement partner.

  • How findings arrive: each confirmed finding is posted to the PTaaS platform with remediation guidance, so a segment where a server administrator's credential was captured does not wait for the final report.

  • What happens after: retesting is included, and every engagement comes with an attestation letter that gives your auditors penetration testing evidence for SOC 2, ISO 27001 and PCI DSS programs.

  • What it costs: a network penetration test typically costs US$5,000 to US$40,000 and above, and PCI DSS engagements that bundle internal, external and segmentation testing commonly land at US$12,000 to US$25,000. Each engagement is scoped individually and quoted as a fixed price.

Engagements run as one-time annual tests or as continuous programs. For teams that also run web applications, Stingrai's Hybrid Pentest, in which Snipe and certified penetration testers test the same application together, is US$6,800 per assessment for one web application and associated APIs, or US$1,275 a month on a 12-month continuous plan (pricing).

LLMNR poisoning defender checklist

  • Pull a month of DNS failure logs and list the names that fail repeatedly; fix or retire the shortcuts, drives and scripts behind them.

  • Enable "Turn off multicast name resolution" for every workstation and server, and audit the EnableMulticast policy value for changes.

  • Set DHCP option 001 Microsoft Disable Netbios Option to 0x2 on every scope, and disable NetBIOS over TCP/IP on statically addressed hosts.

  • Decide where mDNS is needed; disable the mDNS (UDP-In) firewall rules for the Domain profile everywhere else, after testing Teams and casting.

  • Require SMB signing on both client and server on every host, including file servers on Windows Server 2022 and earlier, and audit storage appliances and printers that cannot sign.

  • Set Restrict NTLM outgoing traffic to Audit all, collect the NTLM operational log for several weeks, then deny with an exception list; turn on SMB client NTLM blocking on Windows 11 24H2 and Windows Server 2025.

  • Deploy the November 2026 NTLM signing update, read the negotiated flags in NTLM events 4022 and 4023, and plan for ServerRequireNtlmSign ahead of May 2027.

  • Put service accounts on Managed Service Accounts or passwords of at least 15 random characters, and privileged accounts in Protected Users.

  • Run a decoy-name resolution job from each VLAN and alert on any answer, and on LLMNR, NBT-NS and mDNS answers from any host not on the trusted responder list.

  • Alert on 4624 NTLM network logons for privileged accounts from addresses that are not their own machines, and on 4648 explicit-credential logons to unexpected targets.

  • Have the result checked in your next internal network or Active Directory test, with detection in scope.

Frequently Asked Questions

What is LLMNR poisoning?

LLMNR poisoning is an attack in which a machine on the same network segment answers the Link-Local Multicast Name Resolution queries that Windows sends when DNS cannot resolve a name, so the victim connects to the attacker's machine and authenticates to it with NTLM. The attacker captures a NetNTLMv2 challenge response that can be cracked offline or relayed to another server. MITRE ATT&CK tracks it, with NBT-NS and mDNS poisoning, as T1557.001.

What is the difference between LLMNR, NBT-NS and mDNS poisoning?

They are the same attack against three fallback name protocols. LLMNR multicasts on UDP 5355 to the local link, NBT-NS broadcasts NetBIOS names on UDP 137, and mDNS multicasts names ending in .local on UDP 5353. Windows can use all three when DNS has no answer, and any host on the link can reply to any of them. The fixes differ: LLMNR is turned off by Group Policy, NetBIOS over TCP/IP by DHCP or per adapter, and mDNS by firewall rules per profile.

What does an attacker get from LLMNR poisoning?

A NetNTLMv2 challenge response for the account that tried to connect, plus its user name. It is not the password and not the stored password hash, and Microsoft's incident responders note that NTLMv2 responses cannot be used for pass the hash. The attacker can try candidate passwords against the response offline, where no lockout applies, or relay the live authentication to a server that does not require signing or channel binding.

Is LLMNR disabled by default in Windows 11?

No. Microsoft's DNS client policy reference, dated 14 October 2026, says that if the "Turn off multicast name resolution" policy is not configured, LLMNR will be enabled on all available network adapters. Microsoft announced in April 2022 that it intends to ramp down LLMNR and NetBIOS name resolution in favour of mDNS, but as of 3 December 2026 LLMNR is not on the Windows deprecated features list. NetBIOS name resolution is disabled by default only on public networks.

How do you disable LLMNR and NBT-NS?

Enable the Group Policy "Turn off multicast name resolution" under Computer Configuration, Administrative Templates, Network, DNS Client, which sets the EnableMulticast policy value and disables LLMNR on every adapter. For NetBIOS over TCP/IP, set DHCP scope option 001 Microsoft Disable Netbios Option to 0x2 under the Microsoft Options vendor class, with clients set to use the NetBIOS setting from the DHCP server, and disable it on the WINS tab of each statically addressed adapter.

How do you detect LLMNR poisoning?

Resolve a decoy name that does not exist in DNS from a few hosts on each VLAN and alert on any answer. Watch for LLMNR, NBT-NS and mDNS answers from hosts that are not trusted responders, as MITRE's DET0462 analytic describes. On Windows 11 24H2, Windows Server 2025 and patched Windows Server 2019 and 2022, NTLM events 4020 and 4021 record a client using NTLM to a target address because the name could not be resolved by Kerberos. Event 4624 with Logon Type 3 and Authentication Package NTLM from an address that is not the account's own machine shows a relayed or cracked credential in use.

Does disabling LLMNR stop a Responder attack?

It removes LLMNR as a source of queries, which is usually the largest. Tools in this class, which ATT&CK lists under T1557.001, also answer NBT-NS and mDNS, so NetBIOS over TCP/IP must be turned off and mDNS controlled by firewall profile as well. Even then, a device you do not manage may still query, so the second layer is to make responses worthless: SMB signing on every host, long random passwords, and NTLM audited and restricted.

Does a penetration test check for LLMNR poisoning?

An internal network penetration test listens on each segment for LLMNR, NBT-NS and mDNS queries, then, inside the rules of engagement, answers a limited set to show which accounts would authenticate, runs a time-boxed offline password audit and proves one controlled relay against an agreed target. An Active Directory security assessment goes deeper on what each captured credential reaches, and a red team or purple team exercise tests whether the answering host is noticed.

References

  1. MITRE ATT&CK. Adversary-in-the-Middle: Name Resolution Poisoning and SMB Relay, T1557.001, version 2.0. Last modified 12 May 2026. https://attack.mitre.org/techniques/T1557/001/

  2. MITRE ATT&CK. Detect LLMNR/NBT-NS Poisoning and SMB Relay on Windows, DET0462. Created 21 October 2025. https://attack.mitre.org/detectionstrategies/DET0462

  3. MITRE ATT&CK. Updates, April 2026 (ATT&CK v19). 28 April 2026. https://attack.mitre.org/resources/updates/updates-april-2026/

  4. NSA and CISA. NSA and CISA Red and Blue Teams Share Top Ten Cybersecurity Misconfigurations, AA23-278A. 5 October 2023. https://www.cisa.gov/news-events/cybersecurity-advisories/aa23-278a

  5. CISA. Enhancing Cyber Resilience: Insights from the CISA Healthcare and Public Health Sector Risk and Vulnerability Assessment, AA23-349A. 15 December 2023. https://www.cisa.gov/news-events/cybersecurity-advisories/aa23-349a

  6. CISA. Enhancing Cyber Resilience: Insights from CISA Red Team Assessment of a US Critical Infrastructure Sector Organization, AA24-326A. 21 November 2024. https://www.cisa.gov/news-events/cybersecurity-advisories/aa24-326a

  7. CISA. Disable Link-Local Multicast Name Resolution (LLMNR) Service, CM0053. 14 March 2025. https://www.cisa.gov/eviction-strategies-tool/info-countermeasures/CM0053

  8. IETF. RFC 4795, Link-Local Multicast Name Resolution (LLMNR). January 2007. https://www.rfc-editor.org/rfc/rfc4795

  9. Microsoft Learn. ADMX_DnsClient Policy CSP. 14 October 2026. https://learn.microsoft.com/en-us/windows/client-management/mdm/policy-csp-admx-dnsclient

  10. Microsoft. Aligning on mDNS: ramping down NetBIOS name resolution and LLMNR. 22 April 2022. https://techcommunity.microsoft.com/blog/networkingblog/aligning-on-mdns-ramping-down-netbios-name-resolution-and-llmnr/3290816

  11. Microsoft. mDNS in the Enterprise. 4 April 2022, updated 9 November 2023. https://techcommunity.microsoft.com/blog/networkingblog/mdns-in-the-enterprise/3275777

  12. Microsoft Learn. Disable NetBIOS over TCP/IP by using DHCP. 12 February 2026. https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/disable-netbios-tcp-ip-using-dhcp

  13. Microsoft Learn. Microsoft NTLM. 9 July 2025. https://learn.microsoft.com/en-us/windows/win32/secauthn/microsoft-ntlm

  14. Microsoft Security Blog. Guidance for investigating attacks using CVE-2023-23397. 24 March 2023, updated 15 February 2024. https://www.microsoft.com/en-us/security/blog/2023/03/24/guidance-for-investigating-attacks-using-cve-2023-23397/

  15. Microsoft. Retiring NTLM: Frequently asked questions. 9 September 2026, updated 19 October 2026. https://techcommunity.microsoft.com/blog/windows-itpro-blog/retiring-ntlm-frequently-asked-questions/4550522

  16. Microsoft Learn. Deprecated features in the Windows client. 1 December 2026. https://learn.microsoft.com/en-us/windows/whats-new/deprecated-features

  17. Microsoft Learn. SMB security hardening in Windows Server and Windows Client. 25 October 2024. https://learn.microsoft.com/en-us/windows-server/storage/file-server/smb-security-hardening

  18. Microsoft Learn. Overview of Server Message Block signing in Windows. 25 October 2024. https://learn.microsoft.com/en-us/windows-server/storage/file-server/smb-signing-overview

  19. Microsoft Learn. Control SMB signing behavior. 13 August 2025. https://learn.microsoft.com/en-us/windows-server/storage/file-server/smb-signing

  20. Microsoft Learn. Block NTLM connections on SMB in Windows Server 2025. 25 October 2024. https://learn.microsoft.com/en-us/windows-server/storage/file-server/smb-ntlm-blocking

  21. Microsoft Learn. Network security: Restrict NTLM: Outgoing NTLM traffic to remote servers. 15 June 2022. https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/security-policy-settings/network-security-restrict-ntlm-outgoing-ntlm-traffic-to-remote-servers

  22. Microsoft Support. Overview of NTLM auditing enhancements in Windows 11, version 24H2, Windows Server 2019, and later versions. 11 July 2025, updated 13 October 2026. https://support.microsoft.com/en-us/topic/overview-of-ntlm-auditing-enhancements-in-windows-11-version-24h2-and-windows-server-2025-b7ead732-6fc5-46a3-a943-27a4571d9e7b

  23. Microsoft Support. NTLM signing security improvements in Windows, KB5135557. 10 November 2026. https://support.microsoft.com/help/5135557

  24. Microsoft Learn. 4624(S): An account was successfully logged on. https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/auditing/event-4624

  25. Microsoft Learn. 4648(S): A logon was attempted using explicit credentials. https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/auditing/event-4648

  26. Google Threat Intelligence Group and Mandiant. ARTEX and Friends: Enter Agentic Offensive Frameworks. 30 October 2026. https://cloud.google.com/blog/topics/threat-intelligence/artex-and-friends-enter-agentic-offensive-frameworks

  27. Stingrai. State of Penetration Testing 2026. https://www.stingrai.io/blog/state-of-penetration-testing-2026

  28. CREST. Stingrai Inc, CREST Marketplace. https://marketplace.crest.org/supplier/stingrai-inc/

Talk to Stingrai

Want to know which of your network segments would answer a poisoned name query, and what a captured credential would reach? Stingrai scopes internal network tests and Active Directory security assessments with retesting, as a one-time annual engagement or a continuous program. Get a Quote or book a free discovery call.

0 views

0

X

Related reading

Credential Dumping and LSASS Explained: How It Works, Detection and Fixes (2026)
Network Security

Credential Dumping and LSASS Explained: How It Works, Detection and Fixes (2026)

Credential dumping explained: what LSASS, the SAM, NTDS.dit and DPAPI hold, why dumps still work in 2026, Microsoft's defaults, detection events and fixes.

20 min read

PetitPotam and Authentication Coercion Explained: Detection and Fixes (2026)
Network Security

PetitPotam and Authentication Coercion Explained: Detection and Fixes (2026)

PetitPotam and authentication coercion explained: how a domain controller is made to authenticate to an attacker, the evidence, detection events and fixes.

21 min read

SMB Signing Explained: Why It Matters, What It Stops and How to Enforce It (2026)
Network Security

SMB Signing Explained: Why It Matters, What It Stops and How to Enforce It (2026)

SMB signing explained: the relay attacks it stops, why most servers still do not require it, Windows 11 24H2 and Server 2025 defaults, how to enforce it.

20 min read

Contents

X