# Azure API Management (APIM Classic) Flaw Exploited to Target Secrets at Norwegian Energy Firms (No CVE Assigned)

> Norway's NSM reports an unknown actor actively targeted access tokens, secrets and named values stored in Azure API Management (APIM) Classic (v1) instances; Equinor and Skagerak Energi are among the affected organizations and other sectors in Norway and abroad are impacted. Microsoft identified the issue on 2026-11-18 and closed the access path on 2026-11-19, but customers must still treat APIM-held secrets as exposed and rotate them.

- **Published:** 2026-11-23T16:32:07Z
- **Last reviewed:** 2026-11-23T20:01:48.487Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-6712
- **ID:** TL-2026-6712
- **Severity:** HIGH
- **Category:** CLOUD
- **Status:** ACTIVE
- **Detections:** 9 (1 shown free below) · **IOCs:** 16

## Description

Norway's National Security Authority (NSM) published guidance on 2026-11-20 (updated 2026-11-23) stating that an unidentified threat actor has actively gone after access tokens, secrets and named values in Azure API Management (APIM). NSM says the vulnerability is now closed but that it remains unclear how extensively it has been exploited, and that several sectors in Norway and abroad are affected. Equinor detected an attack on 2026-11-17 (it said it found no indication that data was stolen or altered and that production was unaffected; it did not appear to target Equinor specifically) and Skagerak Energi disclosed a possible attempted attack on 2026-11-18 (no operational impact, no indication of information compromise). NSM credits the energy sector, and Equinor in particular, with early detection and fast information sharing. No CVE, CVSS score or public Microsoft advisory has been issued; the root cause is not publicly documented.

Per a non-public Microsoft customer notification (shared on Reddit and reported by The Register, The Record and SecurityWeek), Microsoft identified the security issue on 2026-11-18 and automatically applied a mitigation closing the access path on 2026-11-19. Only APIM Classic tiers are affected; v2 tiers are not. Exposure was tied to Classic instances that did not follow Microsoft's network security guidance or that stored secrets directly in APIM instead of referencing Azure Key Vault. Potentially exposed secrets include named values, client secrets for identity providers and OpenID Connect providers, subscription keys, and tokens used to call the direct management APIs. Microsoft stated that customers were exposed and an unauthorized party could have used the issue to access secrets before Microsoft identified it. Microsoft has not said whether the same actor was behind the Equinor and Skagerak incidents.

Practitioner analysis (Anders Kristiansen, 2026-11-21; Marius Sandbu, 2026-11-22) points to the legacy direct Management API (<instance>.management.azure-api.net), which Microsoft retired in March 2025 but which remained reachable. It authenticates with a SharedAccessSignature token in the Authorization header signed with the instance's tenant access key rather than Entra ID, bypasses Entra ID and Azure RBAC, and its calls are not recorded in the ARM Activity log. Sandbu reports the endpoint stayed active even with 'Enable Management REST API' set to No, and lists *.data.azure-api.net as another endpoint that must not be reachable around a WAF. These are practitioner interpretations: neither NSM nor Microsoft has published the exploitation mechanism, so the link between this endpoint and the actual flaw is unconfirmed. Sandbu assesses the likely goal as service principals, API keys and subscription keys, including keys to LLM backends that sit behind APIM gateways; this is his read, not an established finding. Credentials lifted from APIM could be used against external services, with the blast radius depending on each credential's permissions.

NSM provides a version test: browse to https://<gateway-hostname>/internal-status-0123456789abcdef and read RuntimeVersion. Runtime 0.52.x is patched at build number 31936 or higher and 0.53.x at 31938 or higher; lower numbers remain vulnerable, and V2 or Consumption-style version strings are described as not subject to the threshold. (Sandbu, by contrast, counts Consumption as part of v1; scope for Consumption should be confirmed with Microsoft.) NSM recommends assuming all secrets and named values are compromised and rotating all tokens and secrets, mapping what data sits behind each APIM instance, verifying the instance is updated or contacting the provider, and contacting NSM if compromise is suspected. Microsoft published credential-rotation guidance on 2026-11-21 without acknowledging the vulnerability.

No attacker infrastructure (IPs, domains, hashes, user agents) has been published, so no network IOCs were available to correlate against BeaconBeagle. The indicators listed are defender-side artifacts: endpoints, API operations and log operations useful for scoping and hunting, not confirmed attacker infrastructure.

## MITRE ATT&CK

