VeriKQL by Kaushik Saha

_Im_Dns joined with ThreatIntelligenceIndicator

2 rules join them.

Kinds: (default: innerunique) 1 · innerunique 1. A join with no kind= is innerunique, which keeps one left row per key.

Keys

DomainName == DnsQuery1
IoC == IoC1

Time conditions after the join

2 rules of 2 compare a datetime column of one side with one of the other in a where after the join. The others bound only each side's own window, or not at all.

DNS_TimeGenerated < ExpirationDateTime1
imDns_mintime < ExpirationDateTime1

Rules

Every rule that joins them2

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.