Norway Says Attackers Targeted Secrets Stored in Microsoft Azure API Management
Norway's NSM says attackers went after secrets in Azure API Management and tells users to rotate them. How to check your gateway version and what to replace.

Underlined words are defined in the KBY Lexicon. Tap or click one to see what it means.
Norway’s National Security Authority (NSM) says an unknown attacker has been actively going after access tokens, secrets and “named values” stored in Microsoft’s Azure API Management (APIM) service, and tells every organisation that runs it to assume those secrets are exposed and rotate them. Equinor and Skagerak Energi, two Norwegian energy companies, are among those hit. NSM says the hole should now be closed, but that it is still unclear how widely it has been used. If your organisation uses APIM, the practical steps are to check the version of your gateway and to replace the credentials stored in it, and both are described below.
#What the Norwegian authority says
NSM published its advice on Friday 20 November and updated it on Monday 23 November. In Norwegian, it says it learned earlier in the week of a weakness in Azure API Management that affects several Norwegian organisations, and that the weakness “should now be closed”. It adds that organisations should still act. NSM says it has worked since the weakness became known to understand its significance and to map how far it reaches, and that it is still uncertain how extensive the exploitation is, and has been. Martin Albert-Hoff, NSM’s director of operational cyber security, is quoted as saying NSM so far has no indication that a compromise, or an attempted one, has hurt deliveries at Norwegian organisations.
API Management is a Microsoft cloud service that companies use to manage and secure the connections between their applications and other systems. In plain terms, it is a doorman for the software behind a firm’s website, apps and partner links. The thing to understand about it is what it holds. An APIM instance can store the keys, tokens and passwords that let those systems talk to each other, and “named values” are the settings it uses to hold such things. NSM’s advice is built around exactly that. It says an unknown party actively went after access tokens, secrets and named values in APIM.
#Who was affected
NSM names Equinor and Skagerak Energi as among the organisations that were hit. It says the weakness was first found by Norway’s energy sector, and it praises Equinor for work that led to early detection and fast sharing with NSM and the sector response teams. It also says the weakness affects several sectors, in Norway and outside it.
Equinor, one of Europe’s biggest energy firms, posted a notice on 17 November at 18:55 CET saying it had detected an ongoing cyber-attack on some IT systems. On 20 November it said the attack had been stopped, that production was running normally and that there was “no indication that data has been stolen or altered”. Its earlier update said the attack did not appear to be aimed specifically at Equinor and that it was not a virus attack, so there was no risk of it spreading. Equinor has reported the matter to the police. Neither Equinor’s page nor NSM’s says in so many words that the two events are the same incident. The Record, a news outlet, reports that Equinor and Skagerak Energi were among those affected by the Microsoft cloud vulnerability, and that Skagerak Energi, which is majority-owned by Statkraft, disclosed a separate cyber-attack on Wednesday saying its operations and power production were not affected. We have not read Skagerak’s own statement, so we rely on The Record for it.
#What Microsoft is reported to have said
This part comes second-hand, and we say so plainly. The Record reports that Microsoft sent customers a non-public security advisory, which a purported recipient shared on Reddit. We could not open that post, so we have not read the advisory. According to The Record’s account of it, Microsoft discovered the issue on 18 November in the older “Classic” tiers of Azure API Management and closed the access path the next day. It also warned that attackers may have reached passwords and other sensitive information held in vulnerable systems before it noticed. It said the problem mainly affected customers who had not followed its security recommendations, or who had stored sensitive data directly in APIM instead of in Azure Key Vault, a separate service built to hold secrets, and that newer versions were not affected.
The Record also reports that on Saturday Microsoft published guidance on finding and replacing potentially exposed credentials in APIM, and that this guidance did not explicitly acknowledge the vulnerability or link it to the Norwegian attacks. Microsoft did not answer The Record’s request for comment, and, per that report, has not said how many customers may have been exposed or whether the same attacker was behind the Norwegian incidents. We have not seen a public Microsoft statement of our own on any of this, and we will update this story if one appears.
#How to check your gateway
NSM’s guidance gives a way to tell whether an APIM instance has been updated. Open the address https://<your-gateway-hostname>/internal-status-0123456789abcdef, using your own gateway’s name, and read the value called RuntimeVersion. NSM says:
- on version 0.52.x, the instance is patched if the last number is 31936 or higher;
- on version 0.53.x, it is patched if the last number is 31938 or higher;
- other patterns, such as 0.53.4608.0 or 0.52.4150.0, mean a V2 or Consumption tier, where the threshold does not apply and the instance is not vulnerable;
- lower numbers are still vulnerable.
If your instance has not been updated, NSM asks you to contact the vendor directly. If you see signs of a compromise, or have confirmed one, it asks you to contact NSM, which is the Norwegian route. UK organisations would report to the National Cyber Security Centre, and we would not wait on a confirmed finding before raising it with whoever runs your cloud account.
#What to do about the secrets
NSM’s central instruction is blunt. It says anyone who has Azure API Management should work from the assumption that their secrets and named values are out of their hands, and that this means rotating all tokens and secrets. We would put the order this way, as our own reading of NSM’s advice and not a Microsoft checklist:
- Find every APIM instance your organisation runs, including ones set up by a project team or a supplier. The ones nobody remembers are the likeliest to be missed.
- Check each one’s version using the steps above.
- List the keys, tokens, passwords and named values stored in each, and replace them at the systems they unlock, not just inside APIM. Changing a value in APIM does nothing if the old key still works at the other end.
- Work out what sits behind each instance. NSM says to map this, so that you know how much could be reached if compromise is later found.
- Look through logs for use of the old credentials from places you do not recognise.
Microsoft’s own rotation guidance is on its tech community blog. We could not read the page ourselves, so check it directly for the exact steps. Moving secrets into Azure Key Vault, as Microsoft is reported to have advised, is worth doing while you are in there.
#Why a small firm should care
Most small businesses do not run API Management, but many rely on a supplier that does, such as a software firm, a payments provider or an agency that built the website’s back end. The question to put to them is simple: “Do you use Azure API Management, and have you rotated the secrets stored in it since 18 November?” Our Cyber Essentials explainer covers the scheme many UK firms are asked to certify to, and it is a reminder that supplier risk is part of your own. We saw a similar pattern, a vendor’s cloud service becoming the way in, in our story on the GL.iNet GoodCloud compromise.
#Our view, and what we do not know
We think NSM is right to tell people to rotate, even though it cannot say how far the weakness was used. The cost of replacing a key is small next to the cost of finding out later that an attacker held it, and tokens and secrets, unlike a patched flaw, stay valid until somebody changes them. The detail we would watch is whether Microsoft publishes its own notice. A warning sent privately to customers, and a rotation guide that does not name the problem, leave many administrators learning of it from the news. We would be wrong to read too much into that, and Microsoft has not commented. What would prove us wrong is a Microsoft statement that the exposure was far narrower than the Norwegian authority fears.
Confirmed by NSM and Equinor: that an unknown actor went after secrets in APIM, that Equinor and Skagerak Energi are among those hit, and that Equinor stopped its attack on 20 November with no sign of data theft. Reported, not confirmed by us: the content of Microsoft’s private advisory, its dates and the Classic-tier detail. Unknown: how many organisations are affected, who is behind it, and whether the Norwegian incidents and the Microsoft advisory are the same event. We will update this story as that changes.
Evidence trail
Sources and verification
Primary documentation and external technical references used in this article.
About this page
Credited to
Dates
Published
Corrections
No corrections are listed for this page. Some review sweeps corrected pages without naming each one; those are in the corrections log.
Recommended reading
Guides from KBY that go with this story.

Education ITReplacing school Wi-Fi: what the DfE wireless standard asks a supplier to provide
9 min read
Education ITClassroom management software for schools: check what your devices already include
9 min read

More news
All news


Artificial IntelligenceIndia’s CERT-In Warns Attackers Are Changing Payment Approval Records
Was this useful?
Reports go to the site owner and are used to correct pages. Corrections are listed at /corrections.
Get new fixes by email.
For IT teams: new runbooks, configuration traps and fixes, and the Microsoft and Apple deadlines coming up, about twice a week.
Comments
Add a thoughtful note on Norway Says Attackers Targeted Secrets Stored in Microsoft Azure API Management. Comments are checked for spam and held for moderation before appearing.