2021 Microsoft Exchange Server data breach

From Wikipedia, the free encyclopedia

2021 Microsoft Exchange Server data breach
Date
  • 5 January 2021 (exploit first reported)[1]
  • 6 January 2021 (first breach observed)[1][2]
  • 2 March 2021 (breach acknowledged)[3]
LocationGlobal
TypeCyberattack, data breach
CauseMicrosoft Exchange Server zero-day vulnerabilities[4]
First reporterMicrosoft (public disclosure)[3]
SuspectsHafnium,[5][6] and at least nine others.[7]

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, 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,[8] as well as the European Banking Authority, the Norwegian Parliament, and Chile's Commission for the Financial Market (CMF).[9][10][11][12][13][14]

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.[15]

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.[16] On 22 March 2021, Microsoft announced that in 92% of Exchange servers the exploit has been either patched or mitigated.[17]

Background[edit]

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."[18] In the past, Microsoft Exchange has been attacked by multiple nation-state groups.[19][20]

On 5 January 2021, security testing company DEVCORE made the earliest known report of the vulnerability to Microsoft, which Microsoft verified on 8 January.[21] The first breach of a Microsoft Exchange Server instance was observed by cybersecurity company Volexity on 6 January 2021.[1] By the end of January, 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.[22]

On 2 March 2021, another cybersecurity company, ESET, wrote that they were observing multiple attackers besides Hafnium exploiting the vulnerabilities.[4] 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.[23]

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".[24][25] 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.[26]

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.[27]

Perpetrator[edit]

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.[5][22][6][26] Hafnium is known to install the web shell China Chopper.[26] 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."[28] 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."[28] 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.[7][29]

The Chinese government denied involvement, calling the accusations "groundless."[22][30]

In a July 19, 2021 joint statement, the US, UK, EU, NATO, and other Western nations accused the Ministry of State Security (MSS) of perpetrating the Exchange breach, along with other cyberattacks, "attributing with a high degree of confidence that malicious cyber actors affiliated with PRC’s MSS conducted cyber espionage operations utilizing the zero-day vulnerabilities in Microsoft Exchange Server disclosed in early March 2021."[31][32][33][34]

Methodology[edit]

Hackers took advantage of four separate zero-day vulnerabilities to compromise Microsoft Exchange servers' Outlook Web Access (OWA),[2] giving them access to victims' entire servers and networks as well as to emails and calendar invitations,[4] 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.[35][36] The final two exploits allow attackers to upload code to the server in any location they wish,[36] that automatically runs with these administrator privileges. Attackers then typically use this to install a web shell, providing a backdoor to the compromised server,[37] which gives hackers continued access to the server as long as both the web shell remains active and the Exchange server remains on.[29]

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.[38] 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.[39]

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.[29] 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".[40] After the patch was announced, the tactics changed when using the same chain of vulnerabilities.[29][41]

Microsoft Exchange Server versions of 2010, 2013, 2016 and 2019 were confirmed to be susceptible, although vulnerable editions are yet to be fully determined.[42] Cloud-based services Exchange Online and Office 365 are not affected.[43]

Impact[edit]

Hackers have exploited the vulnerabilities to spy on a wide range of targets, affecting an estimated 250,000 servers.[11][44] 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.[28][9][45]

Automatic updates are typically disabled by server administrators to avoid disruption from downtime and problems in software,[46] and are by convention installed manually by server administrators after these updates are tested with the existing software and server-setup;[47] 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.[15] 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."[48][49]

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%.[26][50]

The attack was discovered after attackers were discovered downloading all emails belonging to specific users on separate corporate Exchange servers.[38] 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.[45] On 11 March 2021, Norway's parliament, the Storting, reported being a victim of the hack, stating that "data has been extracted."[51]

The European Banking Authority also reported that it had been targeted in the attack,[10] 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".[52]

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.[7] 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."[53]

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.[16] Microsoft stated: "There is no guarantee that paying the ransom will give you access to your files."[54]

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.[55]

Responses[edit]

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.[3] 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.[56]

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.[57][58]

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.[59][60] On 7 March 2021, CNN reported that the Biden administration was expected to form a task force to address the breach;[61] 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.[48]

In July 2021, the Biden administration, along with a coalition of Western allies, formally blamed China for the cyber attack. The administration highlighted the ongoing threat of from Chinese hackers, but did not accompany the condemnation with any form of sanctions. According to White House press secretary Jen Psaki, the administration is not ruling out future consequences for China. [62]

See also[edit]

