Explore our new Cybersecurity Terms Glossary, explained by our experts.

View the Glossary View the Glossary
PRIVIA

Cybersecurity Terms Glossary

What Is an SMB Relay Attack?

An SMB relay attack forwards a victim’s NTLM authentication to another server in real time, letting the attacker log in as that user without ever knowing or cracking their password.

Illustration for the cybersecurity term SMB Relay Attack
Home / Blog / Cybersecurity Terms / What Is an SMB Relay Attack?
17 November 2026

What Is an SMB Relay Attack?

What Is an SMB Relay Attack?

In an SMB relay attack, the attacker sits between a Windows client and a server and forwards the client’s NTLM authentication to a third machine of the attacker’s choosing. The target completes the handshake, sees a valid login from a legitimate account, and grants access. Nothing is cracked, nothing is replayed later, and no password ever leaves the victim’s machine.

The technique has been practical since 2001 and is still one of the fastest routes from a network cable in a meeting room to domain administrator, because the conditions it needs are present by default in a surprising number of Windows estates.

How Relaying Differs From Cracking

NTLM authentication is a challenge-response exchange. The server sends a random challenge, the client encrypts it with a key derived from the user’s password hash, and the server verifies the result. An attacker who merely captures that exchange gets a NetNTLMv2 hash, which must be cracked offline and may never fall.

Relaying skips the cracking entirely. The attacker accepts the victim’s connection, opens a parallel session to the real target, passes the target’s challenge back to the victim, and returns the victim’s response to the target. Because the response is valid for that challenge, the target authenticates the attacker’s session. It is a classic machine-in-the-middle manoeuvre applied to an authentication protocol rather than to traffic content.

Getting the Victim to Authenticate

Relaying needs inbound authentication, so the attacker has to provoke it. Common methods include:

Impacket’s ntlmrelayx.py handles the relay itself and can chain the resulting session into dumping local hashes, creating a local administrator, or adding a computer account to the domain.

Why SMB Signing Is the Hinge

SMB signing places a cryptographic signature, derived from the session key, on every message. An attacker who relays the authentication does not learn that session key, so the signatures they produce do not verify and the relayed session collapses.

The catch is that signing has historically been required only on domain controllers. Member servers and workstations negotiated signing if the other side asked for it, which attackers simply decline. Windows 11 24H2 and Windows Server 2025 changed the default to require SMB signing on all connections, but the long tail of older servers, Linux file servers, and network appliances means most networks still have relay targets available.

Relaying is not limited to SMB as a destination. The same authentication can be relayed to LDAP on a domain controller, to Active Directory Certificate Services web enrolment (the ESC8 path), to HTTP management interfaces, or to MSSQL, each with its own protections. Reflection back to the originating host was fixed in MS08-068.

Closing the Path

These controls are cumulative, and the first three remove most of the risk:

The NCSC’s Active Directory hardening guidance treats legacy NTLM as a liability to be retired rather than merely monitored, and Cyber Essentials expects default configurations to be reviewed rather than accepted.

Relay paths are one of the first things we map during an internal assessment; our Penetration Test Services show exactly which hosts in your estate would accept a relayed session today.

FAQ – Frequently Asked Questions

Is an SMB Relay Attack the Same as Pass-the-Hash?

No. Pass-the-hash reuses a hash the attacker has already stolen from memory or a database, so it happens after a compromise. An SMB relay attack forwards a live authentication exchange in real time and never requires the attacker to possess the hash at all. Relaying typically comes first and often provides the foothold that makes pass-the-hash possible.

Does SMB Signing Slow Down File Servers?

The overhead was noticeable on older hardware but is minimal on modern CPUs, which accelerate the cryptographic operations in hardware. Microsoft now enables required signing by default in Windows 11 24H2 and Windows Server 2025. Measure the impact on your busiest file servers if you are concerned, but performance is rarely a valid reason to leave signing optional.

Can Kerberos Be Relayed in the Same Way?

Kerberos is much harder to relay because service tickets are bound to a specific service principal name, so a ticket for one service cannot be presented to another. Researchers have demonstrated Kerberos relay in specific circumstances involving name resolution control, but it is far more constrained. Moving authentication from NTLM to Kerberos remains a meaningful improvement.

How Do I Find Out Whether NTLM Is Still Needed on My Network?

Enable the NTLM auditing policies under Security Options to log outgoing and incoming NTLM traffic, then collect those events centrally for several weeks to cover monthly processes. The resulting inventory usually points to a handful of legacy applications, scanners, and appliances. Fix or replace those, then move domains to audit-and-block mode in stages.

Related Terms

You May Be Interested In These

What Is Command and Control (C2)?

Cybersecurity Terms

17 November 2026

What Is Command and Control (C2)?

Read More
What Are Crisis Communication Templates?

Cybersecurity Terms

17 November 2026

What Are Crisis Communication Templates?

Read More