Skip to content
Vol. 1 · Ed. 2026
CyberGlossary
Entry № 746

NTLM Relay Attack

What is NTLM Relay Attack?

NTLM Relay AttackAn adversary-in-the-middle attack (MITRE T1557.001) in which an attacker forwards a victim's NTLM authentication to another service to impersonate them without ever knowing the password.


An NTLM relay attack abuses the challenge-response design of NTLM authentication. The attacker tricks a victim host into authenticating to attacker-controlled infrastructure (for example via WebDAV, file-share UNC paths, or PetitPotam-style coercion), then forwards the victim's NTLM messages to a target service such as LDAP, SMB, ADCS web enrollment, or MSSQL. The target accepts the legitimate challenge response and grants the attacker access in the victim's identity. Because no cleartext password or hash is recovered, only signed and bound protocols stop it. Mitigations include enforcing SMB signing, LDAP signing and channel binding (EPA), disabling NTLM where possible, and patching coercion vectors. Impacket's ntlmrelayx is the canonical tool.

Examples

  1. 01

    Coercing a domain controller with PetitPotam and relaying its NTLM authentication to ADCS to obtain a DC certificate.

  2. 02

    Relaying a workstation's NTLMv2 to MSSQL with xp_cmdshell enabled for RCE.

Frequently asked questions

What is NTLM Relay Attack?

An adversary-in-the-middle attack (MITRE T1557.001) in which an attacker forwards a victim's NTLM authentication to another service to impersonate them without ever knowing the password. It belongs to the Attacks & Threats category of cybersecurity.

What does NTLM Relay Attack mean?

An adversary-in-the-middle attack (MITRE T1557.001) in which an attacker forwards a victim's NTLM authentication to another service to impersonate them without ever knowing the password.

How does NTLM Relay Attack work?

An NTLM relay attack abuses the challenge-response design of NTLM authentication. The attacker tricks a victim host into authenticating to attacker-controlled infrastructure (for example via WebDAV, file-share UNC paths, or PetitPotam-style coercion), then forwards the victim's NTLM messages to a target service such as LDAP, SMB, ADCS web enrollment, or MSSQL. The target accepts the legitimate challenge response and grants the attacker access in the victim's identity. Because no cleartext password or hash is recovered, only signed and bound protocols stop it. Mitigations include enforcing SMB signing, LDAP signing and channel binding (EPA), disabling NTLM where possible, and patching coercion vectors. Impacket's ntlmrelayx is the canonical tool.

How do you defend against NTLM Relay Attack?

Defences for NTLM Relay Attack typically combine technical controls and operational practices, as detailed in the full definition above.

What are other names for NTLM Relay Attack?

Common alternative names include: NTLM relaying, T1557.001.

Related terms