- T1190 Exploit Public-Facing Application
- T1078.004 Cloud Accounts
- T1528 Steal Application Access Token
- T1552 Unsecured Credentials
- T1555.006 Cloud Secrets Management Stores
- T1550.001 Application Access Token
- T1098 Account Manipulation
- T1212 Exploitation for Credential Access

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**APIM Secret-Listing Operations by Single Caller (Named Values, Subscription Keys, Tenant and IdP Secrets)** (`TL-2026-6712-SPL-001`)

TL-2026-6712 (Azure API Management Classic secrets targeting, Equinor/Skagerak Energi). Fires when one caller/source IP invokes the APIM ARM operations that reveal secrets (NAMEDVALUES/LISTVALUE, SUBSCRIPTIONS/LISTSECRETS, TENANT/LISTSECRETS, IDENTITYPROVIDERS/LISTSECRETS) three or more times in 24h or spans two or more distinct secret-listing operations. Secret enumeration is the observable outcome of an actor targeting access tokens, secrets and named values. The legacy direct Management API is reportedly not logged in the ARM Activity log, so absence of hits does not prove safety.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1552, T1555.006, T1528
- **Data sources:** azure_activity_log, azure:monitor:activity, AzureActivity
- **Severity:** high
- **Confidence:** medium

### Splunk SPL

```spl
index=azure sourcetype="azure:monitor:activity" earliest=-24h
    (operationName="MICROSOFT.APIMANAGEMENT/SERVICE/NAMEDVALUES/LISTVALUE/ACTION"
     OR operationName="MICROSOFT.APIMANAGEMENT/SERVICE/SUBSCRIPTIONS/LISTSECRETS/ACTION"
     OR operationName="MICROSOFT.APIMANAGEMENT/SERVICE/TENANT/LISTSECRETS/ACTION"
     OR operationName="MICROSOFT.APIMANAGEMENT/SERVICE/IDENTITYPROVIDERS/LISTSECRETS/ACTION")
| eval op=upper(operationName), src_ip=coalesce(callerIpAddress, 'claims.ipaddr')
| stats count AS events dc(op) AS distinct_ops values(op) AS ops dc(resourceId) AS apim_instances min(_time) AS first_seen max(_time) AS last_seen by caller src_ip
| where events>=3 OR distinct_ops>=2
| eval first_seen=strftime(first_seen,"%F %T"), last_seen=strftime(last_seen,"%F %T")
| sort - events
```

### Microsoft KQL

```kql
let SecretOps = dynamic([
    "MICROSOFT.APIMANAGEMENT/SERVICE/NAMEDVALUES/LISTVALUE/ACTION",
    "MICROSOFT.APIMANAGEMENT/SERVICE/SUBSCRIPTIONS/LISTSECRETS/ACTION",
    "MICROSOFT.APIMANAGEMENT/SERVICE/TENANT/LISTSECRETS/ACTION",
    "MICROSOFT.APIMANAGEMENT/SERVICE/IDENTITYPROVIDERS/LISTSECRETS/ACTION"]);
AzureActivity
| where TimeGenerated > ago(24h)
| where toupper(OperationNameValue) in (SecretOps)
| where ActivityStatusValue in~ ("Success", "Succeeded")
| summarize Events=count(), DistinctOps=dcount(toupper(OperationNameValue)), Ops=make_set(toupper(OperationNameValue)), Instances=dcount(ResourceId), FirstSeen=min(TimeGenerated), LastSeen=max(TimeGenerated) by Caller, CallerIpAddress
| where Events >= 3 or DistinctOps >= 2
| order by Events desc
```

### Sigma

```yaml
title: Azure APIM Secret-Listing Operation Invoked
id: 3f6c1d2e-8a41-4b7e-9c53-1a2b7e4d9f01
status: experimental
description: Detects ARM operations that return APIM secrets (named values, subscription keys, tenant access secrets, identity provider client secrets). Single event rule; apply count and baseline correlation in the SIEM and review unexpected callers.
references:
    - https://nsm.no/aktuelt/nsm-deler-tiltak-mot-sarbarhet-i-azure-api-management
    - https://anderskristiansen.com/post/2026/apim-legacy-access/
    - https://msandbu.org/azure-apim-vulnerabilty/
author: Threadlinqs Team
date: 2026-11-23
tags:
    - attack.credential-access
    - attack.t1552
    - attack.t1555.006
    - attack.t1528
logsource:
    product: azure
    service: activitylogs
detection:
    selection:
        operationName:
            - 'MICROSOFT.APIMANAGEMENT/SERVICE/NAMEDVALUES/LISTVALUE/ACTION'
            - 'MICROSOFT.APIMANAGEMENT/SERVICE/SUBSCRIPTIONS/LISTSECRETS/ACTION'
            - 'MICROSOFT.APIMANAGEMENT/SERVICE/TENANT/LISTSECRETS/ACTION'
            - 'MICROSOFT.APIMANAGEMENT/SERVICE/IDENTITYPROVIDERS/LISTSECRETS/ACTION'
    condition: selection
falsepositives:
    - Infrastructure-as-code pipelines and approved admins reading named values
    - Backup or configuration-export tooling that lists secrets
level: medium

```

