VeriKQL by Kaushik Saha

T1547 Boot or Logon Autostart Execution

PersistencePrivilege Escalationon attack.mitre.org

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

How MITRE detects it

DET0274 Boot or Logon Autostart Execution Detection Strategy

AN0764 Windows

Correlation of registry key modification for Run/RunOnce with abnormal parent-child process relationships and outlier execution at user logon or system startup

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

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

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

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

AN0765 Linux

Correlates creation/modification of systemd service files or /etc/init.d scripts with outlier process behavior during boot

MITRE log sourceIn Microsoft Sentinel
auditd:SYSCALLcreatNot mapped to Sentinel yet.
auditd:SYSCALLwriteNot mapped to Sentinel yet.
auditd:SYSCALLExecution of binaries located in /etc/init.d/ or systemd service pathsNot mapped to Sentinel yet.

AN0766 macOS

Observes creation or modification of LaunchAgent/LaunchDaemon property list files combined with anomalous plist payload execution after user logon

MITRE log sourceIn Microsoft Sentinel
macos:unifiedlogObserved loading of new LaunchAgent or LaunchDaemon plistNot mapped to Sentinel yet.
macos:unifiedlogwriteNot mapped to Sentinel yet.
macos:unifiedlogExecution of binary listed in newly modified LaunchAgent plistNot mapped to Sentinel yet.

Content Hub rules tagged with it (24)

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

In Sigma rules

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

Showing 25 of 63: 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.