When it is written
Windows writes 4776 every time a credential is validated with NTLM, on the computer that is authoritative for the account: a domain controller for a domain account, the local computer for a local account. A user who opens a share on a server with NTLM leaves 4624 on the server and 4776 on the domain controller that checked the password. A success has Error Code (Status) 0x0; a failure has the reason as an NTSTATUS code.
The event names the account and the computer the attempt came from (Source Workstation), but not the server the user was connecting to, and no network address. Microsoft notes that it is also written when a workstation is unlocked, and that it is not written when a domain account logs on locally to a domain controller. Kerberos logons do not produce it: their password check is event 4768 or, on failure, 4771.
How to turn it on
Advanced audit policy subcategory Audit Credential Validation, Success and 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| Computer | Audit | Note |
|---|---|---|
| Domain controllers | Success and Failure | Microsoft'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 servers | Success and Failure | Microsoft's general and stronger baselines both recommend Success and Failure auditing. Here the events cover local accounts, so Microsoft expects low volume. |
| Workstations | Success and Failure | Microsoft's general and stronger baselines both recommend Success and Failure auditing. Here the events cover local accounts, so Microsoft expects low volume. |
auditpol /get /subcategory:"Credential Validation"auditpol /set /subcategory:"Credential Validation" /success:enable /failure:enableauditpol /get /subcategory:"{0CCE923F-69AE-11D9-BED3-505054503030}"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.
| Field | What it holds | Since |
|---|---|---|
Authentication PackagePackageName | Authentication package that validated the credentials. Microsoft states it is always MICROSOFT_AUTHENTICATION_PACKAGE_V1_0, the NTLM package, for this event. | v0 |
Logon AccountTargetUserNameRead by 3 rules | Account whose credentials were checked (Logon Account): a user name, a computer account (ending with $) or a well-known principal. Names that do not exist appear too, with error 0xC0000064. | v0 |
Source WorkstationWorkstationRead by 3 rules | Name of the computer the attempt came from (Source Workstation). It is the workstation name the NTLM client chose to send, so it is only as reliable as the client. Not the server the user was connecting to, and not an address. Microsoft notes that it can be empty when another device, such as a RADIUS server, passed the authentication on. | v0 |
Error CodeStatusRead by 3 rules | Result (Error Code): 0x0 on success, otherwise an NTSTATUS code, written in lowercase in the XML (for example 0xc000006a). | v0 |
Values to know
Error Code Status
| Value | Meaning | Signal |
|---|---|---|
0x0 | Success | Expected |
0xC000006A | Misspelled or bad passwordMany for one account is guessing; one workstation failing for many accounts is a spray over NTLM. Both have rules. | Attack signal |
0xC0000064 | The user name does not existMicrosoft names many in a short time as a possible account enumeration attack, which a rule counts per workstation. | Attack signal |
0xC000006D | Generic logon failureA bad user name or password, or a LAN Manager authentication level mismatch between the source and target computers. | Failure |
0xC0000234 | Account locked outMicrosoft notes it can indicate a brute-force attack, especially on critical accounts. The counting rules stop at the lockout. | Failure |
0xC0000072 | Account disabled by an administratorRepeated attempts can be an attempt to compromise the account, Microsoft notes. | Failure |
0xC0000193 | Account expired | Failure |
0xC000006F | Logon outside authorized hoursMicrosoft notes it can indicate a compromised account. | Failure |
0xC0000070 | Logon from an unauthorized workstationMicrosoft notes it can indicate a compromised account. | Failure |
0xC0000071 | Password expired | Noise |
0xC0000224 | Password must be changed at next logon | Noise |
0xC0000371 | The local account store has no secret material for the account | Worth knowing |
Source Workstation Workstation
| Value | Meaning | Signal |
|---|---|---|
Name of the client | The computer the attempt came fromAs reported by the client. Not the server the user was connecting to. | Expected |
Empty | No name reportedMicrosoft describes it for authentication that another device, such as a RADIUS server, passed on. The rules group by this field, so failures without a name fall into one group. Read event 4625 on the target server for the address. | Worth knowing |
Not this computer, for a local account | A local account used from another computerMicrosoft recommends watching for this where local accounts should only be used locally. | Attack signal |
Volume and noise
On domain controllers its volume follows NTLM use in the domain, which Microsoft rates as high; on member servers and workstations it covers only local accounts and Microsoft expects it to be low. Microsoft also notes that collecting successes only for later use is of limited value, because the events are not always informative.
Failures with 0xC000006A from devices and services that still hold an old password are typical noise, as are logons with expired passwords (0xC0000071) or passwords that must be changed (0xC0000224).
Keeping it manageable
- Keep every failure on domain controllers: the guessing, spraying and enumeration rules count
0xC000006Aand0xC0000064per workstation name and account. - Keep successes too if you use the Protected Users hypotheses, which look for any NTLM validation of an account after it left the group; otherwise successes are optional for the rules, as Microsoft's general baseline allows.
- Do not trust Source Workstation alone: it is the name the NTLM client chose to send, so it can be false, and Microsoft notes that it can be empty when another device, such as a RADIUS server, passes the authentication on. To find the real source, read event 4625 on the server that received the logon, which has the source address where the service that received the logon passed it to Windows.
- On member servers and workstations, collect it to see local account use, and alert where a local account is validated from a Source Workstation other than the computer itself, as Microsoft recommends for local accounts that should be used only locally. Microsoft adds that event 4624 is the better one for following local account logons, because it has more detail.
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>4776</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>14336</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="PackageName">MICROSOFT_AUTHENTICATION_PACKAGE_V1_0</Data>
<Data Name="TargetUserName">alice</Data>
<Data Name="Workstation">WS042</Data>
<Data Name="Status">0xc000006a</Data>
</EventData>
</Event>Attacks this event reveals
Detection rules that read this event:
Detection logic (hypotheses that join this event with others) for:
Frequently asked questions
Why does event 4776 not show an IP address?
The event records only the name of the computer the attempt came from, as the client reported it, and Microsoft notes that it does not show the destination either. For the address, read event 4624 or 4625 on the server that received the logon. Their Source Network Address is filled with what the service that received the logon passed to Windows, so some logons have none. On domain controllers, the policy Network security, Restrict NTLM, Audit NTLM authentication in this domain adds event 8004 in the NTLM operational log, which names the server that passed the authentication on but still has no address. Where enhanced NTLM auditing is available, the domain controller's events 4032 and 4033 add that server's IP address.
What do error codes 0xC000006A and 0xC0000064 mean in event 4776?
0xC000006A is a misspelled or bad password for an account that exists. 0xC0000064 means the user name does not exist. Microsoft names many of either in a short time as a possible brute-force or account enumeration attack. The library counts them per account and per source workstation.
Is event 4776 written only on domain controllers?
No. It is written by the computer that is authoritative for the account. For domain accounts that is a domain controller, and for local accounts it is the computer that holds them, so member servers and workstations write it for their local accounts. Microsoft notes that local logons always use NTLM when the account is stored on the device.
Does event 4776 show NTLMv1 use?
No. The event has no field for the NTLM version. The version appears in event 4624 on the server that was reached, in Package Name (NTLM only). Where enhanced NTLM auditing is available, the domain controller's own NTLM audit events (4030 to 4033 in the NTLM operational log) record the NTLM version as well.
References
- 4776(S, F): The computer attempted to validate the credentials for an account (Microsoft)
- Audit Credential Validation (Microsoft)
- 4625(F): An account failed to log on (Microsoft)
- Network security: Restrict NTLM: Audit NTLM authentication in this domain (Microsoft)
- Viewing events for assessing NTLM usage (Microsoft)
- Overview of NTLM auditing enhancements, KB5064479 (Microsoft)
- Troubleshoot account lockout problems in a Microsoft Entra Domain Services managed domain (Microsoft)
- [MS-NLMP]: AUTHENTICATE_MESSAGE (Microsoft)