Windows Security log
4625 An account failed to log on.
A logon attempt failed. Status and SubStatus give the reason in NTSTATUS codes, which separate a wrong password for a real account from a user name that does not exist.
- SecurityLog
- Microsoft-Windows-Security-AuditingSource
- Audit LogonAudit policy
- 2Cases and alerts that use it
Fields to read
| Field | What it tells you |
|---|---|
TargetUserName | The account name that was tried. |
LogonType | How the logon was attempted (3 network, 10 Remote Desktop and so on). |
Status / SubStatus | 0xC000006A wrong password for an existing account, 0xC0000064 no such user, 0xC0000072 account disabled, 0xC0000234 locked out. |
IpAddress | Where the attempt came from. |
Normal
- A handful of typos at the start of the day.
- Repeated failures from one phone or mapped drive that still holds an old password after a password change.
Suspicious
- Failures for many different accounts from one address: password spraying.
- Many failures for one account, then a 4624 success: a guess that worked.
- Failures for user names that do not exist (0xC0000064): someone working from a list.
- Remote Desktop failures from internet addresses.
Find it
Microsoft Sentinel (KQL)
SecurityEvent
| where EventID == 4625Splunk (SPL)
index=wineventlog source="XmlWinEventLog:Security" EventCode=4625Table, index and source names as CyberSim uses them; your workspace may name them differently.
Where you meet it in CyberSim
Cases
- Exposed RDP, credential dumping and shadow copies deleted Advanced · Endpoint
Alerts in the shift
- RDP logon from the internet after repeated failures
The L3 war room
- Macro to domain takeover
ATT&CK techniques it can show
In the glossary
Other Security events
- 4624 An account was successfully logged on.
- 4634 An account was logged off.
- 4661 A handle to an object was requested.
- 4662 An operation was performed on an object.
- 4663 An attempt was made to access an object.
- 4672 Special privileges assigned to new logon.
- 4688 A new process has been created.
- 4698 A scheduled task was created.
- 4720 A user account was created.
- 4728 A member was added to a security-enabled global group.
- 4768 A Kerberos authentication ticket (TGT) was requested.
- 4769 A Kerberos service ticket was requested.
- 4886 Certificate Services received a certificate request.
- 4887 Certificate Services approved a certificate request and issued a certificate.
- 5136 A directory service object was modified.
- 5145 A network share object was checked to see whether client can be granted desired access.
- 6416 A new external device was recognized by the System.
Source: Microsoft Learn: event 4625