Join our Newsletter — 33% off our NHI Course
Home› Guides› NTLM Relay for Beginners: How Attackers Pass Your…
Guide Authentication

NTLM Relay for Beginners: How Attackers Pass Your Windows Sign-In Along to Another Server

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 28 November 2026 11 min read
On this page

NTLM relay is an attack where someone in the middle passes your Windows sign-in on to another server.

This guide is for new IT staff, students and anyone who looks after a Windows network. You do not need to be an expert to be affected: one click on a booby-trapped file link can start this attack on an unprotected network.

In short

  • NTLM is an older Windows sign-in method. The server checks you, but you do not check the server.
  • In a relay, an attacker tricks your computer into signing in to them, then passes your answers on to a real server.
  • The attacker does not need your password. They borrow your sign-in while it is happening.
  • Signing and binding settings tie each sign-in to the right server, which can stop the relay working.

What you will learn

  • Explain NTLM relay in one sentence.
  • Tell relay apart from pass-the-hash.
  • Spot the tricks attackers use to make a computer sign in to them.
  • Ask whether the main protections are switched on.
Pass along (relay)
to take a message meant for one place and forward it somewhere else.
Tricking a computer into signing in (coercion)
making a computer send its sign-in to a place the attacker chose.
Older Windows sign-in (NTLM)
a question and answer check Windows uses when its newer method cannot be used.

What is NTLM relay?

Think of a doorman who asks a secret question. A fake doorman stands at a side door. He hears the real doorman's question, asks you the same thing, and passes your answer back.

The real doorman hears the right answer and lets the fake one in, as you. That is NTLM relay. NTLM is an older Windows sign-in method based on a question and an answer. The server checks your answer, but your computer does not check who the server is.

Microsoft describes relay in two steps. First, the attacker makes your computer sign in to a place they control. Then they pass that sign-in on to a real server, and act as you there.[1]

Relay is not the same as pass-the-hash. In pass-the-hash, an attacker reuses a stolen, scrambled copy of a password. In a relay, they steal nothing they can keep. They pass along a live sign-in while it is happening.

Where the comparison stops working: a person would likely notice two doormen. Your computer signs in silently in the background, so there is little for you to see.

Why does it matter?

Microsoft calls NTLM relay a popular attack method. It can give an attacker a first step towards control of a whole Windows network.[1] It works on accounts for people and on accounts for computers and services alike.

If you are new to IT work

What could happen: a server's own computer account is tricked into signing in, and the attacker relays it to a more powerful server.

Check this: ask whether signing and binding protections are required on your servers.

Next: NTLM for Beginners

If you work in an office

What could happen: you open a document or folder that quietly makes your computer sign in to an attacker's machine.

Check this: report odd files, shortcuts or links to network folders you did not expect.

Next: Windows Security for Beginners

If you are studying security

What could happen: you confuse relay with pass-the-hash, and pick the wrong defence.

Check this: learn which fix stops each one. Relay is stopped by tying sign-ins to the right server.

Next: Pass-the-Hash for Beginners

What does it look like?

Attackers often start with a trick that makes your computer sign in to them. MITRE, which keeps a public list of attack methods, notes two common tricks. One is a document that loads a file from a remote server when opened. The other is a shortcut whose icon points to a remote server.[2] Here is a made-up note of what a defender might see.

Example only. All values are made up.

Shared folder:  \\files.example.invalid\Team
New file:       Holiday-rota.lnk                 (1)
Icon points to: \\192.0.2.66\icons\FAKE.ico      (2)
Sign-in seen on:  APP-SERVER-EXAMPLE
Account:          EXAMPLE\FAKE-user-0000          (3)
Method:           NTLM                            (4)
From address:     192.0.2.66                      (5)
  1. A shortcut file dropped in a shared folder. In a real file, this line would contain a name chosen to look harmless.
  2. The icon lives on an unknown machine. Just showing the folder can make a computer try to sign in there.
  3. A person's account signs in to an app server.
  4. The older NTLM method was used, not the newer ticket-based method.
  5. The sign-in came from the same unknown machine, not from the person's own computer. That is worth checking.

Why this is risky: the person did nothing unusual. Their computer signed in to a stranger, and the stranger used it to reach the app server.

The safer way: require signing and binding on servers, so a sign-in only counts at the server it was meant for. Report and remove odd shortcut files.

How does it work?

Here is a simple version of a relay. It leaves out the technical detail on purpose.[1][2]

  1. The trick. The attacker gets your computer to connect to their machine, for example through a link to a network folder.
  2. The fake door. Your computer starts an NTLM sign-in with the attacker's machine.
  3. The real door. At the same time, the attacker starts a sign-in with a real server and gets its question.
  4. The pass. The attacker hands the question to your computer, and hands your answer back to the real server.
  5. The result. The real server accepts the answer and lets the attacker in as you.
Diagram titled How an NTLM relay works. Three boxes in a row: Your computer, Attacker in the middle, and Real server. Arrow 1 from your computer to the attacker: tricked into signing in. Arrow 2 from the attacker to the real server: I want to sign in. Arrow 3 back from the server through the attacker to your computer: the question is passed along. Arrow 4 from your computer through the attacker to the server: your answer is passed along. Step 5: the server lets the attacker in as you. A dark bar says the attacker does not need your password, they pass your answer along. A green bar at the bottom says the fix: signing and binding tie your answer to the server it was meant for, so a passed-on answer can fail.
Figure 1. In a relay, the attacker sits in the middle and passes the question and answer between you and a real server.

The main fixes tie each sign-in to the server it was meant for. SMB signing adds a seal to file-sharing messages. Microsoft says the seal covers who sent the message and who it was for, which makes relay much harder.[3] Extended Protection for Authentication (EPA) and channel binding link a sign-in to one secure connection, so clients sign in only to the intended server.[1]

