Join our Newsletter — 33% off our NHI Course
Home› Guides› MITRE ATT&CK T1557 Adversary-in-the-Middle: Detecting Poisoning, Relay and…
Guide Threat Intelligence & Threat Actors

MITRE ATT&CK T1557 Adversary-in-the-Middle: Detecting Poisoning, Relay and Rogue Networks

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 28 October 2026 10 min read
On this page

An attacker who sits between a client and the service it trusts can capture hashes, relay authentication and rewrite traffic without ever cracking a password. MITRE ATT&CK tracks this as T1557 Adversary-in-the-Middle (AiTM), placed in both the Credential Access (TA0006) and Collection (TA0009) tactics, with four sub-techniques: name resolution poisoning and SMB relay, ARP cache poisoning, DHCP spoofing and evil twin Wi-Fi. This guide covers T1557 as it stands in ATT&CK v20 (technique version 2.5), turns its five detection strategies into log sources and rules, and explains which identity and protocol settings make interception worthless. It is for network and Windows security engineers, detection engineers and identity teams. The web-proxy form of AiTM used in phishing kits is covered separately in the AiTM Phishing Guide; this page is about the network-layer technique ATT&CK files under T1557.

Key takeaways

  • Position first, credentials second. T1557 is about gaining a position on the path; the payoff is follow-on behaviour such as T1040 Network Sniffing, relay of NTLM authentication or T1565.002 Transmitted Data Manipulation.
  • Legacy name resolution is the cheapest win. LLMNR (UDP 5355) and NBT-NS (UDP 137) answer broadcast lookups from anyone; disabling them removes the most common internal T1557.001 path.
  • Relay only works when authentication is not bound to the channel. SMB signing, LDAP signing and channel binding, and Extended Protection for Authentication on HTTP services stop relayed NTLM from being accepted.
  • Layer 2 controls belong on the switch. DHCP snooping and Dynamic ARP Inspection block T1557.002 and T1557.003 at the access port, where host-based detection only sees the aftermath.
  • Machine and service accounts are prime relay targets. Coerced authentication from servers and domain controllers turns AiTM into domain compromise, so treat computer accounts as privileged NHIs.

How T1557 works in ATT&CK v20

ATT&CK describes adversaries positioning themselves between networked devices to support sniffing, data manipulation or replay, and notes that the position can also be used to downgrade connections, block traffic to security services or redirect users. Platforms are Linux, macOS, Windows and Network Devices.

Sub-techniqueHow the position is gainedWhat the attacker getsPrimary fix
T1557.001 Name Resolution Poisoning and SMB RelayAnswering LLMNR, NBT-NS or mDNS lookups for names that DNS could not resolveNetNTLM challenge responses to crack or relay to SMB, LDAP or HTTP servicesDisable LLMNR and NBT-NS; require SMB signing; LDAP signing and channel binding
T1557.002 ARP Cache PoisoningForged ARP replies that map the gateway or a server IP to the attacker's MAC addressAll traffic between victims on the same segmentDynamic ARP Inspection, segmentation, encryption in transit
T1557.003 DHCP SpoofingA rogue DHCP server handing out attacker-controlled DNS servers or gatewaysRedirected name resolution and traffic for every client that accepts the leaseDHCP snooping with trusted ports, authorised DHCP servers in AD
T1557.004 Evil TwinA rogue access point broadcasting a legitimate SSID, often with a captive portalWi-Fi credentials, captive portal logins, unencrypted traffic802.1X with EAP-TLS and server certificate validation, wireless IDS

ATT&CK v20 links T1557 or its sub-techniques to groups including APT28 (G0007), Lazarus Group (G0032), Kimsuky (G0094), Wizard Spider (G0102), Mustang Panda (G0129) and Sea Turtle (G1041). Related credential techniques to chain in hunting are T1187 Forced Authentication, which coerces a host to authenticate to the attacker, and T1550.002 Pass the Hash.

Detection logic and log sources

ATT&CK v20 maps one detection strategy to T1557 and one to each sub-technique. The table distils the analytics into events to collect and rules to write.

