Engineering:EternalBlue

From HandWiki
(Redirected from Software:EternalRocks worm)
Short description: Computer security exploit
Eternal Exploit
Common nameEternal
Technical nameL** Trojan:Win32/EternalBlue (Microsoft) [1]
  • Rocks Variant
  • Synergy Variant
    • Win32/Exploit.Equation.EternalSynergy (ESET) [4]
TypeExploit
Author(s)Equation Group
Operating system(s) affectedWindows 95, Windows 98, Windows Me, Windows NT, Windows 2000, Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2003, Windows Server 2003 R2, Windows Server 2012, Windows Server 2016

EternalBlue[5] is a computer exploit developed by the U.S. National Security Agency (NSA).[6] It was leaked by the Shadow Brokers hacker group on April 14, 2017, one month after Microsoft released patches for the vulnerability.

On May 12, 2017, the worldwide WannaCry ransomware used this exploit to attack unpatched computers.[5][7][8][9][10][11]:1 On June 27, 2017, the exploit was again used to help carry out the 2017 NotPetya cyberattack on more unpatched computers.[12]

The exploit was also reported to have been used since March 2016 by the Chinese hacking group Buckeye (APT3), after they likely found and re-purposed the tool,[11]:1 as well as reported to have been used as part of the Retefe banking trojan since at least September 5, 2017.[13]

EternalBlue was among the several exploits used, in conjunction with the DoublePulsar backdoor implant tool, in executing the 2017 WannaCry attacks.[14]

Details

EternalBlue exploits a vulnerability in Microsoft's implementation of the Server Message Block (SMB) protocol. This vulnerability is denoted by entry CVE-2017-0144[15][16] in the Common Vulnerabilities and Exposures (CVE) catalog. The vulnerability exists because the SMB version 1 (SMBv1) server in various versions of Microsoft Windows mishandles specially crafted packets from remote attackers, allowing them to remotely execute code on the target computer.[17]

The NSA did not alert Microsoft about the vulnerabilities, and held on to it for more than five years before the breach forced its hand. The agency then warned Microsoft after learning about EternalBlue's possible theft, allowing the company to prepare a software patch issued in March 2017,[18] after delaying its regular release of security patches in February 2017.[19] On Tuesday, March 14, 2017, Microsoft issued security bulletin MS17-010,[20] which detailed the flaw and announced that patches had been released for all Windows versions that were currently supported at that time, these being Windows Vista, Windows 7, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2012, and Windows Server 2016.[21][22]

Many Windows users had not installed the patches when, two months later on May 12, 2017, the WannaCry ransomware attack used the EternalBlue vulnerability to spread itself.[23][24] The next day (May 13, 2017), Microsoft released emergency security patches for the unsupported Windows XP, Windows 8, and Windows Server 2003.[25][26]

In February 2018, EternalBlue was ported to all Windows operating systems since Windows 2000 by RiskSense security researcher Sean Dillon. EternalChampion and EternalRomance, two other exploits originally developed by the NSA and leaked by The Shadow Brokers, were also ported at the same event. They were made available as open sourced Metasploit modules.[27]

At the end of 2018, millions of systems were still vulnerable to EternalBlue. This has led to millions of dollars in damages due primarily to ransomware worms. Following the massive impact of WannaCry, both NotPetya and BadRabbit caused over $1 billion worth of damages in over 65 countries, using EternalBlue as either an initial compromise vector or as a method of lateral movement.[28]

City of Baltimore cyberattack

In May 2019, the city of Baltimore struggled with a cyberattack by digital extortionists; the attack froze thousands of computers, shut down email and disrupted real estate sales, water bills, health alerts and many other services. Nicole Perlroth, writing for the New York Times, initially attributed this attack to EternalBlue;[29] in a memoir published in February 2021, Perlroth clarified that EternalBlue had not been responsible for the Baltimore cyberattack, while criticizing others for pointing out "the technical detail that in this particular case, the ransomware attack had not spread with EternalBlue".[30]

