1. Resources
  2. Detection sources
  3. Event ID 4823

Event ID 4823: NTLM authentication failed because access control restrictions are required

The Security log twin of event 101: a domain controller refused NTLM for an account under an authentication policy, whose restrictions cannot be applied to NTLM. Names the account, device, policy and silo.

Log source
Windows Security log
Detection value
Context
Volume
Low (estimate)
Last updated
Audit subcategory
Audit Credential Validation (Account Logon, Failure)
Logged on
Domain controllers only
Event versions
0
Detects
Not read by our detection rules yet

When it is written

Authentication policies and silos restrict where and to what an account may authenticate, and domain controllers enforce them during the Kerberos exchanges. Their access control restrictions cannot be applied to NTLM, so NTLM authentication fails for an account that is assigned a policy, directly or through a silo: Microsoft notes that silos and policies reject NTLM, and that NTLM is rejected by default for computer accounts under a policy. 4823 records such a failure on the domain controller that handled the NTLM authentication, with the account, the device, the policy and the silo. Microsoft notes that the built-in domain Administrator (RID 500) is always exempt from authentication policies, even when assigned to a silo, so its NTLM sign-ins are not refused this way.

Microsoft publishes no page for 4823. It documents the same failure as event 101 of the AuthenticationPolicyFailures-DomainController log, written by the NTLM provider, and the two event templates have the same text and the same five fields. It names neither the subcategory nor the outcome of 4823: this page files it under Audit Credential Validation, whose event 4776 records the domain controller's NTLM validation, as an Audit Failure. The Task Category and Keywords of the events your domain controllers write show which it is.

How to turn it on

Advanced audit policy subcategory Audit Credential Validation, Failure. Set it in a Group Policy object linked to the computers that write the event:

Computer Configuration > Policies > Windows Settings > Security Settings > Advanced Audit Policy Configuration > Audit Policies > Account Logon > Audit Credential Validation
Microsoft's recommendation per computer role
ComputerAuditNote
Domain controllersSuccess and FailureMicrosoft's general baseline makes Success auditing optional (to keep track of domain account authentication over NTLM, at high volume) and recommends Failure auditing; its stronger baseline recommends both. Microsoft adds that collecting successes only for later use is of little value, because these events are not always informative.
Member serversSuccess and FailureMicrosoft's general and stronger baselines both recommend Success and Failure auditing. Here the events cover local accounts, so Microsoft expects low volume.
WorkstationsSuccess and FailureMicrosoft's general and stronger baselines both recommend Success and Failure auditing. Here the events cover local accounts, so Microsoft expects low volume.
Check the current setting
auditpol /get /subcategory:"Credential Validation"
Based on vendor documentation.
Turn it on (local policy; a domain GPO overrides it)
auditpol /set /subcategory:"Credential Validation" /failure:enable
Based on vendor documentation.
The same on a Windows in another display language
auditpol /get /subcategory:"{0CCE923F-69AE-11D9-BED3-505054503030}"
Based on vendor documentation.

Run the commands in an elevated prompt on a computer that writes the event. Subcategory settings take effect only when the security option Audit: Force audit policy subcategory settings (Windows Vista or later) to override audit policy category settings is enabled (the default), and a Group Policy object that sets advanced audit policy replaces local changes at its next refresh. Microsoft's advanced audit policy reference

Fields

In Event Viewer order. The field names are those of the event XML, from the event template that ships with Windows.

FieldWhat it holdsSince
Account NameAccountNameAccount whose NTLM authentication failed (Account Name), an account assigned an authentication policy directly or through a silo.v0
Device NameDeviceNameDevice the attempt came from (Device Name). Microsoft does not say where the event takes the name from; in NTLM the workstation name is one the client chooses to send (MS-NLMP), so treat it as a hint and confirm the source with the domain controller's event 4776 or the logon on the target server.v0
Error CodeStatusError code of the failure (Error Code), an NTSTATUS value in hexadecimal. Microsoft does not list the codes this event writes; the sample's 0xC000006E (STATUS_ACCOUNT_RESTRICTION) is an illustration, not a documented value.v0
Silo NameSiloNameAuthentication Policy InformationAuthentication policy silo the account belongs to (Silo Name), when the policy applies through a silo.v0
PolicyNameAuthentication Policy InformationAuthentication policy that applies to the account (shown as PolicyName).v0

