VeriKQL by Kaushik Saha

Rules for T1059

How the 120 rules tagged with T1059 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.

Sub-techniques: T1059.001T1059.003T1059.004T1059.005T1059.006T1059.007

Tables and parsers

SecurityEvent 13Sonrai_Tickets_CL 9DeviceProcessEvents 7Syslog 7CyfirmaIndicators_CL 6AzureActivity 4CyfirmaVulnerabilities_CL 4DeviceEvents 4Pathlock_TDnR_CL 4WindowsEvent 4AzureDiagnostics 3ContrastADRAttackEvents_CL 3DynatraceSecurityProblems 3MorphisecAlerts_CL 3_Im_NetworkSession 3

Filtered columns

Joins

Idioms

arg_max (latest or earliest row per key) 15make_set 15mv-expand (unpack arrays) 12dcount 7join with no kind= (innerunique: duplicate left keys collapse) 3arg_min (latest or earliest row per key) 1leftanti join (A without B) 1make-series (time series, anomaly) 1make_list 1

Severity

Medium 50High 40Low 6Informational 2

Schedules (analytic rules)

every 5m over 5m 32every 1h over 1h 21every 1d over 1d 20every 15m over 15m 3every 10m over 10m 2every 12h over 12h 2every 6h over 6h 2every 15m over 1d 1every 1d over 14d 1every 1h over 14d 1every 30m over 1d 1every 30m over 1h 1every 30m over 30m 1every 5m over 1d 1

Look-back windows in ago()

1h 324h 35m 37d 310m 114d 11d 12d 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.