Since 2012, four Baltimore City chief information officers have been fired or have resigned; two left while under investigation.[31] Some security researchers said that the responsibility for the Baltimore breach lay with the city for not updating their computers. Security consultant Rob Graham wrote in a tweet: "If an organization has substantial numbers of Windows machines that have gone 2 years without patches, then that’s squarely the fault of the organization, not EternalBlue."[32]

Responsibility

According to Microsoft, it was the United States's NSA that was responsible because of its controversial strategy of not disclosing but stockpiling vulnerabilities. The strategy prevented Microsoft from knowing of (and subsequently patching) this bug, and presumably other hidden bugs.[33][34] However several commentators, including Alex Abdo of Columbia University's Knight First Amendment Institute, have criticised Microsoft for shifting the blame to the NSA, arguing that it should be held responsible for releasing a defective product in the same way a car manufacturer might be.[35] The company was faulted for initially restricting the release of its EternalBlue patch to recent Windows users and customers of its $1,000 per device Extended Support contracts, a move that left organisations such the UK's NHS vulnerable to the WannaCry attack. A month after the patch was first released, Microsoft took the rare step of making it available for free to users of all vulnerable Windows editions dating back to Windows XP.[36]

EternalRocks

EternalRocks or MicroBotMassiveNet is a computer worm that infects Microsoft Windows. It uses seven exploits developed by the NSA.[37] Comparatively, the WannaCry ransomware program that infected 230,000 computers in May 2017 only uses two NSA exploits, making researchers believe EternalRocks to be significantly more dangerous.[38] The worm was discovered via a honeypot.[39]

Infection

EternalRocks first installs Tor, a private network that conceals Internet activity, to access its hidden servers. After a brief 24 hour "incubation period",[37] the server then responds to the malware request by downloading and self-replicating on the "host" machine.

The malware even names itself WannaCry to avoid detection from security researchers. Unlike WannaCry, EternalRocks does not possess a kill switch and is not ransomware.[37]

See also

  • BlueKeep (security vulnerability) – A similar vulnerability
  • Petya (malware)

