VeriKQL by Kaushik Saha

Rules for T1566

How the 502 rules tagged with T1566 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: T1566.001T1566.002T1566.003

Tables and parsers

EmailEvents 178CloudAppEvents 78UrlClickEvents 34CyfirmaIndicators_CL 26MessageEvents 25EmailUrlInfo 23CiscoSEGEvent 16TrendMicroCAS 15EmailPostDeliveryEvents 14ThreatIntelIndicators 14MessageUrlInfo 13ThreatIntelligenceIndicator 12CommonSecurityLog 9FileMaliciousContentInfo 9Sonrai_Tickets_CL 9

Filtered columns

Joins

Idioms

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

Severity

Medium 110High 54Low 13Informational 3

Schedules (analytic rules)

every 5m over 5m 59every 1h over 14d 27every 1h over 1h 27every 15m over 4h 10every 10m over 10m 7every 1d over 1d 5every 15m over 15m 4every 30m over 30m 3every 5m over 15m 3every 1h over 1d 2every 1h over 7d 2every 15m over 1d 1every 30m over 1d 1every 5m over 1d 1every 5m over 47h 1

Look-back windows in ago()

30d 16724h 211d 1515m 117d 101h 410d 314d 32d 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.