Insights

Responder on Kali Linux: poisoning LLMNR and NBT-NS

5 min read

Responder on Kali Linux LLMNR and NBT-NS poisoning title card

Responder on Kali Linux: poisoning LLMNR and NBT-NS

Responder on Kali Linux is a free, open-source tool that listens for LLMNR, NBT-NS and mDNS name resolution requests and answers them itself. When a client cannot resolve a hostname, the poisoned answer points the client at the attacker, who then holds a rogue server ready to capture credentials.

Testers use Responder to show how broadcast name resolution can hand authentication to an attacker. Defenders use it to understand the risk they are mitigating and to prepare detections around the traffic it creates.

This post covers what Responder is, when to reach for it, how to install it on Kali Linux, the legal limits, a worked example against a lab VM you own, and the defences that stop the attack before it lands.

Responder on Kali Linux: what it is and when to use it

Responder is a Python-based poisoner built by Laurent Gaffie. It sits on the same network segment as the clients it targets and answers name resolution broadcasts when DNS has nothing to offer. The client asks who a host is, Responder answers, and the client then connects to the attacker to authenticate.

That is why the tool matters. Broadcast name resolution was designed for small networks where every device knows every other device. Where DNS is correct and authoritative, the fallback rarely fires, and an attacker who listens on the wire has nothing to exploit. Most engagements start with a sweep of the segment in Nmap before a tester turns to name resolution at all.

When a tester needs a demonstration of a passive credential grab, Responder is one of the quickest ways to produce it. It supports LLMNR, NBT-NS, mDNS, SMB, HTTP, FTP, SMTP, IMAP, POP3, LDAP, Kerberos and MSSQL, and captures either cleartext credentials or NetNTLM hashes that can be cracked offline.

When a defender needs context, the useful question is not whether the tool exists, but what happens when clients fall back to broadcast resolution and an attacker is listening. That is the frame this post uses.

Installing Responder on Kali Linux

Kali Linux ships Responder in its standard repositories, so the install is a single apt command from the Kali repositories.

sudo apt update
sudo apt install responder
responder -h

The Kali package, version 3.2.2.0 at the time of writing, bundles the poisoners and the rogue authentication servers, with Python 3 dependencies handled by the package itself. Those who prefer the upstream source can clone the Responder repository and follow its installation instructions, which cover both Python 2.7 and Python 3.

Run Responder against the interface that carries your lab traffic.

sudo responder -I eth0 -v

-I names the interface and -v raises the verbosity. If you want to watch the requests before answering them, use analyse mode.

sudo responder -I eth0 -A -v

Ethical and lawful use

Only run Responder against systems you own or have written permission to test. In the UK, unauthorised access to a computer system can engage the Computer Misuse Act 1990.

Responder is passive until a client actually attempts to authenticate, but positioning a rogue server means receiving credentials, and the activity can still appear in network logs. Agree scope in writing, name the target and the time window, and keep the exercise on an isolated lab network.

Worked example on a lab target you own

Lab target: a Windows 10 virtual machine and a Kali Linux virtual machine on a host-only network you control, such as the lab setup described in our guide to building a pentesting environment with Parrot OS and Kali Linux on VirtualBox.

On the Kali box, start Responder.

sudo responder -I eth0 -v

On the client, request a hostname that does not exist in your DNS, for example by pinging a name that is not in your records. The resolution failure triggers the broadcast fallback, Responder answers, and the client attempts to authenticate against the rogue server.

The capture is written to Responder’s logs, and the NetNTLM hash or cleartext credential can then be passed to a password attack tool such as hashcat or john.

Defences and detections

Responder succeeds when broadcast name resolution is left enabled and unmonitored.

  • Disable LLMNR. Set the Group Policy "Turn off multicast name resolution" or the registry value HKLM\Software\Policies\Microsoft\Windows NT\DNSClient\EnableMulticast=0.
  • Disable NBT-NS. Disable NetBIOS over TCP/IP or set the NetBT NodeType to P-node so clients stop broadcasting NetBIOS names.
  • Enforce SMB signing and disable NTLMv1 so that even a captured challenge cannot be relayed cleanly.
  • Keep DNS authoritative and correct, so clients do not fall back to broadcast resolution at all.

For detections, watch for traffic on UDP port 5355 (LLMNR) and UDP port 137 (NBT-NS), and alert on failed hostname resolution followed by a connection to an unexpected internal host. Network monitoring tools such as Wireshark can show the poisoned answers as anomalous multicast traffic, and a quick tshark filter on UDP 5355 will confirm what is on the wire.

Sources