Event ID 4625: An account failed to log on
Event ID 4625, "An account failed to log on", is written to the Security log when a logon attempt on a Windows computer fails, with the account that was tried, the source address, the logon type and a status code that says why it failed.
What event 4625 records
A 4625 means Windows refused a logon. The event keeps the account name that was tried (even if it does not exist), the logon type, the address and workstation name of the client, the process that handled the attempt, and two codes, Status and Sub Status, that give the reason.
Most failed logons are harmless: a mistyped password, a phone with an old password that keeps retrying, a scheduled task that still uses a changed password. The investigative question is never "were there failures?" but "is this pattern a person, a misconfiguration or an attacker?" The status code, the spread of account names and the timing answer it.
Status and sub-status codes
Read the Sub Status first when the Status is the generic 0xC000006D ("the user name or authentication information is incorrect"). These are the codes that come up in investigations:
| Code | Meaning | What it suggests |
|---|---|---|
| 0xC0000064 | User name does not exist | Guessing account names, or a typo. Many different non-existent names from one source is enumeration. |
| 0xC000006A | User name is correct, password is wrong | Password guessing against a real account, or a stale saved password. |
| 0xC000006D | Bad user name or authentication information | Generic; see the Sub Status. |
| 0xC000006F | Logon outside allowed hours | Policy working as intended; check who is trying at night. |
| 0xC0000070 | Logon from an unauthorised workstation | The account is restricted to certain computers. |
| 0xC0000071 | Password has expired | Usually a user or a service account, not an attack. |
| 0xC0000072 | Account is disabled | Someone tried a disabled account: worth knowing who. |
| 0xC0000193 | Account has expired | As above. |
| 0xC0000234 | Account is locked out | Attempts continued after lockout, often a machine retrying. |
| 0xC000015B | Logon type not granted | For example an account denied "log on through Remote Desktop". |
| 0xC0000224 | Must change password at next logon | Normal after a reset. |
| 0xC0000133 | Clocks out of sync | Kerberos time skew, not an attack. |
Finding the source of failed login attempts
Start with Source Network Address and Workstation Name. For network (type 3) and RDP failures the address is the client's; for local failures it is "-" and the Caller Process Name tells you what tried (for example a service executable or svchost for a scheduled task).
When the source is a server rather than a person, the stored password is on that server. Look there for services, scheduled tasks, mapped drives, saved Remote Desktop credentials and applications configured with the old password. When failures for a domain account arrive at a domain controller, its 4771 or 4776 events name the client, and the account lockout event names the caller computer.
Failed RDP logons with Network Level Authentication sometimes show no source address in 4625. In that case the RemoteDesktopServices-RdpCoreTS and TerminalServices-RemoteConnectionManager operational logs, and firewall logs, usually still hold it.
Failed logons by logon type
| Logon type | Typical source of failures |
|---|---|
| 3 Network | SMB and NTLM password guessing from scanners and attack tools; mapped drives with old passwords. |
| 10 RemoteInteractive | RDP password guessing against exposed Remote Desktop; users mistyping at an RDP prompt. |
| 2 Interactive | Someone at the keyboard, or at a virtual machine console. |
| 4 Batch and 5 Service | A scheduled task or service whose stored password was changed. Steady and regular. |
| 8 NetworkCleartext | Web applications using basic authentication, for example Outlook on the web on older Exchange. |
Grouping failures by logon type first separates the noise from the signal: batch and service failures are almost always configuration, while bursts of type 3 and type 10 from outside addresses are where attacks show up.
Keeping failed logons long enough to investigate
Failed logon auditing is on by default, but on an exposed server a password-guessing campaign can write thousands of 4625 events an hour and push weeks of other history out of a small Security log. Size the log for the server's role, forward failures to central logging, and collect the log as soon as an incident is suspected. When the 4625 history has rolled over, the domain controllers' 4771 and 4776 events, firewall logs and the RDP operational logs often still cover the period.
Investigating a burst of failed logons, step by step
- Group the 4625 events by source address and account (the query below does this) and note the first and last time of each group.
- Read the status codes: 0xC0000064 means the names are being guessed, 0xC000006A means real accounts are being tried.
- Look for a 4624 from the same source address after the failures stop, for any of the targeted accounts. If there is one, everything that follows in that logon session is the incident.
- Check the logon type of the success. A type 3 followed by a type 10 is an RDP session; a type 3 followed by 4672 and share access is admin-share access.
- Look at the other hosts. The same source often tries several machines; group failures across every host in the case by source address.
- Decide what to block and what to reset: the source address at the firewall, and the passwords of every account that was guessed successfully or that shares a password with one.
In the Halden case these steps take five minutes: the grouped failures show the five names tried, the 4624 at 22:05:03 shows which one worked, and the session that followed contains the rest of the intrusion.
Failed RDP logons and Network Level Authentication
With Network Level Authentication on, a wrong password at an RDP prompt is rejected before a desktop session exists. Windows still writes 4625, usually with logon type 3 rather than 10, because the check happened during the network authentication step. Some builds log the failure with an empty source address. The TerminalServices-RemoteConnectionManager and RdpCoreTS operational logs record the connection attempts with the client address, and the firewall log (if enabled) records the TCP connections to port 3389. Expect to combine them when the attack is RDP password guessing from the internet.
Event 4625 fields
The fields an investigator reads first, what they mean, and where Arcsentry stores them.
| Field | Meaning | Arcsentry field |
|---|---|---|
| Subject: Security ID, Account Name, Logon ID | The account that requested the logon: usually NULL SID or the computer account for network attempts. | event data |
| Logon Type | How the logon was attempted: 3 network, 10 RDP, 2 at the keyboard, and so on. | event_log_logon_type |
| Account For Which Logon Failed: Account Name and Domain | The name that was tried, exactly as typed. Non-existent names appear here too. | user_target_name |
| Failure Reason | A readable version of the status, for example "Unknown user name or bad password". | event data |
| Status and Sub Status | The NTSTATUS codes in the table above. | event_log_status, event_log_sub_status |
| Caller Process ID and Name | The local process that made the attempt. Blank or lsass.exe for network attempts; the culprit for local ones. | event data |
| Workstation Name | The client's name as it reported it. Attack tools often send a random or blank name. | event data |
| Source Network Address and Port | The client's IP address for network and RDP attempts. | source_ip |
| Logon Process and Authentication Package | NtLmSsp and NTLM for most network guessing; User32 and Negotiate for interactive attempts. | event_log_logon_process_name, event_log_logon_auth_package |
Every other field is readable in Arcsentry by its Windows name in lower case, for example source_domain or process_name.
What event 4625 proves, and what it does not
It shows
- That a logon was attempted for this account name, by this logon type, from this address, and refused.
- Why it was refused (Status and Sub Status).
- With many events: the rate, the spread of account names and the duration of an attack.
It does not show
- That the attempt was malicious. Stale passwords on phones, services and tasks produce thousands of failures.
- That nothing succeeded. Always look for a 4624 for the targeted accounts after the failures stop.
- The real origin when the source address is a gateway, VPN or load balancer.
Attacker activity it reveals
Password guessing
Many 4625 with 0xC000006A for one or a few accounts from one address in a short time, usually logon type 3 (SMB, NTLM) or 10 (RDP). MITRE ATT&CK T1110.001
Password spraying
One or two attempts against each of many accounts, from one source or a few, often slowed down to stay under the lockout threshold. Group by source address and count distinct accounts. MITRE ATT&CK T1110.003
Account enumeration
Many 0xC0000064 (no such user) for names that look like a list: admin, administrator, backup, scanner, test, first names.
The failure that matters
The last 4625 before a 4624 for the same account and source. Everything that happens in that session is the attacker's.
In a real investigation: Halden Freight office intrusion
On HF-WS01 in our Windows lab case, 35 failed network logons arrived from 10.211.55.2 between 22:02:58 and 22:04:20 UTC. Grouping them by source and account shows the attack at a glance:
| Source | Account | Attempts | First | Last |
|---|---|---|---|---|
| 10.211.55.2 | a.berg | 15 | 22:03:22 | 22:04:20 |
| 10.211.55.2 | administrator | 5 | 22:02:58 | 22:03:08 |
| 10.211.55.2 | admin | 5 | 22:03:34 | 22:03:44 |
| 10.211.55.2 | finance | 5 | 22:03:10 | 22:03:20 |
| 10.211.55.2 | scanner | 5 | 22:03:58 | 22:04:08 |
| 10.211.55.7 | m.lund | 1 | 22:12:35 | 22:12:35 |
Five tries against each common name, then fifteen against a real user, with status 0xC000006A (correct name, wrong password) for a.berg. At 22:05:03 the same address logged on successfully as a.berg (4624, type 3), then opened an RDP session. The single failure for m.lund later in the evening came from the second workstation during the attacker's lateral movement.
Finding event 4625 in Arcsentry
Arcsentry parses every channel in Windows\System32\winevt\Logs, whether it comes from an Arcsentry Collector archive, a KAPE or Velociraptor collection, or a disk image. Security log records are the event type evtx_security. In Hunt, with that event type selected:
filter event_code == "4625"
group {source_ip, user_target_name} (aggregate {
attempts = count this,
first_seen = (earliest timestamp),
last_seen = (latest timestamp)
})
sort {-attempts} Failed logons per source and account, with first and last seen. This exact question, asked in plain English, produced the table above in the Halden case. To check whether any guessed account then got in, run the same query for 4624 and compare the times.
Or ask in plain English, for example "show event 4625 on every host, oldest first", and Arcsentry shows the AQL it wrote before it runs. The AQL reference lists the operators used here, and the AI investigator reads the same events, citing each one by its event ID when it reports a finding.
Related event IDs
- Event ID 4624: Successful logon
- Event ID 4740: Account locked out
- Event ID 4771: Kerberos pre-auth failure
- Event ID 4776: NTLM credential validation
- Event ID 4648: Explicit credentials
All events by investigation question: Windows security event IDs for incident response. Logon types in full: Windows logon types. The log files themselves: Windows event logs.
Frequently asked
What does status 0xC0000234 mean in event 4625?
The account is locked out. Attempts are still arriving after the lockout, which usually means a device or service retrying with an old password, or an attacker who has not noticed the lockout. Find the matching 4740 for the time the lockout began.
What are the top Windows event IDs to monitor for failed logons?
On each computer, 4625 (failed logon) and 4740 (lockout, for local accounts). On domain controllers, 4771 (Kerberos pre-authentication failed), 4776 with a non-zero error code (NTLM failure) and 4740 for domain accounts. Together they cover failures whichever protocol the client used.
Is logon type 3 in event 4625 an attack?
Not necessarily. Type 3 is any network logon, including file shares and mapped drives with old passwords. It points to an attack when many accounts or many attempts come from one source in a short time, or when the source is outside your network.
How do I find the source of failed login attempts?
Read Source Network Address and Workstation Name in the 4625 event. For domain accounts, check the domain controller's 4771 (Kerberos) or 4776 (NTLM) events, and the 4740 lockout event, whose Caller Computer Name field names the machine. If the source is a server, look on it for services, tasks or mapped drives using an old password.
What does status 0xC000006A mean in event 4625?
The account name exists but the password was wrong. Many of them for one account from one address is password guessing; a steady trickle every few minutes is usually a device or service with an old password.
What is the difference between 0xC000006D and 0xC0000064?
0xC000006D is the generic "bad user name or authentication information" status; the Sub Status gives the detail. 0xC0000064 means the user name does not exist at all.
Why does event 4625 show no source IP address?
Local failures have no network source, and some RDP failures with Network Level Authentication are logged before the address is known. Use the Caller Process Name for local failures and the RDP operational logs or firewall logs for remote ones.
How many failed logons indicate a brute-force attack?
There is no fixed number. Dozens of failures in minutes from one address, or failures spread across many account names, are attacks. A few failures an hour for one account from one internal device is usually a stale password.
Sources
- Microsoft Learn: 4625(F) An account failed to log on
- Microsoft Learn: NTSTATUS values
- MITRE ATT&CK: T1110 Brute Force
- Venema Labs lab case: Halden Freight office intrusion, HF-WS01 Security log
Checked 1 December 2026 by Venema Labs against Microsoft's audit documentation and, where an example is shown, the named lab case. Field availability varies by Windows version.
Find event 4625 across every host in minutes.
Load your collections, ask what happened, and check every finding against the event behind it. Free for 7 days.
Request a trial