Microsoft Foundry Subscription Key Impossible Travel
Detects the same API Management subscription key calling Microsoft Foundry from source IPs in two or more countries, far enough apart and fast enough that the hop is not physical travel. Calls are grouped by…
Description
Detects the same API Management subscription key calling Microsoft Foundry from source IPs in two or more countries, far enough apart and fast enough that the hop is not physical travel. Calls are grouped by apim_subscription_id. Requests with no subscription key are ignored, because those are unauthenticated calls and share no key.
Detection logic
Its licence does not clear it for publishing here
Sunturai publishes a detection's own text where the licence it arrived under has been reviewed and permits it, and Elastic License 2.0 has not. The query as its source wrote it, its canonical form and the hash that pins this revision are in the workspace record.
Detection requirements
- Platform
- ContainersESXiIaaSIdentity ProviderLinuxmacOSNetwork DevicesOffice SuiteSaaSWindows
The rule states no platform. This is derived from the 2 ATT&CK techniques it maps to.
Known benign triggers
- A subscription key used from a VPN, a cloud VM, or a corporate proxy whose egress geo is far from the developer's network. A home ISP and a cloud build agent on the same key look like impossible travel.
- One shared subscription key in front of users in different countries. Split that key per application, or raise the distance and speed thresholds in the query.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| learn.microsoft.com/en-us/azure/api-management/diagnostic-logs-reference | 3 |
| www.elastic.co/docs/reference/integrations/azure_ai_foundry | 5 |
From the source
- At source
- Open at source
- Upstream identifier
- 49fcbc29-675b-487e-88a2-655ec067a1cc
- Tagged by the source as
- Mitre Atlas: AML.T0012Mitre Atlas: AML.T0091Data Source: Microsoft FoundryDomain: CloudDomain: GenAIPlatform: AzureResources: Investigation GuideRule Type: ES|QLService: Azure API ManagementTactic: Credential AccessTactic: Initial AccessThreat: Impossible TravelUse Case: Threat Detection
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Oct 6, 2026
- Version
- 1