VeriKQL by Kaushik Saha

GCPAuditLogs in Content Hub rules

15 rules read GCPAuditLogs.

Filtered columns

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

Joined with

Parsing

parse_json on RequestMetadata15

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

split on PrincipalEmail12
parse_json on AuthenticationInfo11
parse_json on AuthorizationInfo7
parse_json on Request7
parse_json on Response6
parse_json on ServiceData3
split on GCPResourceName3
extract on GCPResourceName: firewalls/([^/]+)$2
extract on GCPResourceName: buckets/([^/]+)1
extract on GCPResourceName: managedZones/([^/]+)1
extract on GCPResourceName: regions/([^/]+)1
extract on GCPResourceName: snapshots/([^/]+)1
extract on GCPResourceName: vpnTunnels/([^/]+)1

Entity mappings

Account.FullName ← PrincipalEmail12
Account.Name ← AccountName12
Account.UPNSuffix ← AccountUPNSuffix12
CloudApplication.InstanceName ← ResourceName9
CloudApplication.Name ← ProjectId8
IP.Address ← CallerIpAddress6
IP.Address ← CallerIP3
CloudApplication.Name ← TunnelName2
DNS.DomainName ← DnsName1

ATT&CK techniques of these rules

T1562.001 7T1078 3T1133 3T1059 2T1069 2T1078.004 2T1547 2T1548 2T1552 2T1562.004 2T1562.008 2T1566 2T1046 1T1071.004 1T1090 1T1106 1T1485 1T1489 1T1490 1T1526 1T1530 1T1562.007 1T1567.002 1T1584.002 1

Severity

High 7Medium 2Low 1

Schedules (analytic rules)

every 1h over 1h 6every 1d over 1d 3every 15m over 15m 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.