VeriKQL by Kaushik Saha

T1546 Event Triggered Execution

PersistencePrivilege Escalationon attack.mitre.org

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

How MITRE detects it

DET0010 Behavioral Detection of Event Triggered Execution Across Platforms

AN0024 Windows

Correlates unexpected modifications to WMI event filters, scheduled task triggers, or registry autorun keys with subsequent execution of non-standard binaries by SYSTEM-level processes.

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

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

WinEventLog:WMICreation or modification of __EventFilter, __FilterToConsumerBinding, or CommandLineEventConsumer
  • Windows event logs (Azure Monitor Agent) → Event
    Event | where EventLog in ("Microsoft-Windows-WMI-Activity/Operational")
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel in ("Microsoft-Windows-WMI-Activity/Operational")
WinEventLog:SecurityEventCode=4657
  • Windows Security Events via AMA → SecurityEvent
    SecurityEvent | where EventID in (4657)
  • Security Events via Legacy Agent → SecurityEvent
    SecurityEvent | where EventID in (4657)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel == "Security" | where EventID in (4657)

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.

AN0025 Linux

Detects inotify or auditd configuration changes that monitor system files coupled with execution of script interpreters or binaries by cron or systemd timers.

MITRE log sourceIn Microsoft Sentinel
auditd:SYSCALLInotify watch creation or auditctl changes on /etc/cron* or /lib/systemd/system/Not mapped to Sentinel yet.
linux:syslogExecution of non-standard script or binary by cronNot mapped to Sentinel yet.
auditd:SYSCALLExecution of script interpreters by systemd timer (ExecStart)Not mapped to Sentinel yet.

AN0026 macOS

Correlates launchd plist modifications with subsequent unauthorized script execution or anomalous parent-child process trees involving user agents.

MITRE log sourceIn Microsoft Sentinel
macos:unifiedlogModification of ~/Library/LaunchAgents or /Library/LaunchDaemons plistNot mapped to Sentinel yet.
macos:unifiedlogExecution of launchctl with suspicious argumentsNot mapped to Sentinel yet.

AN0027 IaaS

Monitors cloud function creation triggered by specific audit log events (e.g., IAM changes, object creation), followed by anomalous behavior from new service accounts.

MITRE log sourceIn Microsoft Sentinel
AWS:CloudTrailCreateFunctionNot mapped to Sentinel yet.
AWS:CloudTrailInvokeFunctionNot mapped to Sentinel yet.

AN0028 SaaS

Correlates Power Automate or similar logic app workflows triggered by SaaS file uploads or email rules with data forwarding or anomalous access patterns.

MITRE log sourceIn Microsoft Sentinel
m365:unifiedCreation of Power Automate flow triggered by OneDrive or Exchange eventinterpreted
  • Microsoft 365 (formerly Office 365) → OfficeActivity
    OfficeActivity | where OfficeWorkload in ("Exchange", "SharePoint", "OneDrive", "MicrosoftTeams")
  • Microsoft Defender XDR → CloudAppEvents
    CloudAppEvents

The Office 365 connector brings the Exchange, SharePoint and Teams workloads of the unified audit log; Entra sign-ins in it are in SigninLogs; CloudAppEvents carries Microsoft 365 app activity.

m365:unifiedAutomated forwarding or file sync initiated by a logic appinterpreted
  • Microsoft 365 (formerly Office 365) → OfficeActivity
    OfficeActivity | where OfficeWorkload in ("Exchange", "SharePoint", "OneDrive", "MicrosoftTeams")
  • Microsoft Defender XDR → CloudAppEvents
    CloudAppEvents

The Office 365 connector brings the Exchange, SharePoint and Teams workloads of the unified audit log; Entra sign-ins in it are in SigninLogs; CloudAppEvents carries Microsoft 365 app activity.

AN0029 Office Suite

Detects macros or VBA triggers set to execute on document open or close events, often correlating with embedded payloads or C2 traffic shortly after execution.

MITRE log sourceIn Microsoft Sentinel
m365:officeVBA auto_open, auto_close, or document_open eventsinterpreted
  • Microsoft Defender XDR → DeviceProcessEvents
    DeviceProcessEvents
  • Microsoft Defender XDR → DeviceEvents
    DeviceEvents
  • Microsoft Defender XDR → DeviceNetworkEvents
    DeviceNetworkEvents

The channels describe Office process behaviour on the endpoint.

m365:officeExternal HTTP/DNS connection from Office binary shortly after macro triggerinterpreted
  • Microsoft Defender XDR → DeviceProcessEvents
    DeviceProcessEvents
  • Microsoft Defender XDR → DeviceEvents
    DeviceEvents
  • Microsoft Defender XDR → DeviceNetworkEvents
    DeviceNetworkEvents

The channels describe Office process behaviour on the endpoint.

Content Hub rules tagged with it (32)

Showing 25 of 32.

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

In Sigma rules

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

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