Wiz Finds Storm-0558 Key Could Have Forged Tokens for More Microsoft Apps

· Original article ↗

Summary

Wiz researchers found Storm-0558’s compromised Microsoft key could have enabled forged tokens for more Azure applications than initially disclosed. Microsoft revoked the key, but detection remains difficult because many applications lack detailed logs.

Key points

  • Wiz matched a replaced public key’s certificate thumbprint to the key Microsoft identified as acquired by Storm-0558.
  • The researchers said the key could have enabled token forgery against Microsoft v2.0 applications supporting personal accounts and some mixed-audience applications; single-tenant and v1.0 applications were not affected.
  • They explained that applications with inadequate issuer validation could potentially accept forged tokens impersonating users, including organizational accounts under certain conditions.
  • Microsoft revoked the key and added issuer checks to its Azure SDK; applications retaining cached copies of the compromised public key may still need to refresh them.
  • Wiz said offline token forgery leaves no Azure portal issuance trail, and many application logs lack the token details needed to identify use of the key.
  • The article recommends updating the Azure SDK, refreshing cached certificates, identifying potentially affected applications, and checking application logs and Microsoft’s published indicators.

Article Details

Attack Vectors
  • Microsoft reported that Storm-0558 obtained an MSA consumer signing key and used it to forge access tokens for Exchange Online and Outlook.com.
  • Forged OpenID v2.0 tokens signed with the compromised key could impersonate users in affected applications that trusted the relevant personal-account or mixed-audience key lists. The article describes impact beyond Exchange Online and Outlook.com as potential, dependent on application configuration and token validation.
  • The article reports that the threat actor also exploited two issues in Microsoft's token verification process, but does not provide technical details for those issues.
Defensive Notes
  • Update the Azure SDK to the latest version to obtain Microsoft's added issuer-validation checks.
  • Refresh cached Microsoft OpenID public certificates and ensure applications no longer trust the revoked key; Microsoft advises refreshing local certificate caches at least daily.
  • Identify potentially affected Azure AD applications, then review their application-specific authentication logs for the compromised key ID in the JWT header's kid field and for the MSA tenant ID in iss or tid claims.
  • Where HTTP logs are enabled, check application access records against Microsoft's listed Storm-0558-associated IP addresses.
  • Review potentially affected applications for persistence established during earlier sessions, including application-specific access keys or backdoors.

Indicators of compromise

TypeIndicatorContext
IPV4116[.]202[.]251[.]8IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV4131[.]153[.]78[.]188IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV4146[.]0[.]74[.]16IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV4146[.]70[.]121[.]44IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV4146[.]70[.]157[.]213IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV4146[.]70[.]157[.]45IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV4146[.]70[.]35[.]168IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV4173[.]44[.]226[.]70IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV4176[.]31[.]90[.]129IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV4185[.]158[.]248[.]159IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV4185[.]195[.]200[.]39IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV4185[.]236[.]228[.]183IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV4185[.]236[.]231[.]109IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV4185[.]38[.]142[.]249IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV4185[.]51[.]134[.]52IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV4193[.]149[.]129[.]88IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV4193[.]36[.]119[.]45IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV4195[.]26[.]87[.]219IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV431[.]42[.]177[.]181IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV431[.]42[.]177[.]201IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV437[.]143[.]130[.]146IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV445[.]14[.]227[.]212IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV445[.]14[.]227[.]233IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV45[.]252[.]176[.]8IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV45[.]252[.]178[.]68IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV451[.]89[.]156[.]153IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV485[.]239[.]63[.]160IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV491[.]222[.]173[.]225IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV491[.]222[.]174[.]41IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.
IPV491[.]231[.]186[.]226IP address Microsoft identified as associated with Storm-0558; the article recommends checking WebApp logs for activity from it.

MITRE ATT&CK

Threat Actors

Vendors

Products

Azure ADMSA key could have allowed the threat actor to forge access tokens for multiple types of Azure Active Directory applications, including every application that supports personal account authentication, such asAzure SDKTo assist Azure developers with adopting this validation functionality, Microsoft added it to their official Azure SDK on July 12.Exchange OnlineMicrosoft and CISA recently disclosed a security incident impacting multiple customers of Exchange Online and Outlook.com. According to Microsoft, this incident stemmed from a threat actor attributed to China,Microsoft OneDriveincluding every application that supports personal account authentication, such as SharePoint, Teams, OneDrive, customers’ applications that support the “login with Microsoft” functionality, and multi-tenantMicrosoft Outlook Web Access (OWA)Storm-0558, acquiring a private encryption key (MSA key) and using it to forge access tokens for Outlook Web Access (OWA) and Outlook.com. Additionally, the threat actor reportedly exploited two security issues inMicrosoft SharePointapplications, including every application that supports personal account authentication, such as SharePoint, Teams, OneDrive, customers’ applications that support the “login with Microsoft” functionality, andOutlook.comand CISA recently disclosed a security incident impacting multiple customers of Exchange Online and Outlook.com. According to Microsoft, this incident stemmed from a threat actor attributed to China, Storm-0558,Teamsincluding every application that supports personal account authentication, such as SharePoint, Teams, OneDrive, customers’ applications that support the “login with Microsoft” functionality, and multi-tenant

Tools

Countries

Related Articles