VeriKQL by Kaushik Saha

Rules for T1021

How the 69 rules tagged with T1021 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: T1021.001T1021.002T1021.003T1021.004T1021.006

Tables and parsers

CommonSecurityLog 9Sonrai_Tickets_CL 9Pathlock_TDnR_CL 5SecurityEvent 4Tailscale_Devices_CL 4Tailscale_Network_CL 4WindowsEvent 3AWSSecurityHubFindings 2BehaviorAnalytics 2CloudAppEvents 2CyfirmaIndicators_CL 2DeviceProcessEvents 2GoogleSecOpsDetectionAlerts 2SecurityAlert 2_Im_NetworkSession 2

Filtered columns

Joins

Idioms

arg_max (latest or earliest row per key) 15mv-expand (unpack arrays) 8dcount 7leftanti join (A without B) 6make_set 5make_list 1

Severity

Medium 27High 19Informational 5Low 2

Schedules (analytic rules)

every 5m over 5m 23every 1h over 1h 10every 10m over 10m 4every 15m over 15m 4every 1d over 14d 3every 1d over 8d 2every 1h over 14d 1every 1h over 1d 1every 1h over 2d 1every 5m over 1d 1

Look-back windows in ago()

7d 31h 25m 215m 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.