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