Petya (malware)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Petya
2017 Petya cyberattack screenshot.jpg
ASCII art of a skull and crossbones is displayed as part of the payload on the original version of Petya.[1]
Aliases GoldenEye
NotPetya
Classification Trojan horse
Type Ransomware
Subtype Cryptovirus
Operating system(s) affected Windows

Petya is a family of encrypting ransomware that was first discovered in 2016[2]. The malware targets Microsoft Windows-based systems, infecting the master boot record to execute a payload that encrypts a hard drive's file system table and prevents Windows from booting. It subsequently demands that the user make a payment in Bitcoin in order to regain access to the system.

Variants of Petya were first seen in March 2016, which propagated via infected e-mail attachments. In June 2017, a new variant of Petya was used for a global cyberattack, primarily targeting Ukraine. The new variant propagates via the EternalBlue exploit, which is generally believed to have been developed by the U.S. National Security Agency (NSA), and was used earlier in the year by the WannaCry ransomware. Kaspersky Lab referred to this new version as NotPetya to distinguish it from the 2016 variants, due to these differences in operation. In addition, although it purports to be ransomware, this variant was modified so that it is unable to actually revert its own changes.

History[edit]

Petya was discovered in March 2016;[3] Check Point noted that while it had achieved fewer infections than other ransomware active in early 2016, such as CryptoWall, it contained notable differences in operation that caused it to be "immediately flagged as the next step in ransomware evolution".[1] Another variant of Petya discovered in May 2016 contained a secondary payload used if the malware cannot achieve administrator-level access.[3]

The name "Petya" is a reference to the 1995 James Bond film GoldenEye, wherein Petya is one of the two Soviet weapon satellites which carry a "Goldeneye" – an atomic bomb detonated in low Earth orbit to produce an electromagnetic pulse. A Twitter account that Heise suggested may have belonged to the author of the malware, named "Janus Cybercrime Solutions" after Alec Trevelyan's crime group in GoldenEye, had an avatar with an image of GoldenEye character Boris Grishenko, a Russian hacker and antagonist in the film played by Scottish actor Alan Cumming.[4]

On 30 August 2018, a regional court in Nikopol in the Dnipropetrovsk Oblast of Ukraine convicted an unnamed Ukrainian citizen to one year in prison after pleading guilty to having spread a version of Petya online.[5][6][7]

2017 cyberattack[edit]

NotPetya's ransom note displayed on a compromised system

On 27 June 2017, a major global cyberattack began (Ukrainian companies were among the first to state they were being attacked[8]), utilizing a new variant of Petya. On that day, Kaspersky Lab reported infections in France, Germany, Italy, Poland, the United Kingdom, and the United States, but that the majority of infections targeted Russia and Ukraine, where more than 80 companies were initially attacked, including the National Bank of Ukraine.[8][9] ESET estimated on 28 June 2017 that 80% of all infections were in Ukraine, with Germany second hardest hit with about 9%.[10] Russian president Vladimir Putin's press secretary, Dmitry Peskov, stated that the attack had caused no serious damage in Russia.[10] Experts believed this was a politically-motivated attack against Ukraine, since it occurred on the eve of the Ukrainian holiday Constitution Day.[11][12]

Kaspersky dubbed this variant "NotPetya", as it has major differences in its operations in comparison to earlier variants.[8] McAfee engineer Christiaan Beek stated that this variant was designed to spread quickly, and that it had been targeting "complete energy companies, the power grid, bus stations, gas stations, the airport, and banks".[8][13]

It was believed that the software update mechanism of M.E.Doc (uk) — a Ukrainian tax preparation program that, according to F-Secure analyst Mikko Hyppönen, "appears to be de facto" among companies doing business in the country—had been compromised to spread the malware.[10][14][15] Analysis by ESET found that a backdoor had been present in the update system for at least six weeks prior to the attack, describing it as a "thoroughly well-planned and well-executed operation".[16] The developers of M.E.Doc denied that they were entirely responsible for the cyberattack, stating that they too were victims.[14][17][18][19]