ScopeLog sources (ATT&CK v20 analytics)Rule logic
LLMNR, NBT-NS and SMB relayNetwork sensor traffic on UDP 5355 and UDP 137; Windows Security Event ID 4697 (service installed); registry change to HKLM\Software\Policies\Microsoft\Windows NT\DNSClient\EnableMulticastResponses to LLMNR or NBT-NS queries from hosts that are not DNS servers; SMB authentication to a host shortly after it answered a poisoned query; policy re-enabling multicast name resolution
ARP cache poisoningNetwork flow and packet capture, auditd changes to ARP entries, macOS unified log, switch DAI logsSeveral IP addresses resolving to one MAC; gratuitous ARP replies for the gateway from a non-gateway port; ARP table entries inconsistent with DHCP leases
DHCP spoofingWindows System log Event IDs 1341, 1342, 1020 and 1063 (DHCP server warnings), Linux syslog dhclient messages, packet captureMore than one DHCP OFFER for a DISCOVER; leases assigning DNS or gateway values outside the approved list
Evil twinWireless controller association logs, WIDS alerts, network device syslogSame SSID advertised by an unknown BSSID or with a weaker security type; probe responses from unauthorised APs; clients redirected to non-standard portals
General AiTM and configuration tamperingWindows Security Event IDs 4656, 4663, 4670 on network configuration keys; Sysmon Event IDs 3 and 22; edits to /etc/hosts or /etc/resolv.conf; macOS configuration profile installs; network device config change logsLocal DNS, proxy or trusted certificate changes followed by unusual traffic or authentication; unexpected route changes or duplicate gateway advertisements; TLS downgrade or inconsistent DNS answers

Authentication signals that reveal relay

  • NTLM logons from an unexpected source: Security Event ID 4624 with NTLM authentication where the workstation name and source IP do not match, or a computer account authenticating from a host that is not itself.
  • NTLM auditing: enable the NTLM operational log and audit policies before enforcement so you can see which services still accept NTLM. See the NTLM Deprecation and Elimination Guide.
  • Directory changes after relay: new resource-based constrained delegation settings, new certificate enrolments or new computer objects created shortly after an NTLM logon from an unusual source.

Prevention controls mapped to ATT&CK mitigations

ATT&CK mitigationConcrete controlSub-technique
M1042 Disable or Remove Feature or ProgramGroup Policy "Turn off multicast name resolution" (disables LLMNR); disable NetBIOS over TCP/IP through DHCP option or adapter settings; remove WPAD where unused.001, .002
M1037 Filter Network TrafficHost firewall rules blocking inbound UDP 5355 and 137; DHCP snooping; Dynamic ARP Inspection.001, .002, .003
M1041 Encrypt Sensitive InformationTLS with certificate validation everywhere, SMB encryption for sensitive shares, IPsec where legacy protocols remainAll
M1030 Network SegmentationSmall broadcast domains, isolate servers and admin workstations from user VLANs.001, .002
M1035 Limit Access to Resource Over NetworkRestrict which hosts can reach SMB, LDAP and management interfaces.002
M1031 Network Intrusion PreventionNIDS signatures for poisoning tools, rogue DHCP and ARP anomalies; wireless IPSAll
M1017 User TrainingTeach users to reject unexpected certificate warnings and captive portals asking for corporate credentials.002, .004

ATT&CK mitigations do not name every protocol hardening setting that stops relay. Add SMB signing required on clients and servers (see the SMB Signing Guide), LDAP signing and LDAP channel binding on domain controllers, Extended Protection for Authentication on IIS and AD CS web enrolment, and a programme to retire NTLM. The NTLM Relay Guide covers these in depth.

Where identity fits

  • Computer and service accounts: coerced authentication from a domain controller or server relayed to AD CS or LDAP can yield certificates or delegation rights for that machine identity. Inventory which services run as privileged accounts and remove NTLM paths to them. See the Service Account Security Guide.
  • Kerberos over NTLM: Kerberos is not relayable in the same way, so increasing Kerberos use reduces T1557.001 value. See the Kerberos Security Guide.
  • Mutual authentication for workloads: mTLS between services makes an on-path attacker visible because it cannot present a valid certificate. See the mTLS Guide.
  • Wi-Fi credentials: PEAP with password-based inner methods and no server certificate validation hands credentials to an evil twin. EAP-TLS with device certificates does not. See the 802.1X and EAP-TLS Enterprise Wi-Fi Guide.

