let ioc_lookBack = 1d;
_Im_Dns
| where isnotempty(DnsQuery)
| extend lowerDomain=tolower(DnsQuery)
| join kind=inner (
ThreatIntelIndicators
| where ObservableKey == 'domain-name:value'
| where isnotempty(ObservableValue)
| where SourceSystem == "Google Threat Intelligence"
| where TimeGenerated >= ago(ioc_lookBack)
| summarize LatestIndicatorTime = arg_max(TimeGenerated, *) by Id
| where IsActive == true and (isnull(ValidUntil) or ValidUntil > now())
| extend lowerDomain=tolower(ObservableValue)
) on lowerDomain
| project Domain=ObservableValue, Description=Data.description, Type, TimeGenerated
incidentConfiguration:
groupingConfiguration:
lookbackDuration: 1h
reopenClosedIncident: false
matchingMethod: AllEntities
enabled: true
createIncident: true
query: |
let ioc_lookBack = 1d;
_Im_Dns
| where isnotempty(DnsQuery)
| extend lowerDomain=tolower(DnsQuery)
| join kind=inner (
ThreatIntelIndicators
| where ObservableKey == 'domain-name:value'
| where isnotempty(ObservableValue)
| where SourceSystem == "Google Threat Intelligence"
| where TimeGenerated >= ago(ioc_lookBack)
| summarize LatestIndicatorTime = arg_max(TimeGenerated, *) by Id
| where IsActive == true and (isnull(ValidUntil) or ValidUntil > now())
| extend lowerDomain=tolower(ObservableValue)
) on lowerDomain
| project Domain=ObservableValue, Description=Data.description, Type, TimeGenerated
name: Google Threat Intelligence - Threat Hunting Domain
relevantTechniques:
- T1071
requiredDataConnectors:
- connectorId: ThreatIntelligence
dataTypes:
- ThreatIntelIndicators
entityMappings:
- entityType: DNS
fieldMappings:
- columnName: Domain
identifier: DomainName
queryFrequency: 30m
eventGroupingSettings:
aggregationKind: AlertPerResult
alertDetailsOverride:
alertDescriptionFormat: Correlation found from the {{Type}} table.
alertDisplayNameFormat: Google Threat Intelligence Match
kind: Scheduled
version: 1.0.0
triggerOperator: gt
description: |
'Google Threat Intelligence domain correlation.'
tactics:
- CommandAndControl
queryPeriod: 1d
triggerThreshold: 0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Google Threat Intelligence/Analytic Rules/ThreatHunting/ThreatHuntDomain.yaml
severity: Medium
id: d9e1646c-dc17-4150-ac85-581f5c9cb41f