On July 4, 2017, Ukraine's cybercrime unit seized the company's servers after detecting "new activity" that it believed would result in "uncontrolled proliferation" of malware. Ukraine police advised M.E.Doc users to stop using the software, as it presumed that the backdoor was still present.[16][20] Analysis of the seized servers showed that software updates had not been applied since 2013, there was evidence of Russian presence, and an employee's account on the servers had been compromised; the head of the units warned that M.E.Doc could be found criminally responsible for enabling the attack because of its negligence in maintaining the security of their servers.[21][19][16]

Operation[edit]

Petya utilizes a payload that infects the computer's master boot record (MBR), overwriting the Windows bootloader, and then triggering a restart. On the next startup, the payload is executed, which encrypts the Master File Table of the NTFS file system, and then displays the ransom message demanding a payment made in Bitcoin.[22][3][23] During this process, text purportedly output by chkdsk, Windows' file system scanner, is displayed on-screen, suggesting that the hard drive's sectors are being repaired.[1] The original payload required the user to grant it administrative privileges; one variant of Petya was bundled with an alternate payload known as Mischa, which is used if Petya fails to install. Mischa is a more conventional ransomware payload that encrypts user documents, as well as executable files, and does not require administrative privileges to execute.[3] The earlier versions of Petya disguised its payload as a PDF file, attached to an e-mail.[3] United States Computer Emergency Response Team (US-CERT) and National Cybersecurity and Communications Integration Center (NCCIC) released Malware Initial Findings Report (MIFR) about Petya on 30 June 2017.[24]

The "NotPetya" variant utilized in the 2017 attack uses EternalBlue, an exploit which takes advantage of a vulnerability in Windows' Server Message Block (SMB) protocol. EternalBlue is generally believed to have been developed by the U.S. National Security Agency (NSA);[23] it was leaked in April 2017 and was also used by WannaCry.[25][23] The malware uses multiple techniques to spread to other computers on the same network, including harvesting passwords, and using those passwords in conjunction with PSExec to run code on other local computers.[26][27][28] Additionally, although it still purports to be ransomware, the encryption routine was modified so that the malware could not technically revert its changes.[29] This characteristic, along with other unusual signs in comparison to WannaCry (including the relatively low unlock fee of US$300, and using a single, fixed Bitcoin wallet to collect ransom payments rather than generating a unique ID for each specific infection for tracking purposes),[30] prompted researchers to speculate that this attack was not intended to be a profit-generating venture, but to damage devices quickly, and ride off the media attention WannaCry received by claiming to be ransomware.[31][32]

Mitigation[edit]

It was found that it may be possible to stop the encryption process if an infected computer is immediately shut down when the fictitious chkdsk screen appears,[33] and a security analyst proposed that creating read-only files named perf.c and/or perfc.dat in the Windows installation directory could prevent the payload of the current strain from executing.[34][35][36][37] The email address listed on the ransom screen was suspended by its provider, Posteo, for being a violation of its terms of use. As a result, infected users could not actually send the required payment confirmation to the perpetrator.[30][38]

Microsoft had already released patches for supported versions of Windows in March 2017 to address the EternalBlue vulnerability. This was followed by patches for unsupported versions of Windows (such as Windows XP) in May 2017, in the direct wake of WannaCry.[39][40] Wired believed that "based on the extent of damage Petya has caused so far, though, it appears that many companies have put off patching, despite the clear and potentially devastating threat of a similar ransomware spread."[41] Some enterprises may consider it too disruptive to install updates on certain systems, either due to possible downtime or compatibility concerns, which can be problematic in some environments.[39]

Impact[edit]

In a report published by Wired, a White House assessment pegged the total damages brought about by NotPetya to more than $10 billion. This was confirmed by former Homeland Security adviser Tom Bossert, who at the time of the attack was the most senior cybersecurity focused official in the US government.[42]

During the attack initiated on 27 June 2017, the radiation monitoring system at Ukraine's Chernobyl Nuclear Power Plant went offline.[43] Several Ukrainian ministries, banks and metro systems were also affected.[44] It is said to have been the most destructive cyberattack ever.[45]