How to implement

  1. Measure exposure: run a passive network sensor for a week to count LLMNR and NBT-NS queries and responders, and enable NTLM auditing on domain controllers and key servers.
  2. Disable LLMNR and NBT-NS in rings: apply the Group Policy setting and NetBIOS change to a pilot OU, check for broken name lookups (usually missing DNS records), fix DNS, then expand. Roll back by unlinking the GPO.
  3. Require SMB signing: audit first, then enforce on servers, then clients; legacy NAS and printers are the usual breakers.
  4. Enforce LDAP signing and channel binding: monitor domain controller events that report unsigned and non-binding binds, remediate clients, then enforce.
  5. Switch controls: enable DHCP snooping with only uplinks and authorised DHCP servers trusted, then Dynamic ARP Inspection using the snooping binding table; start in monitor mode where the platform supports it.
  6. Wireless: move corporate SSIDs to EAP-TLS, enforce server certificate validation through device management and enable rogue AP detection.
  7. Deploy detections: poisoned response detection, multiple DHCP OFFERs, ARP anomalies, NTLM source mismatch and configuration tampering rules, tuned in alert-only mode first.

Decision guidance

  • Disable versus monitor LLMNR: disabling is cheap and rarely breaks anything that DNS cannot fix; monitoring alone leaves the path open.
  • SMB signing performance: modern hardware absorbs the cost; reserve exceptions for documented legacy devices on isolated segments.
  • Small organisations: disable LLMNR and NBT-NS, require SMB signing, use WPA3-Enterprise or WPA2-Enterprise with certificate validation, and keep broadcast domains small.
  • Large organisations: fund the NTLM retirement programme, deploy DHCP snooping and DAI across access switches and run wireless IDS.

Detection and measurement

  • LLMNR and NBT-NS responders: count of hosts answering multicast or broadcast name queries; target zero.
  • SMB signing coverage: percentage of servers and clients that require signing.
  • NTLM share of authentications: trend of NTLM versus Kerberos logons on domain controllers.
  • Switch coverage: percentage of access ports with DHCP snooping and DAI enabled.
  • Rogue AP and rogue DHCP detections: number per month and time to locate and remove.

Common failure patterns

  • Disabling LLMNR but not NBT-NS: poisoning tools fall back to NetBIOS name service.
  • Signing enabled but not required: SMB or LDAP signing negotiated only if both sides ask, which a relay attacker will not.
  • Trusting every switch port: DHCP snooping enabled with user ports marked trusted, so a rogue server still works.
  • PEAP without certificate validation: clients accept any RADIUS certificate and send credentials to an evil twin.
  • Ignoring machine accounts: relay detections that alert on user accounts only, missing coerced computer account authentication.

Framework mapping

FrameworkReferenceRelevance
MITRE ATT&CK v20T1557, T1557.001 to T1557.004; related T1040, T1187, T1550.002, T1565.002Technique and chaining
NIST SP 800-53 Rev. 5SC-8 Transmission Confidentiality and Integrity, SC-23 Session Authenticity, IA-3 Device Identification and Authentication, AC-18 Wireless Access, SI-4(14) Wireless Intrusion DetectionIn-transit protection and network authentication
NIST CSF 2.0PR.DS-02, PR.IR-01, DE.CM-01Data in transit, network protection, monitoring
CIS Controls v8.1Control 12 Network Infrastructure Management; Control 13 Network Monitoring and DefenseNetwork hardening and detection
ISO/IEC 27001:2022 Annex AA.8.20 Networks security; A.8.21 Security of network services; A.8.22 Segregation of networksNetwork controls

Practitioner checklist

  • LLMNR disabled by Group Policy and NetBIOS over TCP/IP disabled on all Windows hosts.
  • SMB signing required on servers and clients, with documented exceptions only.
  • LDAP signing and channel binding enforced on domain controllers.
  • Extended Protection for Authentication on IIS and AD CS web enrolment.
  • DHCP snooping and Dynamic ARP Inspection on access switches.
  • Corporate Wi-Fi on EAP-TLS with enforced server certificate validation.
  • Detections for poisoned responses, rogue DHCP, ARP anomalies and NTLM source mismatch.
  • NTLM auditing on and a retirement plan with owners.

Standards and references

Related NHI Mgmt Group resources: NTLM Relay Guide, SMB Protocol Security and Signing Guide, DHCP Security Guide, Wi-Fi Security Guide, AiTM Phishing Guide.

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Researched and written by the NHI Mgmt Group editorial team using AI tools, under the editorial direction of Lalit Choda. Facts are drawn from the sources listed on this page and checked by our automated quality process. Last updated 28 October 2026. Spotted an error? Use our contact page.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM and Agentic AI security. nhimg.org

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick the PDF box to continue.