Values to know

Device Name DeviceName

ValueMeaningSignal
A device that runs a known legacy application for this accountAn NTLM dependencyMove the application to Kerberos, or give it an account without the policy.Noise
Any other deviceThe account's password or hash was used with NTLM from somewhere elseThe policy confines the account to Kerberos and to the devices it allows, so an unexpected NTLM attempt is what a stolen credential in use looks like. In NTLM the workstation name is one the client chooses to send (MS-NLMP): confirm the source with event 4776 or the logon on the target server.Attack signal

Silo Name SiloName

ValueMeaningSignal
A silo of Tier 0 administratorsAn account of the most privileged tierReview these first. Administrators in such a silo should authenticate only with Kerberos from administrative workstations.Attack signal
EmptyThe policy is assigned to the account directlyMicrosoft allows a policy without a silo, for example to protect a single account. How Windows writes the empty value is not documented.Worth knowing

Account Name AccountName

ValueMeaningSignal
Ends with $A computer account under a policyMicrosoft notes that NTLM is rejected by default for computer accounts under an authentication policy.Worth knowing

Volume and noise

No volume is documented. Only accounts under an authentication policy can produce the event: administrators in a silo, service accounts restricted to their hosts. The usual benign source is an application, a mapped drive or a script that still uses NTLM for such an account, repeating from the same device.

Keeping it manageable

  • Keep every event: the volume is low, and each one is either an NTLM dependency to remove or a protected account's password or hash used where it should not be.
  • Before you rely on it, confirm that your domain controllers write it: search their Security logs for 4823 after an NTLM attempt you made on purpose with a test account under a test policy.
  • Where you also collect the AuthenticationPolicyFailures-DomainController log, read 4823 next to event 101, which the library's rule for protected accounts reads: the two record the same failure.
  • For the source of the attempt, look on the same domain controller for event 4776 for the same account at the same time and read its workstation name, as the detection logic of the protected account page does for event 101.

Sample event

Version 0, with made-up values.

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" />
    <EventID>4823</EventID>
    <Version>0</Version>
    <Level>0</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8010000000000000</Keywords>
    <TimeCreated SystemTime="2026-11-18T09:30:12.4567890Z" />
    <EventRecordID>1048576</EventRecordID>
    <Correlation />
    <Execution ProcessID="712" ThreadID="2408" />
    <Channel>Security</Channel>
    <Computer>DC01.corp.example.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="AccountName">adm-alice</Data>
    <Data Name="DeviceName">WS042</Data>
    <Data Name="Status">0xC000006E</Data>
    <Data Name="SiloName">Tier0-Admins</Data>
    <Data Name="PolicyName">Tier0-Admins-Policy</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

Why does an account in an authentication policy silo fail to sign in with NTLM?

Authentication policies restrict where and to what an account may authenticate, and domain controllers enforce them during the Kerberos exchanges. NTLM cannot carry those access control restrictions, so NTLM authentication fails for such an account and the account has to use Kerberos. The built-in domain Administrator is the exception: it is always exempt from authentication policies.

What should I do when event 4823 appears for an administrator?

Find where the attempt came from: the device name in the event, and event 4776 for the same account on the same domain controller. A known application that still uses NTLM is a migration task. An attempt from a device you do not expect means that someone has the account's password or hash: treat the account as compromised, reset its password and look for other use of it.

How is event 4823 related to event 101?

They record the same failure in two logs. Event 101 is in the AuthenticationPolicyFailures-DomainController log, off by default, and is the one Microsoft documents. Event 4823 is in the Security log, with the same text and fields in its template. Microsoft publishes no page for 4823 and documents no audit subcategory for it; this library files it under Audit Credential Validation.

References