azureblog.co.uk
← cd ~/events
// events/4776 · Sign-in

Event ID 4776The computer attempted to validate the credentials for an account

An NTLM credential check. It is logged on the computer that owns the credentials: the domain controller for domain accounts, or the local machine for local accounts.

LogSecurity
SourceMicrosoft-Windows-Security-Auditing
AreaSign-in

What to check

Use the Error Code and Source Workstation to find the cause. Bad user names may mean enumeration; bad passwords and lockouts may mean brute force.

Codes you'll see in this event

CodeMeaning
0xC0000064User name does not exist.
0xC000006AWrong password.
0xC000006DGeneric logon failure, for example bad credentials or a LAN Manager authentication level mismatch.
0xC000006FOutside permitted logon hours.
0xC0000070Unauthorised workstation.
0xC0000071Password has expired.
0xC0000072Account disabled.
0xC0000193Account has expired.
0xC0000224User must change password at next logon.
0xC0000234Account is locked out.
0xC0000371Local account store has no secret material for the account.

Find it with PowerShell

Run on the machine that logs it, as an administrator.

powershell2 lines
Get-WinEvent -FilterHashtable @{ LogName = 'Security'; Id = 4776 } -MaxEvents 50 |
    Format-List TimeCreated, Id, Message

Hunt for it in Sentinel or Log Analytics

Security events land in the SecurityEvent table when you collect them with the Windows Security Events connector or a data collection rule.

kql5 lines
SecurityEvent
| where TimeGenerated > ago(7d)
| where EventID == 4776
| project TimeGenerated, Computer, Account, Activity
| order by TimeGenerated desc

Related Sign-in events

Search all 123 event IDs →