Skip to content
SOC Analyst Role
  • Loading index…

↑↓ navigate · ↵ open · Esc close

en

Security · Logon

4625 · An account failed to log on

Event 4625 is logged when a logon attempt fails on the machine the user tried to access. The Status and SubStatus codes explain why (wrong password, unknown user, locked or disabled account), which makes it the primary event for detecting brute force, password spraying and username enumeration. A cluster of 4625s followed by a 4624 from the same source is one of the most common true-positive patterns an L1 analyst will see.

medium prioritySecurity logLogonMITRE T1110

Where it is logged

Security log on the target machine (the server or workstation being accessed, or the DC for logons to the DC itself). Requires Audit Logon for Failure. For domain accounts, related Kerberos and NTLM failures also appear on the DC as 4771 and 4776.

Key fields to read

FieldWhat it tells you
TargetUserNameThe account name that was attempted. It may be a non-existent user during enumeration.
StatusTop-level NTSTATUS, often 0xC000006D (generic bad logon).
SubStatusSpecific reason: 0xC000006A bad password, 0xC0000064 no such user, 0xC0000234 locked, 0xC0000072 disabled.
LogonTypeAttempted logon type. Failed RDP with NLA shows as type 3 because NLA authenticates before the session is built.
IpAddressSource IP of the attempt, the main pivot for spraying and brute-force detection.
WorkstationNameClient name reported by the source; often blank or random for attack tools.
AuthenticationPackageNameNTLM or Kerberos; NTLM failures from external IPs are typical of internet-exposed RDP/SMB brute force.
FailureReasonHuman-readable reason, e.g. %%2313 "Unknown user name or bad password."

Sample event

4625 — synthetic example
EventID: 4625
TimeCreated: 2026-03-14T02:11:09.884Z
Computer: NW-FIN-WS07.northwind.local
TargetUserName: m.okafor
TargetDomainName: NORTHWIND
Status: 0xC000006D
SubStatus: 0xC000006A
FailureReason: %%2313
LogonType: 3
LogonProcessName: NtLmSsp
AuthenticationPackageName: NTLM
WorkstationName: -
IpAddress: 203.0.113.45
IpPort: 0

How to triage it

  1. 1Group the failures by IpAddress and TargetUserName over a 15–60 minute window: many failures for one account is brute force, one IP across many accounts is spraying.
  2. 2Decode SubStatus: bulk 0xC0000064 means the attacker is guessing usernames, 0xC000006A means valid usernames with wrong passwords, and 0xC0000234 means lockouts are already occurring (check 4740).
  3. 3Check whether the same source then produced a 4624 for any targeted account; a success changes this from an attempt to a likely compromise.
  4. 4Enrich the source IP: internal host owner, or for external IPs, threat intel, geo and whether RDP/SMB should be internet-exposed at all.
  5. 5For a single noisy account from an internal host, look for stale saved credentials (mapped drive, service, phone) before assuming an attack.
  6. 6Escalate if any success followed, if privileged accounts were targeted, or if the source is external; recommend blocking the IP and reviewing exposure.

Benign vs suspicious

Usually benign

  • Users mistyping passwords, especially right after a password change.
  • Stale credentials cached in mapped drives, scheduled tasks, services or mobile mail clients retrying an old password.
  • Vulnerability scanners and monitoring tools probing authentication.

Red flags

  • One source IP failing against many different accounts in minutes (password spraying), often with one or two attempts per account.
  • Large numbers of 0xC0000064 unknown-user failures, indicating username enumeration from a wordlist.
  • Failures from external IPs against internet-exposed RDP, followed by a 4624 type 10 or type 3 from the same IP.
  • Attempts against Administrator, service accounts or disabled accounts (0xC0000072) that nobody should use.

Hunt for it: Splunk & KQL

Splunk SPL
index=wineventlog EventCode=4625
| bin _time span=15m
| stats dc(user) AS users count AS failures values(Sub_Status) AS substatus BY _time, src_ip
| where users >= 10
| sort - users
Sentinel KQL
SecurityEvent
| where TimeGenerated > ago(1d)
| where EventID == 4625
| summarize Failures = count(), Accounts = dcount(TargetUserName), SubStatuses = make_set(SubStatus) by IpAddress, bin(TimeGenerated, 15m)
| where Accounts >= 10
| order by Accounts desc

Field names depend on your add-on and table. More translations in the Splunk vs KQL cheat sheet.

Interview question

“How would you tell brute force apart from password spraying using Event ID 4625?”

✓ Strong answer sketch

I group the 4625s by source IP and by target account over a short window. Brute force is many failures against one or a few accounts, usually ending in a 4740 lockout, while spraying is one source trying one or two common passwords across many accounts to stay under the lockout threshold. I also read the SubStatus: lots of 0xC0000064 means the attacker is guessing usernames too. The most important follow-up is checking for a 4624 from the same IP afterwards, because that tells me whether an account was actually compromised.

More SOC interview questions

See it in a real investigation

Frequently asked questions

What does Event ID 4625 mean?

Event ID 4625 means an account failed to log on. The Status and SubStatus codes give the reason, for example 0xC000006A for a wrong password or 0xC0000064 for a username that does not exist.

Why do failed RDP logons show LogonType 3 instead of 10?

When Network Level Authentication (NLA) is enabled, the client authenticates over CredSSP before the RDP session is created, so a failed password is recorded as a network logon (type 3). Type 10 appears only once a session is actually established.

What is the difference between 4625 and 4771?

4625 is logged on the machine the user tried to access, while 4771 is logged on the domain controller when Kerberos pre-authentication fails. A password spray against Kerberos may show mostly 4771s on the DC with few 4625s on endpoints.