**Known false positives:**

- Infrastructure-as-code pipelines or approved administrators reading/exporting named values and subscription keys
- Scheduled credential-rotation runs following Microsoft/NSM rotation guidance (expect a burst from the rotation identity)

**Tuning notes:** Allowlist known automation identities and admin source IPs in the caller/src_ip output; lower events>=3 to events>=1 on production APIM instances; expect a legitimate spike during the post-advisory credential rotation and exclude that identity for the rotation window only. Requires Azure Activity logs ingested via the Splunk Add-on for Microsoft Cloud Services (adjust index/sourcetype to your deployment).

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- APIM Gateway Internal-Status Path Probe from Non-Admin Source (locked: unlock with TL Creds)
- APIM Gateway Trace Requests from New Caller/Subscription Pair (locked: unlock with TL Creds)
- Endpoint Connections to APIM Legacy Management and Data Endpoints (locked: unlock with TL Creds)
- Proxy Traffic to APIM Legacy Management or Data Endpoint (locked: unlock with TL Creds)
- APIM Tenant Access or Identity Provider Secret Listing (locked: unlock with TL Creds)
- Key Vault Secret Enumeration (SecretList / SecretListVersions) on APIM-Referenced Vaults (locked: unlock with TL Creds)
- Key Vault Secret Reads on APIM-Linked Vaults by Newly Seen Caller (30-Day Baseline) (locked: unlock with TL Creds)
- Service Principal Sign-In from Newly Seen Source IP (Reuse of Credentials Lifted from APIM) (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sources

- [NSM: NSM deler tiltak mot sårbarhet i Azure API Management](https://nsm.no/aktuelt/nsm-deler-tiltak-mot-sarbarhet-i-azure-api-management)
- [SecurityWeek: Azure Flaw Exploited to Target Secrets at Norwegian Energy Firms](https://www.securityweek.com/azure-flaw-exploited-to-target-secrets-at-norwegian-energy-firms/)
- [The Register: Norway links energy firm cyberattacks to critical Azure API Management flaw](https://www.theregister.com/security/2026/11/23/norway-links-energy-firm-cyberattacks-to-critical-azure-api-management-flaw/5311598)
- [The Record: Norway says hackers exploited Microsoft security flaw to attack energy firms Equinor, Skagerak Energi](https://therecord.media/norway-microsoft-cyberattack-equinor)
- [Cloud Securityblog (Anders Kristiansen): Azure API Management advisory: what to check and how to hunt after recent attacks](https://anderskristiansen.com/post/2026/apim-legacy-access/)
- [msandbu.org (Marius Sandbu): Azure APIM vulnerability](https://msandbu.org/azure-apim-vulnerabilty/)
- [Equinor: Equinor detected cyber attack](https://www.equinor.com/news/20261711-equinor-detected-cyber-attack)
- [Skagerak Energi: Skagerak Energi utsatt for forsøk på cyberangrep](https://www.skagerakenergi.no/presse/pressemeldinger/skagerak-energi-utsatt-for-forsok-pa-cyberangrep)
- [SecurityWeek: In Other News (Equinor stops cyberattack as Skagerak Energi reports attempted intrusion)](https://www.securityweek.com/in-other-news-norwegian-energy-firm-cyberattacks-supercomputer-hack-new-nightmare-eclipse-exploit/)
- [Microsoft Tech Community: Rotating credentials in Azure API Management](https://techcommunity.microsoft.com/blog/integrationsonazureblog/rotating-credentials-in-azure-api-management/4575478)
- [Reddit r/sysadmin: Critical security advisory affecting APIM (customer-shared Microsoft notification)](https://www.reddit.com/r/sysadmin/comments/1y2n689/critical_security_advisory_affecting_apim/)
- [Microsoft Learn: Direct management API retirement (March 2025)](https://learn.microsoft.com/en-us/azure/api-management/breaking-changes/direct-management-api-retirement-march-2025)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-6712