References

  1. "Trojan:Win32/EternalBlue threat description - Microsoft Security Intelligence". https://www.microsoft.com/en-us/wdsi/threats/malware-encyclopedia-description?Name=Trojan:Win32/EternalBlue&ThreatID=-2147239042. 
  2. "TrojanDownloader:Win32/Eterock.A threat description - Microsoft Security Intelligence". https://www.microsoft.com/en-us/wdsi/threats/malware-encyclopedia-description?Name=TrojanDownloader:Win32/Eterock.A. 
  3. "TROJ_ETEROCK.A - Threat Encyclopedia - Trend Micro USA". https://www.trendmicro.com/vinfo/us/threat-encyclopedia/malware/troj_eterock.a. 
  4. "Win32/Exploit.Equation.EternalSynergy.A | ESET Virusradar". https://www.virusradar.com/en/Win32_Exploit.Equation.EternalSynergy.A/description. 
  5. 5.0 5.1 Goodin, Dan (April 14, 2017). "NSA-leaking Shadow Brokers just dumped its most damaging release yet". Ars Technica. pp. 1. https://arstechnica.com/security/2017/04/nsa-leaking-shadow-brokers-just-dumped-its-most-damaging-release-yet/. 
  6. Nakashima, Ellen; Timberg, Craig (2017-05-16). "NSA officials worried about the day its potent hacking tool would get loose. Then it did." (in en-US). Washington Post. ISSN 0190-8286. https://www.washingtonpost.com/business/technology/nsa-officials-worried-about-the-day-its-potent-hacking-tool-would-get-loose-then-it-did/2017/05/16/50670b16-3978-11e7-a058-ddbb23c75d82_story.html. 
  7. Fox-Brewster, Thomas (May 12, 2017). "An NSA Cyber Weapon Might Be Behind A Massive Global Ransomware Outbreak". Forbes: pp. 1. https://www.forbes.com/sites/thomasbrewster/2017/05/12/nsa-exploit-used-by-wannacry-ransomware-in-global-explosion/#18cc790ae599. 
  8. Goodin, Dan (May 12, 2017). "An NSA-derived ransomware worm is shutting down computers worldwide". Ars Technica. pp. 1. https://arstechnica.com/security/2017/05/an-nsa-derived-ransomware-worm-is-shutting-down-computers-worldwide/. 
  9. Ghosh, Agamoni (April 9, 2017). "'President Trump what the f**k are you doing' say Shadow Brokers and dump more NSA hacking tools". International Business Times UK. http://www.ibtimes.co.uk/president-trump-what-fk-are-you-doing-say-shadow-brokers-dump-more-nsa-hacking-tools-1616141. 
  10. "'NSA malware' released by Shadow Brokers hacker group" (in en-GB). BBC News. April 10, 2017. https://www.bbc.com/news/technology-39553241. 
  11. 11.0 11.1 Greenberg, Andy (2019-05-07). "The Strange Journey of an NSA Zero-Day—Into Multiple Enemies' Hands". Wired. https://www.wired.com/story/nsa-zero-day-symantec-buckeye-china/. 
  12. Perlroth, Nicole; Scott, Mark; Frenkel, Sheera (June 27, 2017). "Cyberattack Hits Ukraine Then Spreads Internationally". pp. 1. https://www.nytimes.com/2017/06/27/technology/ransomware-hackers.html. 
  13. "EternalBlue Exploit Used in Retefe Banking Trojan Campaign" (in en-us). Threatpost. https://threatpost.com/eternalblue-exploit-used-in-retefe-banking-trojan-campaign/128103/. 
  14. "stamparm/EternalRocks" (in en). https://github.com/stamparm/EternalRocks. 
  15. "CVE-2017-0144". The MITRE Corporation. September 9, 2016. pp. 1. https://www.cve.org/CVERecord?id=CVE-2017-0144. 
  16. "Microsoft Windows SMB Server CVE-2017-0144 Remote Code Execution Vulnerability". Symantec. March 14, 2017. pp. 1. http://www.securityfocus.com/bid/96704. 
  17. "Vulnerability CVE-2017-0144 in SMB exploited by WannaCryptor ransomware to spread over LAN". ESET North America. http://support.eset.com/ca6443/?locale=en_US&viewlocale=en_US. 
  18. "NSA officials worried about the day its potent hacking tool would get loose. Then it did.". The Washington Post. https://www.washingtonpost.com/business/technology/nsa-officials-worried-about-the-day-its-potent-hacking-tool-would-get-loose-then-it-did/2017/05/16/50670b16-3978-11e7-a058-ddbb23c75d82_story.html. 
  19. Warren, Tom (April 15, 2017). "Microsoft has already patched the NSA's leaked Windows hacks". Vox Media. p. 1. https://www.theverge.com/2017/4/15/15311846/microsoft-windows-shadow-brokers-nsa-hacks-patched. 
  20. "Microsoft Security Bulletin MS17-010 – Critical". https://technet.microsoft.com/en-us/library/security/ms17-010.aspx. 
  21. Cimpanu, Catalin (13 May 2017). "Microsoft Releases Patch for Older Windows Versions to Protect Against Wana Decrypt0r". https://www.bleepingcomputer.com/news/security/microsoft-releases-patch-for-older-windows-versions-to-protect-against-wana-decrypt0r/. 
  22. "Windows Vista Lifecycle Policy". Microsoft. https://support.microsoft.com/en-us/lifecycle/search/?sort=PN&alpha=Windows%20Vista&Filter=FilterNO. 
  23. Newman, Lily Hay (March 12, 2017). "The Ransomware Meltdown Experts Warned About Is Here". wired.com: 1. https://www.wired.com/2017/05/ransomware-meltdown-experts-warned/. Retrieved May 13, 2017. 
  24. Goodin, Dan (May 15, 2017). "Wanna Decryptor: The NSA-derived ransomware worm shutting down computers worldwide" (in en-us). Ars Technica UK: p. 1. https://arstechnica.co.uk/security/2017/05/what-is-wanna-decryptor-wcry-ransomware-nsa-eternalblue/. 
  25. Surur (13 May 2017). "Microsoft release Wannacrypt patch for unsupported Windows XP, Windows 8 and Windows Server 2003". https://mspoweruser.com/microsoft-release-wannacrypt-patch-unsupported-windows-xp-windows-8-windows-server-2003/. 
  26. MSRC Team. "Customer Guidance for WannaCrypt attacks". https://blogs.technet.microsoft.com/msrc/2017/05/12/customer-guidance-for-wannacrypt-attacks/. 
  27. "NSA Exploits Ported to Work on All Windows Versions Released Since Windows 2000". https://www.bleepingcomputer.com/news/security/nsa-exploits-ported-to-work-on-all-windows-versions-released-since-windows-2000/. 
  28. "One Year After WannaCry, EternalBlue Exploit Is Bigger Than Ever". https://www.bleepingcomputer.com/news/security/one-year-after-wannacry-eternalblue-exploit-is-bigger-than-ever/. 
  29. Perlroth, Nicole; Shane, Scott (May 25, 2019). "In Baltimore and Beyond, a Stolen N.S.A. Tool Wreaks Havoc". The New York Times. https://www.nytimes.com/2019/05/25/us/nsa-hacking-tool-baltimore.html. 
  30. Perlroth, Nicole (February 9, 2021). This Is How They Tell Me the World Ends: The Cyberweapons Arms Race. Bloomsbury. 
  31. Gallagher, Sean (May 28, 2019). "Eternally Blue: Baltimore City leaders blame NSA for ransomware attack". https://arstechnica.com/information-technology/2019/05/eternally-blue-baltimore-city-leaders-blame-nsa-for-ransomware-attack/. 
  32. Rector, Ian Duncan, Kevin. "Baltimore political leaders seek briefings after report that NSA tool was used in ransomware attack". https://www.baltimoresun.com/maryland/baltimore-city/bs-md-ci-ransomware-nsa-20190525-story.html. 
  33. "The need for urgent collective action to keep people safe online: Lessons from last week's cyberattack - Microsoft on the Issues" (in en-US). Microsoft on the Issues. 2017-05-14. https://blogs.microsoft.com/on-the-issues/2017/05/14/need-urgent-collective-action-keep-people-safe-online-lessons-last-weeks-cyberattack/#sm.0000mpb068eggcqczh61fx32wtiui. 
  34. Titcomb, James (May 15, 2017). "Microsoft slams US government over global cyber attack" (in en-GB). The Telegraph: p. 1. https://www.telegraph.co.uk/technology/2017/05/15/microsoft-slams-us-government-global-cyber-attack/. 
  35. Bass, Dina (May 16, 2017). "Microsoft faulted over ransomware while shifting blame to NSA". Bloomberg News. https://bloomberg.com/news/articles/2017-05-16/microsoft-faulted-over-ransomware-while-shifting-blame-to-nsa. 
  36. Waters, Richard; Kuchler, Hannah (2017-05-17). "Microsoft held back free patch that could have slowed WannaCry". Financial Times. https://www.ft.com/content/e2786cbe-3a97-11e7-821a-6027b8a20f23. 
  37. 37.0 37.1 37.2 "New SMB Worm Uses Seven NSA Hacking Tools. WannaCry Used Just Two" (in en). https://www.bleepingcomputer.com/news/security/new-smb-worm-uses-seven-nsa-hacking-tools-wannacry-used-just-two/. 
  38. "Newly identified ransomware 'EternalRocks' is more dangerous than 'WannaCry' - Tech2" (in en-US). Tech2. 2017-05-22. http://tech.firstpost.com/news-analysis/newly-identified-ransomware-eternalrocks-is-more-dangerous-than-wannacry-377487.html. 
  39. "Miroslav Stampar on Twitter" (in en). Twitter. https://twitter.com/stamparm/status/864865144748298242. 

Further reading

External links