The same stories keep turning up across the WordPress and small business communities we follow. Someone looking after a batch of sites finds two dozen of them hit on the same day. Another person deletes a pile of spam pages in a language they don't speak and watches them reappear. A caching plugin's flaw gets exploited days after the fix shipped, so sites that hadn't updated yet got caught. An owner finds a fake "prove you're human" box on their own homepage, the kind that tricks visitors into running something on their computer, while the security plugin reports nothing. Others point out that some malware hides itself from logged-in admins, so the owner never sees what visitors see.

And somewhere in most of those threads, a reply says the same thing. "I ran a scan. It's clean."

So here's the unpopular opinion. A clean scan is the weakest kind of good news you can get about a hacked site.

The case for the opinion

Scanners mostly look for things they already know. Fresh or scrambled code can slip past. So can a rogue admin account, a few injected rows in the database, or a scheduled task that quietly puts the bad files back every night. That last one explains a lot of "it came back" stories.

Some infections only show to certain visitors. Logged-out people, people arriving from a search engine, people on phones. The owner logs in, sees a normal site, runs a scan from inside it, and feels fine.

Then there's the way in. If the attacker got in through a reused password or one plugin installed on every site in a portfolio, deleting the files changes nothing. When lots of sites get hit at once, we'd bet on a shared door before anything else.

And a scan doesn't look outside the server. Spam pages can sit in search results long after cleanup, and attackers sometimes add themselves as owners in the site's search tools. None of that shows up as a file.

The case against

For most small sites, a decent scanner plus prompt updates catches the common stuff. Telling owners that nothing can be trusted leads to one of two places. They freeze, or they pay for an audit they didn't need.

Host-level scanning has also got better. A scan running on the server sees more than a plugin running inside the site it's checking, and plenty of owners already have one without knowing it.

And fear sells. Some of the "your scanner is lying" talk comes from people selling cleanups. Owners who post about a hack often get a stack of private offers within the hour. Sceptics say that a scan plus updates is fine for a brochure site, and that the alarm is mostly marketing.

We think they have a point.

The grey areas

Which scan are we talking about? A plugin scanning the site it lives on, a host scan on the server, and an outside check of what visitors actually see are three different things. "Clean" from one isn't "clean" from the others.

When was it clean? A scan straight after cleanup proves very little. A week with no new files, no new users and no new spam pages means a lot more.

Whose job is it? The host says the server's fine, the plugin says the site's fine, the developer suspects the host. The owner just wants someone to say it's over, and nobody quite will.

What about backups? Restoring a copy taken after the infection started brings it straight back. Offsite backups only help if you keep them long enough to reach a copy from before it began.

Where we lean

We look after client sites, and we treat a clean scan as one signal among several. After a hack we also go through the admin users, recently changed files, scheduled tasks, the search tools for new owners or sitemaps, and every password and key. If several sites went down together, we look for the shared way in before cleaning any of them.

We'd also rather tell an owner "no sign of it coming back for a week" than "it's clean". That's less satisfying to hear, but it's honest.

Still, we don't want owners scared of their own sites. For a small site that updates quickly and keeps backups somewhere else, the scanner is probably right most of the time. The trouble starts when a clean result is the only check anyone runs.

Your turn

  1. Have you had a site pass a scan while it was still infected? What finally gave it away?
  2. After a cleanup, how long do you watch before you'll call it done?
  3. Do you trust a host's server scan more than a plugin on the site, or the other way round?
  4. If you look after a lot of sites, what's your first move when several get hit on the same day?