Norwegian energy companies are rotating production secrets after attackers used an Azure API Management flaw to copy them out of the tenant. Microsoft closed the hole. The copies still exist. Other sectors were hit, so this is already a cybersecurity incident for anyone who parked credentials in a gateway policy and called it configuration.

Invalidation is the only recovery. Partner APIs, backend certificates, subscription keys, and every named value a policy injects into an upstream call all have to change. Energy operators get to do that work under regulatory heat. You get to do it on whatever schedule you invent before someone else sets it for you.

The API Gateway Became the Vault

Azure API Management is a traffic cop on paper. In production it is a vault with routing features. Policies need secrets at request time, so teams stuff them into named values. Developer portals mint subscription keys that live for years. Backends get certificates uploaded because mTLS was a ticket someone closed in 2023.

That store sits in the same control plane your cloud admins already trust. A product bug that exposes it skips the plant network entirely. No brute-force against the historian. No malware on the engineering workstation. A read against the gateway, then a quiet replay against whatever those keys open.

SecurityWeek reporting on an Azure API Management flaw used to steal secrets from Norwegian energy firms
Microsoft shut an Azure API Management hole after it was used to pull secrets from energy tenants and other sectors.

Microsoft closed an Azure API Management flaw exploited to target secrets at Norwegian energy companies, with other sectors also affected.

SecurityWeek, November 23, 2026

Gateway theft is dull in the logs. A list operation. An export. A GET that your automation also performs. Threat-protection tools that score exploit kits on laptops will shrug. The follow-on call looks like a partner. Your firewall already allows that path because the integration is blessed.

Defense in depth that ends at network security groups and a WAF is a drawing. The secret left through the management endpoint, then came back dressed as business traffic. If you only instrument the data plane, you will congratulate yourself on clean edge logs while the keys sit in someone else’s notes.

Your Cybersecurity Program Still Hunts Failed Logons

Look at your last on-call week. Failed VPN. RDP dictionary noise. The firewall ticket that auto-closed because ipban dropped the source. That’s the queue cyber security teams still staff overnight. It is also the queue that stays quiet during a secrets-store read.

Austria’s Foreign Ministry took a simpler version of the same punch last week. Attackers breached a public ministry website and took names and official contact details for headquarters staff and missions abroad. That dump is a targeting kit. An APIM subscription key is a targeting kit that also authenticates.

Austrian Foreign Ministry website after a breach that exposed diplomats' official contact details
Austria’s public ministry site leaked diplomat contacts; an API gateway leak hands over the credentials that follow those names.

Standing APIM Contributor on a human or a pipeline identity is how a vendor bug becomes your incident. The patch closes the product hole. Your service principal can still export named values until you revoke it. Security hardening here is unglamorous: privileged identity for the control plane, private management endpoints where you can get them, diagnostic settings that leave the tenant, and an alert that fires when secrets are listed outside a change window.

Threat detection needs signatures that sound like paperwork. APIM named values listed. Subscription keys regenerated by an identity that does not match the runbook. A Git or backup integration pulling policy XML that includes secret material in clear text. If those events only live in Azure’s portal until someone clicks Monitor, you will learn about this the way the energy firms did: from a write-up with your sector in the headline.

Treat developer portals as credential factories. Self-service key issue is a privilege. If a contractor can mint a key that talks to a production backend, that portal belongs in the same review you already give privileged access workstations. Least privilege on the data plane means nothing if the portal will hand a stranger a working token.

Stolen Keys Outlive Microsoft’s Patch

Apply Microsoft’s fix. Then run incident response as if the secrets already left, because for Norwegian energy firms they did, and other sectors were in the blast radius. Rotation is the containment. Logging is the forensics.

Work this in order:

  • Inventory every Azure API Management named value, subscription key, backend credential, and certificate in every subscription you own, including the forgotten development instance that still points at a production callback.
  • Rotate in dependency order: backend passwords and certificates first, then policy named values, then subscription keys, then any token the gateway was minting for partners. Kill the old material. Time-box any dual-run window in hours unless a plant outage is the alternative you have already accepted in writing.
  • Pull APIM diagnostic logs and Azure Activity for list, get, export, and backup operations across the exposure window. Hunt identities you do not recognize and automation that suddenly read more than it writes.
  • Treat partner callbacks as hostile until the new keys are live. If an integration can still authenticate with the old secret, your rotation failed in production.
  • Lock the control plane. No standing APIM Contributor. Private management endpoints where the architecture allows it. Privileged identity for the rest. Diagnostic settings landing in the same SIEM you already use for firewall noise.

Keep brute-force junk from drowning that hunt. ipban still belongs on public SSH and RDP; IPBan Pro can hold that noise so the analyst reading APIM diagnostics is not also clearing dictionary attacks at 2 a.m. Gateway theft arrives as an authorized read.

Prove the old material is dead. Call a backend with a retired subscription key and confirm rejection. Partners will claim they switched. Your test is the evidence.

Norwegian energy teams are in the long tail now: new certificates, angry integrators, and auditors who will ask which named values existed during the window. Microsoft’s patch was a vendor Tuesday. The secrets that copied out are a monitoring problem you will still own next quarter. If a policy can inject a value, you need a way to rotate it without a hero weekend. Build that path while the story still names someone else’s tenant.

Sources

Take Control of Your Server Security

Don't let brute-force attacks slow you down. Try IPBan Pro risk-free for 30 days.

Secure. Automated. Lightweight.

Stay up to date with the latest news, releases and more.

Take Control of Your Server Security

Don't let brute-force attacks slow you down. Try IPBan Pro risk-free for 30 days.

Secure. Automated. Lightweight.