Skip to content

NTLM Signing: How to Audit Before May 2027 Enforcement

By Bikram Bhujel

The November 2026 Windows updates started a change that will reach every Active Directory network: NTLM message signing. Right now Windows clients offer signing by default and servers still accept connections without it. In May 2027 that flips, and servers will start rejecting clients that don't sign. Anything that can't sign will just stop authenticating, whether that's an old NAS, a proxy appliance or a scanner that sends to a share.

You have about six months to find those devices before your helpdesk finds them for you. This post walks through what Microsoft changed, how to read the new audit events, a PowerShell script that lists every unsigned NTLM connection, and how to turn enforcement on early once you're clean.

Event Viewer showing NTLM Operational event 4023 used to audit NTLM signing before the May 2027 enforcement

Quick answer

Microsoft's KB5135557 (CVE-2026-118737) rolls out NTLM signing in two phases. Since 10 November 2026, clients offer signing and servers accept both. From May 2027, servers require it and reject clients that don't sign. To prepare, read Event ID 4023 (server side) and 4022 (client side) in Microsoft-Windows-NTLM/Operational and check the Negotiated Flags for the 0x10 SIGN bit; both good and bad events are Warnings, so don't filter by level. When no unsigned clients remain, set ServerRequireNtlmSign=1 to enforce early.

What Microsoft changed and when

The details are in KB5135557, NTLM signing security improvements in Windows. NTLM has two signing modes, and the difference is the whole story:

FlagValueWhat it really does
NTLMSSP_NEGOTIATE_SIGN0x00000010Real HMAC-MD5 signing with a session key. Can't be forged.
NTLMSSP_NEGOTIATE_ALWAYS_SIGN0x00008000A 16-byte zero placeholder. No cryptographic protection.

Until now, apps that didn't ask for integrity got the placeholder. That's what makes NTLM relay attacks work: an attacker in the middle can pass your authentication on to another server because nothing ties the messages to a session key. The new behaviour makes real signing the default.

  • Phase 1, 10 November 2026: Windows clients offer signing on all non-anonymous connections. Servers accept signed and unsigned clients. Audit events show who isn't signing.
  • Phase 2, May 2027: Windows servers require signing by default. Clients that don't offer it are rejected.

Microsoft notes that all supported Windows Server versions already support signing, so Windows to Windows traffic is rarely the problem. The problem is everything else that speaks NTLM to your servers.

The r/activedirectory thread on the change sums up the mood well. One admin was happy it kills NTLM relaying to LDAP; another pointed out that Microsoft still hasn't shipped IAKerb and LocalKDC in stable Windows, which would let more of us drop NTLM entirely.

Step 1: Make sure the November updates are installed

Phase 1 behaviour and the new events only exist on patched machines. On Windows 11 that's KB5132061 or later. Check servers and clients:

Get-HotFix | Sort-Object InstalledOn -Descending | Select-Object -First 5 HotFixID, InstalledOn

Step 2: Turn on NTLM auditing

The signing details appear in the Microsoft-Windows-NTLM/Operational log with Event Source NTLM. Microsoft says the events are available on Windows Server 2019 and later with NTLM Enhanced auditing. Follow Microsoft's logging guide at aka.ms/ntlmlogandblock to enable it, and make sure the log itself is on:

wevtutil gl "Microsoft-Windows-NTLM/Operational"     # look for enabled: true
wevtutil sl "Microsoft-Windows-NTLM/Operational" /e:true

This log isn't part of the Security log, so if you forward events to a SIEM, add it explicitly. Otherwise you'll only see it one server at a time.

Step 3: Read event 4023 the right way

Event 4023 on the server tells you about an incoming NTLM client; 4022 is the client side. The trap Microsoft warns about: signed and unsigned connections are both logged at Warning level. Filtering by level tells you nothing. You have to read the Negotiated Flags.

FieldReady for Phase 2Will be rejected
Negotiated Flags0xE0888215 (has 0x10 and 0x40000000)0xA0888205 (no 0x10)
Session Key StatusPresentMissing

A connection is secure when both the SIGN bit (0x10) and KEY_EXCH (0x40000000) are set and the session key is present. A quick way to eyeball it: in Microsoft's examples the last two digits change from 15 to 05 when SIGN is missing.

Step 4: List every client that isn't signing

This is based on the script in Microsoft's article. It reads 4022 and 4023, checks the SIGN bit directly and gives you one line per client:

Get-WinEvent -LogName "Microsoft-Windows-NTLM/Operational" -ErrorAction SilentlyContinue |
  Where-Object { $_.Id -in @(4022, 4023) } |
  ForEach-Object {
    $flags = if ($_.Message -match "Negotiated Flags:\s+(0x[0-9A-Fa-f]+)") { $Matches[1] } else { $null }
    if ($flags -and -not ([long]$flags -band 0x10)) {
      [PSCustomObject]@{
        Time       = $_.TimeCreated
        Id         = $_.Id
        ClientIP   = if ($_.Message -match "Client IP:\s+(\S+)")      { $Matches[1] } else { "-" }
        ClientHost = if ($_.Message -match "Client Machine:\s+(\S+)") { $Matches[1] } else { "-" }
        User       = if ($_.Message -match "Username:\s+(\S+)")       { $Matches[1] } else { "-" }
        Flags      = $flags
      }
    }
  } | Sort-Object ClientIP -Unique | Format-Table -AutoSize