Microsoft has turned more of these on by default. In Windows Server 2025, EPA is on by default for its certificate service, and channel binding is on by default for its directory service. Exchange Server 2019 turned on EPA by default from 2024.[1] Government guidance adds the bigger step: switch off NTLM where you can.[4]

A worked example

Dana Abara looks after IT at Wrenfield Surveys, a fictional firm with forty staff. A security tester, Bea Corrigan, comes in for a two-day check.

On day one, Bea places a harmless test shortcut in a shared folder. Its icon points to her own laptop. Within the hour, several staff computers try to sign in to her laptop, just because people opened the folder.

Bea shows Dana the next part on a test server. She passes one of those sign-ins on to an old file server. The server accepts it, because it does not require signing. Bea stops there and writes it up.

Dana remembers the fake doorman at the side door. She does not need to stop every trick. She needs the real doors to check that the answer was meant for them.

Dana makes a short plan with an owner for each step. She turns on required signing on the old file server, after testing it with the backup tool first. She checks the certificate and directory servers have binding switched on. She also turns on NTLM auditing, so she can see what still uses NTLM.

A month later, Bea runs the same test again. The sign-ins still reach her laptop, but the file server now refuses the passed-on answer. Dana adds the remaining NTLM users to a list, with a review date, as the next job.

Myths and mistakes

What people thinkWhat is true
NTLM relay is the same as pass-the-hash.Pass-the-hash reuses a stolen scrambled password. Relay passes along a live sign-in and keeps nothing.
A strong password stops relay.The attacker does not need the password. They pass your answer along as it happens.
Only people's accounts are at risk.Computer and service accounts sign in too, and some of them hold a lot of power.
Blocking odd links is enough.There are many ways to trick a computer into signing in. Make the servers check that each sign-in was meant for them.
We use Kerberos, so we are safe.Many networks still fall back to NTLM for some apps and devices. Auditing shows where.

What can I do this week?

  • Ask your IT team whether SMB signing is required on your file servers.
  • Ask whether binding protections are on for your directory, certificate and email servers.
  • Turn on NTLM auditing to see what still uses NTLM.
  • Remind staff to report odd shortcut files or unexpected links to network folders.

Checklist

  • SMB signing is required on servers that hold important files.
  • Directory servers require channel binding where supported.
  • Certificate and email servers have EPA switched on.
  • NTLM auditing is on, and each remaining NTLM user has an owner.
  • Servers that cannot be protected yet are on a written list with a review date.
  • Staff know how to report odd files and links.

Common questions

Does the attacker learn my password?

No. In a relay, the attacker passes along your computer's answer while the sign-in is happening. They do not need or get your password. That is why a stronger password does not stop relay, while signing and binding settings can.

How is relay different from pass-the-hash?

Pass-the-hash reuses a stolen scrambled copy of a password, which the attacker can keep and reuse later. Relay passes a live sign-in from one place to another as it happens. Each needs a different main fix.

What is coercion?

Coercion means tricking a computer into signing in to a place the attacker chose. Examples include a document that loads a remote file, a shortcut with a remote icon, or a request that makes a server connect out. It is the usual first step of a relay.

Will switching off NTLM stop relay?

It removes NTLM relay, because there is no NTLM sign-in left to pass along. But older apps and devices may break. Audit first, fix what you can, and protect the servers that still need NTLM with signing and binding.

Is my home computer at risk?

The main risk is on business networks, where one sign-in can unlock shared servers. Home users should keep Windows updated and be wary of odd files and links. Microsoft is changing defaults to make relay harder.

Where next?

Ready for the detail? Read the practitioner guide: NTLM Relay Guide. It goes further into the services attackers target, the exact settings to require and how to spot relay in the logs.

Also useful:

Related NHI Mgmt Group resources: NTLM Deprecation and Elimination Guide · Kerberos vs NTLM · Active Directory Attacks for Beginners

Key terms

NTLM relay
An attack where someone in the middle passes your NTLM sign-in on to another server to act as you.
NTLM
An older Microsoft sign-in method that uses a question and answer check.
Coercion
Tricking a computer into signing in to a place the attacker chose.
Pass-the-hash
An attack that reuses a stolen scrambled password to sign in, without knowing the password itself.
SMB signing
A seal on file-sharing messages that shows who sent them and who they were for.
Extended Protection for Authentication
A Windows setting that ties a sign-in to the right server and connection.
Channel binding
Linking a sign-in to one secure connection, so it cannot be reused on another.

Sources and further reading

  1. Mitigating NTLM Relay Attacks by Default. Microsoft Security Response Center blog, Microsoft, 9 December 2024. https://www.microsoft.com/en-us/msrc/blog/2024/12/mitigating-ntlm-relay-attacks-by-default, accessed 28 Nov 2026.
  2. Forced Authentication, technique T1187. MITRE ATT&CK, MITRE. https://attack.mitre.org/techniques/T1187/, accessed 28 Nov 2026.
  3. Overview of Server Message Block signing. Microsoft Learn, Microsoft. https://learn.microsoft.com/en-us/windows-server/storage/file-server/smb-signing-overview, accessed 28 Nov 2026.
  4. Detecting and mitigating Active Directory compromises. Australian Signals Directorate's Australian Cyber Security Centre with CISA, NSA, the Canadian Centre for Cyber Security, NCSC-UK and NCSC-NZ, first published September 2024, updated September 2026. https://www.cyber.gov.au/sites/default/files/2026-11/Detecting%20and%20mitigating%20Active%20Directory%20compromises%20%28September%202026%29.pdf, accessed 28 Nov 2026.

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.

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 both boxes to continue.