Azure APIM Compromised anderskristiansen.com · 8 points · 2 comments · HN thread...

@best

Azure APIM Compromised anderskristiansen.com · 8 points · 2 comments · HN thread

TL;DR A companion post to the Norwegian NSM advisory of 20 November, which linked attacks on Norwegian firms including Equinor and Skagerak Energi to a vulnerability in Azure API Management (APIM). NSM says an unknown actor sought access tokens, secrets and named values, and believes the flaw is closed, but advises customers to check their runtime version. The author argues that patching isn't enough: treat everything stored in APIM as exposed, rotate it, and hunt the logs using KQL queries for Activity, gateway, developer portal, Entra sign-in, Key Vault and Graph logs.

  • NSM linked attacks on Equinor (reported 17 November, no sign of data theft or alteration) and Skagerak Energi (possible attempt on 18 November, no operational impact) to an APIM vulnerability; the extent of exploitation is not public.
  • APIM holds named values, backend credentials, subscription keys and identity-provider settings; a stolen credential can be used directly against the protected service.
  • The legacy direct Management API (.management.azure-api.net) bypasses Entra ID and Azure RBAC, is unsupported since March 2025, and its calls do not appear in the ARM Activity log. Set Enable Management REST API to No on every instance.
  • Recommended actions: check the runtime against the advisory, rotate backend credentials, app secrets, subscription keys, referenced Key Vault secrets and tenant access keys, remove unneeded APIM users, and shut or lock down the developer portal.
  • The post supplies six hunting steps across APIM configuration, developer portal, gateway logs, service principal sign-ins, Key Vault audit logs and Graph activity, and warns that empty results are not proof of safety.

Discussion The thread is very small, with two comments. One points to a Reddit sysadmin thread on the advisory for further discussion. The other notes that the old Management API skips the Activity log, so it is unclear how to investigate calls to it after the fact. The mood is practical and mostly informational, with no visible debate.

  • Blind spot: unlogged Management API calls are hard to investigate (some): One commenter points out that calls to the old Management API skip the Activity log, so there seems to be no obvious way to hunt for that access after the fact. The article itself acknowledges this limitation and relies on configuration, portal and gateway evidence instead.
  • Community discussion of the advisory is happening on Reddit (some): The other commenter shares a Reddit r/sysadmin thread about the critical APIM security advisory, suggesting that practitioners are discussing the incident and its response outside Hacker News.

Links from the comments

#azure #security #apim #incidentResponse #cloud