VeriKQL by Kaushik Saha

AuditLogs joined with BehaviorAnalytics

6 rules join them.

Kinds: inner 5 · leftouter 1. A join with no kind= is innerunique, which keeps one left row per key.

Keys

SourceRecordId == _ItemId2
_ItemId == SourceRecordId2
IPAddress == IPAddress1
UserPrincipalName == InitiatorUPN1

Time conditions after the join

1 rule of 6 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.

MFAModTime between((LogOnTime-30m)..(LogOnTime+1h))1

Rules

Every rule that joins them6

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.