2021 Microsoft Exchange Server data breach
|Type||Cyberattack, data breach|
|Cause||Microsoft Exchange Server zero-day vulnerabilities|
|First reporter||Microsoft (public disclosure)|
|Suspects||Hafnium, and at least nine others.|
A global wave of cyberattacks and data breaches began in January 2021 after four zero-day exploits were discovered in on-premises Microsoft Exchange Servers, giving attackers full access to user emails and passwords on affected servers, administrator privileges on the server, and access to connected devices on the same network. Attackers typically install a backdoor that allows the attacker full access to impacted servers even if the server is later updated to no longer be vulnerable to the original exploits. As of 9 March 2021[update], it was estimated that 250,000 servers fell victim to the attacks, including servers belonging to around 30,000 organizations in the United States, 7,000 servers in the United Kingdom, as well as the European Banking Authority, the Norwegian Parliament, and Chile's Commission for the Financial Market (CMF).
On 2 March 2021, Microsoft released updates for Microsoft Exchange Server 2010, 2013, 2016 and 2019 to patch the exploit; this does not retroactively undo damage or remove any backdoors installed by attackers. Small and medium businesses, local institutions, and local governments are known to be the primary victims of the attack, as they often have smaller budgets to secure against cyber threats and typically outsource IT services to local providers that do not have the expertise to deal with cyber attacks.
On 12 March 2021, Microsoft announced the discovery of "a new family of ransomware" being deployed to servers initially infected, encrypting all files, making the server inoperable and demanding payment to reverse the damage. On 22 March 2021, Microsoft announced that in 92% of Exchange servers the exploit has been either patched or mitigated.
Microsoft Exchange is considered a high-value target for hackers looking to penetrate business networks, as it is email server software, and, according to Microsoft, it provides "a unique environment that could allow attackers to perform various tasks using the same built-in tools or scripts that admins use for maintenance." In the past, Microsoft Exchange has been attacked by multiple nation-state groups.
On 5 January 2021, security testing company DEVCORE made the earliest known report of the vulnerability to Microsoft, which Microsoft verified on 8 January. The first breach of a Microsoft Exchange Server instance was observed by cybersecurity company Volexity on 6 January 2021. By the end of January, cybersecurity company Volexity had observed a breach allowing attackers to spy on two of their customers, and alerted Microsoft to the vulnerability. After Microsoft was alerted of the breach, Volexity noted the hackers became less stealthy in anticipation of a patch.
On 2 March 2021, another cybersecurity company, ESET, wrote that they were observing multiple attackers besides Hafnium exploiting the vulnerabilities. Wired reported on 10 March that now that the vulnerability had been patched, many more attackers were going to reverse engineer the fix to exploit still-vulnerable servers. Analysts at two security firms reported they had begun to see evidence that attackers were preparing to run cryptomining software on the servers.
On 10 March 2021, security researcher Nguyen Jang posted proof-of-concept code to Microsoft-owned GitHub on how the exploit works, totaling 169 lines of code; the program was intentionally written with errors so that while security researchers could understand how the exploit works, malicious actors would not be able to use the code to access servers. Later that day, GitHub removed the code as it "contains proof of concept code for a recently disclosed vulnerability that is being actively exploited". On 13 March, another group independently published exploit code, with this code instead requiring minimal modification to work; the CERT Coordination Center's Will Dormann said the "exploit is completely out of the bag by now" in response.
The attacks came shortly after the 2020 United States federal government data breach, which also saw the compromising of Microsoft's Outlook web app and supply chain. Microsoft said there was no connection between the two incidents.
Microsoft said that the attack was initially perpetrated by the Hafnium, a Chinese state-sponsored hacking group (advanced persistent threat) that operates out of China. Hafnium is known to install the web shell China Chopper. Microsoft identified Hafnium as "a highly skilled and sophisticated actor" that historically has mostly targeted "entities in the United States for the purpose of exfiltrating information from a number of industry sectors, including infectious disease researchers, law firms, higher education institutions, defense contractors, policy think tanks and NGOs." Announcing the hack, Microsoft stated that this was "the eighth time in the past 12 months that Microsoft has publicly disclosed nation-state groups targeting institutions critical to civil society." As of 12 March 2021, there were, in addition to Hafnium, at least nine other distinct groups exploiting the vulnerabilities, each different styles and procedures.
Hackers took advantage of four separate zero-day vulnerabilities to compromise Microsoft Exchange servers' Outlook Web Access (OWA), giving them access to victims' entire servers and networks as well as to emails and calendar invitations, only at first requiring the address of the server, which can be directly targeted or obtained by mass-scanning for vulnerable servers; the attacker then uses two exploits, the first allowing an attacker to connect to the server and falsely authenticate as a standard user. With that, a second vulnerability can then be exploited, escalating that user access to administrator privileges. The final two exploits allow attackers to upload code to the server in any location they wish, that automatically runs with these administrator privileges. Attackers then typically use this to install a web shell, providing a backdoor to the compromised server, which gives hackers continued access to the server as long as both the web shell remains active and the Exchange server remains on.
Through the web shell installed by attackers, commands can be run remotely. Among the actions observed are the downloading of all emails from servers, downloading the passwords and email addresses of users as Microsoft Exchange stores these unencrypted in memory, adding users, adding further backdoors to affected systems, accessing other systems in the network that are unsusceptible to the original exploit, and installing ransomware. As patching the Exchange server against the exploit does not retroactively remove installed backdoors, attackers continue to have access to the server until the web shell, other backdoors and user accounts added by attackers are removed.
On 27 and 28 February 2021, there was an automated attack, and on 2 and 3 March 2021, attackers used a script to return to the addresses to drop a web shell to enable them to return later. Referring to the week ending 7 March, CrowdStrike co-founder Dmitri Alperovitch stated: "Every possible victim that hadn't patched by mid-to-end of last week has already been hit by at least one or several actors". After the patch was announced, the tactics changed when using the same chain of vulnerabilities.
Microsoft Exchange Server versions of 2010, 2013, 2016 and 2019 were confirmed to be susceptible, although vulnerable editions are yet to be fully determined. Cloud-based services Exchange Online and Office 365 are not affected.
Hackers have exploited the vulnerabilities to spy on a wide range of targets, affecting an estimated 250,000 servers. Tom Burt, Microsoft's vice president for Customer Security & Trust, wrote that targets had included disease researchers, law offices, universities, defense contractors, non-governmental organizations, and think tanks.
Automatic updates are typically disabled by server administrators to avoid disruption from downtime and problems in software, and are by convention installed manually by server administrators after these updates are tested with the existing software and server-setup; as smaller organizations often operate under a smaller budget to do this in-house or otherwise outsource this to local IT providers without expertise in cybersecurity, this is often not done until it becomes a necessity, if ever. This means small and medium businesses, and local institutions such as schools and local governments are known to be the primary victims of the attack as they are more likely to not have received updates to patch the exploit. Rural victims are noted to be "largely on their own", as they are typically without access to IT service providers. On 11 March 2021, Check Point Research revealed that in the prior 24 hours "the number of exploitation attempts on organizations it tracks tripled every two to three hours."
Check Point Research has observed the United States as being the most attacked country with 17% of all exploit attempts, followed by Germany with 6%, the United Kingdom and the Netherlands both at 5%, and Russia with 4% of all exploits; government/military is the most targeted sector with 23% of exploit attempts, followed by manufacturing at 15%, banking and financial services at 14%, software vendors with 7% and healthcare at 6%.
The attack was discovered after attackers were discovered downloading all emails belonging to specific users on separate corporate Exchange servers. An undisclosed Washington think tank reported attackers sending convincing emails to contacts in a social engineering attack that encouraged recipients to click on a link. On 11 March 2021, Norway's parliament, the Storting, reported being a victim of the hack, stating that "data has been extracted."
The European Banking Authority also reported that it had been targeted in the attack, later stating in a press release that the scope of impact on its systems was "limited" and that "the confidentiality of the EBA systems and data has not been compromised".
Security company ESET identified "at least 10" advanced persistent threat groups compromising IT, cybersecurity, energy, software development, public utility, real estate, telecommunications and engineering businesses, as well as Middle Eastern and South American governmental agencies. One APT group was identified deploying PowerShell downloaders, using affected servers for cryptocurrency mining. Cybereason CEO Lior Div noted that APT group Hafnium "targeted small and medium-sized enterprises ... The assault against Microsoft Exchange is 1,000 times more devastating than the SolarWinds attack."
On 12 March 2021, Microsoft Security Intelligence announced "a new family of ransomware" called DearCry being deployed to the servers that had been initially infected, encrypting device contents, making servers unusable and demanding payment to recover files. Microsoft stated: "There is no guarantee that paying the ransom will give you access to your files."
On 18 March 2021, an affiliate of ransomware cybergang REvil claimed they had stolen unencrypted data from Taiwanese hardware and electronics corporation Acer, including an undisclosed number of devices being encrypted, with cybersecurity firm Advanced Intel linking this data breach and ransomware attack to the Microsoft Exchange exploits. Advanced Intel detected one of Acer's Microsoft Exchange servers first being targeted on 5 March 2021. REvil has demanded a $50 million U.S. dollar ransom, claiming if this is paid they would "provide a decryptor, a vulnerability report, and the deletion of stolen files", and stating that the ransom would double to $100 million U.S. dollars if not paid on 28 March 2021.
On 2 March 2021, the Microsoft Security Response Center (MSRC) publicly posted an out-of-band Common Vulnerabilities and Exposures (CVE) release, urging its clients to patch their Exchange servers to address a number of critical vulnerabilities. On 15 March, Microsoft released a one-click PowerShell tool, The Exchange On-Premises Mitigation Tool, which installs the specific updates protecting against the threat, runs a malware scan which also detects installed web shells, and removes threats that were detected; this is recommended as a temporary mitigation measure, as it does not install other available updates.
On 3 March 2021, the U.S. Cybersecurity and Infrastructure Security Agency (CISA) issued an emergency directive forcing government networks to update to a patched version of Exchange. On 8 March, CISA tweeted what NBC News described as an "unusually candid message" urging "ALL organizations across ALL sectors" to address the vulnerabilities.
Other official bodies expressing concerns included the White House, Norway's National Security Authority and the Czech Republic's Office for Cyber and Information Security. On 7 March 2021, CNN reported that the Biden administration was expected to form a task force to address the breach; the Biden administration has invited private-sector organizations to participate in the task force and will provide them with classified information as deemed necessary. U.S. National Security Advisor Jake Sullivan stated that the U.S. is not yet in a position to attribute blame for the attacks.
- Krebs, Chris (5 March 2021). "At Least 30,000 U.S. Organizations Newly Hacked Via Holes in Microsoft's Email Software". Krebs on Security. Retrieved 10 March 2021.
- Greenberg, Andy (5 March 2021). "Chinese Hacking Spree Hit an 'Astronomical' Number of Victims". Wired. ISSN 1059-1028. Retrieved 10 March 2021.
- "Multiple Security Updates Released for Exchange Server". Microsoft Security Response Center. 2 March 2021. Retrieved 10 March 2021.
- Collier, Kevin (3 March 2021). "U.S. issues warning after Microsoft says China hacked its mail server program". NBC News. Retrieved 10 March 2021.
- "Microsoft accuses China over email cyber-attacks". BBC News. 3 March 2021. Retrieved 10 March 2021.
- "HAFNIUM targeting Exchange Servers with 0-day exploits". Microsoft Security. 2 March 2021. Retrieved 10 March 2021.
- "More hacking groups join Microsoft Exchange attack frenzy". BleepingComputer. 10 March 2021. Retrieved 11 March 2021.
- "Microsoft hack: 3,000 UK email servers remain unsecured". BBC News. 12 March 2021. Retrieved 12 March 2021.
- Murphy, Hannah (9 March 2021). "Microsoft hack escalates as criminal groups rush to exploit flaws". Financial Times. Retrieved 10 March 2021.
- O'Donnell, John (8 March 2021). "European banking regulator EBA targeted in Microsoft hacking". Reuters. Retrieved 10 March 2021.
- Duffy, Clare (10 March 2021). "Here's what we know so far about the massive Microsoft Exchange hack". CNN. Retrieved 10 March 2021.
- "Chile's bank regulator shares IOCs after Microsoft Exchange hack". BleepingComputer. Retrieved 17 March 2021.
- "Comisión para el Mercado Financiero sufrió vulneración de ciberseguridad: no se conoce su alcance". BioBioChile - La Red de Prensa Más Grande de Chile (in Spanish). 14 March 2021. Retrieved 17 March 2021.
- V, Vicente Vera. "CMF desestima "hasta ahora" el secuestro de datos tras sufrir ciberataque". Diario Financiero (in Spanish). Retrieved 17 March 2021.
- "America's small businesses face the brunt of China's Exchange server hacks". TechCrunch. 10 March 2021. Retrieved 12 March 2021.
- "Microsoft warns of ransomware attacks as Exchange hack escalates". IT PRO. 12 March 2021. Retrieved 12 March 2021.
- "Microsoft: 92% of vulnerable Exchange servers are now patched, mitigated". www.msn.com. Retrieved 29 March 2021.
- "How attackers target and exploit Microsoft Exchange servers". Help Net Security. 25 June 2020. Retrieved 14 March 2021.
- Cimpanu, Catalin (9 March 2020). "Multiple nation-state groups are hacking Microsoft Exchange servers". ZDNet. Retrieved 14 March 2021.
- Cimpanu, Catalin (7 May 2019). "Russian cyberspies are using one hell of a clever Microsoft Exchange backdoor". ZDNet. Retrieved 14 March 2021.
- Krebs, Chris (8 March 2021). "A Basic Timeline of the Exchange Mass-Hack". Krebs on Security. Retrieved 10 March 2021.
- Kevin, Collier (9 March 2021). "'Really messy': Why the hack of Microsoft's email system is getting worse". NBC News.
- Newman, Lily Hay (10 March 2021). "It's Open Season for Microsoft Exchange Server Hacks". Wired. ISSN 1059-1028. Retrieved 10 March 2021.
- "New PoC for Microsoft Exchange bugs puts attacks in reach of anyone". BleepingComputer. 14 March 2021. Retrieved 15 March 2021.
- Francisco, Thomas Claburn in San (12 March 2021). "Microsoft's GitHub under fire after disappearing proof-of-concept exploit for critical Microsoft Exchange vuln". The Register. Retrieved 15 March 2021.
- "Exchange Cyberattacks Escalate as Microsoft Rolls One-Click Fix". threatpost.com. 16 March 2021. Retrieved 16 March 2021.
- "Microsoft hack: White House warns of 'active threat' of email attack". BBC News. 6 March 2021. Retrieved 10 March 2021.
- Burt, Tom (2 March 2021). "New nation-state cyberattacks". Microsoft On the Issues. Retrieved 10 March 2021.
- "Hafnium timeline solidifies: A drizzle in February, a deluge in March". SC Media. 8 March 2021. Retrieved 10 March 2021.
- "Foreign Ministry Spokesperson Wang Wenbin's Regular Press Conference on March 3, 2021". Ministry of Foreign Affairs of the People's Republic of China. 3 March 2021. Retrieved 10 March 2021.
- "ProxyLogon". ProxyLogon (in Chinese). Retrieved 11 March 2021.
- "Critical Microsoft Exchange flaw: What is CVE-2021-26855? | UpGuard". www.upguard.com. Retrieved 16 March 2021.
- "Microsoft says China-backed hackers are exploiting Exchange zero-days". TechCrunch. 2 March 2021. Retrieved 10 March 2021.
- "Operation Exchange Marauder: Active Exploitation of Multiple Zero-Day Microsoft Exchange Vulnerabilities | Volexity". www.volexity.com. 2 March 2021. Retrieved 11 March 2021.
- "30,000 U.S. organizations breached by cyber espionage group Hafnium". Security Magazine. 9 March 2021. Retrieved 10 March 2021.
- "Criminal hacking groups piling on to escalating Microsoft Exchange crisis". AppleInsider. 9 March 2021. Retrieved 11 March 2021.
- "Four new hacking groups have joined an ongoing offensive against Microsoft's email servers". MIT Technology Review. 6 March 2021. Retrieved 10 March 2021.
- Hollister, Sean (8 March 2021). "Microsoft was warned months ago — now, the Hafnium hack has grown to gigantic proportions". The Verge. Retrieved 10 March 2021.
- Novet, Jordan (9 March 2021). "Microsoft's big email hack: What happened, who did it, and why it matters". CNBC. Retrieved 15 March 2021.
- O'Donnell, John (8 March 2021). "European banking regulator EBA targeted in Microsoft hacking". Reuters. Retrieved 10 March 2021.
- "Victims of Microsoft hack scramble to plug security holes". CBS News. 9 March 2021.
- Leonhard, Woody (11 December 2017). "It's time: Make sure Windows Auto Update is turned off". Computerworld. Retrieved 16 March 2021.
- "Automatic Updates for Servers?". TechGenix. 1 August 2005. Retrieved 16 March 2021.
- CNN, Brian Fung and Alex Marquardt. "White House warns organizations have 'hours, not days' to fix vulnerabilities as Microsoft Exchange attacks increase". KMOV.com. Retrieved 13 March 2021.
- "Exploits on Organizations Worldwide Tripled every Two Hours after Microsoft's Revelation of Four Zero-days". Check Point Software. 11 March 2021. Retrieved 13 March 2021.
- "Exploits on Organizations Worldwide Grow Tenfold after Microsoft's Revelation of Four Zero-days". Check Point Software. 11 March 2021. Retrieved 16 March 2021.
- "New cyberattack on the Storting" (Press release). 11 March 2021.
- "Cyber-attack on the European Banking Authority – UPDATE 3". European Banking Authority. 9 March 2021. Retrieved 11 March 2021.
- 8 March, Lance Whitney in Security on; 2021; Pst, 12:49 Pm (8 March 2021). "How the Microsoft Exchange hack could impact your organization". TechRepublic. Retrieved 11 March 2021.CS1 maint: numeric names: authors list (link)
- "Ransom:Win32/DoejoCrypt.A". Microsoft Security Intelligence. 11 March 2021. Retrieved 12 March 2021.
- "Computer giant Acer hit by $50 million ransomware attack". BleepingComputer. 19 March 2021. Retrieved 20 March 2021.
- "Microsoft tool provides automated Exchange threat mitigation". iTnews. 16 March 2021. Retrieved 16 March 2021.
- @USCERT_gov (9 March 2021). "CISA announcement" (Tweet) – via Twitter.
- "Remediating Microsoft Exchange Vulnerabilities". Cybersecurity and Infrastructure Security Agency. Retrieved 10 March 2021.
- Murphy, Hannah (5 March 2021). "White House warns of 'large number' of victims in Microsoft hack". Financial Times.
- Vavra, Shannon (5 March 2021). "Victims of Microsoft Exchange Server zero-days emerge". CyberScoop. Retrieved 10 March 2021.
- Marquardt, Alex (6 March 2021). "Biden administration expected to form task force to deal with Microsoft hack linked to China". CNN. Retrieved 10 March 2021.