Wannacry
Overview
WannaCry is ransomware first seen in a global attack in May 2017 that, per MITRE ATT&CK, affected more than 150 countries. It contains worm-like features that let it spread across networks using the SMBv1 exploit known as EternalBlue. Once on a machine it encrypts files and demands a Bitcoin ransom. The outbreak slowed after a researcher registered a 'kill-switch' domain found in the code. Systems that had applied the relevant Microsoft SMB security update were protected from the exploit it relied on.
Known aliases
Threat reports may refer to this family under multiple names:
MITRE ATT&CK Techniques
This family has been observed using the following ATT&CK techniques: T1210 T1486 T1083 T1490
Generated Detections (Boilerplate)
These YARA and Sigma rules are auto-generated based on the family name and aliases. They must be heavily tuned before deployment in a production environment.
YARA Rule
rule MALWARE_WIN_WANNACRY {
meta:
description = "Detects Wannacry (ransomware_worm)"
author = "SystemHelpdesk Boilerplate Generator"
date = "2026-07-06"
strings:
$s1 = "wannacry" ascii wide nocase
$s2 = "wannacry" ascii wide nocase
$s3 = "wanacrypt0r" ascii wide nocase
$s4 = "wcry" ascii wide nocase
condition:
uint16(0) == 0x5a4d and any of them
}Sigma Rule
title: Suspicious Wannacry Activity
id: 9678a98e2905327e855263bb52ade7e0
status: experimental
description: Detects generic indicators of the wannacry malware family.
logsource:
category: process_creation
product: windows
detection:
selection:
Image|endswith:
- '\cmd.exe'
- '\powershell.exe'
CommandLine|contains:
- "*wannacry*"
- "*wannacry*"
- "*wanacrypt0r*"
- "*wcry*"
condition: selection
level: mediumReferences & External Analysis
- MITRE ATT&CK: WannaCry (S0366)
- CISA Advisory
- Search "wannacry" on VirusTotal (External Analysis)
North American Authority Advisory (CISA / NIST)
The Cybersecurity and Infrastructure Security Agency (CISA) has published an official US federal advisory on this family, which can be mapped to NIST Cybersecurity Framework (CSF) incident response controls: https://www.cisa.gov/news-events/alerts/2017/05/12/multiple-ransomware-infections-reported
Frequently Asked Questions
What is WannaCry?
A ransomware worm from May 2017 that encrypted files and demanded Bitcoin, and spread itself automatically across networks.
How did WannaCry spread so quickly?
It used the wormable SMBv1 exploit EternalBlue to move between machines without user interaction, which is why it reached more than 150 countries so fast.
What is EternalBlue?
A Windows SMBv1 vulnerability exploit; applying the Microsoft patch released before the outbreak protected systems from it.
What was the WannaCry kill-switch?
The malware checked for a specific unregistered domain. A researcher registered it, which caused many samples to stop encrypting and slowed the global spread.
Could WannaCry have been prevented?
Largely yes — the SMB vulnerability it exploited had a Microsoft patch available before the outbreak, so patched systems were not vulnerable to its spreading mechanism.
Is paying the WannaCry ransom recommended?
Security guidance generally discourages paying ransoms; for WannaCry specifically, paying did not reliably restore files. Restore from clean backups and consult professional incident-response resources instead.
How do I protect against ransomware worms like WannaCry?
Apply security updates promptly, disable obsolete protocols like SMBv1, segment networks, and keep tested offline backups.
Where can I read the authoritative details?
MITRE ATT&CK's WannaCry entry (S0366), linked here, documents its techniques and references.
How do I remove the Wannacry Ransomware_Worm from Windows?
Manual removal of Wannacry is highly discouraged as it may leave persistence mechanisms intact. We recommend disconnecting the device from the internet and utilizing a professional incident response service or enterprise-grade EDR software to conduct a full forensic sweep.
Is Wannacry a virus or a Ransomware_Worm?
Wannacry is classified as a Ransomware_Worm. Unlike traditional viruses that infect files, modern malware like Wannacry typically operates as a standalone payload designed to compromise systems, steal data, or deploy secondary stage implants.
What are the main symptoms of a Wannacry infection?
Symptoms of Wannacry can include unexpected system slowness, unauthorized outbound network traffic to unknown IP addresses, disabled security software, and suspicious background processes running from AppData or Temp directories.
Protect Your Network Against Ransomware_Worms
Want to prevent Wannacry and similar threats from compromising your organization? Read our comprehensive defensive guide: Ransomware Protection Guide.
Machine-readable
Get this profile as JSON: https://jordan123234-malware-families-explorer.static.hf.space/api/wannacry.json
Ecosystem & Interactive Environments
This profile is part of the Malware Families Catalog, a public dataset of 2,899 malware families. The catalog is also published across our ecosystem: Hugging Face, Kaggle, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.