How ransomware scanners detect and stop file encryption threats

Photo of author

By Markus Winkelhock

A ransomware scanner checks your files, memory, and running programs for signs of software built to lock your data and demand payment. That's the whole job. How well it does it depends on how it looks.

What a ransomware scanner actually does

Most products sold under this label are antivirus engines with extra ransomware rules. Some are standalone tools you run on demand. Others sit in the background and watch every file operation.

Both kinds answer one question: is something here trying to encrypt files that it has no business touching?

Three ways scanners catch ransomware

Signatures. The scanner compares files against a database of known malicious code. It's fast and accurate for threats it has seen. It's useless against a new variant that nobody has catalogued yet.

Heuristics. The scanner looks at what a file is built to do. Does it contain routines for enumerating drives, deleting shadow copies, or calling encryption libraries? This catches some new samples, but it also produces false alarms.

Behavior monitoring. This is the one that matters most. The scanner watches live activity. If one process rewrites 200 documents in thirty seconds and renames them with a strange extension, that's ransomware behavior no matter what the file looks like. The tool can kill the process and sometimes roll back changes.

Signatures catch yesterday's attacks. Behavior monitoring catches today's.

What a scanner can't do

It can't fix a stolen password. If an attacker logs into your remote desktop with valid credentials, they can often switch off your protection before they start.

It can't protect files on a machine that isn't running it. A forgotten file server, a NAS, or a laptop in a drawer is exposed.

It can't promise a clean result. A scan that finds nothing means "nothing I recognize," not "nothing there."

That last point is why I treat a scanner as one layer, never the plan.

How often to scan

These are rules of thumb, not measured figures. Adjust them to how your machines get used.

  • Real-time protection: always on. No exceptions.
  • Quick scan: daily. It covers memory, startup items, and common hiding spots, and usually takes 2 to 10 minutes.
  • Full scan: weekly, scheduled for a time the machine is idle. On a 500 GB solid-state drive expect roughly 30 to 90 minutes. A spinning hard drive of the same size can take 2 to 4 hours.
  • Offline or boot-time scan: monthly, or any time you suspect something got past the live protection. Malware that hides while Windows is running can't hide when Windows isn't.

Scanning more often than this rarely buys you anything. A full scan every night mostly wears down laptop batteries and annoys people.

The option I'd pick

I'd pick behavior-based endpoint protection that runs continuously on every device, paired with backups the attacker can't reach.

For a home user or a very small office, that can mean Microsoft Defender, which ships with Windows, with Controlled Folder Access turned on. That feature blocks unapproved programs from changing files in protected folders like Documents and Pictures. It takes a few minutes to enable. Expect it to complain the first week as it learns which of your programs are legitimate, and add those to the allowed list as it asks.

For a business with 10 or more computers, I'd move to a managed endpoint product with a central dashboard. The reason isn't better detection. It's that you can see which machines are out of date, which have protection switched off, and which flagged something at 3 a.m. Unmonitored alerts are just noise.

The option I wouldn't bother with

I wouldn't bother with free "ransomware scanner" websites that promise to check your network from a browser. A web page can't see inside your machines. At best it probes your public-facing ports, which a decent firewall check does better. At worst it's a lead-generation form.

I'd also skip running two real-time antivirus products side by side. They fight over the same file hooks, slow the machine, and can generate conflicts that leave gaps. Pick one real-time engine. If you want a second opinion, use a second tool for occasional on-demand scans only.

Backups matter more than the scanner

A scanner lowers the odds of an infection. A good backup limits the damage when one gets through. If you can only improve one thing this month, improve the backup.

The standard guideline is 3-2-1: three copies of your data, on two kinds of storage, with one copy offsite. For ransomware I'd add a fourth condition: at least one copy must be offline or immutable, meaning it can't be altered or deleted for a set period even by an administrator.

Some practical numbers:

  • Retention: keep 30 to 90 days of versions. Ransomware can sit quietly for days before it triggers, and you don't want every backup to contain the infected files.
  • Frequency: daily for most small businesses. If losing a day of work would hurt badly, back up every 1 to 4 hours.
  • Restore test: quarterly. Pick a random folder and restore it. A backup you've never restored is a hope, not a backup.

What it costs, and what it saves

Business endpoint protection commonly runs somewhere around $30 to $60 per device per year, though pricing varies by vendor and volume. Treat that as a ballpark and check current quotes.

Here's an illustrative calculation, not a statistic. Say you have 20 computers and your business loses $500 for every hour it can't operate. Protection at $50 each costs $1,000 a year. A two-day outage of 16 working hours costs $8,000 in lost revenue before you pay for any recovery help. Preventing or shortening a single incident covers the protection for eight years.

Run the same math with your own hourly figure. If you don't know it, estimate it from monthly revenue divided by working hours, then be honest about it.

If your scanner finds something

Act fast, and in this order:

  1. Disconnect the machine from Wi-Fi and unplug the network cable. Don't shut it down yet if you can avoid it, since memory can hold useful evidence.
  2. Don't log in with admin accounts on that machine. Attackers harvest those credentials.
  3. Check the others. Look for the same ransom note, renamed file extensions, or alerts on neighboring machines.
  4. Restore from a backup you've confirmed is clean, after the machine has been wiped or rebuilt.
  5. Change passwords from a different, clean device, starting with email and admin accounts.

CISA, the U.S. cybersecurity agency, publishes a free #StopRansomware guide with a fuller response checklist. It's worth reading before you need it, not during.

A short setup list

If you do nothing else this week:

  • Confirm real-time protection is on, on every device.
  • Turn on behavior-based or folder-protection features.
  • Schedule a weekly full scan for off-hours.
  • Set up one backup copy that can't be changed or deleted from your main network.
  • Restore one folder as a test.

That's an afternoon of work. It won't make you immune, but it moves you out of the group that gets caught by the easy attacks, which is where most of the damage happens.

Leave a Comment