Best for · VPN
Antivirus software for ransomware: what stops it, and what gets your files back
- Last checked
- 8 sources, linked below
- By the vectaai team
We read every plan page. Paid links are labelled. Money never changes a ranking. How we pick.
Verdict Our pick
The bar guide has a call.

- Any top antivirus helps against ransomware, but none should be your only plan.
Compared here
- 01Microsoft Defender with Controlled folder access
- 02Bitdefender Antivirus Plus
- 03Bitdefender Total Security
- 04Malwarebytes Premium
- 05McAfee
- 06OneDrive file restore
Short answer
Any top antivirus helps against ransomware, but none should be your only plan. In AV-Test's October 2026 Windows test, 13 of 16 products, including free Microsoft Defender, Bitdefender, Malwarebytes, Norton and McAfee, scored a perfect 6 out of 6 for protection. The difference is the extra ransomware layer and what happens after something slips through.
For most home users: turn on Windows' free Controlled folder access (it is off by default), keep a backup that ransomware cannot reach, and add a paid suite only if you want more layers. If you pay, Bitdefender Antivirus Plus is $24.99 for the first year on one PC and lists Multi-Layer Ransomware Protection; Malwarebytes Premium says it "stops ransomware in real-time", while free tools may only clean up afterwards.
Microsoft's own advice: "Don't pay money to recover your files." CISA says keep offline, encrypted, tested backups. Facts read on official pages, 4 December 2026.
Sponsored links. We may earn a commission; it never changes the pick.
At a glance
| Option | Ransomware feature | AV-Test protection (Oct 2026) | Price we could read | Best for |
|---|---|---|---|---|
| Microsoft Defender + Controlled folder access | Only trusted apps can change protected folders; off by default | 6/6 | Built into Windows | Most home PCs, with a backup |
| Bitdefender Antivirus Plus | Multi-Layer Ransomware Protection with a data-protection layer | 6/6 (Total Security tested) | $24.99 first year, 1 PC; $29.99 for 3 | Cheap extra layer on Windows |
| Bitdefender Total Security | Same, plus Mac, Android, iOS | 6/6 | $59.99 first year, up to 5 devices | Mixed-device homes |
| Malwarebytes Premium | Real-time ransomware protection, "zero-day ransomware" blocking on Windows | 6/6 | Pricing page did not load for us | Cleaning up and second-opinion scans |
| McAfee | Part of the full suite | 6/6 | $29.99/yr and up (App Store listing) | Families wanting a bundle |
| OneDrive with Microsoft 365 | Ransomware detection alerts, restore whole OneDrive to any day in last 30 | Not an antivirus | Needs a Microsoft 365 subscription | Getting files back |
Ransomware is the one threat that makes people buy antivirus in a panic. You read a story about a hospital, a city, or your cousin's photo library, and suddenly the scary "Total Security Ultimate Max" box looks reasonable.
Take a breath. Here is the honest picture: good antivirus makes ransomware much less likely to get through, but the thing that actually saves your files is a backup the ransomware cannot touch. Get both right and you can sleep.
How we did this: we read AV-Test's latest Windows results, Microsoft's documentation on Controlled folder access and OneDrive restore, Microsoft's and CISA's ransomware guidance, and Bitdefender's and Malwarebytes' own product pages, all on 4 December 2026. We did not detonate ransomware in a lab. Norton's product page returned 403 to us, so we quote no Norton price. Bitdefender and Malwarebytes may pay us through our links; we still put the free Windows option first.
Step one: stop it getting in
Ransomware is still malware. It arrives the usual ways: a dodgy email attachment, a fake update, a cracked program, a compromised website. So the first line is a good antivirus engine.
The good news: the top engines are very close. In AV-Test's September to October 2026 round on Windows 11, these all scored 6 out of 6 for protection, plus 6 for performance and 6 for usability:
| Product | Protection | Performance | Usability |
|---|---|---|---|
| Microsoft Defender (consumer) | 6 | 6 | 6 |
| Bitdefender Total Security | 6 | 6 | 6 |
| Malwarebytes Premium | 6 | 6 | 6 |
| Norton 360 | 6 | 6 | 6 |
| McAfee Total Protection | 6 | 6 | 6 |
| ESET Security Ultimate | 6 | 6 | 6 |
| Kaspersky Premium | 6 | 6 | 6 |
| Avast Free Antivirus | 6 | 6 | 6 |
AV-Test does not publish a separate ransomware score in that table, so nobody can honestly say "product X blocks 3% more ransomware" based on it. Anyone selling you that line is guessing.
Step two: a dedicated ransomware layer
This is where products differ. A ransomware layer watches for the tell-tale behaviour: one program suddenly rewriting hundreds of your files.
Free: Windows Controlled folder access
This is the most underused free security feature in Windows. Microsoft's documentation explains it simply: Controlled folder access "allows only trusted apps to change files in protected folders". When an untrusted app tries, it blocks it and tells you.
What it protects by default:
- Documents, Pictures, Videos, Music and Favorites for your user account
- The Public versions of those folders
- The hard drive boot sectors, to stop disk-wiper malware
You can add more folders, including network shares. Microsoft trusts most well-known apps automatically, so you rarely need to allow anything by hand.
The catch: it is off by default. And it only works when Microsoft Defender is your active antivirus with real-time protection on. Install another antivirus and Defender switches off, so Controlled folder access goes with it.
How to turn it on (Windows 10 and 11):
- Open Windows Security.
- Go to Virus & threat protection.
- Under Ransomware protection, choose Manage ransomware protection.
- Switch Controlled folder access on.
- Use Protected folders to add any other folder where you keep important files.
- If a program you trust gets blocked, use Allow an app through Controlled folder access.
Expect the odd pop-up the first week, usually from a game saving into Documents or an old photo editor. Allow the ones you trust and it goes quiet.
Paid: Bitdefender
Bitdefender's Antivirus Plus page lists Multi-Layer Ransomware Protection, with a data-protection layer that guards documents, pictures, videos and music and works with its Advanced Threat Defense behaviour monitor. That is the same idea as Controlled folder access, managed for you.
Price, from Bitdefender's page: Antivirus Plus is $24.99 for the first year on one device, or $29.99 for up to 3 devices, plus tax. Total Security is $59.99 for the first year for up to 5 devices across Windows, Mac, Android and iOS. Both have a 30-day refund window, which also applies after an automatic renewal. Renewal is billed "at the applicable renewal price", which can be higher, so set a reminder. Our Bitdefender deal page tracks the current offers.
Paid: Malwarebytes Premium
Malwarebytes says its Premium ransomware protection "uses proprietary tech" and "stops ransomware in real-time before it's a danger", including zero-day ransomware on Windows. Its own page also says something honest about free tools: they "may not be able to stop a ransomware attack until after it infects your device". That includes Malwarebytes' own free scanner, which cleans up rather than blocks.
Malwarebytes' pricing page did not load for our reader, so we print no price. It scored 6/6 in AV-Test's October round and is popular as a cleaner when something has already gone wrong.
Bundles: Norton and McAfee
Both scored top marks in the same test and both sell big suites. Norton's site blocked us. McAfee's official App Store listing shows yearly plans from $29.99, with its full family bundle at $199.99 a year; we go through it in is McAfee a good antivirus. Buy these for the bundle (VPN, identity monitoring, cloud backup), not because their ransomware engine is in a different league.
Step three: the backup that saves you
Here is the part antivirus marketing skips. Even the best engine misses something one day. When it does, your files are only as safe as your last backup.
CISA's #StopRansomware guide puts it in three words that matter: maintain offline, encrypted backups of critical data, and regularly test that you can restore them. It also warns that "many ransomware variants attempt to find and subsequently delete or encrypt accessible backups". A USB drive that is always plugged in is not a backup against ransomware; it is a second victim.
A simple home setup that follows that advice:
- Cloud with version history. Microsoft says OneDrive has built-in ransomware detection and recovery and file versioning. With an active Microsoft 365 subscription, you can restore your entire OneDrive to any date within the last 30 days, and after an automatic ransomware detection it suggests a restore date for you. Without a subscription, personal accounts can restore individual files only.
- An external drive you unplug. Back up once a week or month, then unplug it and put it in a drawer.
- Test it. Once in a while, restore one folder and open a few files. A backup you have never restored is a hope, not a plan.
If ransomware hits anyway
Microsoft's and CISA's advice, boiled down:
- Disconnect the infected device from the network and Wi-Fi.
- Do not pay. Microsoft: "Don't pay money to recover your files", because "there is no guarantee that you'll regain access to your PC or files". If you already paid, contact your bank and local authorities immediately.
- Clean every device first. Microsoft says to fully clean your PC with Windows Security before recovering files. Otherwise your restored files can get encrypted again. A second-opinion scanner like Malwarebytes can help here.
- Ask about decryptors. CISA suggests consulting law enforcement about decryptors that may exist for your strain.
- Restore from backup, using OneDrive's restore or your offline drive.
- Change passwords for email, banking and your password manager from a clean device.
Which setup should you pick?
| You are | Do this |
|---|---|
| One Windows PC, careful user | Defender + Controlled folder access on + OneDrive or offline backup. Cost: nothing extra, or your Microsoft 365 plan |
| One Windows PC, want an extra layer | Bitdefender Antivirus Plus ($24.99 first year) + a backup |
| Mixed Windows, Mac and phones | Bitdefender Total Security ($59.99 first year, 5 devices) or a family suite + backups |
| Small business with shared files | Look past home antivirus; read antivirus vs EDR |
| Already infected | Disconnect, clean with Windows Security or Malwarebytes, restore from backup, do not pay |
For a broader list of engines, see best antivirus software and best free antivirus. If you are not sure you need a paid product at all, our is antivirus necessary page walks through it.
Our verdict
The best antivirus software for ransomware is the one that is actually switched on, with its ransomware layer enabled, sitting next to a backup the attacker cannot reach. For most people that is free Microsoft Defender with Controlled folder access turned on plus OneDrive or an unplugged drive. If you want a paid layer, Bitdefender is the cheapest solid one we could price today. Spend the money you save on a decent external drive.
Questions people ask
What is the best antivirus software for ransomware?
On lab scores, the top group is tied: AV-Test's October 2026 Windows round gave 6/6 protection to Microsoft Defender, Bitdefender, Malwarebytes, Norton, McAfee, ESET, Kaspersky and others. Pick by extras. Bitdefender is a cheap paid layer at $24.99 for one PC. Free Defender with Controlled folder access turned on is strong if you also keep backups.
Does Windows Defender protect against ransomware?
Yes. Microsoft Defender Antivirus is built into Windows and scored 6/6 for protection in AV-Test's October 2026 test. Its specific ransomware feature, Controlled folder access, is off by default; once on, only trusted apps can change files in Documents, Pictures, Videos, Music and Favorites. It only works while Defender is your active antivirus.
Can antivirus remove ransomware and decrypt my files?
Antivirus can usually remove the ransomware program itself, but that does not unlock files already encrypted. Microsoft says to clean your PC fully first, then recover files from a backup or OneDrive. CISA says to consult law enforcement about possible decryptors. Removing the malware and getting data back are two separate jobs.
Is free antivirus enough for ransomware?
Often, yes, if you pair it with backups. Free Defender scored 6/6 and has Controlled folder access. Malwarebytes warns that free ransomware tools may not stop an attack until after it infects your device, which is true of its own free scanner. The bigger risk is having no backup, not having no paid antivirus.
Should I pay the ransom?
Microsoft's advice is blunt: don't pay money to recover your files, because there is no guarantee you will get access back. If you already paid, it says to contact your bank and local authorities right away. CISA recommends contacting federal law enforcement. Restore from backup instead, after cleaning every device.
Sources
Every fact above comes from these pages. Prices change, so each one carries the date we read it.
- AV-Test: Test antivirus software for Windows 11, home users (October 2026), checked 4 Dec 2026
- Microsoft Learn: Protect folders from ransomware with controlled folder access, checked 4 Dec 2026
- Microsoft Support: Protect your PC from ransomware, checked 4 Dec 2026
- Microsoft Support: Restore your OneDrive, checked 4 Dec 2026
- CISA: #StopRansomware Guide, checked 4 Dec 2026
- Bitdefender Antivirus Plus, checked 4 Dec 2026
- Bitdefender Total Security, checked 4 Dec 2026
- Malwarebytes: Anti-ransomware protection, checked 4 Dec 2026