Explore our new Cybersecurity Terms Glossary, explained by our experts.
Cybersecurity Terms Glossary
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.

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.
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.
Relaying needs inbound authentication, so the attacker has to provoke it. Common methods include:
wpad lookup makes browsers fetch a proxy configuration file and authenticate to the attacker.\\attacker\share triggers authentication the moment a folder is opened.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.
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.
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.
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.
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.
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.
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.
You May Be Interested In These
We use a few cookies that are needed to make this website work, and they are always on. We would also like to set analytics cookies, to see which pages are useful; functional cookies, so that our live chat works; and advertising cookies, to measure our campaigns. We will not set any of those until you say yes, and you can change your mind at any time from the Cookie Settings link in the footer.
Choose the cookies you are happy for us to use. Strictly necessary cookies are always on; everything else is off until you turn it on.
These cookies keep the website working: they hold your security checks, your form submissions and the choice you make here. The site cannot run without them, so they are always on.
These let our live chat open and remember your conversation, and let the newsletter sign-up work. Switch them off and the chat window will not appear.
These tell us which pages are read and how people find us, so that we can improve the site. The reports are about groups of visitors, never about you personally.
These let us measure our advertising and show you our adverts on other websites, such as LinkedIn, Google and Meta. Switch them off and you will still see adverts, but they will be less relevant.