Skip to content
SIEMBench
100% Client-Side Tool • Inputs Never Sent to Our Servers

Event ID 4776

Event ID 4776: NTLM Credential Validation

The computer attempted to validate the credentials for an account

Log source
Security
How to enable it
Account Logon > Audit Credential Validation (Success and Failure)
Category
Authentication
Priority
Medium
Typical volume
High
MITRE ATT&CK
  • T1110.003 Brute Force: Password Spraying
  • T1110.001 Brute Force: Password Guessing
  • T1550.002 Use Alternate Authentication Material: Pass the Hash
  • T1557.001 Adversary-in-the-Middle: Name Resolution Poisoning and SMB Relay

What Event ID 4776 means

4776 is written by the computer that has authority over the account when NTLM credentials are checked. For domain accounts that is a domain controller, whichever server the user tried to reach. For local accounts it is the computer itself.

Central recording makes it valuable. A spray that touches two hundred servers once each leaves one failed 4625 on every server and two hundred 4776 events in one place. It also exposes NTLM use that should not exist, which matters for relay attacks and for plans to retire the protocol.

Its weakness is the source. Workstation holds the name that the client claimed, with no address, and attack tools often leave it empty or make it up. Pair it with NTLM operational logging (event 8004 on domain controllers) to learn which server the attempt went through.

Key fields to inspect

FieldMeaningSuspicious when
TargetUserName Account that was checked. Many names in a short period, or a service account that should use Kerberos.
Workstation Client name as claimed by the client. Empty, random, or a name outside your standard such as KALI or WORKSTATION.
Status Result code. 0x0 is success. 0xC0000064 and 0xC000006A across many accounts.
PackageName Always MICROSOFT_AUTHENTICATION_PACKAGE_V1_0. No other value is expected.

Status codes in 4776

CodeMeaningReading
0x0SuccessThe password or hash was correct
0xC0000064Account does not existName guessing
0xC000006AWrong passwordGuessing against a real account
0xC000006FOutside permitted hoursUnusual time for this account
0xC0000070Not permitted from this workstationRestriction is working
0xC0000071Password expiredStale service or user
0xC0000072Account disabledUse of old credentials
0xC0000234Account lockedLockout already triggered
0xC0000371No secret material in the local storePassword check not possible here

Detection queries

Find client names that fail NTLM validation for many different accounts. Adjust names and thresholds to your environment. About these queries.

Splunk SPL

index=windows source="XmlWinEventLog:Security" EventCode=4776
Status!="0x0"
| bin _time span=30m
| stats dc(TargetUserName) AS accounts count values(Status) AS codes BY _time Workstation
| where accounts>=8

Microsoft Sentinel KQL

SecurityEvent
| where EventID == 4776
| where Status !~ "0x0"
| summarize Accounts = dcount(TargetUserName), Attempts = count(), Codes = make_set(Status) by Workstation, bin(TimeGenerated, 30m)
| where Accounts >= 8

PowerShell

Get-WinEvent -FilterHashtable @{ LogName = 'Security'; Id = 4776; StartTime = (Get-Date).AddDays(-1) } |
  ForEach-Object { $d = @{ Time = $_.TimeCreated }; ([xml]$_.ToXml()).Event.EventData.Data | ForEach-Object { $d[$_.Name] = $_.'#text' }; [pscustomobject]$d } |
  Where-Object { $_.Status -ne '0x0' } |
  Select-Object Time, TargetUserName, Workstation, Status | Format-Table -AutoSize

Attack scenarios

Domain-wide password spray over NTLM

Tools that spray SMB or LDAP cause one validation per attempt. Failures with 0xC000006A for dozens of accounts from one client name inside half an hour are the signature, followed by a 0x0 for the account that had the weak password.

Pass-the-hash

A stolen hash validates exactly like a password, so the result is 0x0. The anomaly is context: a privileged account validated by NTLM from a workstation name it has never used.

NTLM relay

The attacker forwards a victim's authentication to another server. The domain controller sees a valid attempt whose Workstation is the victim, while the 4624 on the target shows the address of the attacker. The mismatch reveals the relay.

Investigation checklist

  1. Group failures by Workstation and count distinct accounts.
  2. Find the member server involved, using NTLM operational event 8004 or 4624 and 4625 at the same second.
  3. Compare Workstation with the source address in that 4624. A mismatch suggests relay.
  4. Check whether any sprayed account later shows 0x0.

Common benign causes

Event ID 4776 FAQ

Why is Workstation empty in event 4776?

The client did not send a name. Non-Windows systems and attack tools often leave it blank. Use NTLM operational logging or the matching 4624 and 4625 events to find the server and address.

Is 4776 logged for Kerberos?

No. It covers NTLM only. Kerberos logons produce 4768, 4769 and 4771 on the domain controller.

Where is 4776 logged for local accounts?

On the computer that owns the local account, because it checks the password against its own SAM database. Domain accounts are recorded on the domain controller that validated them.

Techniques follow MITRE ATT&CK® v20.1. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation (license). Field names were checked against Microsoft documentation and provider schemas.