Breaches and incidents

Norway links Equinor and Skagerak Energi attacks to Azure API Management flaw

Norway's National Security Authority links attacks on two energy companies to a critical Azure API Management flaw, which Microsoft says affects only Classic tiers, and tells organisations to assume secrets were exposed.

By Junglewise News DeskPublished 5 min read
An electrical substation with transformers, insulators and power lines against a blue sky, shot through a fence
Photo by Jose Manuel Esp on Unsplash

Norway's National Security Authority (NSM) has tied cyberattacks on the state-controlled energy company Equinor and the hydropower firm Skagerak Energi to a critical vulnerability in Microsoft Azure API Management, The Register reported. Attackers were caught pulling secrets out of Azure API Management (APIM) instances and carrying out administrative operations, prompting Microsoft to issue a critical advisory.

The practical consequence is wider than two companies. According to a nonpublic Microsoft advisory seen by The Register, only customers on Azure API Management Classic tiers are affected, not Azure API Management v2, and Microsoft said its investigation found that an unauthorised party could have reached secrets held in those Classic instances before the issue was identified. NSM says the flaw touches several sectors in Norway and others outside the country, and is in contact with national and international partners.

Equinor detected an attack on its IT systems on 18 November and said it was working to contain it, The Record reported. Oil and gas production was not disrupted, the company said, and it saw no indication that data had been stolen or that employees, business partners or suppliers had been affected. Internal services were another matter: spokesperson Ellen Maria Skjelsbæk told the Norwegian news agency NTB that staff could have trouble reaching corporate applications and IT services, although the company retained access to its systems. Reuters reported, citing an unnamed source at Equinor, that internal email was down.

Equinor has not named the attackers, explained how they got in, or said which parts of its IT estate were touched. It did say the incident involved no computer virus, and so carried no risk of spreading by viral infection.

What to do now

If your organisation runs Azure API Management on a Classic tier, treat the stored secrets as exposed and work through the following.

  1. Rotate everything. NSM advises assuming that secrets and named values in APIM were exposed, and rotating all tokens and secrets. That covers named values, client secrets belonging to identity and OpenID Connect providers, subscription keys, and any token used for direct calls to the management APIs.
  2. Check your runtime version. NSM believes the vulnerability is now closed, but advises comparing your instance's runtime version against the published patch thresholds and contacting your provider if it is still unpatched.
  3. Investigate for compromise. Microsoft applied a mitigation automatically, but said customers still need to determine whether their own instances were compromised before that mitigation landed. Look at activity before 19 November.
  4. Map what sits behind each instance. NSM recommends working out which data and systems are reachable through every APIM instance, so you can judge how far a compromise could have reached. As one security expert, Anders Kristiansen, warned, stolen credentials could open the way to services behind APIM, depending on what the credential allows and whether it is still valid.
  5. Hunt for instances nobody owns. Some customers told The Register that development and test deployments, long forgotten but still running, may put additional organisations in scope. The full extent of exploitation is not yet clear.
  6. Move secrets out of APIM. Microsoft tied the exposure to Classic-tier setups that either ignored its guidance on network security or held secrets inside APIM instead of pulling them from Azure Key Vault. Correcting that configuration limits the damage next time.

Technical details

The vulnerability affects Azure API Management Classic tiers only. Azure API Management v2 is not affected, according to the nonpublic Microsoft advisory described by The Register. Microsoft has not published a CVE identifier in the material reported so far.

Microsoft said in its advisory: "Our investigation found that customers were exposed and an unauthorized party could have used the issue to access secrets stored in Azure API Management Classic instances before Microsoft identified the security issue." The company said it identified the security issue on 18 November and automatically applied a mitigation closing the access path the next day, 19 November. Microsoft did not immediately respond to The Register's request for comment.

The secrets potentially within reach include named values, client secrets belonging to identity and OpenID Connect providers, subscription keys, and the tokens used for direct calls to the management APIs. Microsoft connected the exposure to Classic-tier setups that either ignored its guidance on network security or held secrets inside APIM instead of pulling them from Azure Key Vault.

Observed attacker behaviour, per Microsoft's advisory, consisted of harvesting secrets from APIM instances and performing administrative operations. No indicators of compromise such as addresses, hashes or file names have been published.

NSM says Norway's energy sector was the first to spot the vulnerability, and it credited Equinor for detecting the problem early and sharing information quickly. It also warned that increasing use of artificial intelligence raises the risk of further exploitation.

Equinor is 67 percent owned by the Norwegian government, employs roughly 25,000 people and operates in more than 20 countries across oil and gas production, transportation and renewable energy. The company said it was working with Norwegian national security authorities on the investigation and containment, and that it was too early to say how long recovery would take. In its own account, efforts continued to shut the attack down and return the affected systems to full integrity.

The incident arrives against a deteriorating national picture. NSM raised Norway's cyber risk level to four on a five-point scale in October, pointing to a tripling of successful cyber operations against Norwegian organisations over the previous six months.

What remains unknown: who was behind the attacks, how many organisations outside Norway were affected, how much data or how many credentials were actually taken, and whether any stolen secrets have since been used against systems behind the affected gateways.

Share this article

On Junglewise Threat Intelligence

Related stories

Scan your domain free: see what attackers can see from outside, in about 30 seconds.

This article as Markdown. Atom feed.