Port 5355 is the LLMNR (Link-Local Multicast Name Resolution) port used by Windows for local name resolution when DNS fails. LLMNR is a major security vulnerability – Responder and similar tools exploit it to capture NTLMv2 hashes from Windows machines. Disable LLMNR via Group Policy in all production Active Directory environments.
Port Number
5355
Protocol
TCP/UDP
Service
Link-Local Multicast Name Resolution
Range
IANA Registered (1024–49151)
Windows: check if LLMNR is disabled (0 = disabled, absent = enabled)
reg query 'HKLM\SOFTWARE\Policies\Microsoft\Windows NT\DNSClient' /v EnableMulticastPowerShell: test if LLMNR resolution is active (should fail if disabled)
Resolve-DnsName -Name nonexistent -LlmnrOnlyLinux: capture LLMNR queries on the network (detect Windows machines broadcasting)
tcpdump -i eth0 -n udp port 5355 -c 5Run Responder in analyze mode to see LLMNR/NBT-NS queries without poisoning (penetration test)
responder -I eth0 --analyzeresponder -I eth0
Get-NetAdapter | Set-DnsClient -EnableMulticast $false
tcpdump -i eth0 udp port 5355LLMNR (Link-Local Multicast Name Resolution) was defined in RFC 4795 (2007) by Microsoft as a local name resolution protocol for networks without DNS. Port 5355 (UDP and TCP) with multicast 224.0.0.252. It was designed as a replacement for NetBIOS Name Service (port 137) with IPv6 support. LLMNR became the single most exploited protocol in internal penetration testing – Responder + ntlmrelayx gives domain admin access on most unhardered corporate networks within minutes.
Why is LLMNR so dangerous?
Combination of factors: (1) Windows sends LLMNR queries for ANY failed DNS lookup (typos, stale records, disconnected servers), (2) queries go to the entire subnet (multicast), (3) no authentication on responses, (4) Windows automatically sends NTLM credentials to whoever responds. So: user types \\fileserverr (typo) → DNS fails → LLMNR broadcasts 'who is fileserverr?' → attacker responds 'that's me' → Windows sends NTLMv2 hash to attacker → hash cracked or relayed to another server.
How do I detect LLMNR poisoning attacks?
1. Deploy a honeypot: create DNS records for common typos that should never resolve via LLMNR – alert if LLMNR resolves them. 2. Monitor for Responder signatures: IDS rules for LLMNR responses from unexpected IPs. 3. Windows Event Log: Event ID 5765 (LLMNR name resolution). 4. Network monitoring: any unicast LLMNR response (normal is multicast query → unicast response from one host; multiple responses = poisoning). Best fix: disable LLMNR entirely via GPO.