Event ID 4776: The domain controller attempted to validate the credentials for an account
Event 4776 is generated when a domain controller validates credentials for NTLM authentication, logging both successful and failed attempts. This event is critical for detecting pass-the-hash attacks, NTLM relay attacks, and identifying systems still using legacy NTLM authentication instead of more secure Kerberos, which may indicate older systems or misconfigurations exploitable by attackers.
- Channel
- Security
- Logged by default
- On domain controllers
- Written on
- Domain controller, Target host
- Volume
- High
- Audit subcategory
- Credential Validation
- Needs a SACL
- No
To have this event
- Enable Credential Validation:
auditpol /set /subcategory:"Credential Validation" /success:enable /failure:enable
Key fields
Exact XML field names, as they appear in <Data Name="…"> and in SIEM field extractions.
| Field | What it tells you |
|---|---|
| TargetUserName | Account name being validated |
| Workstation | Source workstation name |
| Status | Status code (0x0=success, 0xC000006A=wrong password, 0xC0000064=user doesn't exist)0xc0000064 User name does not exist0xc000006a Wrong password0xc000006d Bad user name or authentication information0xc000006e Account restriction0xc000006f Outside logon hours0xc0000070 Workstation restrictionAll Status / SubStatus (NTSTATUS) values |
| PackageName | Authentication package (typically MICROSOFT_AUTHENTICATION_PACKAGE_V1_0) |
Analyst notes
- 01Occurs on Domain Controllers during NTLM authentication attempts.
- 02High volume of failures (Status != 0x0) can indicate brute-force or spraying attacks targeting NTLM.
- 03Success (Status == 0x0) is normal but should be monitored for anomalous patterns (source workstation, account, time).
In an investigation
Event 4776 provides visibility into NTLM authentication attempts processed by domain controllers, which is essential for detecting various credential-based attacks. While Kerberos is the preferred authentication protocol in Active Directory environments, NTLM remains common for legacy application compatibility, workgroup authentication, and scenarios where Kerberos is unavailable. Attackers frequently exploit NTLM because it is susceptible to pass-the-hash attacks where stolen NTLM hashes authenticate without needing plaintext passwords. This event records the source workstation, target username, and success/failure status. Security teams should track which systems generate NTLM authentication to identify legacy systems needing upgrades and detect anomalous NTLM usage that may indicate attacks. The event provides the error code for failures, helping distinguish between wrong passwords, account issues, or protocol problems.
What it can reveal
- Pass-the-hash attacks detected when stolen NTLM hashes successfully authenticate without corresponding Kerberos activity
- NTLM relay attacks visible through rapid authentication attempts from unexpected source systems to multiple targets
- Legacy system identification showing which machines still rely on NTLM and may lack modern security controls
- Credential stuffing attacks using stolen NTLM hashes from external breaches or password dumps
- Cobalt Strike, Metasploit, and PsExec commonly generate Event 4776 during lateral movement with pass-the-hash techniques
How to detect with it
Establish a baseline of systems legitimately using NTLM authentication and alert on any new systems initiating NTLM requests. Monitor for successful Event 4776 authentication from workstations that typically use only Kerberos, which may indicate pass-the-hash attacks. Track authentication patterns where Event 4776 appears without corresponding Event 4768 (Kerberos ticket requests) suggesting credential theft rather than interactive logon. Alert on NTLM authentication failures with error codes indicating wrong passwords (0xC000006A) occurring rapidly across multiple accounts (potential password spraying). Correlate Event 4776 with Event 4624 Type 3 logons and Event 4648 to identify credential reuse patterns. Monitor privileged accounts for any NTLM authentication, as these should exclusively use Kerberos in properly configured environments.
Attack patterns
- Mimikatz pass-the-hash: After extracting NTLM hashes from LSASS memory, attackers authenticated to file servers generating Event 4776 without corresponding Kerberos events
- Responder NTLM relay: Attackers used Responder to capture NTLM authentication attempts via LLMNR poisoning, then relayed them to domain controllers generating Event 4776
- Cobalt Strike lateral movement: Beacon configured for SMB communication used pass-the-hash to spawn processes on remote systems, generating Event 4776 for each authentication
- Legacy application vulnerability: Event 4776 from obsolete HR system using NTLM revealed unpatched Windows Server 2008 system exploited during ransomware attack
Compared withEvent 4776 tracks NTLM authentication validation, while Event 4768 monitors Kerberos ticket requests. In secure environments, Kerberos should be dominant. High Event 4776 volume relative to Event 4768 may indicate security issues or legacy systems.
Pull this event
Retrieval queries for a live host, a collected .evtx file and common SIEMs. Filter further on the key fields above.
Get-WinEvent -LogName 'Security' -FilterXPath "*[System[(EventID=4776)]]" -MaxEvents 50 |
Select-Object TimeCreated, Id, MachineName, Message-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.
Where it shows up
Investigations, attack signals and lateral movement techniques that rely on this event.
- Attack signalPass the HashNTLM validation of a domain account on a DC that pairs with the suspicious network logon on the target.
- Attack signalPassword SprayingNTLM credential validations failing with the wrong-password status across many accounts.
- Lateral movementPsExec and service-based executionDomain controller: NTLM credential validation with Workstation set to the source name, when NTLM was used instead of Kerberos (destination addressed by IP, or pass-the-hash). Domain accounts only; local accounts are validated on the destination.
- Lateral movementWMI remote executionDomain controller: NTLM credential validation with Workstation set to the source name, when NTLM was used instead of Kerberos (destination addressed by IP, or pass-the-hash). Domain accounts only; local accounts are validated on the destination.
- Lateral movementsmbexecDomain controller: NTLM credential validation with Workstation set to the source name, when NTLM was used instead of Kerberos (destination addressed by IP, or pass-the-hash). Domain accounts only; local accounts are validated on the destination.
- Lateral movementRemote scheduled task executionDomain controller: NTLM credential validation with Workstation set to the source name, when NTLM was used instead of Kerberos (destination addressed by IP, or pass-the-hash). Domain accounts only; local accounts are validated on the destination.
- Lateral movementRemote service creationDomain controller: NTLM credential validation with Workstation set to the source name, when NTLM was used instead of Kerberos (destination addressed by IP, or pass-the-hash). Domain accounts only; local accounts are validated on the destination.
- Lateral movementWinRM and PowerShell RemotingDomain controller: NTLM credential validation with Workstation set to the source name, when NTLM was used instead of Kerberos (destination addressed by IP, or pass-the-hash). Domain accounts only; local accounts are validated on the destination.
- Lateral movementRDP lateral movementDomain controller: NTLM credential validation with Workstation set to the source name, when NTLM was used instead of Kerberos (destination addressed by IP, or pass-the-hash). Domain accounts only; local accounts are validated on the destination.
- Lateral movementDCOM executionDomain controller: NTLM credential validation with Workstation set to the source name, when NTLM was used instead of Kerberos (destination addressed by IP, or pass-the-hash). Domain accounts only; local accounts are validated on the destination.
- InvestigationWhere did this account log on, and was it used for lateral movement?See the account domain-wide on the DC
- InvestigationIs this a brute-force or password-spray attack, and did any attempt succeed?Check the domain controller's view
- InvestigationWhen did the attacker first get in? Building the initial access timelinePull the failures that preceded it
ATT&CK mapping
Techniques this event can help detect. Most of these depend on specific field values; the event alone does not mean the technique happened.
Also relevant, depending on field values
Related events
Common questions
- What does Windows event ID 4776 mean?
- Event 4776 is generated when a domain controller validates credentials for NTLM authentication, logging both successful and failed attempts. This event is critical for detecting pass-the-hash attacks, NTLM relay attacks, and identifying systems still using legacy NTLM authentication instead of more secure Kerberos, which may indicate older systems or misconfigurations exploitable by attackers.
- Is event 4776 logged by default?
- Only on domain controllers, where the default domain controller policy turns the subcategory on. Elsewhere it must be enabled. It is controlled by the "Credential Validation" Advanced Audit Policy subcategory (Account Logon).
- Where is event 4776 recorded?
- In the Security channel on the domain controller or target host.
Decode a real event
Paste the XML and every value gets explained. Nothing leaves your browser.
Open decoderEvent 4776 is generated when a domain controller validates credentials for NTLM authentication, logging both successful and failed attempts.