VeriKQL by Kaushik Saha

SigninLogs in Content Hub rules

84 rules read SigninLogs · table guide.

Filtered columns

The most used values; a dashed chip is a string match (has, contains …).

Joined with

Parsing

split on UserPrincipalName26

2 3 4 5 8 9 10 13 14 27 36 48 50 57 58 59 60 61 64 65 67 68 69 72 73 83

split on UserId4
parse_json on AuthenticationDetails3
todynamic on LocationDetails2
parse_json on DeviceDetail1
parse_json on LocationDetails1
parse_json on NetworkLocationDetails1
split on AlternateSignInName1
todynamic on AuthenticationDetails1
todynamic on DeviceDetail1
todynamic on RiskEventTypes1
todynamic on RiskEventTypes_V21

Entity mappings

Account.FullName ← UserPrincipalName32

3 5 7 8 9 10 11 12 13 14 28 29 30 32 56 57 58 59 60 61 62 64 65 67 68 69 71 74 76 77 78 79

IP.Address ← IPAddress30

1 3 5 9 10 12 14 17 18 22 24 36 37 48 50 51 57 60 61 62 68 69 71 72 73 74 76 77 78 79

Account.UPNSuffix ← UPNSuffix8
Account.AadUserId ← UserId7
Account.Name ← Name6
Account.Name ← AccountName4
Account.Name ← UserPrincipalName3
AzureResource.ResourceId ← ResourceId3
CloudApplication.AppId ← AppId2
Account.FullName ← User1
Account.NTDomain ← Domain1
Account.Name ← Identity1
Account.UPNSuffix ← AccountUPNSuffix1
CloudApplication.AppId ← CloudAppId1
CloudApplication.Name ← AffectedPlatform1
CloudApplication.Name ← AppDisplayName1
Host.FullName ← SourceSystem1
IP.Address ← FailedIp1
IP.Address ← IPAddressFirst1

ATT&CK techniques of these rules

T1078 30T1078.004 16T1110 12T1071 6T1190 6T1526 4T1567 4T1098 3T1110.003 3T1110.004 3T1133 3T1556 3T1030 2T1036 2T1087.004 2T1106 2T1136.003 2T1557 2T1566 2T1580 2T1606 2T0834 1T1048 1T1069.003 1T1078.002 1T1087 1T1098.003 1T1110.001 1T1114 1T1134 1T1189 1T1199 1T1203 1T1204 1T1210 1T1212 1T1484.002 1T1485 1T1528 1T1552 1T1552.007 1T1555 1T1556.006 1T1562.007 1T1568 1T1595 1T1621 1

Severity

Medium 35High 11Low 4

Schedules (analytic rules)

every 1d over 1d 14every 1h over 14d 10every 1d over 7d 8every 1h over 1h 8every 1h over 1d 4every 6h over 6h 2every 1d over 8d 1every 1h over 75m 1every 2h over 2h 1every 4h over 14d 1

Look-back windows in ago()

1d 87d 614d 31h 24h 1

Every rule that reads 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.