What a Malware Scan Finds and Misses
"Your site has been scanned and no malware was found" is a reassuring sentence. It is also easy to read too much into. A malware scan is a useful tool with a clear job, and knowing where that job ends helps you use the result well.
This post explains what a typical WordPress security scan looks at, what it is good at, where it is blind, and what to do with the report.
What a scan actually does
A WordPress security scanner, such as the one built into Wordfence, checks your site against a large body of known information. In broad terms it looks at three things.
Files
The scanner compares your WordPress core files, and often your plugin and theme files, with the official versions. A core file that differs from the original is suspicious, because ordinary sites have no reason to change WordPress itself.
It also looks inside files for patterns that are typical of malicious code: obfuscated code, known backdoors, scripts that inject spam links, code that redirects visitors to other sites.
Plugins and themes
The scanner checks which plugins and themes you run and which versions. It flags those with known security vulnerabilities, those that are out of date, and sometimes those that have been abandoned or removed from the official directory.
This is often the most useful part of the report. Most hacked WordPress sites were not hacked through WordPress itself but through an outdated plugin.
Settings
Some scanners also look at configuration: weak or default settings, debug mode left on, file editing allowed from the dashboard, admin accounts with easily guessed names.
What a scan is good at
A scan is very good at finding known problems:
- Malicious code that matches a known signature.
- Modified core files.
- Plugins with published vulnerabilities.
- Common risky settings.
It is also good at catching problems early, if it runs regularly. A weekly scan that flags an outdated plugin with a known hole gives you time to update before someone uses it.
What a scan can miss
The limits matter just as much.
- New or custom malware. A scanner recognises what it has seen before. Code written for one attack, or heavily disguised, may pass.
- Malicious content in the database. Some attacks hide spam links or scripts in posts, options or widgets rather than in files. Scanners check some of this, but database content is harder to judge than a modified core file.
- Problems outside the site. A stolen password, a compromised email account used for password resets, or a hijacked domain do not show up in a file scan.
- Damage that has already been cleaned up badly. If a site was hacked before and partly cleaned, a backdoor can remain in a place the scanner does not consider suspicious.
- Things that look fine but behave badly. A plugin can do something you would not want, such as collecting data, without matching any malware pattern.
So "no malware found" means "nothing known was found where the scanner looked". It is good news, not a certificate. If your site is behaving strangely, trust the symptoms. Our guide on how to tell if your website has been hacked lists the signs worth looking for even when a scan comes back clean.
How to read a scan report
Reports can be long. Sort the findings into three groups.
- Act now. Malware found in a file, a modified core file, or a plugin with a known vulnerability that is being actively used by attackers. These need attention the same day.
- Act this week. Outdated plugins and themes, abandoned plugins, risky settings. These are open doors, not break-ins.
- Understand, then decide. Warnings about files the scanner is unsure about, or plugins it does not recognise. Some are false alarms, such as a premium plugin that is not in the official directory. Check before you delete.
Be careful with "delete this file" buttons. Removing a file that a plugin needs can break the site. Quarantining, where the file is moved aside rather than deleted, is safer, because it can be undone.
If the scan finds malware
Do not panic and do not start deleting things at random. A calm order works better: take a backup of the infected state for reference, find out how far the problem goes, rebuild from known-good sources, change every password, then close the gap that let the attacker in. Our calm WordPress malware cleanup process walks through each step.
Cleaning the visible malware without fixing the cause, usually an outdated plugin or a weak password, means you will likely be cleaning again soon.
How it works on SimpleWP
On SimpleWP you can scan your site for malware and fix security problems from Site info, under Security scanning, or by asking the chat. Turning scanning on installs the scanner if it is missing, and it needs a free Wordfence key; the chat gives you the steps to get one. Once it is on, SimpleWP can scan every week and email you the result.
The scan runs in the background and looks for malware, vulnerable or outdated plugins and weak settings. Fixes, such as quarantining an infected file or updating a vulnerable plugin, are applied one by one after you confirm each one. Nothing is changed without you seeing it first.
Some protection is in place regardless of scanning. Every SimpleWP site is hardened automatically: file editing from the dashboard is off, visitors cannot list user names, and XML-RPC is off unless Jetpack or a plugin built on it needs it.
Scanning is one layer
A scan is one part of a sensible security routine, next to:
- Updates, so known holes are closed before anyone uses them.
- Backups, so a clean copy exists if the worst happens.
- Strong logins, with unique passwords and two-factor sign-in for admins.
- Fewer plugins, because every plugin is code you are trusting.
Run the scan, read the report, act on what it finds, and keep the other layers in place. That combination is what keeps most small sites out of trouble.
Photo: Rafael Minguet Delgado on Pexels