VeriKQL by Kaushik Saha

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

Joins

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

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.