VeriKQL by Kaushik Saha

AuditLogs joined with SigninLogs

7 rules join them.

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

Keys

AccountObjectId == AccountObjectId1
ActorId == UserId1
DomainName == UserDomain1
IdentityNorm == ActorUpn1
ParsedDeletedUserPrincipalName == ParsedUserPrincipalName1
TargetUserId == UserId1
parsedUser == parsedUser1

Time conditions after the join

4 rules of 7 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.

ChangeTime between (SigninTime .. (SigninTime + 2h))1
LastRiskySignIn <= MFATime1
MfaAddedTimestamp - SignInTimestamp < timeDelta1
SigninLogs_TimeGenerated > Delete_TimeGenerated1

Rules

Every rule that joins them7

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.