Security
WordPress Malware Scanner: What Each Type Can Actually See
A WordPress malware scanner can only find malware in the places it can reach, and the three kinds of scanner reach very different places. An online scanner sees what a visitor's browser sees, a plugin scanner sees inside WordPress, and a server-side scan sees the whole hosting account.
Mixing them up is how an infected site gets declared clean: the online scan comes back green while a backdoor in a PHP file keeps working, because no online scanner can read PHP files.
Below: what each type sees, real tools as of October 2026, and a scan routine. If you already know the site is infected, describe what you're seeing in the hacked site questionnaire and I'll reply with a plan and a fixed quote within one business day.
What a WordPress malware scanner can actually see
Think of your site as a shop. The online scanner looks through the window. The plugin scanner walks the shop floor. The server-side scan also opens the back room and the storage unit you forgot you rented.
| Scanner type | Where it looks from | What it can see | What it can't see |
|---|---|---|---|
| Free online scanner | Outside, like a browser | The HTML (the page code your server sends out), scripts that load in it, blocklist status | PHP files, the database, other sites in the account, anything shown only to certain visitors |
| Plugin scanner | Inside WordPress | Core, plugin and theme files, uploads, some database content | Other installs in the same account, server cron jobs, SSH keys, anything WordPress itself is tricked into hiding |
| Server-side scan | The hosting account or server | Every file in the account, every site, often outside the web folder | Database contents (most file scanners skip it), and how the attacker got in |
Free online scanners: the view from the sidewalk
An online scanner requests your pages like a visitor and reads the HTML that comes back. It catches injected JavaScript, spam links and blocklist entries. It also has a hard ceiling. Sucuri SiteCheck, the best-known free option, says so on its own page: "Remote scanners have limited access and results are not guaranteed." It also says the remote scanner "will not detect anything on the server-side."
The second blind spot is worse. A lot of WordPress malware is conditional: it fires only for phones, only for visitors from Google, or only on a first visit. A scanner arriving as a desktop browser gets the clean version. Green result, infected site.
Two other free outside checks:
- Google's Safe Browsing site status: whether Google currently flags your domain as unsafe.
- VirusTotal: checks a URL against dozens of vendors' blocklists. Good for reputation, useless for finding the infected file.
Plugin scanners: inside the house
A plugin scanner runs inside WordPress, so it reads files a browser never sees. The good ones compare your core, plugin and theme files against the official WordPress.org copies. The three most common options, from each vendor's own pages:
- Wordfence (5+ million active installs): the free scanner "checks core files, themes and plugins for malware," plus bad URLs, backdoors, SEO spam and redirects. The catch: free users get malware signatures (the fingerprints a scanner uses to recognize known malware) 30 days after paying users. Premium is a yearly per-site license; see Wordfence's pricing page for the current price.
- MalCare: "The scan runs on our servers, so your site doesn't slow down." The free plan, in MalCare's words, "finds malware but doesn't remove it." Paid plans start at $99 per year for one site (Protect), and removal starts with the $299 per year Repair plan.
- Jetpack Scan: also scans on Automattic's servers. It checks plugins, must-use plugins, themes, uploads and "selected files in the WordPress root and wp-content directories," with one-click fixes for most issues. It's a paid yearly plan with a first-year discount, so check the page for the price in your currency.
Their shared weakness: they run inside the WordPress install the attacker may control, and they don't check the old test install in a subfolder, the server's scheduled tasks or the account's SSH keys. That's where reinfections hide, as I explain in the post on malware that returns after a cleanup.
Using Wordfence? My free-version Wordfence walkthrough shows two useful scan checks that are off by default.
Server-side scans: the whole hosting account
A server-side scan reads every file in the hosting account from outside WordPress, so malware can't hide from it by tampering with WordPress. Your options depend on your hosting:
- ImunifyAV (shared hosting with cPanel): cPanel built ImunifyAV into cPanel & WHM starting with versions 82 and 84. The free version flags infections; paid ImunifyAV+ removes them automatically. Your host decides whether it's on.
- Linux Malware Detect (maldet): a free, GPL-licensed scanner built for hosting threats like web shells and backdoors. Installing it needs root access (full admin control of the server), so it's for VPS and dedicated servers. If you'd rather pay for monitoring with cleanups included, Sucuri's Platform plans start at $229 per year for Basic.
Most server scans read files, not the database. Spam stored in posts or the options table needs a database search, covered in my step-by-step hacked WordPress recovery guide.
WordPress malware scanner comparison (October 2026)
| Tool | Layer | Removes malware? | Price |
|---|---|---|---|
| Sucuri SiteCheck | Online | No | Free |
| Wordfence | Plugin | You repair or delete flagged files | Free; Premium paid yearly |
| MalCare | Plugin (scans on vendor servers) | Paid plans from Repair | Free; paid from $99/year |
| Jetpack Scan | Plugin (scans on vendor servers) | One-click fixes for most issues | Paid yearly |
| ImunifyAV / AV+ | Server | AV+ only | Free with many cPanel hosts; AV+ paid |
| Linux Malware Detect | Server | Quarantine or clean commands | Free (needs root) |
| Sucuri Platform | Monitoring plus cleanup | Unlimited cleanups | From $229/year |
How to scan WordPress for malware: a full routine
This routine goes from the outside in. Plan on about an hour for a small site.
Step 1: Check Search Console's Security issues report
- Open Google Search Console and pick your property.
- In the left menu, click Security & Manual Actions, then Security issues.
What you should see: "No issues detected."
If you don't: write down the issue and sample URLs, which tell you where to look first. Google's Security Issues help page explains each type.
Step 2: Check Google Safe Browsing
- Open the Safe Browsing site status page (linked above).
- Type your domain and press Enter.
What you should see: "No unsafe content found."
If you don't: note what Google reports. You'll request a review after the cleanup.
Step 3: Run Sucuri SiteCheck
- Open SiteCheck, enter your homepage address and start the scan.
- Read every section, including the blocklist results.
What you should see: no malware, no injected spam and no blocklist entries.
If you don't: note each flagged script or link. They become search terms for the later steps.
Step 4: Fetch the homepage as a phone arriving from Google
- Open a terminal (Terminal on a Mac, Git Bash on Windows).
- Run:
# Read-only. Asks for your homepage as an iPhone visitor coming from Google
# and prints only the response headers. Replace example.com with your domain.
curl -sI -A "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1" -e "https://www.google.com/" https://example.com/What you should see: a first line with 200, or a 301 whose location: points to your own domain (for example, http to https).
If you don't: a location: pointing to a domain you don't own is a conditional redirect. My guide to the WordPress redirect hack covers where that code hides.
Step 5: Prove core files are untouched
- Connect to your hosting account over SSH (a secure text connection to the server).
- Change into the folder that holds
wp-config.php. - Run
wp core verify-checksums(WP-CLI docs).
What you should see: "Success: WordPress installation verifies against checksums."
If you don't: every file listed was changed or doesn't belong. Note them for the cleanup; don't edit them yet. "Command not found" means WP-CLI isn't installed, so ask your host or rely on Step 6.
Step 6: Run a plugin scan at high sensitivity
- In WordPress, open Wordfence, then Scan, then Scan Options and Scheduling.
- Under the scan type options, pick High Sensitivity and click Save Changes.
- Go back to Scan and click Start New Scan.
What you should see: a finished scan, with or without results.
If you don't: if the scan times out, your host may be limiting it. Use MalCare or Jetpack Scan instead, since both scan on their own servers.
Step 7: Scan the whole hosting account from the server
- On cPanel hosting, find ImunifyAV (or Imunify360) in the Security section and start a scan. If it isn't there, ask your host to scan the whole account.
- On a VPS with Linux Malware Detect installed, run as root:
# Scans every file in this account's web folder. Read-only unless you add -q or -n.
maldet -a /home/USERNAME/public_html
# Shows the report for the scan that just finished.
maldet -e latestWhat you should see: a report with zero hits, or a list of file paths.
If you don't: a hit outside your main site (an old subfolder install, a staging copy) means the cleanup has to cover the whole account, not just WordPress.
Step 8: Sort real hits from false alarms
- Put every flagged file from Steps 5 to 7 in one list.
- For each, ask: is it in a plugin or theme you use, and did it change at your last update?
- Treat any PHP file inside
wp-content/uploadsas guilty until proven innocent.
What you should see: a short list of files you can't explain.
If you don't (everything looks unexplained), stop and get help before deleting anything. A wrong delete can take the site down.
Step 9: Put the scans on a schedule
- Set the plugin scanner to run at least weekly (daily for shops), with email alerts going to an inbox someone reads.
- Repeat Steps 1 to 4 monthly. They take five minutes.
- Ask your host how often the server-side scan runs and where its alerts go. Run one yourself after any hack.
What you should see: alerts arriving in an inbox you check.
If you don't: start a scan by hand and confirm the alert email arrives. An alert nobody reads is the same as no scanner.
Which scanner do you actually need?
- A small brochure site on shared hosting: a free plugin scanner, your host's ImunifyAV, and the monthly outside check.
- A shop or a site that earns money daily: a paid plugin scanner with current signatures, plus a server-side scan you know is running.
- A site that's been hacked before: all three layers until it's been quiet for months. Malware is like a houseguest who copied your keys. One scan finds the guest, not the copies.
Final thoughts
Scanners are smoke detectors, not firefighters. "Best WordPress malware plugin" is the wrong question; ask which layer you're not covering yet.
If the scans found something and you'd rather not clean it yourself, the hacked site questionnaire takes a few minutes. My WordPress hack repair work covers the files, the hosting account and Google's index, in that order.
WordPress malware scanner FAQs
Can I scan WordPress for malware online for free?
Yes, with tools like Sucuri SiteCheck, but it only sees the public HTML your server sends to a browser: injected scripts, spam links and blocklist status. It can't read PHP files, the database or other sites in your account, and it misses malware that only shows itself to phones or Google visitors.
What is the best WordPress malware plugin?
One that compares your files against official WordPress.org copies and has current signatures. Wordfence, MalCare and Jetpack Scan all scan at file level; MalCare and Jetpack do it on their own servers, which helps on slow hosting. Wordfence's free signatures arrive 30 days late. Pair any of them with a server-side scan.
Do I need a server-side malware scan if I have Wordfence?
If the account holds one site and you check it often, a plugin scan covers most of it. But plugin scanners can't see other installs, server cron jobs or SSH keys in the same account. If you've been hacked before, or the account holds old sites or staging copies, a server-side scan is the only way to see everything.
Want a second pair of eyes on your site?
Tell me what's going on in the hacked website repair questionnaire. I reply with a plan and a fixed quote within one business day.