A Server Message Block Relay Attack is an attack in which an attacker relays a victim’s SMB authentication to another server to impersonate that victim. The attacker does not crack the password. Instead, they capture the challenge-response exchange and forward it to a target that accepts relayed credentials, often to gain access or execute actions under the victim’s identity.
What SMB relay means in practice
An SMB relay attack abuses trust in the authentication exchange itself. The attacker relays a victim’s SMB challenge-response to another server, so the target accepts the victim’s authentication context without the attacker ever learning the password. That makes the technique especially dangerous where SMB is used for administrative access or service-to-service trust.
What matters is not password cracking, but the ability to preserve enough of the original authentication flow for the target to treat the relayed session as legitimate. In practice, the attacker is exploiting a protocol and deployment weakness, not breaking the underlying credential directly.
Why SMB relay is effective
SMB relay succeeds when the environment permits authentication to be forwarded to a second host that does not strongly bind the session to the original endpoint. Weak signing expectations, permissive NTLM usage, and exposed Windows file or management services all increase the chance that relayed credentials will be accepted.
That is why SMB relay is often discussed alongside NTLM relay, coerced authentication, and name-resolution poisoning. The attacker first induces or captures authentication, then reuses it against a better target, often a server that trusts the victim more than it should.
A useful defensive reference is NTLM Relay Guide, which explains the related protocol controls that make relay possible or prevent it.
How organisations reduce exposure
Exposure review starts with understanding where SMB is reachable and which systems still accept relayed authentication paths. Asset inventory, tiering of servers, and review of authentication settings matter because relay risk is usually a property of the target service as much as the source user.
Hardening SMB and adjacent Windows services reduces the usable relay surface. Requiring signing where supported, limiting NTLM where possible, and tightening server baselines all help close the conditions attackers need.
For server-side hardening patterns, Windows Server Hardening Guide is a strong companion resource, and CISA’s cyber threat advisories are useful when you need authoritative context on active abuse patterns and guidance.
Detection and post-compromise review
Detection should look for authentication patterns that do not fit normal user behaviour, such as unexpected SMB sessions, unusual source hosts, or access that lands on a server after a suspicious authentication event elsewhere. Because the attacker is relaying trust rather than stealing a password, successful compromise can look like ordinary logon activity unless the chain is reviewed end to end.
After a suspected relay event, review the authenticated session for downstream actions taken under the victim’s identity, including file access, service creation, administrative execution, and any movement into higher-value systems. The key question is not only whether authentication succeeded, but what the relayed identity was then allowed to do.
Risk and Threat Considerations
SMB relay is risky because it turns a legitimate authentication exchange into an impersonation path. Where SMB trust is weak, a single captured challenge-response can become unauthorized access to file shares, management services, or privileged systems.
Failure mechanism: The defender allows a server to accept relayed authentication without sufficiently binding the session to the original client, so the attacker can forward a victim’s SMB exchange to a more valuable target.
Impact: The attacker may gain access as the victim, execute actions under that identity, and use the resulting foothold for lateral movement, privilege escalation, or persistence.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK addresses the attack and risk surface, while NIST SP 800-53 Rev 5, NIST Zero Trust (SP 800-207) and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST SP 800-53 Rev 5 | IA-2 — Identification and Authentication (Organizational Users) | SMB relay abuses organizational user authentication paths. |
| IA-5 — Authenticator Management | Relay attacks exploit how authenticators are issued, used, and protected across sessions. | |
| AC-6 — Least Privilege | Relayed access is dangerous because the impersonated identity may carry excess privilege. | |
| Recommendation — Require stronger authentication paths for organizational users and reduce reliance on relayable credentials. Harden authenticator handling and reduce opportunities for replayable or relayable authentication. Constrain account privileges so relayed access cannot immediately reach high-value actions. | ||
| NIST Zero Trust (SP 800-207) | Zero Trust principles | SMB relay exploits implicit trust in network-originated authentication. |
| Recommendation — Apply zero-trust assumptions so network location alone never validates SMB access. | ||
| CIS Controls v8 | CIS-4 — Secure Configuration of Enterprise Assets and Software | SMB relay risk is reduced by hardened server and protocol settings. |
| Recommendation — Harden SMB and Windows server settings to remove relay-friendly defaults. | ||
| MITRE ATT&CK | T1557.001 — Adversary-in-the-Middle: LLMNR/NBT-NS Poisoning and SMB Relay | This technique directly describes SMB relay behavior and its precursor poisoning methods. |
| Recommendation — Map detections and mitigations to SMB relay tradecraft and the poisoning steps that enable it. | ||
Practitioner Guidance
Why practitioners should care: SMB relay is a control-gap problem as much as an attack technique. If you rely on SMB in environments that still accept relayed authentication, your exposure is defined by the weakest reachable server, not just the most obvious entry point.
What to watch for: Pay attention to places where NTLM remains enabled, SMB signing is inconsistent, or authentication can be coerced from one host to another. Those conditions are the practical indicators that relay resistance is incomplete.
Practitioner takeaway: Treat relay resistance as a server hardening and authentication-path problem, not just an endpoint detection problem.
Related resources from NHI Mgmt Group
- Server Message Block
- Is CVE-2017-0143 (Microsoft Windows Server Message Block (SMBv1) Remote Code Execution) being exploited in the wild?
- How do you patch or mitigate CVE-2017-0143 (Microsoft Windows Server Message Block (SMBv1) Remote Code Execution)?
- What are the common vulnerabilities in Server Message Block version 2 (SMBv2)?
Deepen Your Knowledge
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.
Reviewed and updated by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org