VeriKQL by Kaushik Saha

Rules for T1098.003

How the 39 rules tagged with T1098.003 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

AWSCloudTrail 28AuditLogs 5AzureActivity 2SlackAudit 2AADServicePrincipalSignInLogs 1AWSSecurityHubFindings 1CloudAuditEvents 1CloudProcessEvents 1SigninLogs 1

Filtered columns

Joins

Idioms

mv-expand (unpack arrays) 25make_set 3dcount 2leftanti join (A without B) 2arg_min (latest or earliest row per key) 1

Severity

Medium 24High 9

Schedules (analytic rules)

every 1d over 1d 25every 1h over 1h 2every 1h over 2h 2every 2h over 2h 2

Look-back windows in ago()

24h 2

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.