Malware on a WordPress site can redirect visitors, inject spam, steal data or send emails without your knowledge. Regular scanning catches infections early, often before visitors or search engines notice. Scanners work in different ways, and knowing their limits helps you trust the results. Here is how I scan client sites and what to do with the findings.
What malware scanners look for
Scanners look for known malicious code signatures, suspicious patterns such as obfuscated code, modified WordPress core files, unknown files in sensitive locations, malicious links and scripts in pages, and blocklist status with services such as Google Safe Browsing.
No scanner catches everything. New or custom malware may not match known signatures, so combine scanning with other checks.
Remote scanners
Remote scanners such as Sucuri SiteCheck visit your site like a browser and check the public pages for malware, spam, redirects and blocklist status. They are quick and free, and require no installation.
They only see what is visible in public pages, so they miss malicious files on the server that are not currently loaded and hidden backdoors.
| Type | Sees | Misses |
|---|---|---|
| Remote | Public pages, blocklists | Hidden server files |
| Server-side plugin | Files and core changes | New unknown malware |
| Host scanner | All account files | Depends on host |
| Integrity check | Core file changes | Premium and custom code |
| Database search | Injected content | Needs manual review |
Server-side scanners
Server-side scanners examine files on your hosting directly, comparing them with known malware signatures and official versions. Wordfence, MalCare, Sucuri’s paid plans and host tools such as Imunify360 scan this way.
They find backdoors and infected files that remote scanners cannot see. For a real assessment, server-side scanning is essential.
Security plugin scanners
Wordfence scans core, theme and plugin files against official versions and malware signatures, and checks for known vulnerabilities. MalCare and similar services scan on their own servers to reduce load on your hosting.
Schedule scans daily or weekly during quiet hours, and enable email alerts for critical findings. See Wordfence vs Sucuri vs Solid Security.
Host scanners
Many hosts scan accounts automatically and notify you of infected files, sometimes quarantining them. Check your hosting dashboard for malware or security sections, and read notices carefully.
Host scanners are a useful extra layer, but do not assume they catch everything. See choosing WordPress hosting.
File integrity checks
File integrity checking compares your WordPress core files, and sometimes plugin and theme files, with the official versions from WordPress.org. Any differences may indicate tampering. WP-CLI’s core verify-checksums command does this from the command line.
Changes to premium plugins and custom themes cannot be verified against WordPress.org, so review those manually or reinstall from official sources.
Scanning the database
Malware is not only in files. Attackers inject scripts and spam links into posts, widgets and options, and create hidden admin users. Some scanners check the database for known malicious content; manual searches for script tags and suspicious domains help too.
Back up the database before making changes. See WordPress database security.
Check Google and blocklists
Check Google Search Console’s Security issues report and Google Safe Browsing’s site status for your domain. Antivirus vendors maintain their own blocklists; remote scanners often check several at once.
If your site is listed, see removing a Google blacklist warning.
Reading scan results
Scanners report findings with severity levels. Critical results, such as known malware or backdoors, need immediate action. Warnings, such as modified files, need investigation; some changes are legitimate, such as edits to a custom theme.
Do not delete files blindly. Check what each flagged file is, compare it with an official copy and take a backup before removing anything.
False positives
Scanners sometimes flag legitimate code that resembles malware, such as encoded data in premium plugins or security plugin files. If a well-known plugin file is flagged, compare it with a fresh download from the developer.
Report false positives to the scanner’s developer so their signatures improve.
After finding malware
If malware is confirmed, follow a full cleanup: back up the infected site, change passwords, replace core, plugin and theme files from official sources, clean the uploads folder and database and close the vulnerability that let attackers in.
See what to do when your WordPress site is hacked.
How often to scan
Scan at least weekly, and daily for stores and busy sites. Also scan after installing new plugins, after suspicious activity and after any security incident. Combine scheduled scans with real-time protection from a firewall.
Include scan reviews in monthly maintenance.
Scanning hosted platforms and static sites
Shopify, Wix and other hosted platforms scan their own infrastructure, so you cannot run server-side scans there. Focus on what you control: theme code, installed apps and third-party scripts. Remote scanners and Search Console still help confirm your storefront is clean.
For static or headless sites, scan the build pipeline and dependencies, since malicious code can enter through compromised packages. Keep dependencies updated and review changes before each deployment.
Getting help
Scheduled server-side scanning, alert review and malware cleanup are part of my website protection service. For recognising problems, read signs your website has been hacked.
For prevention, follow my security hardening checklist.
Key takeaways
- Remote scanners are quick but only see public pages.
- Server-side scanning is essential to find backdoors and infected files.
- Check the database and Google's Security issues report as well as files.
- Investigate findings carefully and back up before removing anything.
Frequently asked questions
Is a free malware scan enough?
Remote free scans are a quick check. Server-side scans find much more.
Can a scanner miss malware?
Yes. New or custom malware may not match signatures. Combine methods.
How often should I scan WordPress?
Weekly at minimum, daily for stores and busy sites.
Will scanning slow my site?
Server-side scans use resources. Schedule them for quiet hours or use off-server scanning.
What does a modified core file mean?
A WordPress core file differs from the official version, which may indicate tampering.
Can I remove malware myself?
Simple infections, yes. Widespread or recurring infections need professional cleanup.
Do Shopify stores need malware scans?
Not server scans, since Shopify secures its servers. Review apps, theme code and third-party scripts instead.
