China-Based APT Actor Targets Microsoft 365 — An In-Depth Analysis of the Storm-0558 Attack

In a recent cybersecurity incident, a China-based Advanced Persistent Threat (APT) actor known as Storm-0558 successfully accessed the Microsoft 365 cloud environment and exfiltrated unclassified Exchange Online Outlook data from a small number of accounts. This article provides a comprehensive analysis of the attack, Microsoft’s response, the identification of anomalous activity, recommendations for organizations, and the significance of baseline patterns in detecting and responding to cybersecurity incidents.

Attack Description

The attack carried out by the Chinese hacking group Storm-0558 involved unauthorized access to the cloud-based Outlook Web Access in Exchange Online (OWA) and Outlook.com unclassified email service. This infiltration lasted for nearly a month, beginning in May 2023. By using forged authentication tokens obtained from a Microsoft account signing key, the threat actor gained access to email data. Shockingly, this targeted attack affected 25 organizations, leading to potential data breaches and security compromises.

Microsoft’s Response

Upon discovering the unauthorized access, the Federal Cybersecurity and Infrastructure Security Agency (CISA) identified MailItemsAccessed events with unexpected ClientAppID and AppID in the Microsoft 365 (M365) Audit Logs. Recognizing the abnormality, the agency promptly informed both Microsoft and CISA about this suspicious activity. Microsoft reacted swiftly and decisively by blocking the tokens issued with the acquired key and subsequently replacing the key altogether. Their swift action helped prevent further misuse of the compromised accounts and protected customer data.

Identification of Anomalous Activity

The discovery of MailItemsAccessed events with unexpected ClientAppID and AppID in the M365 Audit Logs served as a critical finding in identifying the anomalous activity. The Federal Cybersecurity and Infrastructure Security Agency (CISA), responsible for monitoring network security, recognized that the observed AppId did not routinely access mailbox items in their environment. This realization raised alarm bells and led to the prompt reporting of the irregular activity to Microsoft and CISA.

Recommendations for Organizations

In light of the Storm-0558 attack and similar incidents, both the Federal Bureau of Investigation (FBI) and CISA strongly recommend that critical infrastructure organizations enable audit logging within their networks. By enabling audit logging, organizations can detect and mitigate potential malicious activities. Additionally, in compliance with the Office of Management and Budget (OMB) M-21-31 requirement, Microsoft audit logs should be retained for at least twelve months in active storage and an additional eighteen months in cold storage. By adhering to this requirement, organizations can ensure the availability of valuable forensic data for incident response and analysis.

Importance of Baseline Patterns

One crucial lesson learned from the Storm-0558 attack is the importance of establishing baseline patterns of normal traffic. Organizations are encouraged to monitor and become familiar with their network’s baseline patterns to better identify abnormal and suspicious activities. By understanding their normal traffic patterns, organizations can more effectively detect outliers and potential cybersecurity incidents in a timely manner. This proactive approach allows for quicker responses and mitigation measures, reducing the risk of unauthorized access and data breaches.

The Storm-0558 attack targeting Microsoft 365’s cloud environment and Exchange Online Outlook accounts highlights the growing cybersecurity threats faced by organizations. Through diligent monitoring, early detection of anomalies, and swift action, Microsoft and government agencies were able to prevent widespread compromise and protect customer data. This incident emphasizes the need for organizations to enable audit logging, retain audit logs for an appropriate duration, and establish baseline patterns to effectively detect and respond to potential cybersecurity incidents. Proactive cybersecurity measures are essential in safeguarding sensitive data and maintaining trust in the digital landscape.

Explore more