VeriKQL by Kaushik Saha

T1078 Valid Accounts

Initial AccessPersistencePrivilege EscalationStealthon attack.mitre.org

ATT&CK Enterprise 20.0 · 20.1 released, update in review

How MITRE detects it

DET0560 Detection of Valid Account Abuse Across Platforms

AN1543 Windows

Detection of compromised or misused valid accounts via anomalous logon patterns, abnormal logon types, and inconsistent geographic or time-based activity across Windows endpoints.

MITRE log sourceIn Microsoft Sentinel
WinEventLog:SecurityEventCode=4624
  • Windows Security Events via AMA → SecurityEvent
    SecurityEvent | where EventID in (4624)
  • Security Events via Legacy Agent → SecurityEvent
    SecurityEvent | where EventID in (4624)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel == "Security" | where EventID in (4624)

The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only.

WinEventLog:SecurityEventCode=4776, 4625
  • Windows Security Events via AMA → SecurityEvent
    SecurityEvent | where EventID in (4776, 4625)
  • Security Events via Legacy Agent → SecurityEvent
    SecurityEvent | where EventID in (4776, 4625)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel == "Security" | where EventID in (4776, 4625)

The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only.

WinEventLog:SysmonEventCode=1
  • Windows event logs (Azure Monitor Agent) → Event
    Event | where Source == "Microsoft-Windows-Sysmon" | where EventID in (1)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Provider == "Microsoft-Windows-Sysmon" | where EventID in (1)

Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent.

AN1544 Linux

Detection of valid account misuse through SSH logins, sudo/su abuse, and service account anomalies outside expected patterns.

MITRE log sourceIn Microsoft Sentinel
auditd:SYSCALLexecveNot mapped to Sentinel yet.
NSM:Connectionssshd or PAM loginsNot mapped to Sentinel yet.

AN1545 macOS

Detection of interactive and remote logins by service accounts or users at unusual times, with unexpected child process activity.

MITRE log sourceIn Microsoft Sentinel
macos:unifiedlogloginwindow, sshdNot mapped to Sentinel yet.
macos:unifiedlogexec logsNot mapped to Sentinel yet.

AN1546 Identity Provider

Detection of valid account abuse in IdP logs via geographic anomalies, impossible travel, risky sign-ins, and multiple MFA attempts or failures.

MITRE log sourceIn Microsoft Sentinel
saas:oktaSign-in logs / audit eventsNot mapped to Sentinel yet.

AN1547 Containers

Detection of containerized service accounts or compromised kubeconfigs being used for cluster access from unexpected nodes or IPs.

MITRE log sourceIn Microsoft Sentinel
kubernetes:auditauthentication.k8s.ioNot mapped to Sentinel yet.

Content Hub rules tagged with it (459)

Showing 25 of 459.

Rules tagged with this technique (or a sub-technique) in their metadata. Whether one fits your connectors is the coverage view (M2).

How the Content Hub rules for T1078 are built: their tables, filters, joins, schedules and windows.

In Sigma rules

96 SigmaHQ community rules name it or one of its sub-techniques in their tags.

Showing 25 of 96: stable rules first, then by level.

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.

Mitigations

Sub-techniques

MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.