VeriKQL by Kaushik Saha

4625 An account failed to log on.

Windows Security auditingLogon/Logoff › Audit Account LockoutLogon/Logoff › Audit Logonchecked by code

In Microsoft Sentinel

  • Windows Security Events via AMA · Security Events via Legacy Agent → SecurityEvent ✓ verified by VeriKQL
    SecurityEvent | where EventID == 4625
  • Windows Forwarded Events → WindowsEvent ✓ verified by VeriKQL
    WindowsEvent | where Channel == "Security" | where EventID == 4625

ATT&CK

T1078T1078.002T1110T1110.001T1110.003T1110.004T1133T1534T1621T1669

Every technique MITRE cites this event for in ATT&CK 20.0, computed from MITRE's data.

In Content Hub rules

Used by 14 Content Hub rules that filter for it the way the starter queries do: SecurityEvent 14 · WindowsEvent 0 (+2 by event ID alone)

Rules that filter for it14

Content Hub rules at Azure-Sentinel 9ea9f7c that VeriKQL learns from (they bind cleanly, or are valid Defender XDR advanced hunting). A count of practice, not a recommendation.

In Sigma rules

5 SigmaHQ community rules name this event ID on this log.

Community rules, not Microsoft's, and not checked by VeriKQL (Sigma is not KQL). From SigmaHQ/sigma at f083329, under the Detection Rule License (DRL) 1.1; each rule is credited to its author.

From Advanced Audit Policy Configuration (MicrosoftDocs/windowsserverdocs@ea29ceb, CC-BY-4.0).

Event names, messages and categories are © Microsoft, from Microsoft Learn's documentation sources, used under CC BY 4.0; each page links its source and the commit it was read at. Questions, groupings and notes are VeriKQL's own.