When it is written
A computer writes 8001 while Network security: Restrict NTLM: Outgoing NTLM traffic to remote servers is set to Audit all on it. The setting blocks nothing: each event is an outgoing NTLM authentication request that the computer would refuse to send if the same policy were set to Deny all, and Microsoft describes the event as a way to find the servers that receive NTLM from the client. It names the target server, the account and domain whose credentials were supplied, and the process that made the request with its process ID, logon identifier and own account.
Microsoft's NTLM analysis guide uses it as the last step of a chain that starts on the domain controller: event 8004 names the member server (Secure Channel name), the member server's 8003 gives the process that received the authentication, and when that process is the kernel (process ID 4, as for SMB) the guide sends you to 8001 on the client named in Workstation name. The policy is not defined by default, which behaves as Allow all, so the event does not appear until someone sets it. It takes effect without a restart.
No detection rule of the library reads 8001. It is the client end of the pass-through authentications that the domain controller's 8004 records, and 8004 is what the relay and password spraying rules read. On Windows versions with enhanced NTLM auditing, the client events 4020 and 4021 record outgoing NTLM by default.
How to turn it on
Microsoft-Windows-NTLM writes the event to the NTLM operational log (Event Viewer > Applications and Services Logs > Microsoft > Windows > NTLM > Operational), which is on by default. Microsoft
The log itself is on by default. What Windows writes to it depends on two sets of policies.
Enhanced NTLM auditing exists on Windows 11 version 24H2 and later and Windows Server 2025, and on Windows Server 2022 and 2019 with the Windows updates released on or after October 13, 2026. It writes an event for each NTLM authentication: 4020 and 4021 on the client that sends it, 4022 and 4023 on the computer that receives it, and on domain controllers 4030 to 4033 for the authentications they process for the domain. Each audit comes as two event IDs with the same fields: an Information one, and a Warning one when Windows sees a downgrade of NTLM security such as NTLMv1, Extended Protection for Authentication marked as not supported or insecure, or no message integrity check. Microsoft says these events are enabled by default. Two Administrative Templates policies control them: NTLM Enhanced Logging (System > NTLM) for the client and server events, and Log Enhanced Domain-wide NTLM Logs (System > Netlogon) for the domain controller events. Enhanced auditing does not change the older audit events below.
The Restrict NTLM audit policies (Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options) write the older audit events, and only where they are set; none of them audits by default. Network security: Restrict NTLM: Audit NTLM authentication in this domain on domain controllers writes event 8004; its Enable all option logs all incoming NTLM traffic of the domain controller, and it takes effect without a restart. Network security: Restrict NTLM: Audit Incoming NTLM Traffic makes a server log the incoming NTLM authentications the matching deny option would block, and Network security: Restrict NTLM: Outgoing NTLM traffic to remote servers set to Audit all makes a client log each NTLM authentication it sends to a remote server. Microsoft advises watching the size of the log while these policies are on: wevtutil gl shows the maximum size (maxSize, in bytes) and wevtutil sl "Microsoft-Windows-NTLM/Operational" /ms:<bytes> changes it.
wevtutil gl "Microsoft-Windows-NTLM/Operational"wevtutil qe "Microsoft-Windows-NTLM/Operational" /c:5 /rd:true /f:textFields
In Event Viewer order. The field names are those of the event XML, from the event template that ships with Windows.
| Field | What it holds | Since |
|---|---|---|
Target serverTargetName | Server the NTLM request was meant for (Target server), as a name or an IP address. Microsoft notes that Kerberos is not used when it is not a NetBIOS or DNS name. | v0 |
Supplied userUserName | Account whose credentials were supplied to the server (Supplied user). Microsoft's guide says it matches the user name of the related 8003 or 8004. | v0 |
Supplied domainDomainName | Domain of that account (Supplied domain). | v0 |
PID of client processCallerPID | Process ID of the process that made the request, in decimal (PID of client process). Microsoft notes that for SMB the request comes from the kernel-mode redirector, so the process ID does not identify the application. | v0 |
Name of client processProcessName | Name of that process (Name of client process): the application or service that made the request. | v0 |
LUID of client processClientLUID | Locally unique identifier of the client process, in hexadecimal (LUID of client process). Microsoft does not describe it further; if it is the logon session of the process, it matches the Logon ID of that session's 4624 on the same computer. | v0 |
User identity of client processClientUserName | Account the client process runs as (User identity of client process). Microsoft notes that it can differ from the supplied user. | v0 |
Domain name of user identity of client processClientDomainName | Domain of that account (Domain name of user identity of client process). | v0 |
Mechanism OIDMechanismOID | Object identifier of the security mechanism (Mechanism OID). Microsoft does not document what this event writes in it. | v0 |
Values to know
Target server TargetName
| Value | Meaning | Signal |
|---|---|---|
A NetBIOS or DNS name | The server was named | Expected |
An IP address | The server was reached by addressMicrosoft's guide notes that Kerberos is not used when the target is not a NetBIOS or DNS name. Connecting by name is usually the fix. | Noise |
User identity of client process ClientUserName
| Value | Meaning | Signal |
|---|---|---|
Same account as UserName | The process supplied its own credentials | Expected |
Another account than UserName | The process supplied credentials other than its own identityMicrosoft notes the two can differ. Find out which application holds the other account's credentials and why. | Worth knowing |
Volume and noise
With Audit all, every NTLM request the computer sends is logged, ordinary or not: connections to servers by IP address, applications that ask for NTLM directly, local accounts of other computers, and services that run under their own accounts. Microsoft's NTLM analysis guide expects such applications even where Kerberos would work, and advises watching the size of the NTLM operational log while the audit runs.
Keeping it manageable
- No rule reads 8001. Set the policy on the computers you are investigating, or during an NTLM reduction project, rather than everywhere at once.
- Group the events by
ProcessNameandTargetName. A target written as an IP address rather than a NetBIOS or DNS name is one Kerberos cannot be used for, as Microsoft's guide notes. - Compare
UserNamewithClientUserName: Microsoft notes that the credentials supplied to the server can differ from the identity of the process that sent them. A process running as one account that supplies another account's credentials is worth understanding. - On Windows 11 version 24H2 and later and the server versions with enhanced NTLM auditing, the client events 4020 and 4021 give the same view with the reason NTLM was used, and are on by default.
Sample event
Version 0, with made-up values.
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-NTLM" Guid="{ac43300d-5fcc-4800-8e99-1bd3f85f0320}" />
<EventID>8001</EventID>
<Version>0</Version>
<Level>4</Level>
<Task>2</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2026-11-18T09:30:12.4567890Z" />
<EventRecordID>1048576</EventRecordID>
<Correlation />
<Execution ProcessID="712" ThreadID="2408" />
<Channel>Microsoft-Windows-NTLM/Operational</Channel>
<Computer>WS042.corp.example.com</Computer>
<Security />
</System>
<EventData>
<Data Name="TargetName">10.20.40.20</Data>
<Data Name="UserName">alice</Data>
<Data Name="DomainName">CORP</Data>
<Data Name="CallerPID">12060</Data>
<Data Name="ProcessName">C:\Program Files\Inventory\invclient.exe</Data>
<Data Name="ClientLUID">0x3e1f27a</Data>
<Data Name="ClientUserName">alice</Data>
<Data Name="ClientDomainName">CORP</Data>
<Data Name="MechanismOID">-</Data>
</EventData>
</Event>Attacks this event reveals
No detection rule or detection logic in our library reads this event yet. It is documented here because it sits next to the events they read: it explains them, follows from them or is the trace a defender looks for around them (see Related events).
Frequently asked questions
How do I turn on event 8001?
Set "Network security: Restrict NTLM: Outgoing NTLM traffic to remote servers" to Audit all on the computers you want to audit (Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options). It takes effect without a restart and blocks nothing. The events appear in the NTLM operational log (Applications and Services Logs > Microsoft > Windows > NTLM > Operational).
Does event 8001 mean that NTLM was blocked?
No. The event text says blocked audit because it lists the NTLM requests that would be blocked if the same policy were set to Deny all. With Audit all the requests go through.
Why does event 8001 show a different account in Supplied user and User identity of client process?
Supplied user is the account whose credentials were sent to the server; User identity of client process is the account the sending process runs as. Microsoft notes that the two can differ, for example when an application signs in to a server with credentials it was given.
How do I find which application sent an NTLM authentication over SMB?
For SMB the request comes from the kernel-mode redirector, so the process ID in 8003 on the server is 4 (System) and 8001 on the client does not name the application either. Microsoft's guide then compares the time stamps of the client's and the server's events with process activity on the client. Where enhanced NTLM auditing exists, 4020 and 4021 on the client add the reason NTLM was used.
References
- Viewing events for assessing NTLM usage (Microsoft)
- Network security: Restrict NTLM: Outgoing NTLM traffic to remote servers (Microsoft)
- Using Group Policies to audit NTLM traffic (Microsoft)
- Overview of NTLM auditing enhancements, KB5064479 (Microsoft)
- 4624(S): An account was successfully logged on (Microsoft)