let ioc_lookBack = 1d;
_Im_WebSession
| where isnotempty(Url)
| extend lowerUrl=tolower(Url)
| join kind=inner (
ThreatIntelIndicators
| where ObservableKey == 'url: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 lowerUrl=tolower(ObservableValue)
) on lowerUrl
| project Url=ObservableValue, Description=Data.description, Type, TimeGenerated
eventGroupingSettings:
aggregationKind: AlertPerResult
triggerThreshold: 0
entityMappings:
- entityType: URL
fieldMappings:
- identifier: Url
columnName: Url
requiredDataConnectors:
- dataTypes:
- ThreatIntelIndicators
connectorId: ThreatIntelligence
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Google Threat Intelligence/Analytic Rules/ThreatHunting/ThreatHuntUrl.yaml
incidentConfiguration:
createIncident: true
groupingConfiguration:
enabled: true
reopenClosedIncident: false
matchingMethod: AllEntities
lookbackDuration: 1h
name: Google Threat Intelligence - Threat Hunting Url
alertDetailsOverride:
alertDisplayNameFormat: Google Threat Intelligence Match
alertDescriptionFormat: Correlation found from the {{Type}} table.
relevantTechniques:
- T1566
query: |
let ioc_lookBack = 1d;
_Im_WebSession
| where isnotempty(Url)
| extend lowerUrl=tolower(Url)
| join kind=inner (
ThreatIntelIndicators
| where ObservableKey == 'url: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 lowerUrl=tolower(ObservableValue)
) on lowerUrl
| project Url=ObservableValue, Description=Data.description, Type, TimeGenerated
version: 1.0.0
queryPeriod: 1d
kind: Scheduled
id: 89290690-54c4-4196-91c5-d32b1df5d873
description: |
'Google Threat Intelligence Url correlation.'
queryFrequency: 30m
severity: Medium
triggerOperator: gt
tactics:
- InitialAccess