Among those affected elsewhere included British advertising company WPP,[44] Maersk Line,[46] American pharmaceutical company Merck & Co., Russian oil company Rosneft (its oil production was unaffected[47]), multinational law firm DLA Piper,[44] French construction company Saint-Gobain and its retail and subsidiary outlets in Estonia,[48] British consumer goods company Reckitt Benckiser,[49] German personal care company Beiersdorf, German logistics company DHL,[50] United States food company Mondelez International, and American hospital operator Heritage Valley Health System.[8][51] The Cadbury's Chocolate Factory in Hobart, Tasmania, is the first company in Australia to be affected by Petya.[52] On 28 June 2017, JNPT, India's largest container port, had reportedly been affected, with all operations coming to a standstill.[53] Princeton Community Hospital in rural West Virginia will scrap and replace its entire computer network on its path to recovery.[54]

The business interruption to Maersk, the world's largest container ship and supply vessel operator, was estimated between $200 and $300m in lost revenues.[55]

Jens Stoltenberg, NATO Secretary-General, pressed the alliance to strengthen its cyber defenses, saying that a cyberattack could trigger the Article 5 principle of collective defense.[56][57]

Reaction[edit]

Europol said it was aware of and urgently responding to reports of a cyber attack in member states of the European Union.[9] The United States Department of Homeland Security was involved and coordinating with its international and local partners.[46] In a letter to the NSA,[58] Democratic Congressman Ted Lieu asked the agency to collaborate more actively with technology companies to notify them of software vulnerabilities and help them prevent future attacks based on malware created by the NSA.[28][59] On 15 February 2018, the Trump administration blamed Russia for the attack and warned that there would be "international consequences".[60] The United Kingdom and the Australian government also issued similar statements.[61]

See also[edit]

