Rules for T1548.002
How the 7 rules tagged with T1548.002 are built: the tables they read, what they filter, how they join, and when they run. The most used of each; every rule is listed below.
Tables and parsers
CyfirmaVulnerabilities_CL 4SecurityEvent 2WindowsEvent 1imProcess 1imRegistry 1
Filtered columns
SecurityEvent.EventID4688246571SecurityEvent.CommandLine-encodedCommand1SecurityEvent.ParentProcessNamecmd.exe1powershell.exe1powershell_ise.exe1SecurityEvent.Processfodhelper.exe1WindowsEvent.EventData-encodedCommand1powershell.exe1powershell_ise.exe1pwsh.exe1WindowsEvent.EventData.CommandLine-encodedCommand1WindowsEvent.EventID46881imProcess.ParentProcessNamecmd.exe1powershell.exe1powershell_ise.exe1imProcess.Processfodhelper.exe1imRegistry.EventTypeRegistryKeyCreated1RegistryValueSet1imRegistry.RegistryKeySoftware\Classes\ms-settings\shell\open\command1
Joins
SecurityEvent ⋈ SecurityEventimProcess ⋈ imRegistry
Idioms
arg_max (latest or earliest row per key) 4mv-expand (unpack arrays) 4join with no kind= (innerunique: duplicate left keys collapse) 2
Severity
Medium 5High 2
Schedules (analytic rules)
every 5m over 5m 4every 2h over 2h 2every 12h over 12h 1
Every rule tagged with it
- Potential Fodhelper UAC Bypass (ASIM Version)
- Powershell Empire Cmdlets Executed in Command Line
- CYFIRMA - High Severity Asset based Vulnerabilities Rule Alert
- CYFIRMA - Medium Severity Asset based Vulnerabilities Rule Alert
- CYFIRMA - High Severity Attack Surface based Vulnerabilities Rule Alert
- CYFIRMA - Medium Severity Attack Surface based Vulnerabilities Rule
- Potential Fodhelper UAC Bypass
Rules are from Azure/Azure-Sentinel (MIT licence) at commit 9ea9f7c. VeriKQL stores facts its parser read from each rule and links the rule; it does not copy rule text. Counts are what the rules do: practice, not guidance, and not Microsoft's recommendation.