What is NTLM?
NTLM (NT LAN Manager) is a set of Microsoft protocols that Windows uses to check who you are when you connect to something on a network. That might be a shared folder, a printer or an intranet site. It dates back to the early 1990s, and Microsoft has now deprecated it (stopped improving it ahead of phasing it out).
In short: NTLM lets your PC prove you know your password without sending the password itself. It does this with a hash, a scrambled fixed-length version of the password. The problem is that this hash can be stolen and misused.
Most Windows networks use Kerberos, a newer and safer sign-in method. But Windows still falls back to NTLM when Kerberos cannot be used, and that happens more often than most IT teams think.
How NTLM authentication works
NTLM authentication is a "challenge and response" check. The server sends a random puzzle, and your PC solves it using your password hash. Here are the steps, simplified from Microsoft's own description:
- You sign in to your PC. Windows turns your password into a hash and keeps the hash, not the password.
- You open a shared folder. Your PC sends your user name to the file server.
- The server replies with a random number, called the challenge.
- Your PC scrambles the challenge using your password hash and sends back the result, called the response.
- The server passes your user name, the challenge and the response to the domain controller (the server that holds everyone's accounts).
- The domain controller does the same math with its copy of your hash. If the results match, you are in.
Your real password never crosses the network. But the server never proves who it is to you. Anyone who can trick your PC into talking to them can capture or reuse that response.
NTLMv1 vs NTLMv2
There are two main versions, plus an even older one called LAN Manager (LM).
- NTLMv1 uses very old encryption (DES). A captured NTLMv1 response can be cracked fast with modern hardware. Microsoft removed NTLMv1 starting in Windows 11, version 24H2 and Windows Server 2025.
- NTLMv2 adds extra random data and a timestamp, so it is much harder to crack. It is what most networks use today. It is still open to relay attacks, and weak passwords can still be cracked.
If any of your systems still allow LM or NTLMv1, fix that first. In Group Policy, the setting is Network security: LAN Manager authentication level. The safest value is "Send NTLMv2 response only. Refuse LM & NTLM". Test it on a few machines first.
What is an NTLM hash, and why do attackers want it?
People say "NTLM hash" for two different things. The difference matters.
- The stored hash (NT hash). This is the scrambled password Windows keeps on the PC and on the domain controller. If attackers steal it from a hacked machine, they can often use it directly to sign in as you. This is called pass-the-hash. They never need your real password.
- The network response (often called a NetNTLMv2 hash). This is what your PC sends during the challenge step. Attackers capture it by tricking your PC into signing in to a server they control. They cannot pass it like a stored hash. Instead they either crack it offline to find your password, or relay it live to another server.
Cracking works well against short or common passwords. Relay is the bigger worry, because it works even when the password is strong.
NTLM relay attacks explained
An NTLM relay attack is a type of man-in-the-middle attack. Microsoft describes it in two steps. First, the attacker tricks a victim into signing in to a machine the attacker controls. Second, the attacker passes that sign-in on, in real time, to the server they actually want to get into.
- The victim's PC starts an NTLM sign-in with the attacker's machine.
- The attacker connects to a real company server, such as a file server, and gets a challenge.
- The attacker forwards the challenge to the victim's PC, then forwards the answer back to the real server.
- The real server accepts it. The attacker is now signed in as the victim.
This works because plain NTLM has no way to tie a sign-in to the server it was meant for. If the victim is an IT admin, one relayed sign-in can hand over the whole network.
A current example. In November 2026, Microsoft fixed an Outlook flaw that attackers were already using. Opening a booby-trapped message file made Outlook send the user's NTLMv2 hash to an attacker's server. See our Outlook zero-day CVE-2026-124194 post. Attacks like this start with an email, so teaching staff to spot phishing helps too.
NTLM vs Kerberos
Kerberos is the sign-in method Microsoft wants everyone to use. Instead of answering a challenge each time, your PC gets a "ticket" from the domain controller for each service you use. Here is how the two compare.
| NTLM | Kerberos | |
|---|---|---|
| How you prove who you are | Answer a challenge using your password hash | Show a ticket issued by the domain controller |
| Does the server prove who it is? | No | Yes, both sides check each other |
| Relay risk | High, unless signing or EPA is turned on | Much lower, as each ticket is for one service |
| Needs a domain controller? | No, also works for local accounts and standalone PCs | Yes, it needs to reach one (Microsoft is changing this) |
| Connecting by IP address | Works | Usually needs the server's name instead |
| Status | Deprecated, to be off by default in future Windows | Microsoft's recommended default |
So why does NTLM still show up? Common reasons are connecting by IP address, local accounts, PCs that cannot reach a domain controller, older apps that ask for NTLM by name, and devices such as NAS boxes or scanners that only support NTLM.
Microsoft Windows NTLM deprecation: the timeline
| When | What happened |
|---|---|
| June 2024 | Microsoft deprecated all versions of NTLM, including LANMAN, NTLMv1 and NTLMv2. |
| Late 2024 | NTLMv1 removed starting in Windows 11, version 24H2 and Windows Server 2025. |
| December 2024 | Microsoft confirmed relay protections are on by default in Windows Server 2025 (EPA for certificate services, channel binding for LDAP) and in Exchange Server 2019 CU14. |
| July 2025 | Detailed NTLM audit logs arrive for Windows 11 24H2 and Windows Server 2025, later Server 2019 and 2022. |
| 29 January 2026 | Microsoft published a three-phase plan to disable NTLM by default. |
| 13 October 2026 | The October security update started blocking NTLMv1-based single sign-on by default on PCs without Credential Guard. |
The three phases in Microsoft's plan are:
- Visibility. Better NTLM auditing, available now.
- Fixing the main reasons NTLM is still used. New features called IAKerb and local KDC let Kerberos work where NTLM used to be forced. Microsoft targeted the second half of 2026, starting in pre-release.
- NTLM off by default. In the next major Windows Server release and the Windows client releases that go with it, network NTLM will be disabled by default. You will need a policy to turn it back on.
Note that "disabled by default" is not "removed". NTLM stays in Windows for now so you can re-enable it where you must. Microsoft has not given a date for phase 3 and says timelines may change.
"Authentication failed because NTLM authentication has been disabled"
This is the exact text of Windows error 1937 (0x791, ERROR_NTLM_BLOCKED). It means a policy somewhere blocked NTLM, and Kerberos could not be used instead. The block can sit on your PC, on the server you are connecting to, or on the domain controller. People often see it when mapping a drive to a NAS or after a Windows upgrade.
A related case: if a Windows update disabled NTLM sign-in for Wi-Fi or VPN, you may be hitting the October 2026 change. It blocks single sign-on that relies on NTLMv1, such as PEAP-MSCHAPv2 Wi-Fi and VPN. Typing the password by hand still works. Look for event 4025 in the NTLM log.
What to do:
- If you connected by IP address, try the server's full name instead. That often lets Kerberos work.
- Open Event Viewer on the PC and the server. Go to Applications and Services Logs, then Microsoft, Windows, NTLM, Operational. The events show what used NTLM and why.
- Check the "Network security: Restrict NTLM" policies in Group Policy to find which one blocks the connection.
- Fix the cause: update the device firmware, move the app to Kerberos, or replace the device.
- If you must allow NTLM, add a narrow exception for that one server. Do not turn NTLM back on everywhere.
How to protect your business from NTLM attacks
You do not have to wait for Microsoft. These steps cut the risk now, roughly in order of value.
- Audit NTLM use before you disable anything. The new NTLM logs are on by default on supported systems. Review them for a few weeks to find what still needs NTLM.
- Require SMB signing. SMB is the protocol behind Windows file sharing. Signing stops relayed sign-ins on file servers. Windows 11 24H2 Pro and Enterprise require it by default. Older servers and NAS devices often do not.
- Turn on LDAP signing and channel binding on your domain controllers, and Extended Protection for Authentication (EPA) on Exchange and certificate services. These tie each sign-in to the server it was meant for. Windows Server 2025 does much of this by default. On Server 2019 and 2022, turn it on yourself.
- Block outbound SMB (TCP port 445) at your firewall. PCs should never send Windows sign-ins to servers on the internet. Our firewall configuration checklist covers this.
- Turn off NTLMv1 and LM everywhere they still exist.
- Use long passwords and MFA (a second sign-in step, such as a code on your phone). MFA on email, VPN and remote access means a cracked password is not enough.
- Turn on Credential Guard where your hardware supports it. It protects stored hashes on the PC from being stolen.
- Give admins separate accounts with no mailbox, so one opened email cannot leak an admin hash.
For more on the basics behind these steps, see our network security basics guide.
How NextGarrison can help
NTLM relay is one of the first things a skilled tester tries on an internal network, and it often works. A penetration test shows you whether an attacker inside your network could capture or relay a sign-in, and which settings would stop them. We then help you plan the move away from NTLM without breaking the apps your team relies on. For a quick start, take our free security assessment.
Sources
- Microsoft Learn: Deprecated features in the Windows client (NTLM)
- Microsoft Learn: Features removed in Windows client (NTLMv1)
- Windows IT Pro Blog: Advancing Windows security, disabling NTLM by default
- Microsoft Support: Overview of NTLM auditing enhancements (KB5064479)
- Microsoft Support: Manage NTLMv1 changes and prevent network authentication issues (KB5066470)
- Microsoft Security Response Center: Mitigating NTLM relay attacks by default
- Microsoft Learn: Microsoft NTLM
- Microsoft Learn: Control SMB signing behavior
- Microsoft Learn: System error codes 1700 to 3999 (ERROR_NTLM_BLOCKED)

Need a hand with this?
Talk to a senior consultant. We reply within one business day with clear next steps and a scoped quote.
Prefer to just ask? Contact us and a consultant will reply.
Written by
Vince AntonioSecurity writer and consultant, NextGarrison
Vince writes NextGarrison's security news, technical vulnerability write-ups and guides. He covers actively exploited flaws, penetration testing, SOC monitoring and getting ready for SOC 2, ISO 27001 and PCI DSS, in plain English with sources for every claim.
Want the next alert like this one?
New vulnerability alerts as soon as we publish them. Free, no sign-up, works in Feedly, Outlook, Slack and Teams.
