Logging details are vital when it comes to understanding and working on the forensics of an attack. They can help find where the attacks started and understand what the attackers took.

In the summer of 2023 just about one month before U.S. Secretary of State Antony Blinken was going to travel to Beijing, a hacker group backed by the People’s Republic of China (PRC) infiltrated the email accounts of senior government officials from the departments of State and Commerce.

These hackers were able to compromise the Microsoft Exchange Online cloud-based service, which granted them access to legitimate user accounts they then used to search emails, expose state secrets, and exfiltrate data.

The Department of State discovered the anomalous activity because it had purchased Microsoft’s G5 license, which included enhanced logging capabilities through Microsoft Purview Audit (Premium).

While that may seem like an advanced form of an attack, as well-funded bad guys launch targeted intrusions against the United States federal government, this type of compromise event has become increasingly common and intricate.

Schneider Bold

That is why CISA released the “Microsoft Expanded Cloud Logs Implementation Playbook” to help organizations get the most out of Microsoft’s newly introduced logs in Microsoft Purview Audit (Standard). This step-by-step guide enables technical personnel to better detect and defend against advanced intrusion techniques by operationalizing expanded cloud logs.

Playbook Methodologies

The playbook details analytical methodologies tied to using these logs, including:

  • An overview of the newly introduced logs in Microsoft Purview Audit (Standard) that enable organizations to conduct forensic and compliance investigations by accessing critical events (e.g., mail items accessed, mail items sent, and user searches in SharePoint Online and Exchange Online)
  • A description of administration/enabling actions and ingestion of these logs to Microsoft Sentinel and Splunk Security Information and Event Management (SIEM) systems
  • A discussion of significant events in other M365 services, such as Teams

As mentioned, this playbook provides an overview of the newly introduced logs in Microsoft Purview Audit (Standard), which enable organizations to conduct forensic and compliance investigations by accessing critical events, such as mail items accessed, mail items sent, and user searches in SharePoint Online and Exchange Online.

Additionally, the playbook also discusses significant events in other M365 services such as Teams. Lastly, administration/enabling actions and ingestion of these logs to Microsoft Sentinel and Splunk Security Information and Event Management (SIEM) systems end up covered in detail.

The desired outcome of this playbook is to empower enterprises seeking to operationalize these expanded cloud logs in their M365 tenant. It provides guidance on how to navigate to the logs within M365 and how to perform administration actions to enable the logs. A key outcome from the playbook is making the newly available logs an actionable part of enterprise cybersecurity operations. The analytical methodologies tied to using these logs to detect advanced threat actor behavior are covered in detail.

Attackers Forge Tokens

Going back to the case history of the Department of State; the Microsoft Services Account (MSA) key compromise referenced in the introduction allowed a nation-state threat actor to forge customer tokens against this MSA key and access customer Exchange Online mailbox accounts.

Late in 2021, Storm-0558, a hacker group with direct ties to the PRC, obtained access to this MSA key.

On June 15, 2023, the Department of State Security Operations Center (SOC) used an in-house detection tool to flag malicious behavior later attributed to Storm-0558. The tool the SOC used relied on enhanced logging capabilities available only to M365 Purview Audit Premium customers at that time.

Further investigation determined hackers used the same MSA key to compromise additional federal entities.

Click here for more on the expanded cloud logs implantation playbook.

Pin It on Pinterest

Share This