Wannacry ransomware: Why It Remains a Threat to Your PC
In this article
Yes, Wannacry ransomware is still a threat to your PC because it can exploit unpatched Windows vulnerabilities and spread across networks, encrypting files and demanding payment. Below is a practical guide to keep your system safe, detect an attack early, and respond effectively if you encounter it.
What You’ll Need
- Windows 10 or Windows 11 PC with administrator privileges
- Reliable internet connection for updates and security tools
- External backup drive or cloud storage with recent snapshots
- Antivirus or anti‑malware program that includes ransomware protection
- Microsoft Update or WSUS client enabled for automatic patches
- Optional: a second computer or virtual machine for safe‑mode scans
Step‑by‑Step
- Keep Windows and all software up to date. Open Settings > Update & Security > Windows Update, click "Check for updates," and install every available update. Repeat this for Microsoft Office, browsers, and any other applications that run on your PC. The original Wannacry exploit used the EternalBlue SMB vulnerability (CVE‑2017‑0144), which was patched in March 2017. Newer updates also close other known weaknesses that ransomware writers target.
- Enable Windows Defender (or equivalent AV) and set it to real‑time protection. Go to Settings > Update & Security > Windows Security > Virus & threat protection. Turn on "Real‑time protection" and "Cloud‑based protection." If you use a third‑party antivirus, ensure it is actively running and has the latest ransomware definitions.
- Activate Controlled Folder Access. In Windows Security, select "Ransomware protection" and click "Manage ransomware protection." Turn on "Controlled folder access" and add the folders you want to protect (Documents, Desktop, Pictures). This feature blocks unauthorized applications from writing to protected folders.
- Set up automatic, off‑site backups. Use File History (Settings > Update & Security > Backup) or a cloud backup service. Schedule daily or weekly snapshots and store them on a separate physical drive or in a cloud account that is not directly mounted to the PC. Verify that you can restore a file from the backup before you rely on it.
- Configure email and web filtering. Most Wannacry infections start with a phishing link or attachment. Use an email client that blocks suspicious attachments, or configure your corporate email gateway to quarantine attachments with the .exe extension. In browsers, enable pop‑up blockers and consider using a security extension that warns about known malicious URLs.
- Monitor network traffic for unusual SMB activity. Open the Windows Security dashboard, click "Device performance & health," then "Network & internet". Look for spikes in outbound SMB traffic or repeated connection attempts to the same IP. A sudden increase may indicate a worm‑like spread.
- Run a full system scan with your AV and an additional ransomware‑specific tool. After updates, perform a full scan in Windows Defender or your chosen antivirus. Follow up with Malwarebytes Anti‑Malware (free version) to catch any file‑level encryption attempts that the first tool may miss.
- Use “Windows Security” offline scan if the system is compromised. If you suspect encryption, reboot into the Windows Recovery Environment (Win + R, type "recovery"), then choose “Troubleshoot” > “Advanced options” > “Windows Defender Offline.” This scans the system before Windows loads, increasing the chance of catching malicious code.
- Keep a recovery plan ready. Document the steps to isolate the machine, disable network access, run scans, and restore from backup. Store this plan in a secure, off‑line location so you can access it even if your PC is locked.
Common Mistakes
- Ignoring Windows Update and leaving the system unpatched.
- Disabling antivirus or real‑time protection to speed up performance.
- Storing backups on the same local drive that is infected.
- Using weak or reused passwords that allow attackers to move laterally within a network.
- Not isolating an infected machine until after files are encrypted.
- Relying solely on a single backup without verifying restore capability.
Tips
- Use “Safe Mode with Networking” to reduce the number of running services and make it harder for malware to load.
- Set a strong, unique password for the administrator account and enable two‑factor authentication where possible.
- Regularly audit the list of installed programs and remove any that are no longer needed.
- Enable “BitLocker” encryption on the system drive to protect data if the machine is physically stolen.
- Keep a copy of the latest Windows Security logs in a separate location for forensic review after an incident.
Troubleshooting
- System is locked and files appear encrypted. Immediately disconnect from the network. Do not pay the ransom. Boot into Safe Mode or use a Windows Recovery Environment to run a full scan. If the AV does not detect the ransomware, use a dedicated ransomware removal tool such as Emsisoft Anti‑Ransomware or the Microsoft Defender Offline tool.
- Backup restoration fails. Verify the backup file integrity by opening a few files on another machine. If corruption is detected, try a different backup set or restore from cloud snapshots. If all backups are compromised, contact a data recovery specialist.
- Ransomware keeps re‑appearing after a clean. Check for lingering scheduled tasks, registry entries, or hidden services that may have been created by the malware. Use a reputable tool like Autoruns to review startup items. Delete any suspicious entries and re‑run the antivirus scan.
- Network traffic shows repeated SMB connections to an unknown IP. Block the IP in Windows Firewall (Settings > Update & Security > Windows Security > Firewall & network protection > Advanced settings). Use a network monitoring tool such as Wireshark to capture the traffic and identify the source.
- Unable to boot into Windows after infection. Use the Windows Recovery Environment to run “Startup Repair” or “System Restore” to a point before the infection. If that fails, reinstall Windows from a clean ISO and then restore user data from verified backups.
Frequently Asked Questions
What is the main vulnerability that Wannacry exploited?
The EternalBlue SMB vulnerability (CVE‑2017‑0144) in Windows 2000/XP/2003/2008/2012/2016/2019 and Windows Server 2003/2008/2012/2016/2019. It allowed remote code execution without authentication.
Can I recover my files without paying the ransom?
Yes, if you have recent backups or if the ransomware variant is not fully encrypting all file types. Use decryption tools available from the No More Ransom project for some older variants.
Will a clean reinstall of Windows remove all traces of Wannacry?
Yes, a fresh Windows installation will eliminate the malware. However, you must reinstall all applications and restore user data from a clean backup to avoid re‑infection.
How often should I update my antivirus definitions?
Set the antivirus to update automatically. If you prefer manual control, check for updates at least once a day during the first week after a major Windows patch release.
Is it safe to use Windows Defender for ransomware protection?
Windows Defender provides robust real‑time protection and ransomware‑specific features like Controlled Folder Access. Pair it with a secondary tool for layered defense.