VeriKQL by Kaushik Saha

T1078.003 Local Accounts

Initial AccessPersistencePrivilege EscalationStealthon attack.mitre.org

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

How MITRE detects it

DET0407 Detection of Local Account Abuse for Initial Access and Persistence

AN1137 Windows

Detects anomalous usage of local accounts to log into a system, especially accounts not typically used interactively or outside business hours.

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

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

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

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

AN1138 Linux

Detects interactive or service logins from local accounts outside expected operational context or at anomalous times.

MITRE log sourceIn Microsoft Sentinel
auditd:USER_LOGINUSER_LOGINNot mapped to Sentinel yet.
linux:authsshd loginNot mapped to Sentinel yet.

AN1139 macOS

Detects abnormal or rare logins via local accounts through system or remote mechanisms such as SSH.

MITRE log sourceIn Microsoft Sentinel
macos:unifiedlogloginwindow or sshdNot mapped to Sentinel yet.

Content Hub rules tagged with it (3)

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.003 are built: their tables, filters, joins, schedules and windows.

In Sigma rules

5 SigmaHQ community rules name it in their tags.

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

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.