VeriKQL by Kaushik Saha

Rules for T1071

How the 248 rules tagged with T1071 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: T1071.001T1071.002T1071.003T1071.004

Tables and parsers

ThreatIntelIndicators 70ThreatIntelligenceIndicator 46CommonSecurityLog 34CyfirmaIndicators_CL 20AzureDiagnostics 13_Im_WebSession 13OfficeActivity 10_Im_NetworkSession 10DeviceNetworkEvents 9DnsEvents 9Sonrai_Tickets_CL 9UbiquitiAuditEvent 9_Im_Dns 8SecurityAlert 7W3CIISLog 7

Filtered columns

Joins

Idioms

arg_max (latest or earliest row per key) 136mv-expand (unpack arrays) 40make_list 35make_set 29dcount 15join with no kind= (innerunique: duplicate left keys collapse) 8make-series (time series, anomaly) 2leftanti join (A without B) 1

Severity

Medium 169High 39Low 14Informational 5

Schedules (analytic rules)

every 1h over 14d 104every 5m over 5m 47every 1h over 1h 18every 1d over 1d 9every 4h over 14d 9every 1d over 2d 5every 10m over 10m 4every 30m over 1d 3every 15m over 1h 2every 1d over 14d 2every 1h over 7d 2every 15m over 15m 1every 1h over 1d 1every 1h over 2d 1every 24h over 14d 1

Look-back windows in ago()

24h 121d 51h 55m 314d 27d 215m 130m 13d 14d 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.