On-Premises Exchange Servers and All Hybrid Systems Impacted
On Tuesday, March 2, 2021, Microsoft released four out-of-cycle security updates for on-premises Microsoft Exchange Servers to address vulnerabilities that have been exploited in limited and targeted attacks by a previously unknown Chinese espionage group. Upon validating the attacks, Microsoft immediately shared patches of all affected systems with customers and the security community. The Microsoft Threat Intelligence Center (MSTIC) attributed the attacks to Hafnium and explained that the attackers are seeking to gain access to organizations’ on-premises Exchange servers to access email accounts, exfiltrate data and install malware to maintain this access.
The U.S. Cybersecurity and Infrastructure Security (CISA) partners observed active exploitation of these vulnerabilities and, following the release of the updates, issued Emergency Directive 21-02 to federal agencies to implement a patch immediately or disconnect Microsoft Exchange servers from the Internet. Given the nature of the threat and its potential impact to a number of industry sectors, organizations should take proactive steps to apply these security updates immediately to affected systems and also should evaluate their incident response function to ensure an appropriate level of vigilance.
All on-premises Exchange servers and hybrid Exchange systems are affected.
Important to note: It is extremely likely that any system with an on-premises Active Directory (AD) uses an on-premises Exchange server for connectivity.
Steps to Take
- Scan – Obtain an inventory of the patch-level status of all on-premises Exchange servers. Protiviti has assessed the YARA rules and verified that they accurately address the indicators known on March 2, 2021.
- Patch – Apply the security updates to Exchange Server 2010, 2013, 2016 and 2019. Exchange Online is not affected. Microsoft has published a blog post that discusses the security updates in more detail and answers questions around the installation of these patches. The vulnerabilities being exploited are CVE-2021-26855, CVE-2021-26857, CVE-2021-26858 and CVE-2021-27065. Organizations should read the patch release notes carefully and understand the requirements before installing the security updates. Microsoft has provided a rollup patch for these vulnerabilities that may require the installation of previous rollups. Additionally, the SANS Institute is regularly updating a summary of patches and vulnerabilities known to be exploited.
- Detect – Assess whether on-premises Exchange and other systems have been impacted. Microsoft has provided indicators of compromise (IOCs), detection guidance and advanced hunting queries to help organizations search for signs of compromise and prevent future attacks. Microsoft Defender has released updated signatures to detect known attacks used against this vulnerability.
- Review Identity and Access Management Program and Systems – The strength of an organization’s identity and access management (IAM) program and systems is critical to an attacker’s ability to gain and maintain unauthorized access to the organization’s environment. Elements like privileged access management (PAM), identity federation, session management, service account management and other core disciplines within an IAM program all play a crucial role in defending the organization. This is a good time for organizations to evaluate their IAM program and ensure adequate defense-in-depth against this and similar attack vectors.