Run it on file servers, domain controllers and any server that takes NTLM from devices. To sweep several at once, save the script as Find-UnsignedNtlm.ps1 (drop the final Format-Table so the objects come back clean) and run:

$servers = 'FS01','DC01','APP01'
Invoke-Command -ComputerName $servers -FilePath .\Find-UnsignedNtlm.ps1 |
  Export-Csv .\unsigned-ntlm.csv -NoTypeInformation

Let auditing run for at least a couple of weeks, including a month end, so you catch the jobs that only run occasionally.

Step 5: Fix what you find

For each unsigned client, the order I'd work in:

  1. Can it use Kerberos instead? A device that authenticates by name inside the domain often can, with the right SPN and DNS.
  2. Is there a firmware or software update? Ask the vendor specifically about NTLM signing and CVE-2026-118737.
  3. If neither, plan to replace it or move it to an account and share that you isolate, before May 2027.

The known issue: proxies and SSO appliances

Microsoft has already listed a compatibility problem. Some authentication proxies, SSO products and application packaging tools send an NTLM challenge with an empty or incomplete Target Info field. With signing in play, Windows requires the server's NetBIOS computer and domain names in that challenge, and rejects the logon with STATUS_LOGON_FAILURE if they're missing.

The giveaway on the client is event 4021 showing Target Machine: Not Found and Target Domain: Not Found. If users behind a proxy suddenly can't authenticate after the November update, check for that first.

The temporary workaround is a client-side registry value. Use it only on affected machines and only while you chase the vendor:

reg add HKLM\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0 /v ClientAllowUnsignedNtlm /t REG_DWORD /d 1 /f

Step 6: Enforce early once you're clean

When your audit shows no unsigned connections on a server, you don't have to wait for May. Microsoft's server-side switch needs no restart:

reg add HKLM\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0 /v ServerRequireNtlmSign /t REG_DWORD /d 1 /f

I'd start with one file server, watch it for a week, then roll it out by Group Policy Preferences to the rest. Enforcing early means you choose when things break, instead of Patch Tuesday choosing for you.

How to roll back

Both settings are plain registry values. To undo early enforcement, set ServerRequireNtlmSign back to 0 (the default). To undo the client workaround, set ClientAllowUnsignedNtlm back to 0. Don't uninstall the November update to get around this; it carries the rest of the month's security fixes too, and the workaround keys exist precisely so you don't have to.

A few things I learned

  • Warning doesn't mean bad here. Read the flags, not the level.
  • ALWAYS_SIGN sounds safe and isn't. It's a placeholder with no cryptography behind it.
  • The risky devices aren't Windows. Copiers, NAS boxes, proxies and old appliances are where unsigned NTLM lives.
  • Six months goes fast. Start auditing now and you'll have a clean list before Phase 2.

If you spend your days in Active Directory, my posts on hidden group membership in Active Directory and the Outlook NTLM hash leak fit right alongside this one. If you'd like help auditing NTLM across your domain before May, that's exactly the kind of job I take on through my Active Directory services.

Frequently asked questions

What is the NTLM signing change in November 2026?

Starting with the 10 November 2026 Windows updates, described in KB5135557 for CVE-2026-118737, Windows clients offer real NTLM message signing on all non-anonymous connections. Servers still accept unsigned clients for now. In May 2027 servers will start requiring signing by default and reject clients that don't offer it.

How do I find NTLM clients that don't use signing?

Look at Event ID 4023 (server side) and 4022 (client side) in the Microsoft-Windows-NTLM/Operational log. Check the Negotiated Flags for the 0x10 SIGN bit and a Session Key Status of Present. Signed and unsigned connections are both logged as Warnings, so filter on the flag, not the level.

What does ServerRequireNtlmSign do?

ServerRequireNtlmSign is a REG_DWORD under HKLM\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0. The default 0 accepts signed and unsigned clients. Setting it to 1 makes the server reject unsigned NTLM clients, which is the Phase 2 behaviour. No restart is needed, and Microsoft recommends enabling it once auditing shows no unsigned connections.

Why does NTLM authentication fail through our proxy after the November update?

Some proxies and SSO appliances send an NTLM challenge with empty Target Info. With signing enabled, Windows needs the server's NetBIOS computer and domain names there and rejects the logon otherwise. Event 4021 showing Target Machine Not Found confirms it. Set ClientAllowUnsignedNtlm to 1 temporarily and ask the vendor for a fix.

Does the NTLM signing change affect Kerberos?

No. The change only applies to NTLM authentication. Kerberos traffic is not affected, which is why moving devices and applications from NTLM to Kerberos is one of the best ways to prepare. Anonymous null session connections are also outside the change.

Comments

Questions and corrections are welcome. I read every comment before it appears, and remove spam and promotional links.