Windows Event ID · Security log

Event ID 4625: An account failed to log on

Written when a logon attempt fails. In small numbers it is people mistyping passwords. In large numbers from one source it is brute force, password spraying or user name enumeration.

Key fields

Account Name (TargetUserName)
The account someone tried.
Status and Sub Status
Why it failed. See the table below.
Logon Type
Same values as 4624.
Source Network Address
Where the attempt came from.
Workstation Name
The name the other computer reported.

Code values

CodeMeaning
0xC000006AUser name exists, wrong password
0xC0000064User name does not exist
0xC0000234Account is locked out
0xC0000072Account is disabled
0xC000006FLogon outside allowed hours
0xC0000070Logon from a workstation that is not allowed
0xC0000071Password expired
0xC0000193Account expired
0xC0000224User must change password at next logon
0xC0000133Clock difference too large (Kerberos)

What looks suspicious

  • Many failures from one IP against many accounts (spraying).
  • Many failures against one account (brute force), often ending in 4740.
  • Lots of 0xC0000064: someone is guessing which user names exist.
  • A 4624 from the same source right after the failures.

Practise with real logs

These labs give you an .evtx file where Event ID 4625 is part of the story.

Related Event IDs

Questions people ask

What is Event ID 4625?

Event ID 4625 (Security log) means "An account failed to log on". Written when a logon attempt fails. In small numbers it is people mistyping passwords. In large numbers from one source it is brute force, password spraying or user name enumeration.

What should I look for in Event ID 4625?

Many failures from one IP against many accounts (spraying). Many failures against one account (brute force), often ending in 4740. Lots of 0xC0000064: someone is guessing which user names exist. A 4624 from the same source right after the failures.

Full field reference: the Windows Security Log Encyclopedia and Microsoft's documentation. Back to the Event ID cheat sheet.