The best ransomware protection is layered. Tested backups come first, with one copy kept offline or immutable. Next comes the protection already in your OS, then a security suite with behavioral ransomware blocking. Below I compare Microsoft Defender, File History, the macOS built-ins, Time Machine, Bitdefender, Malwarebytes and ESET by OS, ransomware features and cost.
Table of Contents
Best ransomware protection tools compared
Rows run in layer order. Cost means free or paid only; prices are covered below.
| Tool | OS | What it does against ransomware | Cost | Source |
|---|---|---|---|---|
| Windows File History and Windows Backup | Windows 10 and 11 | File History keeps file versions on an external or network drive. Windows Backup syncs folders to OneDrive, where Microsoft 365 subscribers can undo changes from the last 30 days. | Built in; OneDrive has 5 GB free, restore needs Microsoft 365 | File History, Windows Backup, OneDrive restore |
| Time Machine | macOS | Keeps hourly, daily and weekly backups on an external disk or network destination. Apple says to eject the disk, or shut down the Mac, before unplugging it. | Free, plus the disk | Time Machine, backup disks |
| Microsoft Defender Antivirus with controlled folder access | Windows 10 and 11, Home included | Lets only trusted apps change protected folders and blocks the rest. Off by default; needs Defender as your active antivirus. | Free, built in | Microsoft Learn |
| macOS built-in protections | macOS | General malware defenses: Gatekeeper and notarization vet apps, and XProtect blocks known malware and remediates infections. Apple’s page on them does not mention ransomware. | Free, built in | Apple Platform Security |
| Bitdefender Total Security | Windows, macOS | Windows: Ransomware Remediation backs up your files, blocks the processes behind an attack and restores encrypted files automatically. Mac: Safe Files limits which apps can change protected folders. | Paid; free Windows version has basic ransomware protection | Remediation (Windows), Safe Files (Mac), Total Security, Free version |
| Malwarebytes Premium | Windows (no Mac ransomware layer) | A Ransomware Protection layer that detects and prevents malicious software from locking you out of your system. | Paid; free version scans on demand | Real-Time Protection, Free vs paid |
| ESET home editions, such as Security Ultimate | Windows | Ransomware shield, a HIPS layer that needs ESET LiveGrid turned on. Folder Guard (Smart Security Premium, Security Ultimate) blocks untrusted apps from protected folders. | Paid | HIPS, Folder Guard |
I read these vendor documents and lab reports on October 6, 2026, with curl and a web browser on a Mac (Apple M3 Max, macOS 26.6). I installed and tested none of these tools: every product claim is from the vendor’s own documentation and every detection claim from a named AV-TEST or AV-Comparatives report.
I left Kaspersky out: the Commerce Department’s final determination (Federal Register, June 24, 2024) bars Kaspersky from entering new agreements with US persons for its antivirus and other cybersecurity products from July 20, 2024, and from providing antivirus signature updates in the US from September 29, 2024.
Turn on controlled folder access in Windows
Controlled folder access is off by default and works only while Microsoft Defender Antivirus is your active antivirus. These are the steps on Microsoft’s configuration page for Windows 10 and later, updated August 31, 2026:
- Open Windows Security and select Virus & threat protection.
- Under Virus & threat protection settings, select Manage settings.
- Under Controlled folder access, select Manage controlled folder access.
- Slide the toggle to On and select Yes at the User Account Control prompt.
By default it guards Documents, Favorites, Music, Pictures and Videos; Protected folders adds more. If it blocks a program you trust, choose Allow an app through Controlled folder access.
A suite replaces Defender. Microsoft says Windows 10 and 11 turn Defender off, or to passive mode, when a non-Microsoft antivirus is installed, and controlled folder access does not work in either state, so with a suite you rely on its own ransomware layer. Windows Security, Virus & threat protection, Manage providers shows which antivirus is active.
What the test labs show about these suites
The labs score whole products, not ransomware alone. In AV-TEST’s August 2026 test of 15 home-user products on Windows 11 (default settings), Bitdefender Total Security 27.0, ESET Security Ultimate 19.1 and 19.2, Malwarebytes Premium 5.5 and 5.6, and Microsoft Defender Antivirus (Consumer) 4.18 each scored 6 of 6 for Protection.
AV-TEST’s Protection module covers zero-day malware attacks from the Internet, including web and e-mail threats, and widespread malware from the previous four weeks. Neither that page nor the results page mentions ransomware, and AV-Comparatives’ 2026 Mac review says all products protect against ransomware the same way as other malware. I read the scores as evidence that the engines are competitive, not as a ransomware ranking: they do not separate Defender from the suites, so I would choose between them on the OS and ransomware features in the table. AV-Comparatives itself says some computers will inevitably become infected, so antivirus comes last in my order. My Windows antivirus options page sets Defender against other Windows products using both labs’ figures.
Set up backups ransomware cannot reach
Backups come first because they still work when the other layers fail. CISA’s #StopRansomware Guide says to keep offline, encrypted backups and test them regularly, since many ransomware variants try to find and delete or encrypt backups they can reach. The FBI agrees: keep backups disconnected from the computers and networks they protect.
My rule is 3-2-1 plus one condition. CISA’s Data Backup Options paper defines 3-2-1 as three copies of any important file, on two media types, with one copy offsite. I add that one copy must be offline, or immutable if it is in the cloud (the CISA guide notes some cloud vendors offer immutable storage). On a Mac that can be a Time Machine disk you eject after each backup; on Windows, an external drive you connect only while a backup runs.
Sync is not that copy. Windows Backup syncs folders to OneDrive, and Restore your OneDrive can undo up to 30 days of changes, including malware damage, but only for Microsoft 365 subscribers. I treat it as a recovery layer.
Test the restore, not the backup job: the FBI says to double-check that backups were completed, and CISA says to test their integrity. Each quarter I would restore one real file to a different location and open it; File History offers Restore to… for that.
Close the common ways ransomware gets in
- Use a standard account day to day. CISA says attackers often leverage privileged accounts for network-wide ransomware attacks, and AV-Comparatives’ Mac review advises against an administrator account for daily computing. Apple says your first Mac account is an administrator, so add a standard one under System Settings, Users & Groups.
- Patch everything. The FBI lists keeping operating systems, software and applications current among its tips. On a Mac, turn on Install macOS updates under System Settings, General, Software Update, Automatic Updates (Apple’s macOS Tahoe 26 guide). Microsoft says Windows 10 lost free security fixes on October 14, 2025, and support for Windows 7 and 8.1 ended earlier, so I would keep important files off a PC that cannot run a supported Windows: on out-of-support Windows versions every new vulnerability stays unpatched.
- Keep Remote Desktop off the internet. CISA says not to expose services such as remote desktop protocol on the web. If you use Remote Desktop from an Android phone, never forward TCP port 3389 from your router.
How much these tools cost
Defender, the macOS protections, File History and Time Machine come with the OS, so the only cost is the drive you back up to. I give no prices because Bitdefender and ESET label their advertised price as introductory: Bitdefender’s Total Security page says “First year price. Plus applicable sales tax.” and ESET’s page says “Price valid for the first term only.”
A number scraped from a vendor page is no more reliable. A plain curl fetch of four vendor pages with a browser user agent returned this in August 2026:
curl -A "Mozilla/5.0 ..." https://us.norton.com/products/norton-360-antivirus-plus
-> HTTP 200. Page contains price strings from $1.67 to $399.99 across roughly
20 distinct figures (monthly / annual / multi-year / bundle tiers) -- no single "the price".
curl -A "Mozilla/5.0 ..." https://www.bitdefender.com/en-us/consumer/antivirus
-> HTTP 200, 83KB of HTML, zero literal "$" price strings (pricing is rendered client-side).
curl -A "Mozilla/5.0 ..." https://www.malwarebytes.com/solutions/ransomware/
-> HTTP 301 -> 200, 322KB of HTML, zero literal "$" price strings (client-side rendering).
curl -A "Mozilla/5.0 ..." https://www.totalav.com/
-> HTTP 200, 438 bytes total returned (JS shell only, no content in the raw fetch).
One figure says nothing about the term, device count or offer behind it, so I would rather write paid than pick a number.
What to do if ransomware already hit
Disconnect the computer from the network first. CISA’s response checklist says to isolate affected systems, unplugging the network cable or leaving Wi-Fi if needed. Clean the PC before recovering files, as Microsoft advises. Do not pay: Microsoft says there is no guarantee you will regain access, and the FBI says paying does not guarantee your data back and encourages perpetrators to target more victims.
Then look for a free decryptor. CISA notes that researchers may have released decryption tools for some variants, and No More Ransom hosts such tools, though not every type has one; remove the malware first, or files will be encrypted again. Restore from your offline backup once the PC is clean, and in the US report the attack to your local FBI field office or ic3.gov.