VeriKQL by Kaushik Saha

Rules for T1098

How the 156 rules tagged with T1098 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: T1098.001T1098.003T1098.004T1098.005T1098.007

Tables and parsers

AuditLogs 20SecurityEvent 15Pathlock_TDnR_CL 14ADOAuditLogs 11OfficeActivity 8IdentityInfo 7WindowsEvent 7AWSCloudTrail 6BehaviorAnalytics 6OktaSSO 6Tailscale_Audit_CL 6AzureActivity 5SQLEvent 5Authomize_v2_CL 4_Im_AuditEvent 4

Filtered columns

Joins

Idioms

make_set 26mv-expand (unpack arrays) 22dcount 15arg_max (latest or earliest row per key) 13leftanti join (A without B) 8join with no kind= (innerunique: duplicate left keys collapse) 4make_list 4

Severity

Medium 49High 33Low 17Informational 6

Schedules (analytic rules)

every 1h over 1h 32every 1d over 1d 18every 15m over 15m 6every 1d over 14d 5every 30m over 30m 5every 1h over 14d 4every 5m over 5m 4every 1d over 25h 2every 1h over 2d 2every 2h over 14d 2every 5m over 1d 2every 10m over 10m 1every 15m over 1d 1every 1d over 2d 1every 1d over 3d 1

Look-back windows in ago()

30m 41h 324h 32d 230d 25m 27d 214d 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.