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