Security · Guide
How to Scan WordPress for Malware
Short answer
To scan WordPress for malware, run a free remote check with Sucuri SiteCheck, then run a server-side scan with a plugin such as Wordfence, which compares your files with the official WordPress.org copies. If either scan flags malware, take the site offline, restore a clean backup or remove the infected files, then scan again to confirm the site is clean.
Key takeaways
- A remote scan only sees public pages, so it can miss malware hidden in files or the database.
- Wordfence compares your core, theme, and plugin files with the official WordPress.org copies.
- Free Wordfence users receive new malware signatures 30 days after Premium users.
- Sucuri SiteCheck is free and checks malware, blocklist status, errors, and out-of-date software.
- Google Safe Browsing examines billions of URLs per day for unsafe sites.
What is a WordPress malware scan?
A WordPress malware scan checks your site for malicious code, changed files, and links to unsafe sites.
Two kinds of scan exist. A remote scan visits your site like a normal visitor and reads only public pages. A server-side scan runs inside your hosting account and reads files and the database, so it catches more.
Wordfence notes that its scanner runs on your server, which gives it access to your site source code (How the Wordfence Scanner Protects Your Site). Remote scanners cannot reach that code, so their detection rates are far lower.
What are the signs your WordPress site has malware?
Sudden redirects, new admin users, spam links in posts, and warnings in search results point to malware.
Look for these warning signs:
- Visitors are sent to strange sites, or your homepage shows content you did not publish.
- New administrator accounts appear that nobody on your team created.
- Google or your browser warns visitors that the site may be unsafe.
- Your host suspends the account or reports spam sent from your server.
- Pages load slowly or the server uses far more resources than usual.
Out-of-date software is the most common way in. WordPress 7.1.4, released on 28 October 2026, fixed several security issues, including an unauthenticated remote code execution flaw, according to the Wordfence weekly vulnerability report. Update WordPress, themes, and plugins before you scan, so the scan checks current code.
Check your files for recent changes. In your host file manager or over SFTP, sort files by modification date and look for PHP files changed at odd hours.
Compare suspicious files with fresh copies from WordPress.org or the plugin author before you delete anything. A file that differs from the official copy is a strong sign of tampering.
For wider context on how often WordPress sites face attacks, see WordPress security statistics.
How do you run a free remote scan with Sucuri SiteCheck?
Sucuri SiteCheck is a free remote scanner that checks any URL for known malware, blacklist status, errors, and out-of-date software.
Run it in four steps:
- Open Sucuri SiteCheck and enter your site address.
- Click \“Scan Website\” and wait for the report, which usually takes under a minute.
- Read the sections on malware, blacklist status, and out-of-date software.
- Click \“More Details\” to see every link, script, and iframe the scan found.
SiteCheck checks whether security authorities such as Google and PhishTank have blacklisted your domain (Sucuri SiteCheck). A blacklist flag means visitors may see warnings before they reach your site.
Run the remote scan from a different network if your own IP is blocked. Some hosts block repeated requests from one address, and a phone on mobile data gives a fresh view.
Treat a clean result as a first pass, not a verdict. SiteCheck states on its own page that remote scanners have limited access and results are not guaranteed, because they cannot see server files or the database.
How do you scan WordPress files with Wordfence?
Wordfence scans your files on the server and compares them with the official copies in the WordPress.org directory.
Install and run the scan:
- Go to \“Plugins → Add New\” in your dashboard, search for \“Wordfence Security\”, then install and activate it.
- Open \“Wordfence → Scan\” in the dashboard menu.
- Click \“Start New Scan\” and wait while it checks core files, themes, plugins, and posts.
- Open each result, read what changed, and use the repair option to restore a changed file to its official copy.
Wordfence runs on more than 5 million sites, according to Wordfence. Its scanner also checks posts and comments for URLs on Google Safe Browsing lists, looks for weak passwords, and checks DNS records for unauthorized changes.
| Scan method | What it sees | Cost as of November 2026 |
|---|---|---|
| Sucuri SiteCheck | Public pages, links, and scripts | Free |
| Wordfence free scan | Server files, themes, and plugins | Free, signatures delayed 30 days |
| Wordfence Premium | Same scan, real-time signatures | $149 a year per site |
Free users receive new firewall rules and malware signatures 30 days after Premium users, as Wordfence explains. Premium costs $149 a year per site as of November 2026 and removes that delay. Wordfence has announced a price rise from 3 December 2026, so confirm the current price before you buy.
Wordfence 9.1.0, released on 10 November 2026, added faster firewall rule updates and Live Traffic logging for application password and REST API login failures (Wordfence). If you also want the firewall layer, follow our guide to set up the Wordfence firewall.
How do you check Google Safe Browsing and blocklists?
Google Safe Browsing checks whether your site is flagged as dangerous to visit.
Check it directly:
- Open the Google Safe Browsing site status tool.
- Enter your domain and read the verdict.
- If the tool reports unsafe content, fix the infection first, then request a review in Google Search Console.
Google says its Safe Browsing technology examines billions of URLs per day looking for unsafe websites (Google Safe Browsing). A flag here is serious, because Chrome and other browsers warn visitors away from flagged sites.
Site owners can also check Google Search Console. Its security issues report lists hacked content, malware, and deceptive pages Google found on the site.
A warning there confirms the flag and tells you which URLs are affected, which helps you find the infected files faster.
Check other blocklists too. Sucuri SiteCheck reports blacklist status from several authorities in the same scan, and a clean result there does not guarantee a clean server, so pair it with the Wordfence scan above.
What should you do when a scan finds malware?
Take the site offline or put it in maintenance mode, then remove the malware or restore a clean backup.
Work through these steps in order:
- Back up the infected site first, so you keep evidence of what changed.
- Change every password: WordPress admins, hosting, FTP, and the database.
- Restore a backup made before the infection, or delete the infected files the scan flagged.
- Update WordPress, every theme, and every plugin to the latest version.
- Scan again with both SiteCheck and Wordfence until both report clean.
If the scan flags files you cannot identify, do not delete core folders by guesswork. Our guide to remove malware from WordPress walks through the cleanup in detail.
After cleanup, replace your security keys and salts, which sign every login cookie. A fresh set logs out every user, including anyone using a stolen session.
How often should you scan WordPress for malware?
Scan after every plugin or theme update, and run a full scan at least once a month.
Scanning on a schedule catches infections early. Sucuri scans its Platform Basic plan sites every 12 hours, Pro sites every 6 hours, and Business sites every 30 minutes (Sucuri Website Firewall).
Prices are $229, $339, and $549 a year for one site. Those paid plans add monitoring on top of the free one-off SiteCheck scan.
After a scare, scan daily for two weeks. Malware sometimes returns through a backdoor left behind, and daily scans catch the second wave early.
Once two clean weeks pass, return to your normal schedule.
Set a routine that fits your site. A small blog can scan monthly and after each update. A shop or membership site should scan weekly, because customer data raises the stakes.
What mistakes should you avoid when scanning for malware?
The biggest mistake is trusting one clean remote scan and skipping the server-side check.
Avoid these errors:
- Relying only on a remote scan, which cannot see files or the database.
- Ignoring a warning because the site still looks fine to visitors.
- Restoring a backup made after the infection started.
- Forgetting to change passwords and security keys after cleanup.
- Scanning without a backup, so a repair that breaks the site cannot be undone.
If the scan keeps finding the same files after cleanup, the infection may have a backdoor that recreates them.
In that case, restore from a known-clean backup and ask your host to check the server, or hire a cleanup service. See whether Sucuri is worth it for your site before you pay for help.
Frequently asked questions
Can a free malware scan find every infection on a WordPress site?
No. A free remote scan only reads public pages, so it misses malware hidden in server files, the database, or backdoors. Pair it with a server-side plugin scan such as Wordfence, which reads your files directly and compares them with official copies.
How long does a WordPress malware scan take?
A remote scan usually finishes in under a minute. A server-side scan takes longer, from a few minutes on a small blog to an hour or more on a large site with many files. The time depends on how many files, themes, and plugins the scanner must check.
Does WordPress scan for malware by itself?
No, WordPress has no built-in malware scanner. Core updates fix known flaws, and the dashboard warns about outdated plugins, but nothing checks your files for infections. You need a remote scanner, a security plugin, or both to scan for malware.
Will a malware scan slow down my site?
A remote scan causes no load on your server beyond normal page visits. A server-side scan reads many files at once, so it can slow the site briefly. Run full scans at quiet times, and avoid scanning during a sale or a traffic peak.
What should I do if SiteCheck says my site is blacklisted?
Clean the infection first, then request a review. Google Safe Browsing reviews happen through Google Search Console, and other blocklists have their own review forms. A review request before cleanup will fail, so confirm both a remote and a server-side scan are clean first.
Sources
Is your product missing, or something out of date?
Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.
Thanks — we review requests within 3 business days.
