Skip to main content

Wolfcore Cyber Security

Windows Event ID 4776: NTLM Credential Validation Explained

Written by Ruben Selby, founder and penetration tester at Wolfcore. Last reviewed 23 November 2026.

Part of the Detection, monitoring and response section of the Wolfcore Resources library.

In one sentence: Event 4776 is the Windows log entry that says a computer checked a username and password using the older NTLM sign-in method, and whether the check passed or failed.

What it is

Windows has two main ways to check a password on a network: Kerberos and NTLM. Event 4776 is written every time a check uses NTLM. Microsoft’s documentation says it appears on the computer that holds the account: for domain accounts that is the domain controller, for local accounts it is the computer itself. It records both successes and failures.

It is useful because a domain controller logs every NTLM check for domain accounts in one place. Microsoft also says it fires when a workstation is unlocked, and that it is not written when a domain account logs on locally to a domain controller.

The event shows the account name, the name of the computer the attempt came from (Source Workstation) and an error code. It does not show the destination computer.

How it works

  1. A user or program sends a username and a response to a password challenge using NTLM.
  2. The computer that holds the account checks it.
  3. Windows writes event 4776 to the Security log. The error code is 0x0 for a pass, anything else for a fail.

Microsoft lists the common failure codes. 0xC0000064 means the username does not exist. 0xC000006A means a wrong password. 0xC0000234 means the account is locked. 0xC000006F, 0xC0000070 and 0xC0000072 mean a sign-in outside allowed hours, from a workstation not allowed, or to a disabled account.

What it does not do: it does not tell you which server was being reached, and Microsoft says that for local accounts event 4624 is more informative.

Who it affects and how badly

Any business running Active Directory with Windows servers: accountancy and legal practices, schools, care providers, manufacturers, councils and MSPs managing client domains. Size does not change the event, it changes who is watching it.

  • Small (up to 10 staff): usually one server, logs rarely read. A password-guessing run goes unseen until an account locks.
  • Mid-sized (50 to 250): several domain controllers, so failures from one workstation can be spread across them. Without central collection, nobody sees the pattern.
  • Regulated (fintech, insurance, healthcare): needs evidence that sign-in monitoring exists and is reviewed.

Real examples

No named organisation’s incident is cited here, because none was opened for this entry. The reference is Microsoft’s own page, which lists what to monitor and which error codes mean what.

The worked example (illustration only)

A 25-person accountancy runs one domain controller. A finance account starts failing with 0xC000006A, wrong password, forty times in ten minutes, all from the same workstation name, then one 0x0 success. Nobody is looking, so the account is used overnight. Cost: a morning of password resets and a client call. With a simple alert on “five or more 4776 failures then a success for the same account”, someone looks within minutes.

Workstationsends NTLM sign-inDomain controllerchecks the passwordSecurity logEvent 4776 + code0x0 = passed. Any other code = failed.

What we check on a test

  • Whether NTLM is still allowed where Kerberos would do.
  • Whether credential validation auditing is switched on, so the event exists at all.
  • Whether failures from one source, or against many accounts, would raise an alert.
  • Whether local administrator accounts can sign in over the network.

How to detect it

  1. Turn on Advanced Audit Policy, Account Logon, Audit Credential Validation, for success and failure on domain controllers.
  2. Filter the Security log for 4776 and group by Logon Account and Source Workstation.
  3. Watch for many 0xC0000064 (bad username) from one source: Microsoft says that can indicate account enumeration.
  4. Watch for repeated 0xC000006A or 0xC0000234 against high-value accounts: Microsoft says that can indicate password guessing.
  5. Watch for sign-ins at odd hours or from workstations that account should never use.
  6. Forward the events to one place, for example with Windows Event Forwarding.

How to fix or prevent it

  1. Find out what still uses NTLM, using 4776 itself, and move it to Kerberos.
  2. Restrict NTLM where nothing needs it, starting with servers holding sensitive data.
  3. Use long unique passwords and multi-factor authentication for admin accounts.
  4. Set an account lockout policy so guessing is slowed and visible.
  5. Disable or remove accounts that should never sign in, then alert on any 4776 for them.
  6. Keep local accounts for local use and alert when Source Workstation differs from the computer logging the event.

Related terms

windows event id 4625 failed logon, windows event id 4768 4769 kerberos tickets, windows event id 4648 explicit credential logon, how pass the hash works, how kerberoasting works

FAQ

Is 4776 a login event? It records a password check using NTLM, not the logon itself. Microsoft recommends event 4624 for local logon detail.

Does a failure mean an attack? Not by itself. A single wrong password is normal. Patterns are what matter.

Why does it appear when someone unlocks a PC? Microsoft states the event also generates on a workstation unlock.

Test your people too

Password guessing is only one way in. Staff can also be tricked into typing a password into a fake page. Phishy, our phishing simulation, lets you see how your team responds with a free trial.

How Wolfcore helps

Wolfcore’s vulnerability management and SOC monitoring keep watch for this after the test is over. See SOC and SIEM monitoring

Wolfcore

Would your staff click a phishing email?

Run a real, safe phishing test on your team with Phishy. Free for 14 days, up to 10 staff, no card. We help you set it up.

Start a free phishing testFree website security scanor book a 30 minute call