Fruggia.com
Cover art for WannaCry ransomware attack

WannaCry ransomware attack

Description, Attack, Attribution, Impact, Reactions, and Popular Culture

  • 9 chapters
  • 22m
  • Cybersecurity
  • Free · no sign-up
In May 2017, a ransomware attack infected over 200,000 computers across 150 countries. The WannaCry virus locked users' files and demanded Bitcoin payments for decryption keys.

This audiobook explains how the attack worked, detailing the malicious code that spread through networks. It covers the defensive measures taken by organizations and governments, the investigation into who created the malware, and the massive damage it caused to hospitals, banks, and transportation systems. The book also examines public and political responses to the crisis.

The recording includes discussions of how the attack was linked to North Korean hackers, the role of the EternalBlue exploit, and how the incident influenced cybersecurity policies worldwide. It explores how WannaCry became part of popular culture, referenced in movies and news coverage. Professionals, students, and anyone interested in cybersecurity history will find this comprehensive account essential reading.

Listen

  1. 01 Description 3m Download (1.4 MB)
    Read this chapter

    WannaCry is a type of ransomware that spreads like a worm, targeting Windows computers by locking up their data and demanding payment in Bitcoin. It goes by several names, including WannaCrypt and Wana Decrypt0r 2.0. What makes it especially dangerous is that it doesn’t just stay on one computer—it moves on its own, using a tool called EternalBlue to break into vulnerable systems and DoublePulsar to install itself. Versions 0, 1, and 2 of the worm were built using Microsoft Visual C++ 6.0.

    EternalBlue was an exploit targeting Microsoft’s Server Message Block protocol, leaked by a group called The Shadow Brokers. Much of the reaction came from the fact that the U.S. National Security Agency had already found the flaw but used it for its own offensive purposes instead of telling Microsoft. The vulnerability was eventually discovered by Microsoft, who released a patch on March 14, 2017, in security bulletin MS17-010. That patch covered Windows Vista, Windows 7, Windows 8.1, Windows 10, and several server versions including Windows Server 2008, 2008 R2, 2012, 2012 R2, and 2016.

    DoublePulsar is a backdoor tool that was among files released by The Shadow Brokers on April 14, 2017. Starting April 21, researchers began reporting tens of thousands of computers infected with it. By April 25, estimates suggested the number could reach into the hundreds of thousands, rising daily. The WannaCry ransomware could use an existing DoublePulsar infection or install it itself. Then, on May 9, 2017, cybersecurity firm RiskSense posted code on GitHub claiming to let white hat testers check the CVE-2017-0144 exploit on unpatched systems.

    When WannaCry runs, it first checks a specific domain name to decide what to do. If that site can't be reached, it starts encrypting files on the computer and tries to spread itself using a flaw in network security. It installs itself quietly, hides its files, changes system settings, and deletes backup copies so they can’t be used to recover data. Once the encryption is done, it shows a message telling users their files are locked and asks for about $300 in bitcoin within three days, or $600 within a week. The ransom must be paid to one of three bitcoin wallets that are set up in the malware. Even though the owners of those wallets remain unknown, all transactions are publicly visible on the blockchain.

    Several organizations jumped in with detailed technical breakdowns of the malware, including a senior security analyst at RiskSense, as well as teams from Microsoft, Cisco, Malwarebytes, Symantec, and McAfee. These groups all contributed write-ups that helped explain how WannaCry worked and spread. Each report added to the understanding of the attack, offering insights into the methods used by the cybercriminals behind it. The collaboration between these security firms provided a clearer picture of the threat and helped others prepare for similar incidents in the future.

  2. 02 Attack 1m Download (551 KB)
    Read this chapter

    The WannaCry ransomware attack started on Friday, 12 May 2017, with signs pointing to an early infection in Asia at 07:44 UTC. The first spread likely happened through an exposed and vulnerable SMB port, not through email phishing as was first thought. Within just one day, reports came in saying the malware had infected more than 230,000 computers across over 150 countries.

    Organizations that hadn’t installed Microsoft’s March security update were hit hard by the attack. Systems running unsupported versions of Windows, like XP and Windows Server 2003, faced the greatest danger since no patches had been released for those systems since April 2014 for XP and July 2015 for Server 2003. A Kaspersky Lab study found that fewer than 0.1 percent of affected machines were running Windows XP, with 98 percent using Windows 7. In tests, the cybersecurity firm Kryptos Logic discovered WannaCry couldn’t infect a Windows XP system using its main exploits—it either failed to load or crashed the OS. But when manually executed, the malware still functioned on XP.

  3. 03 Defensive response 3m Download (1.5 MB)
    Read this chapter

    Experts quickly warned people not to pay the ransom, noting there were no confirmed cases of users getting their data back after paying, and that doing so would only encourage more attacks like this one. By June 14, 2017, once the WannaCry attack had quieted down, authorities had tracked 327 payments totaling $130,634.77 — or about 51.6 BTC — which by February 27, 2026, were worth roughly $3,390,765.29.

    The day after the initial attack in May, Microsoft acted quickly to release emergency security updates for older systems including Windows XP, Windows Server 2003, and Windows 8. These fixes had been developed in February but were previously only accessible to those who paid for custom support plans. Organizations were urged to apply the patches and close the vulnerability in order to defend against further attacks. Adrienne Hall, who leads Microsoft's Cyber Defense Operations Center, said that because of the heightened risk of destructive cyber-attacks at the time, they chose to make these updates widely available. She explained that applying them offers added protection against threats resembling WannaCrypt.

    Marcus Hutchins, a researcher, found a kill switch built into WannaCry, a piece of malware that was spreading like a worm. By registering the domain name, he created a DNS sinkhole that stopped the infection from spreading further, since the ransomware would only encrypt files if it couldn’t reach that specific domain. This gave defenders time to respond, especially in North America and Asia, where the attack hadn’t hit as hard yet. On 14 May, a new variant appeared with a second kill-switch registered by Matt Suiche. The next day, Check Point threat analysts registered a third and final kill-switch. But soon after, a version without any kill switch was discovered.

    On May 19, reports emerged that hackers were attempting to use a Mirai botnet variant to launch a distributed denial-of-service attack against WannaCry’s kill-switch domain, hoping to shut it down. By May 22, Hutchins intervened by switching the domain to a cached version of the site, one capable of handling far more traffic than the original live version could manage.

    Researchers from University College London and Boston University developed a system called PayBreak that could stop WannaCry and other ransomware families from locking users' data. The system works by recovering the encryption keys used during the attack. It's a defensive tool designed to help people regain access to their files when they've been hit by this kind of malware.

    A French researcher found that WannaCry’s Windows encryption APIs didn’t fully erase the prime numbers needed to build its private keys from memory. As long as the infection wasn’t ended and the system hadn’t restarted, those keys could still be recovered. Using this method, the researcher created a tool called WannaKey, which worked on Windows XP. A second tool, Wanakiwi, was later developed and tested successfully on Windows 7 and Server 2008 R2 systems.

  4. 04 Attribution 2m Download (1 MB)
    Read this chapter

    The ransom notes offered clues about the attack’s creators. The Chinese and English versions appeared to be written by someone who spoke those languages fluently, while other translations seemed machine-generated. FBI analysts studied the files and discovered the computer used to make them had Hangul fonts installed, identified by a Rich Text Format tag. They also found that the system's metadata indicated it was configured for UTC+09:00, a time zone associated with Korea.

    A security researcher first pointed to similarities between WannaCry and earlier malware by posting a tweet. Kaspersky Lab and Symantec later said the code resembled work linked to the Lazarus Group, connected to North Korea. That group was previously tied to the 2014 Sony Pictures attack and a 2016 Bangladesh bank heist. But those code similarities could mean another group reused the code or that the attack was designed to mislead, a false flag operation. An alleged leaked NSA memo also reportedly connected the worm’s creation to North Korea. Microsoft president Brad Smith said he believed the nation was behind WannaCry, and the UK’s National Cyber Security Centre came to the same conclusion.

    On December 18, 2017, the U.S. government officially pointed to North Korea as the main suspect in the WannaCry ransomware attack. Tom Bossert, President Donald Trump’s Homeland Security Advisor, said in The Wall Street Journal that the accusation was not taken lightly and was grounded in evidence. He later told a press conference that the evidence suggested Kim Jong-un had ordered the malware. Canada, New Zealand, and Japan backed the U.S. conclusion, while the United Kingdom’s Foreign and Commonwealth Office also expressed support for the claim. North Korea denied any role in the cyberattack.

    On September 6, 2018, the U.S. Department of Justice announced charges against a man named Park Jin-hyok for his role in the 2014 hack of Sony Pictures. The DoJ said Park worked as a hacker for a group linked to North Korea’s Reconnaissance General Bureau. They also claimed this same group was behind the WannaCry ransomware attack, along with other cyber activities.

  5. 05 Impact 2m Download (1002 KB)
    Read this chapter

    Europol described the attack as truly global, noting that roughly 200,000 devices were compromised in over 150 nations. Kaspersky Lab later pointed to Russia, Ukraine, India, and Taiwan as the hardest-hit regions.

    The WannaCry ransomware struck the National Health Service hospitals across England and Scotland, affecting as many as 70,000 devices. These included computers, MRI scanners, blood-storage refrigerators, and theatre equipment. On 12 May, some NHS services were forced to turn away non-critical emergencies, while ambulances had to be redirected. In 2016, thousands of computers in 42 NHS trusts in England were still running Windows XP. A follow-up report by Members of Parliament in 2018 revealed that all 200 NHS hospitals or other organisations inspected after the attack still failed cybersecurity checks. Notably, NHS hospitals in Wales and Northern Ireland escaped the attack entirely.

    Production at Nissan Motor Manufacturing UK in Tyne and Wear came to a halt when the ransomware infected some of their systems. Renault also shut down operations at several sites in an effort to stop the malware from spreading further. The attack reached across borders, affecting Spain’s Telefónica, FedEx, and Germany’s Deutsche Bahn, among many other companies and countries worldwide.

    The WannaCry ransomware attack caused less damage than many feared, possibly because a kill switch was built into the malware by its creators. That feature likely prevented the outbreak from spreading further. The situation might have been far worse if the attack had targeted critical systems like nuclear power plants, dams, or railway networks. It was discovered that the malware’s designers included a way to stop it, which helped limit its reach. Without that kill switch, the damage could have reached much more serious consequences. The actual outcome, while still significant, was less catastrophic than it might have been.

    Cyence, a cyber-risk-modelling firm, said the economic damage from the attack could top four billion dollars. Other organizations put the cost in the hundreds of millions.

  6. 06 Reactions 2m Download (1.2 MB)
    Read this chapter

    Experts pointed to the NSA's decision not to disclose a key vulnerability that later allowed the WannaCry attack to spread. Edward Snowden said if the NSA had privately disclosed the flaw when found, instead of waiting until it was lost, the attack might have been prevented. British cybersecurity expert Graham Cluley blamed U.S. intelligence services for failing to fix the issue long ago, noting these tools are useful for surveillance but agencies also have a duty to protect citizens. Others argued that keeping exploits for offensive use rather than sharing them for defense is risky. Microsoft president Brad Smith compared the situation to military weapons being stolen and causing damage. Russian President Vladimir Putin also blamed U.S. intelligence services for creating the tool EternalBlue that made the attack possible.

    On May 17, 2017, lawmakers from both sides of the aisle in the United States introduced the PATCH Act. The bill proposes that exploits be reviewed by an independent board. It aims to balance the need to disclose vulnerabilities with national security interests. The legislation also seeks to increase transparency and accountability. Its goal is to maintain public trust in how these processes are handled.

    On June 15, 2017, the U.S. Congress was scheduled to hold a hearing about the WannaCry attack. Two subpanels of the House Science Committee were set to listen to testimonies from people working in government and non-governmental sectors. The purpose was to discuss how the country could better protect its systems from similar attacks in the future.

    Marcus Hutchins, a cybersecurity researcher, worked with UK’s National Cyber Security Centre to study the malware and found a "kill switch" that stopped its spread. Global security researchers then joined online to build open-source tools that let people decrypt their files without paying the ransom. Snowden points out that when NSA-enabled ransomware threatens the internet, it's researchers—not spy agencies—who come to the rescue—and questions why that is the case.

    Adam Segal, speaking from his role at the Council on Foreign Relations, said that both private companies and government agencies are failing to keep their systems updated and secure. He added that when governments can’t protect vulnerabilities, it brings up serious concerns about backdoors and encryption access, an issue the government claims it needs from businesses for security purposes. At the same time, Arne Schönbohm, president of Germany’s Federal Office for Information Security, or BSI, stated that these attacks revealed how fragile our digital world has become. He called it a clear sign that companies must finally start taking IT security seriously.

  7. 07 United Kingdom 1m Download (901 KB)
    Read this chapter

    The WannaCry attack brought political fallout in the United Kingdom, especially after it hit the National Health Service. Some said the damage was made worse by years of underfunding. The NHS had stopped paying for support for older software like Windows XP. At the time, Home Secretary Amber Rudd wouldn’t confirm if patient data had been backed up. Shadow Health Secretary Jon Ashworth criticized Health Secretary Jeremy Hunt for not acting on warnings from Microsoft, the National Cyber Security Centre, and the National Crime Agency—messages they'd sent two months earlier.

    Others pointed out that vendors of hardware and software often don’t plan ahead for future security problems. They sell systems designed in ways that, over time, can't properly receive or apply updates. These technical choices, shaped by market forces, mean the systems eventually become vulnerable. That’s how flaws sneak in, and why patches sometimes fail to protect users. The issue isn’t just about technology—it’s about how products are built and sold, with long-term safety not always a priority.

    The NHS said it wasn’t still using Windows XP, claiming that only 4.7% of its devices were running the old operating system. But the attack cost the organization an estimated £92 million, from disrupted services to the necessary upgrades.

    After the attack, NHS Digital refused to fund the roughly £1 billion needed to reach the Cyber Essentials Plus standard, a cybersecurity certification organized by the UK’s NCSC. The organization said that spending that much would not represent “value for money.” Still, they had already invested more than £60 million and intended to spend an additional £150 million over the next two years to fix major weaknesses in their systems.

  8. 08 Lazarus Group 2m Download (1.1 MB)
    Read this chapter

    Overview

    The Lazarus Group, also called the Guardians of Peace or Whois Team, is a hacker collective believed to be linked to North Korea’s government. Researchers have traced many cyberattacks to the group since the 2010s. At first seen as a criminal organization, it's now classified as an advanced persistent threat because of its methods and goals. The U.S. Department of Homeland Security refers to its activities as Hidden Cobra, while Microsoft has used names like ZINC and Diamond Sleet. According to North Korean defector Kim Kuk-song, the group is known internally as the 414 Liaison Office. The United States Department of Justice claims the group helps North Korea undermine global cybersecurity and make illegal money, in violation of sanctions. Cyber operations give North Korea a way to threaten larger nations with a small team of operators, especially South Korea.

    History

    The Lazarus Group, linked to North Korea, is believed to be behind several major cyberattacks. Their earliest known operation, "Operation Troy," ran from 2009 to 2012 and targeted South Korean government systems using basic DDoS methods. They also attacked Sony Pictures in 2014, showing a rise in sophistication. In 2015, the group stole money from banks in Ecuador and Vietnam, and in 2016, they were linked to a $81 million heist at Bangladesh Bank. A 2017 attack on Taiwan's Far Eastern International Bank resulted in a $60 million theft, though most funds were recovered. Kaspersky Lab noted that Lazarus focused on espionage while a subgroup called Bluenoroff targeted financial crimes, and found IP links to North Korea. However, the group may have used false flags to mislead investigators, especially since WannaCry copied NSA techniques, which were leaked by Shadow Brokers in 2017. Symantec said it was "highly likely" that Lazarus was behind that attack.

    2009 Operation Troy

    The Lazarus Group’s first major hacking incident happened on July 4, 2009, and it started what came to be known as "Operation Troy." Using Mydoom and Dozer malware, the group launched a large-scale DDoS attack against websites in the US and South Korea. The attack targeted around three dozen sites and left the message "Memory of the Independence Day" embedded in the master boot record, or MBR.

  9. 09 EternalBlue 2m Download (1.2 MB)
    Read this chapter

    Overview

    EternalBlue was a computer exploit created by the U.S. National Security Agency based on a hidden flaw in Microsoft Windows that let hackers take over networks. The NSA knew about the weakness but didn't tell Microsoft right away, keeping it for use in cyberattacks. In 2017, the NSA found out the tool had been stolen by a group called The Shadow Brokers. Microsoft patched the issue in March, but hackers tried to sell EternalBlue and failed. It was then leaked publicly on April 14. Just over a month later, on May 12, a ransomware worm named WannaCry used it to attack unpatched Windows computers. The exploit was also used again in June in the NotPetya attack. Reports say the Chinese group Buckeye had been using it since March 2016, and that it was later used in the Retefe banking trojan starting September 5, 2017.

    Details

    EternalBlue exploited a flaw in Microsoft’s SMB protocol, listed as CVE-2017-0144, allowing attackers to run code remotely on Windows systems. The NSA knew about the vulnerability for over five years before leaking the exploit in 2017, after which Microsoft issued a patch in March 2017. The Shadow Brokers released the tool publicly on April 14, and WannaCry began spreading May 12 using it. Many users hadn’t updated their systems, and Microsoft released emergency patches the next day for older unsupported versions. By February 2018, security researchers had adapted EternalBlue for all Windows systems since 2000, turning it into an open-source tool. Millions of devices stayed exposed, leading to billions in damages from ransomware like WannaCry, NotPetya, and BadRabbit.

    City of Baltimore cyberattack

    In May 2019, the city of Baltimore was hit by a cyberattack that froze thousands of computers and shut down email, disrupting services like real estate sales, water bills, and health alerts. Nicole Perlroth of The New York Times initially linked the attack to EternalBlue, but in a 2021 book about the cyber arms market, she clarified that EternalBlue wasn’t responsible. She criticized others for focusing on the technical detail that this particular ransomware attack hadn’t spread using EternalBlue. As a result, four Baltimore City chief information officers were fired or resigned, with two leaving under investigation. Some security researchers blamed the city for not updating its systems, and consultant Rob Graham said, “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.”

Read

Free to download, keep and share. For general information only — not professional medical, legal or financial advice. Please consult a qualified professional.

← All audiobooks