↳ GitHub sourceAnalytics ruleHigh
Netskope - Impossible Travel Detection (Two Countries in Less Than 1 Hour)
Description
Detects when a user accesses resources from two distinct countries within less than 1 hour, indicating potential credential compromise or VPN abuse.
- Rule type
- Scheduled
- Version
- 1.0.0
- Declared status
- Available
- Query frequency
- 1h
- Query period
- 2h
- Trigger
- gt 0
Declared MITRE coverage
Declared sources
Metadata from the source file. No dependencies inferred from KQL.
Connectors
Data types
KQL query
Original query, unchanged.
let timeWindow = 1h;
NetskopeWebTransactions_CL
| where TimeGenerated > ago(1h)
| where isnotempty(CsUsername) and isnotempty(XCCountry)
| summarize
Countries = make_set(XCCountry),
Locations = make_set(XCLocation),
IPs = make_set(CIp),
MinTime = min(TimeGenerated),
MaxTime = max(TimeGenerated),
EventCount = count()
by CsUsername, bin(TimeGenerated, timeWindow)
| where array_length(Countries) > 1
| extend TimeDiffMinutes = datetime_diff('minute', MaxTime, MinTime)
| where TimeDiffMinutes < 60
| project
TimeGenerated,
User = CsUsername,
DistinctCountries = Countries,
Locations,
SourceIPs = IPs,
TimeDifferenceMinutes = TimeDiffMinutes,
EventCount,
AlertDetails = strcat('User ', CsUsername, ' accessed from ', array_length(Countries), ' countries within ', TimeDiffMinutes, ' minutes')
Declared entities
Related content
Links established from declared identifiers and solution manifests.
Source provenance
GitHubDisplayed values come from files in Azure/Azure-Sentinel. They describe the published template, not your workspace configuration.
- Commit
9800e51↗- Source identifier
d1b88716-3cd4-4585-a9a2-2dd2c9b04ecb
GSTEP / CATALOG TRACKING
Added to catalog : 16 Sept 2026 · 05:49 UTC
Last change observed : 16 Sept 2026 · 05:49 UTC