Query Details
id: c3d4e5f6-a7b8-4c9d-0e1f-2a3b4c5d6e7f
name: "Netskope - Threat Intelligence Domain/IP Correlation"
version: 1.0.0
kind: Scheduled
description: |
Correlates Netskope allowed web traffic against active Threat Intelligence indicators.
Matches destination domains and IPs from NetskopeWebTx against ThreatIntelIndicators
to detect allowed connections to known-malicious infrastructure.
MITRE ATT&CK: T1071 (Application Layer Protocol), T1568 (Dynamic Resolution)
severity: High
requiredDataConnectors:
- connectorId: NetskopeWebTransactions
dataTypes:
- NetskopeWebTx_CL
- connectorId: ThreatIntelligence
dataTypes:
- ThreatIntelIndicators
queryFrequency: PT1H
queryPeriod: P1D
triggerOperator: gt
triggerThreshold: 0
tactics:
- CommandAndControl
relevantTechniques:
- T1071
- T1568
query: |
let _NetskopeEmpty = datatable(TimeGenerated:datetime, action_s:string, category_s:string, severity_s:string, malware_name_s:string, malware_type_s:string, threat_name_s:string, user_s:string, domain_s:string, dstip_s:string, srcip_s:string, bytes_uploaded_d:real, bytes_downloaded_d:real, app_s:string, url_s:string, dlp_rule_s:string, dlp_profile_s:string, activity_s:string, file_type_s:string, object_s:string)[];
let TI_IOCs =
ThreatIntelIndicators
| where TimeGenerated > ago(30d)
| where isempty(ValidUntil) or ValidUntil > now()
| where (isnotnull(parse_ipv4(ObservableValue)) or ObservableKey has "domain")
| where isnotempty(ObservableValue)
| summarize
TI_ThreatTypes = make_set(Tags),
TI_Confidence = max(Confidence),
TI_Tags = make_set(Tags)
by IOC_Value = ObservableValue;
union isfuzzy=true _NetskopeEmpty, NetskopeWebTx_CL
| where TimeGenerated > ago(1d)
| where action_s !in ("block", "Block", "blocked", "Blocked")
| where isnotempty(domain_s) or isnotempty(dstip_s)
| extend MatchKey = coalesce(domain_s, tostring(dstip_s))
| summarize
RequestCount = count(),
UniqueUsers = dcount(user_s),
UserList = make_set(user_s, 10),
BytesRecv = sum(todouble(bytes_downloaded_d)),
BytesSent = sum(todouble(bytes_uploaded_d)),
Apps = make_set(app_s, 5),
FirstSeen = min(TimeGenerated),
LastSeen = max(TimeGenerated)
by MatchKey, domain_s, dstip_s
| join kind=inner TI_IOCs on $left.MatchKey == $right.IOC_Value
| project
MatchKey, domain_s, dstip_s,
RequestCount, UniqueUsers, UserList,
BytesRecv, BytesSent, Apps,
TI_ThreatTypes, TI_Confidence, TI_Tags,
FirstSeen, LastSeen
| order by TI_Confidence desc, RequestCount desc
entityMappings:
- entityType: DNS
fieldMappings:
- identifier: DomainName
columnName: domain_s
- entityType: IP
fieldMappings:
- identifier: Address
columnName: dstip_s
customDetails:
RequestCount: RequestCount
TI_Confidence: TI_Confidence
alertDetailsOverride:
alertDisplayNameFormat: "Netskope TI Match - {{MatchKey}} (Confidence: {{TI_Confidence}})"
alertDescriptionFormat: "{{RequestCount}} Netskope allowed requests to TI-listed destination {{MatchKey}} affecting {{UniqueUsers}} users."
incidentConfiguration:
createIncident: true
groupingConfiguration:
enabled: true
reopenClosedIncident: false
lookbackDuration: PT6H
matchingMethod: Selected
groupByEntities:
- DNS
groupByAlertDetails: []
groupByCustomDetails: []
This query is designed to identify potentially malicious web traffic that has been allowed by Netskope, a cloud security platform. Here's a simple breakdown of what it does:
Purpose: The query checks Netskope's allowed web traffic against known threat intelligence indicators to find any connections to malicious domains or IP addresses.
Data Sources: It uses two main data sources:
Process:
Output:
Alerts:
Incident Management:
Overall, this query helps security teams quickly identify and respond to potentially harmful web traffic that has been allowed through Netskope, using up-to-date threat intelligence data.

David Alonso
Released: April 16, 2026
Tables
Keywords
Operators