When a Windows host cannot resolve a name through DNS, it does not always give up. It asks the local network, and on a flat segment any machine can answer. Responder is the tool that answers, and the answer makes the asking host try to authenticate to the responder. This article explains why that works, what the tool captures, how to run it safely in a lab and how to stop it. Test only networks and systems you own or are authorised to assess.
Why the fallback exists
Three link-local protocols resolve names when DNS has no answer. LLMNR, defined in RFC 4795, sends queries to UDP port 5355 on the multicast addresses 224.0.0.252 and FF02:0:0:0:0:0:1:3. NBT-NS, the NetBIOS name service of RFC 1001 and RFC 1002, sends queries to UDP port 137 by broadcast or to a name server. mDNS, defined in RFC 6762, uses UDP port 5353 and the address 224.0.0.251, and resolves names ending in .local. Microsoft’s DNS Client policy reference describes a NetBIOS mode that falls back to NetBIOS after mDNS and LLMNR queries fail.
By default none of these protocols authenticates the answer; RFC 4795 and RFC 6762 offer only optional IPsec or DNSSEC protection that needs trust arranged in advance. The asking host takes the first answer, and for a name that does not exist no genuine answer ever arrives, so a mistyped share name or a stale mapped drive becomes a question any machine on the segment can answer. MITRE ATT&CK tracks this as T1557.001, Name Resolution Poisoning and SMB Relay.
What Responder does and captures
Responder, maintained by Laurent Gaffié in the lgandx/Responder repository, answers LLMNR, NBT-NS and mDNS queries with its own address. The victim then connects to its rogue SMB, HTTP or other servers, and Windows attempts NTLM authentication with the signed-in user’s credentials.
What arrives is a challenge response, not the NT hash. The server sends a random challenge, and the client returns a value computed from that challenge and a key derived from the password. For NetNTLMv2, MS-NLMP shows the response is built from both the server challenge and a client challenge. So the captured value cannot be replayed in pass-the-hash, and recovering the password means guessing candidates offline and computing the same response for each.
Start passive: analyse mode
Before poisoning anything, listen. Analyse mode, -A, shows LLMNR, NBT-NS and mDNS requests without answering them, though it still starts the servers set On in Responder.conf. A quiet segment is a short finding. A busy one shows which names are asked for and by whom, the evidence that justifies the next step.
A careful run in a lab
In a lab, start with a single Windows VM and a mistyped share path such as \\fileserver-typo\share. Responder must run as root. In Responder.conf, turn off the servers you do not need, and scope answers to the lab target with RespondTo or to chosen names with RespondToName, so you capture only what the test needs.
When a lab user triggers a lookup, Responder prints the poisoned answer and then the captured NetNTLMv2 line. It saves each capture under logs/ and records them in Responder.db. Treat both as sensitive: store them in the engagement folder and delete them when the assessment ends.
For your own lab account only, crack the capture offline to test the password. The hashcat example hashes list mode 5600 as NetNTLMv2 and 5500 as NetNTLMv1. A weak lab password falls quickly and a long random one does not, which is the point for the report.
Responder’s WPAD, DHCP and forced authentication options belong with WPAD and UNC path capture, and relaying a response onward is covered in NTLM relay.
Responder commands
These options were checked against Responder v3.2.2.0, the latest tag on 27 November 2026, in its README, Responder.conf and the argument parser in Responder.py. Run python3 Responder.py -h on your own copy. Run these only on an isolated lab segment with RespondTo set to your test host; the default answers every name asked on the segment.
sudo python3 Responder.py -I eth0 -A
sudo python3 Responder.py -I eth0 -v
sudo python3 Responder.py -I eth0 -v -Q
hashcat -m 5600 lab-capture.txt lab-wordlist.txt-I eth0selects the interface. It is the only required option on Linux; macOS and-I ALLalso need-iwith the local IP.-Ais analyse mode: observe, do not answer.-vraises verbosity and shows repeat captures already inResponder.db;-Qhides LLMNR, NBT-NS and mDNS messages.- Poisoners and servers are switched in
Responder.confwith theLLMNR,NBTNS,MDNS,SMBandHTTPkeys, eachOnorOff.
Detection and defence
The strongest fix is to stop clients asking. Microsoft’s Turn off multicast name resolution policy (Computer Configuration, Administrative Templates, Network, DNS Client) sets EnableMulticast and disables LLMNR on every adapter. For NetBIOS, choose Disable NetBIOS over TCP/IP on each adapter’s WINS tab, call the SetTcpipNetbios WMI method with value 2, or set the DHCP option 001 Microsoft Disable Netbios Option to 0x2 for clients that take their NetBIOS setting from DHCP. Microsoft’s Policy CSP lists the newer Configure NetBIOS settings policy for Windows Insider Preview builds only. Microsoft’s DNS Client policy reference has no mDNS setting, so follow MITRE’s M1037 and block UDP 5353 with the host firewall where mDNS is not needed. MITRE’s M1042 covers disabling all three. Rerun -A to confirm the segment is quiet.
Clients should also answer only with NetNTLMv2, whatever Responder’s --lm and --disable-ess downgrade options ask for: set Network security: LAN Manager authentication level to Send NTLMv2 response only. Refuse LM & NTLM.
On the network, poisoning looks like one host answering many unrelated names; MITRE’s detection strategy DET0462 lists unusual LLMNR and NBT-NS responses from unauthorised hosts, and changes to EnableMulticast. Any sensor on the segment sees the multicast or broadcast queries, but LLMNR and NBT-NS replies return by unicast, as do Responder’s mDNS replies, so seeing them needs a SPAN port or the endpoint. A decoy query helps: ask for a name that does not exist and alert on any reply, as the open source Respounder does for LLMNR. A tester scoped with RespondToName will not answer it, so silence is not proof of absence.
On clients, Network security: Restrict NTLM: Outgoing NTLM traffic to remote servers set to Audit all logs each outgoing NTLM request in the Microsoft\Windows\NTLM operational log, where NTLM sent to a name that should not exist stands out. That policy page gives no event ID. The Windows Security Logging with Sysmon and Event Logs course covers what to collect.
Weak passwords turn a capture into a compromise, so use long random ones for service accounts. Relay is stopped protocol by protocol: SMB signing on servers stops relay to SMB (Control SMB signing behavior, Set-SmbServerConfiguration -RequireSecuritySignature $true); LDAP signing covers LDAP and channel binding covers LDAPS; HTTP services such as certificate enrolment need Extended Protection for Authentication, covered in the relay article. Windows 11 24H2 Enterprise, Pro and Education require SMB signing both ways and Windows Server 2025 only outbound, and Windows Server 2022 and earlier domain controllers accept unsigned LDAP binds by default (LDAP signing overview). The Network and Active Directory Ultimate Course teaches SMB signing and the relay list.
Where to go next
The Network and Active Directory Ultimate Course is the next step, through to detecting and stopping the credential theft a captured response leads to. For the wider workflow from first scan to report, see Penetration Testing Field Notes.
This article replaces the KSEC ARK notes first published in 2019.
More from this author
- One capture, three questions2 December, 2026
- Payload channels versus timing channels2 December, 2026
