let ioc_lookBack = 1d;
_Im_NetworkSession
| where isnotempty(DstIpAddr)
| join kind=inner (
ThreatIntelIndicators
| where ObservableKey == 'ipv4-addr: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())
) on $left.DstIpAddr == $right.ObservableValue
| project NetworkIP=ObservableValue, Description=Data.description, Type, TimeGenerated
query: |
let ioc_lookBack = 1d;
_Im_NetworkSession
| where isnotempty(DstIpAddr)
| join kind=inner (
ThreatIntelIndicators
| where ObservableKey == 'ipv4-addr: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())
) on $left.DstIpAddr == $right.ObservableValue
| project NetworkIP=ObservableValue, Description=Data.description, Type, TimeGenerated
entityMappings:
- entityType: IP
fieldMappings:
- columnName: NetworkIP
identifier: Address
triggerThreshold: 0
name: Google Threat Intelligence - Threat Hunting IP
severity: Medium
relevantTechniques:
- T1071
alertDetailsOverride:
alertDisplayNameFormat: Google Threat Intelligence Match
alertDescriptionFormat: Correlation found from the {{Type}} table.
incidentConfiguration:
createIncident: true
groupingConfiguration:
lookbackDuration: 1h
matchingMethod: AllEntities
enabled: true
reopenClosedIncident: false
queryPeriod: 1d
tactics:
- CommandAndControl
requiredDataConnectors:
- connectorId: ThreatIntelligence
dataTypes:
- ThreatIntelIndicators
queryFrequency: 30m
version: 1.0.0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Google Threat Intelligence/Analytic Rules/ThreatHunting/ThreatHuntIp.yaml
id: 7edb2abb-7ef7-4685-92eb-a628703ccf9f
kind: Scheduled
description: |
'Google Threat Intelligence IP correlation.'
eventGroupingSettings:
aggregationKind: AlertPerResult
triggerOperator: gt