References[edit]

  1. ^ a b c "Decrypting the Petya Ransomware". Check Point Blog. 2016-04-11. Retrieved 2017-06-27. 
  2. ^ Greenberg, Andy (2018-08-22). "The Untold Story of NotPetya, the Most Devastating Cyberattack in History". Wired. Retrieved 2018-08-27. 
  3. ^ a b c d e Constantin, Lucian. "Petya ransomware is now double the trouble". NetworkWorld. Retrieved 2017-06-27. 
  4. ^ Scherschel, Fabian A. (2016-12-15). "Petya, Mischa, Goldeneye: Die Erpresser sind Nerds". Heise Online. Retrieved 2017-07-03. Die Virenschreiber hinter diesen Erpressungstrojanern scheinen große Fans des Films zu sein. Wahrscheinlich sind sie in den Neunzigern aufgewachsen und identifizieren sich mit Boris Grishenko, dem russischen Hacker-Genie aus dem Film. Ob ein Twitter-Konto, welches genau auf dieses Profil passt, ein Bild von Boris Grishenko als Avatar nutzt und nach dem Verbrechersyndikat aus dem Film benannt ist, von den Drahtziehern betrieben wird, konnten wir nicht bestätigen. Aber es ist immerhin denkbar. 
  5. ^ Valery Iliyeva (August 7, 2017). "На Дніпропетровщині викрили чоловіка, який розповсюджував вірус «Petya.A»". Dniprograd. 
  6. ^ Ivan Muracha (September 3, 2018). "Регіональний "координатор" вірусу РЕТYА на Дніпропетровщині отримав один рік тюрми". Dniprograd. 
  7. ^ "Оголошено вирок у справі за фактами масштабних кібератак вірусу "PETYA"". Judiciary of Ukraine. August 31, 2018. Archived from the original on September 7, 2018. 
  8. ^ a b c d e "Global ransomware attack causes chaos". BBC News. 27 June 2017. Retrieved 27 June 2017. 
  9. ^ a b Turner, Giles; Verbyany, Volodymyr; Kravchenko, Stepan (27 June 2017). "New Cyberattack Goes Global, Hits WPP, Rosneft, Maersk". Bloomberg. Retrieved 27 June 2017. 
  10. ^ a b c "Tax software blamed for cyber-attack spread". BBC Newsv. 28 June 2017. Retrieved 28 June 2017. 
  11. ^ "Cyberattack Hits Ukraine Then Spreads Internationally". The New York Times. 27 June 2017. Retrieved 28 June 2017. 
  12. ^ Lee, David (28 June 2017). "'Vaccine' created for huge cyber-attack". BBC News. Retrieved 28 June 2017. 
  13. ^ Burgess, Matt. "There's another 'worldwide' ransomware attack and it's spreading quickly". Wired UK. Retrieved 2017-06-27. 
  14. ^ a b "Microsoft, Analysts See Hack Origin at Ukrainian Software Firm". Bloomberg. 2017-06-28. Retrieved 2017-07-01. 
  15. ^ Jack Stubbs, Pavel Polityuk (3 July 2017). "Family firm in Ukraine says it was not responsible for cyber attack". Reuters. Retrieved 5 July 2017. 
  16. ^ a b c Hern, Alex (2017-07-05). "Hackers who targeted Ukraine clean out bitcoin ransom wallet". The Guardian. ISSN 0261-3077. Retrieved 2017-07-10. 
  17. ^ "A new ransomware outbreak similar to WCry is shutting down computers worldwide". Ars Technica. Retrieved 2017-07-01. 
  18. ^ Frenkel, Sheera (27 June 2017). "Global Ransomware Attack: What We Know and Don't Know". The New York Times. Retrieved 28 June 2017. 
  19. ^ a b "Ukrainian software company will face charges over cyber attack, police suggest". AP. 2017-07-03. Retrieved 2017-07-10. 
  20. ^ "Backdoor built in to widely used tax app seeded last week's NotPetya outbreak". Ars Technica. Retrieved 2017-07-10. 
  21. ^ Jack Stubbs, Matthias Williams (5 July 2017). "Ukraine scrambles to contain new cyber threat after 'NotPetya' attack". Reuters. Retrieved 7 July 2017. 
  22. ^ "New ransomware outbreak". Kaspersky Blog. Kaspersky Lab. Retrieved 2017-06-27. 
  23. ^ a b c Brandom, Russell (2017-06-27). "A new ransomware attack is hitting airlines, banks and utilities across Europe". The Verge. Retrieved 2017-06-27. 
  24. ^ "MIFR-10130295" (PDF). United States Computer Emergency Response Team. 2017-06-30. Retrieved 2017-07-22. 
  25. ^ Goddin, Dan (14 April 2017). "NSA-leaking Shadow Brokers just dumped its most damaging release yet". Ars Technica. p. 1. Retrieved 13 May 2017. 
  26. ^ "India worst hit by Petya in APAC, 7th globally: Symantec". The Economic Times. 29 June 2017. Retrieved 29 June 2017. 
  27. ^ "Petya Ransomware Outbreak Originated in Ukraine via Tainted Accounting Software". BleepingComputer. Retrieved 29 June 2017. 
  28. ^ a b Hatmaker, Taylor (2017-06-28). "In aftermath of Petya, congressman asks NSA to stop the attack if it knows how". Tech crunch. Retrieved 29 June 2017. 
  29. ^ "Petya.2017 is a wiper not a ransomware – Comae Technologies". Comae Technologies. 2017-06-28. Retrieved 2017-06-29. 
  30. ^ a b Brandom, Russell (2017-06-27). "It's already too late for today's ransomware victims to pay up and save their computers". The Verge. Retrieved 2017-06-28. 
  31. ^ "Tuesday's massive ransomware outbreak was, in fact, something much worse". Ars Technica. Retrieved 2017-06-28. 
  32. ^ "Cyber-attack was about data and not money, say experts". BBC News. 29 June 2017. Retrieved 29 June 2017. 
  33. ^ Solon, Olivia; Hern, Alex (28 June 2017). "'Petya' ransomware attack: what is it and how can it be stopped?". The Guardian. Retrieved 29 June 2017. 
  34. ^ Cimpanu, Catalin. "Vaccine, not Killswitch, Found for Petya (NotPetya) Ransomware Outbreak". Bleeping Computer. 
  35. ^ Rogers, James (28 June 2017). "Petya ransomware: Experts tout 'vaccine' to protect computers from crippling cyber attack". Fox News. Retrieved 29 June 2017. 
  36. ^ "Security researcher creates 'vaccine' against ransomware attack". The Telegraph. Retrieved 29 June 2017. 
  37. ^ Lee, Dave (28 June 2017). "'Vaccine' created for huge cyber-attack". BBC News. Retrieved 29 June 2017. 
  38. ^ Mikko Hypponen. "Victims keep sending money to Petya". Twitter. No way to contact the attackers, as their email address was killed. 
  39. ^ a b Whittaker, Zack. "Six quick facts to know about today's global ransomware attack". ZDNet. Retrieved 2017-06-29. 
  40. ^ Warren, Tom (13 May 2017). "Microsoft issues 'highly unusual' Windows XP patch to prevent massive ransomware attack". The Verge. Vox Media. Retrieved 13 May 2017. 
  41. ^ "A Scary New Ransomware Outbreak Uses WannaCry's Old Tricks". Wired. Retrieved 2017-06-29. 
  42. ^ Greenburg, Andy (22 August 2018). "The Untold Story of NotPetya, the Most Devastating Cyberattack in History". Wired. Retrieved 1 September 2018. 
  43. ^ Griffin, Andrew (27 June 2017). "Chernobyl's radiation monitoring system has been hit by the worldwide cyber attack". The Independent. Retrieved 27 June 2017. 
  44. ^ a b c Scott, Mark; Perlroth, Nicole (27 June 2017). "New Cyberattack Spreads in Europe, Russia and U.S." The New York Times. ISSN 0362-4331. Retrieved 27 June 2017. 
  45. ^ https://www.cnet.com/news/uk-said-russia-is-behind-destructive-2017-cyberattack-in-ukraine/
  46. ^ a b "'Petya' Cyberattack Cripples Ukraine, And Experts Say It's Spreading Globally". The two way. NPR. 27 June 2017. Retrieved 27 June 2017. 
  47. ^ "Russia's Rosneft says hit by cyber attack, oil production unaffected". Reuters. 27 June 2017. Retrieved 28 June 2017. 
  48. ^ Ruuda, Lennart (2017-06-28). "Ehituse ABC sulges küberrünnaku tõttu kõik oma poed" [Ehituse ABC closed all its stores because of cyberattack] (in Estonian). Postimees. Retrieved 2017-06-28. 
  49. ^ Yeomans, Jon (6 July 2017). "Dettol maker Reckitt Benckiser warns revenue will be hit as it cleans up Petya cyber attack". The Telegraph. Retrieved 9 July 2017. 
  50. ^ "Hackerangriff: Beiersdorf & Co hart getroffen" [Hacking attack: Beiersdorf and other companies badly affected]. ARD. 6 July 2017. Retrieved 9 July 2017. 
  51. ^ Henley, Jon; Solon, Olivia (27 June 2017). "'Petya' ransomware attack strikes companies across Europe and US". The Guardian. ISSN 0261-3077. Retrieved 27 June 2017. 
  52. ^ "Petya cyberattack: Hobart's Cadbury chocolate factory struck". The Australian. Retrieved 28 June 2017. 
  53. ^ "New malware hits JNPT operations as APM Terminals hacked globally". The Indian Express. 27 June 2017. Retrieved 28 June 2017. 
  54. ^ Evans, Melanie (30 June 2017). "Business News: Hospital Is Forced To Scrap Computers". The Wall Street Journal. Retrieved 2 July 2017. 
  55. ^ http://www.zdnet.com/article/petya-ransomware-cyber-attack-costs-could-hit-300m-for-shipping-giant-maersk/
  56. ^ Uchill, Joe (28 June 2017). "Overnight Cybersecurity: New questions about 'ransomware' attack – Tensions between NSA chief, Trump over Russia – Senate panel asks states to publicize election hacks". The hill. 
  57. ^ "NATO Warns Use of Article 5 Over Cyber Attack, Members Pledge Spending Increase". Haaretz. 28 June 2017. 
  58. ^ Lieu, Ted. "Letter to NSA director" (PDF). House. Retrieved 29 June 2017. 
  59. ^ "New computer virus spreads from Ukraine to disrupt world business". Reuters. 2017. Retrieved 29 June 2017. 
  60. ^ thehill.com
  61. ^ US, UK, Australia Warn Russia of “International Consequences” – NotPetya Outbreak Attributed to the Kremlin

Further reading[edit]