Every WordPress site runs code it did not write. That is the arrangement from the first day a plugin gets installed, and it is the reason malware scanners exist as a category rather than a curiosity. The scanner's job sounds simple: look at the files and the database, decide which parts are hostile, and remove them. In practice, the scanner is being asked to make a judgment call about code that may be deliberately written to look innocent, and the quality of that judgment varies enormously between products.
A site owner choosing a scanner faces a market crowded with options that all claim the same capabilities. The differences that matter are rarely printed on the pricing page. They live in how the scanner detects threats, what it does after detection, how it treats the database, and whether its clean-up leaves a site actually clean or merely quiet.
Signature Matching Catches Yesterday's Attacks
The oldest detection method is the signature. A security vendor collects a sample of malicious code, extracts a distinctive fingerprint, and ships that fingerprint to every scanner in the field. When the scanner finds a file whose contents match a known fingerprint, it flags the file. This approach works well against malware that has already been catalogued. It fails against anything new.
For a WordPress site, signature matching is close to table stakes. A scanner without a signature database is not worth the installation time. The problem is that signature databases lag behind attackers by design. A piece of malware that was written this morning and deployed this afternoon has no signature yet, and a scanner that relies only on signatures will watch it execute without complaint.
The better scanners combine signatures with heuristic analysis, which examines code for suspicious behavior patterns rather than exact matches. A PHP file that decodes a base64 string and then calls eval() on the result is suspicious even if its specific bytes are new. Heuristics catch more, but they also produce more false positives, and a scanner that flags legitimate plugin files as malware creates a different kind of problem: the site owner stops trusting the alerts.
The Database Is Where Scanners Get Sloppy
Most WordPress malware discussions focus on files, because files are easy to explain and easy to scan. The database receives less attention, and that is a mistake. A scanner that only inspects files will miss injected scripts in post content, malicious redirects stored in options tables, and rogue administrator accounts created by an attacker who never touched a file at all.
When evaluating a scanner, the question to ask is whether its database scanning goes beyond pattern matching in the posts table. A serious scanner examines the users table for unauthorized admin accounts, checks the options table for injected site URLs, and looks at widget and menu data for script tags that should not be there. WordPress stores a great deal of configuration in the database, and each of those storage locations is a place where an attacker can leave a payload.
The cleanup side matters here too. Removing a malicious file is straightforward. Removing a malicious database entry requires knowing which entry is malicious and which is legitimate, and getting that wrong can break the site. A scanner that flags database entries without a clear remediation path leaves the site owner in a worse position than before the scan ran.
Real-Time Protection Versus Scheduled Scans
Scanners come in two operational modes, and the choice between them shapes how the product behaves day to day. A scheduled scanner runs on a timer, sweeps the site, and reports findings. A real-time scanner hooks into WordPress itself and inspects files as they are uploaded or modified, blocking anything that looks hostile before it lands.
Real-time protection sounds strictly better, and for high-traffic or high-value sites it often is. The catch is that real-time scanning adds overhead to every file operation on the server. On a shared host with limited resources, that overhead can be felt in page load times and admin panel responsiveness. A site owner running a small blog on a budget host may find that scheduled scanning is the more practical choice, accepting a window of exposure in exchange for not slowing every request.
The sensible middle ground is a scanner that offers both modes and lets the site owner choose. Products that force real-time protection on every installation, regardless of hosting constraints, tend to produce complaints about performance that have nothing to do with the quality of the detection engine.
Firewall Features Blur the Category Line
Many WordPress security plugins now bundle a web application firewall alongside the malware scanner. The firewall inspects incoming requests, blocks known attack patterns, and rate-limits suspicious traffic. This is a genuinely useful feature, but it complicates the buying decision because the scanner and the firewall are being sold as a single product.
A strong firewall does not guarantee a strong scanner, and the reverse is also true. Some products have excellent firewalls and mediocre detection engines. Others scan thoroughly but offer only basic request filtering. When comparing options, the two capabilities should be evaluated separately. A site that already sits behind a CDN with its own WAF may not need the plugin's firewall at all, and paying for a bundled firewall to get a good scanner is an inefficient trade.
The firewall also changes what the scanner is likely to find. A site protected by a competent WAF accumulates fewer infections over time, which means the scanner's job shifts from cleanup to verification. That is a healthier state, but it also means the scanner's detection depth matters less than its false positive rate. A quiet site with a good firewall needs a scanner that stays out of the way.
What a Clean Report Actually Proves
A scanner that reports "no threats found" has told the site owner one thing: nothing in the scanned areas matched the scanner's detection rules. That is a meaningful statement, but it is not the same as "the site is clean." The distinction matters because site owners often treat a clean scan as absolution and stop investigating.
Malware that hides from a particular scanner will produce a clean report from that scanner. This is why security-conscious site owners sometimes run two scanners from different vendors, accepting the overhead in exchange for overlapping coverage. The practice is not paranoid. Detection engines differ enough that a threat missed by one is often caught by another.
The other limitation is scope. A scanner that inspects only the WordPress installation directory will miss malware in adjacent folders, in the theme's compiled assets, or in files uploaded to the uploads directory that are not images at all. Checking a scanner's scope is a concrete way to compare products: read the documentation and find out exactly which directories and tables it touches.
The Cleanup Question Nobody Asks Up Front
Detection is the visible half of a scanner's job. Cleanup is the half that determines whether the site owner's problem is actually solved. A scanner that identifies a backdoor but cannot remove it without breaking the site has done half the work, and the remaining half is the part that requires expertise the site owner may not have.
Before committing to a scanner, it is worth understanding what happens after a threat is found. Does the scanner quarantine the file, delete it outright, or leave it in place and ask the site owner to act? Does it offer a rollback if the cleanup breaks something? Does it provide a report that a developer could use to trace how the infection got in? The answers separate products that are built for cleanup from products that are built for detection only.
Reinfection is the tell. A scanner that removes malware but does not address the entry point will report the same threat again a week later, and the site owner will conclude the scanner is broken when the real problem is an unpatched plugin or a stolen credential that was never rotated. The better scanners flag the likely entry point, but none of them can force a site owner to change a password.
Pricing Models and What They Reward
WordPress security pricing is all over the map. Some scanners charge a flat annual fee per site. Some charge by traffic volume. Some offer a free tier with limited scanning and push upgrades through alert fatigue. The pricing model reveals what the vendor is optimizing for, and that in turn shapes the product's behavior.
A scanner priced by traffic has an incentive to catch threats early, because a clean site generates fewer support tickets. A scanner priced by number of sites has an incentive to keep the interface simple so that one person can manage many installations. A free tier with aggressive upgrade prompts has an incentive to make the free version feel incomplete. None of these incentives are inherently bad, but they help predict which product will fit a particular situation.
For a single small site, a flat annual fee is usually the simplest arrangement. For an agency managing dozens of client sites, per-site pricing adds up quickly and a volume license becomes the only realistic option. The scanner that fits one context poorly may fit another perfectly, which is why recommendations without context are close to useless.
A Scanner Is a Seatbelt, Not a Mechanic
The most useful mental model for a malware scanner is a seatbelt. It reduces the damage from an event that should not happen, and it does nothing to prevent the event itself. A site with strong passwords, updated plugins, and a firewall is already doing the work that prevents most infections. The scanner is the layer that catches what slips through.
Choosing a scanner, then, is less about finding the most powerful detection engine and more about matching the tool to the site's actual risk profile. A brochure site with no user accounts and no e-commerce has little to lose from a missed detection beyond downtime. A membership site with payment data and customer accounts has a great deal to lose, and the scanner's depth and cleanup quality matter proportionally more.
The practical test is to install a candidate scanner on a staging copy of the site, plant a known-malicious test file, and watch what happens. Does the scanner catch it on the next scheduled run? Does it catch it in real time? Does it clean it up without collateral damage? That experiment takes an afternoon and tells a site owner more than any comparison chart. The scanner that passes it is the one worth keeping.
