VeriKQL by Kaushik Saha

SecurityAlert in Content Hub rules

65 rules read SecurityAlert · table guide.

Filtered columns

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

Joined with

Parsing

parse_json on ExtendedProperties37

1 2 7 8 9 10 12 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 42 43 44 45 47 48 61 64 65

parse_json on Entities23

1 2 4 5 6 11 14 15 16 33 34 35 36 46 48 56 57 59 60 61 62 63 64

todynamic on Entities18

1 2 13 33 34 35 36 38 39 40 41 47 49 50 51 52 53 54

parse_json on RemediationSteps15

18 19 20 21 22 23 24 25 26 27 28 29 30 31 32

split on CompromisedEntity9
parse_json on ExtendedLinks6
extract on Entities: \b(?:\d{1,3}\.){3}\d{1,3}\b1
extract on Entities: \b[\w\.\-]+@[\w\.\-]+\b1
extract on Entities: \d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}1

Entity mappings

Host.FullName ← CompromisedEntity8
Account.UPNSuffix ← AccountUPNSuffix2
Account.FullName ← AccountName1
Account.FullName ← UserPrincipalName1
Account.Name ← AccountName1
Account.Name ← Name1
AzureResource.ResourceId ← _ResourceId1
FileHash.Algorithm ← FileHashType1
FileHash.Value ← FileHash1
Host.DnsDomain ← HostNameDomain1
Host.FullName ← Hostname1
Host.HostName ← Host1
Host.HostName ← HostName1
Host.NTDomain ← HostNameDomain1

ATT&CK techniques of these rules

T1078 13T1071 7T1566 5T0842 4T1486 4T1567 4T1190 3T1204 3T1219 3T1569 3T0858 2T0886 2T1003 2T1021 2T1053 2T1195 2T1485 2T1548 2T0806 1T0814 1T0839 1T0855 1T0857 1T0881 1T0882 1T1046 1T1048 1T1052 1T1059 1T1069 1T1078.004 1T1106 1T1110 1T1114.002 1T1134 1T1137 1T1189 1T1489 1T1526 1T1547 1T1552 1T1578 1T1629 1T1639 1

Severity

Medium 26High 25Low 3

Schedules (analytic rules)

every 1d over 1d 19every 1h over 14d 10every 1h over 1h 8every 5m over 5m 5every 6h over 6h 4every 1d over 14d 3every 3h over 3h 2every 7d over 7d 2

Look-back windows in ago()

1d 4

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.