References[edit]

  1. ^ a b c Krebs, Chris (5 March 2021). "At Least 30,000 U.S. Organizations Newly Hacked Via Holes in Microsoft's Email Software". Krebs on Security. Archived from the original on 5 March 2021. Retrieved 10 March 2021.
  2. ^ a b Greenberg, Andy (5 March 2021). "Chinese Hacking Spree Hit an 'Astronomical' Number of Victims". Wired. ISSN 1059-1028. Retrieved 10 March 2021.
  3. ^ a b c "Multiple Security Updates Released for Exchange Server". Microsoft Security Response Center. 2 March 2021. Retrieved 10 March 2021.
  4. ^ a b c Collier, Kevin (3 March 2021). "U.S. issues warning after Microsoft says China hacked its mail server program". NBC News. Archived from the original on 3 March 2021. Retrieved 10 March 2021.
  5. ^ a b "Microsoft accuses China over email cyber-attacks". BBC News. 3 March 2021. Retrieved 10 March 2021.
  6. ^ a b "HAFNIUM targeting Exchange Servers with 0-day exploits". Microsoft Security. 2 March 2021. Retrieved 10 March 2021.
  7. ^ a b c "More hacking groups join Microsoft Exchange attack frenzy". BleepingComputer. 10 March 2021. Archived from the original on 10 March 2021. Retrieved 11 March 2021.
  8. ^ "Microsoft hack: 3,000 UK email servers remain unsecured". BBC News. 12 March 2021. Retrieved 12 March 2021.
  9. ^ a b Murphy, Hannah (9 March 2021). "Microsoft hack escalates as criminal groups rush to exploit flaws". Financial Times. Retrieved 10 March 2021.
  10. ^ a b O'Donnell, John (8 March 2021). "European banking regulator EBA targeted in Microsoft hacking". Reuters. Retrieved 10 March 2021.
  11. ^ a b Duffy, Clare (10 March 2021). "Here's what we know so far about the massive Microsoft Exchange hack". CNN. Retrieved 10 March 2021.
  12. ^ "Chile's bank regulator shares IOCs after Microsoft Exchange hack". BleepingComputer. Retrieved 17 March 2021.
  13. ^ "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.
  14. ^ V, Vicente Vera. "CMF desestima "hasta ahora" el secuestro de datos tras sufrir ciberataque". Diario Financiero (in Spanish). Retrieved 17 March 2021.
  15. ^ a b "America's small businesses face the brunt of China's Exchange server hacks". TechCrunch. 10 March 2021. Archived from the original on 17 March 2021. Retrieved 12 March 2021.
  16. ^ a b "Microsoft warns of ransomware attacks as Exchange hack escalates". IT PRO. 12 March 2021. Archived from the original on 12 March 2021. Retrieved 12 March 2021.
  17. ^ "Microsoft: 92% of vulnerable Exchange servers are now patched, mitigated". www.msn.com. Retrieved 29 March 2021.
  18. ^ "How attackers target and exploit Microsoft Exchange servers". Help Net Security. 25 June 2020. Retrieved 14 March 2021.
  19. ^ Cimpanu, Catalin (9 March 2020). "Multiple nation-state groups are hacking Microsoft Exchange servers". ZDNet. Archived from the original on 9 March 2020. Retrieved 14 March 2021.
  20. ^ Cimpanu, Catalin (7 May 2019). "Russian cyberspies are using one hell of a clever Microsoft Exchange backdoor". ZDNet. Archived from the original on 8 May 2019. Retrieved 14 March 2021.
  21. ^ Krebs, Brian (8 March 2021). "A Basic Timeline of the Exchange Mass-Hack". Krebs on Security. Archived from the original on 8 March 2021. Retrieved 10 March 2021.
  22. ^ a b c Kevin, Collier (9 March 2021). "'Really messy': Why the hack of Microsoft's email system is getting worse". NBC News.
  23. ^ Newman, Lily Hay (10 March 2021). "It's Open Season for Microsoft Exchange Server Hacks". Wired. ISSN 1059-1028. Retrieved 10 March 2021.
  24. ^ "New PoC for Microsoft Exchange bugs puts attacks in reach of anyone". BleepingComputer. 14 March 2021. Archived from the original on 14 March 2021. Retrieved 15 March 2021.
  25. ^ Claburn, Thomas (12 March 2021). "Microsoft's GitHub under fire after disappearing proof-of-concept exploit for critical Microsoft Exchange vuln". The Register. Archived from the original on 12 March 2021. Retrieved 15 March 2021.
  26. ^ a b c d "Exchange Cyberattacks Escalate as Microsoft Rolls One-Click Fix". threatpost.com. 16 March 2021. Archived from the original on 16 March 2021. Retrieved 16 March 2021.
  27. ^ "Microsoft hack: White House warns of 'active threat' of email attack". BBC News. 6 March 2021. Retrieved 10 March 2021.
  28. ^ a b c Burt, Tom (2 March 2021). "New nation-state cyberattacks". Microsoft On the Issues. Archived from the original on 2 March 2021. Retrieved 10 March 2021.
  29. ^ a b c d "Hafnium timeline solidifies: A drizzle in February, a deluge in March". SC Media. 8 March 2021. Retrieved 10 March 2021.
  30. ^ "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. Archived from the original on 3 March 2021. Retrieved 10 March 2021.
  31. ^ Fried, Ina (19 July 2021). "U.S. and key allies accuse China of Microsoft Exchange cyberattacks". Axios. Retrieved 19 July 2021.
  32. ^ Tucker, Eric (19 July 2021). "Microsoft Exchange hack caused by China, US and allies say". Associated Press. Retrieved 19 July 2021.
  33. ^ Kanno-Youngs, Zolan; Sanger, David E. (19 July 2021). "U.S. Formally Accuses China of Hacking Microsoft". The New York Times. Retrieved 19 July 2021.
  34. ^ Liptak, Kevin (19 July 2021). "US blames China for hacks, opening new front in cyber offensive". CNN. Retrieved 19 July 2021.
  35. ^ "ProxyLogon". ProxyLogon (in Chinese (Taiwan)). Retrieved 11 March 2021.
  36. ^ a b "Critical Microsoft Exchange flaw: What is CVE-2021-26855? | UpGuard". www.upguard.com. Retrieved 16 March 2021.
  37. ^ "Microsoft says China-backed hackers are exploiting Exchange zero-days". TechCrunch. 2 March 2021. Retrieved 10 March 2021.[permanent dead link]
  38. ^ a b "Operation Exchange Marauder: Active Exploitation of Multiple Zero-Day Microsoft Exchange Vulnerabilities | Volexity". www.volexity.com. 2 March 2021. Archived from the original on 2 March 2021. Retrieved 11 March 2021.
  39. ^ "30,000 U.S. organizations breached by cyber espionage group Hafnium". Security Magazine. 9 March 2021. Archived from the original on 13 April 2021. Retrieved 10 March 2021.
  40. ^ "Criminal hacking groups piling on to escalating Microsoft Exchange crisis". AppleInsider. 9 March 2021. Archived from the original on 9 March 2021. Retrieved 11 March 2021.
  41. ^ "Four new hacking groups have joined an ongoing offensive against Microsoft's email servers". MIT Technology Review. 6 March 2021. Archived from the original on 6 March 2021. Retrieved 10 March 2021.
  42. ^ Hollister, Sean (8 March 2021). "Microsoft was warned months ago — now, the Hafnium hack has grown to gigantic proportions". The Verge. Archived from the original on 8 March 2021. Retrieved 10 March 2021.
  43. ^ Novet, Jordan (9 March 2021). "Microsoft's big email hack: What happened, who did it, and why it matters". CNBC. Retrieved 15 March 2021.
  44. ^ O'Donnell, John (8 March 2021). "European banking regulator EBA targeted in Microsoft hacking". Reuters. Retrieved 10 March 2021.
  45. ^ a b "Victims of Microsoft hack scramble to plug security holes". CBS News. 9 March 2021.
  46. ^ Leonhard, Woody (11 December 2017). "It's time: Make sure Windows Auto Update is turned off". Computerworld. Retrieved 16 March 2021.
  47. ^ "Automatic Updates for Servers?". TechGenix. 1 August 2005. Retrieved 16 March 2021.
  48. ^ a b Fung, Brian; Marquardt, Alex. "White House warns organizations have 'hours, not days' to fix vulnerabilities as Microsoft Exchange attacks increase". KMOV.com. Retrieved 13 March 2021.
  49. ^ "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.
  50. ^ "Exploits on Organizations Worldwide Grow Tenfold after Microsoft's Revelation of Four Zero-days". Check Point Software. 11 March 2021. Retrieved 16 March 2021.
  51. ^ "New cyberattack on the Storting" (Press release). 11 March 2021.
  52. ^ "Cyber-attack on the European Banking Authority – UPDATE 3". European Banking Authority. 9 March 2021. Retrieved 11 March 2021.
  53. ^ Whitney, Lance (8 March 2021). "How the Microsoft Exchange hack could impact your organization". TechRepublic. Archived from the original on 9 March 2021. Retrieved 11 March 2021.
  54. ^ "Ransom:Win32/DoejoCrypt.A". Microsoft Security Intelligence. 11 March 2021. Archived from the original on 12 March 2021. Retrieved 12 March 2021.
  55. ^ "Computer giant Acer hit by $50 million ransomware attack". BleepingComputer. 19 March 2021. Archived from the original on 19 March 2021. Retrieved 20 March 2021.
  56. ^ "Microsoft tool provides automated Exchange threat mitigation". iTnews. 16 March 2021. Archived from the original on 16 March 2021. Retrieved 16 March 2021.
  57. ^ @USCERT_gov (9 March 2021). "CISA announcement" (Tweet) – via Twitter.
  58. ^ "Remediating Microsoft Exchange Vulnerabilities". Cybersecurity and Infrastructure Security Agency. Archived from the original on 9 March 2021. Retrieved 10 March 2021.
  59. ^ Murphy, Hannah (5 March 2021). "White House warns of 'large number' of victims in Microsoft hack". Financial Times.
  60. ^ Vavra, Shannon (5 March 2021). "Victims of Microsoft Exchange Server zero-days emerge". CyberScoop. Archived from the original on 5 March 2021. Retrieved 10 March 2021.
  61. ^ Marquardt, Alex (6 March 2021). "Biden administration expected to form task force to deal with Microsoft hack linked to China". CNN. Archived from the original on 7 March 2021. Retrieved 10 March 2021.
  62. ^ Tucker, Eric (19 July 2021). "Microsoft Exchange hack caused by China, Us and allies say". AP News. Archived from the original on 19 July 2021. Retrieved 3 September 2021.