Say your host suspends your account for sending spam, or a customer emails to say their browser showed a warning page. You run a free online scanner and it comes back clean. So is the site infected or not? That gap usually isn’t a bug in the scanner. It’s the difference between looking at a website from the outside and looking at the files it’s built from. In this post we’ll explain what each scanning model can actually see, and how to decide which coverage your site needs.
Contents:
- What is a remote website scanner?
- What is server-side scanning?
- Remote vs. server-side scanning: side by side
- What does a remote scan miss?
- What does server-side scanning miss?
- Which do you need?
- What to do when the two disagree
- Pulling it together
- Frequently asked questions
What is a remote website scanner?
A remote scanner (sometimes called an external scanner) requests your pages over the internet, just like a browser or a search engine crawler. It gets back HTML, JavaScript, CSS, redirects and HTTP headers. Then it looks for trouble in that output.
That vantage point is good at a specific set of problems. Injected scripts loading from a domain you’ve never heard of. Hidden iframes. Spam links and keyword blocks stuffed into your footer or inside a hidden div. Redirects that bounce mobile visitors to somewhere else. A remote scanner can also check your domain against security blocklists maintained by search engines and antivirus vendors, which answers a question your own files can’t: has anyone else already flagged you?
Our free remote scanner, SiteCheck, works this way.
You give it a URL and it reports on what it could see in the response, along with blocklist status. No login, no install, nothing to configure — which is exactly why it’s the first thing most people reach for.
The limitation follows directly from the method. If malicious code doesn’t appear in the response the scanner receives, the scanner has nothing to flag.
What is server-side scanning?
Server-side scanning (internal scanning) runs where your site actually lives. It reads the file system and, depending on the tool, the database too. It inspects the source. That means PHP files, theme and plugin directories, uploads folders, cron entries, .htaccess rules, database options and post content.
That changes what’s findable. A web shell dropped at wp-content/uploads/2024/08/thumb.php doesn’t render anything on your homepage. Nobody browsing your site will ever see it. It sits there waiting for a request with the right parameter. Whoever knows the URL can run commands, read files, or write new ones. From the outside it’s invisible. From the file system it’s a .php file in a folder that should only hold images.
Most server-side tools lean on file integrity comparison: they keep a record of what your files looked like and tell you what changed. A core WordPress file that doesn’t match the official distribution, a theme file modified at 3 a.m., a new file in a directory that hasn’t changed in two years — those are the signals that matter, and they only exist at the file level.
Server-side scanning also reaches the places attackers use for persistence. Scheduled tasks that re-infect files after you clean them, injected rows in the database, modified configuration files. If you’ve ever cleaned a site and watched it come back infected a day later, the thing that brought it back was almost certainly something only visible from inside.
Remote vs. server-side scanning: side by side
| Remote (external) scanner | Server-side (internal) scanner | |
|---|---|---|
| What it sees | Rendered HTML, JavaScript, headers, redirects, blocklist status | Source files, directory contents, file changes, database rows, cron jobs |
| Backdoors and web shells | Generally no — they don’t render in page output | Yes, this is its core strength |
| Conditional or cloaked payloads | Often missed, unless the scanner happens to match the attacker’s targeting rules | More likely found, since the gating logic itself is in the code |
| Client-side injected scripts | Strong — sees exactly what a visitor’s browser receives | Possible, but can be hard to judge whether a script is yours |
| Blocklist and reputation status | Yes | No |
| Installation required | None | Yes — a plugin, agent, or shell access |
| Performance impact on the site | None | Small, and tied to how often and how deeply it scans |
| Speed of results | Seconds | Minutes for a full pass, depending on file count |
| False positives | Fewer findings overall, so fewer false alarms, but more missed infections | More findings, including legitimate files that look odd; some triage expected |
The two columns aren’t competing measurements of the same thing. They’re answering different questions: what are my visitors and Google seeing right now versus what is actually on my server.
What does a remote scan miss?
The clearest category is malware that never touches the browser. Our team has written about a credit card skimmer hidden inside an obscure plugin where the theft happened in PHP, on the server, as the order was processed — Server Side Credit Card Skimmer Lodged in Obscure Plugin. No injected JavaScript on the checkout page, nothing unusual in the page source. A remote scanner fetching that checkout page gets back a perfectly normal response. Card data still leaves with every order.
This is the practical difference between client-side and server-side code, and it’s worth understanding if you administer a site; we covered the distinction in Client-Side or Server-Side Script?
Then there’s cloaking. Malware frequently decides whether to show itself based on who’s asking: the user agent string, the referring URL, whether a specific cookie is present, or whether the IP has been seen before. A payload that only fires for visitors arriving from a Google search result, or only for mobile Safari, is effectively invisible to a scanner that requests your homepage once with its own user agent. SEO spam often works the same way — serving keyword-stuffed content to crawlers and the real page to you, so the site looks fine when you check it in a browser and your rankings quietly collapse.
Server-level compromises are the hardest case of all. In an older investigation our team traced iframe injections to a compromised Apache module: Server Compromises – Understanding Apache Module iFrame Injections and Secure Shell Backdoor. Scanning the site’s files found nothing wrong, because nothing in the site was wrong. The web server itself was rewriting responses on the way out, and it didn’t necessarily do so for every request.
Note: that last category is also where file-based scanning hits its own ceiling. If the malicious code lives outside your web root, you need server logs and host-level access to see it. That includes a system module, a compiled binary, or another account on the same server. The Importance of Website & Server Logs covers what to look for there.
What does server-side scanning miss?
Reputation. Your files can be clean while your domain is still on a blocklist from last month’s infection, and the only way to know is to check from outside. Visitors hitting a browser warning page don’t care that the file system is tidy.
Server-side tools also have a harder time judging third-party JavaScript. A tag manager snippet, an ad network script, a chat widget — these are files or database entries that load remote code, and whether that remote code is doing something malicious today isn’t a question the file system can answer. A remote scan that renders the page and watches what loads is better placed for that.
And a file scanner only knows about files it can read. Content delivered by a CDN, scripts injected by a browser extension on a visitor’s machine, or third-party code that changed on someone else’s server will all look fine from inside your hosting account.
Which do you need?
Most sites need both, with the balance depending on your situation. A few common cases:
- Small site on shared hosting, no server access. Start with a remote scan on a schedule so you learn fast if your pages or your reputation change. Add a security plugin that can read your files and compare core files against the official versions — on WordPress, the free Sucuri plugin does file integrity checks and last-logins auditing without needing shell access.
- If you run an ecommerce site, server-side coverage isn’t optional. Payment skimmers are the exact class of malware that runs on the server and leaves the page source looking normal, and the consequences (chargebacks, PCI exposure, losing your payment processor) land on you before anyone notices visually. Keep remote monitoring too, since a client-side skimmer injected into your checkout is just as plausible.
- Agency or anyone managing many sites. Remote scanning scales almost for free. Without touching a server, you can monitor dozens of domains for defacement, blocklist status and unexpected redirects. Use it as the alerting layer, and keep server-side scanning on the sites where a compromise would be expensive.
- No file system access at all (a managed platform, or a client who won’t grant credentials). You’re limited to remote scanning plus whatever logs and integrity reporting the platform exposes. Say so plainly in your reporting, so nobody mistakes a clean external scan for a clean site.
Whichever mix you land on, scan on a schedule. Continuous monitoring is what catches the slow cases: a backdoor that sits unused for weeks, a redirect that only fires for search traffic, a blocklist entry that appears days after the infection.
What to do when the two disagree
A clean remote scan and a suspicious server-side finding (or the reverse) is normal, and it’s useful information.
If the remote scan is clean but file scanning flags changes, look at the flagged paths yourself. New .php files under wp-content/uploads/, modified core files, or recently touched .htaccess files are worth opening. Plenty of findings turn out to be a caching plugin or a legitimate update. The path and timestamp tell you more than the alert count does.
If the remote scan reports an injection but your files look untouched, try fetching your own page the way the scanner did. Use a crawler user agent, send a search-engine referrer, and try a browser you don’t normally use. If the bad content appears under those conditions and not yours, you’re looking at conditional delivery. Check the database next, then your server configuration and your access logs.
Either way, resolve the disagreement before you request a blocklist review. Cleaning the symptom and submitting for review while the backdoor is still in place usually ends with the warning coming back.
Pulling it together
Remote and server-side scanning are two different viewing angles on the same site. One tells you what the world sees, including whether your domain has already been flagged. The other tells you what’s actually written to disk and into your database. That’s where backdoors, skimmers and reinfection mechanisms live.
If you only have time to change one thing after reading this: stop treating a clean external scan as proof that your site is clean, and get something looking at your files on a schedule. When both layers are running and you’ve seen what normal looks like for your site, the day something changes becomes a short investigation.
Frequently asked questions
Is a remote scan enough to know my site is clean?
No. A remote scan only reports on what your site returned to the scanner, so malware that runs server-side or hides from unfamiliar visitors won’t appear. A clean remote result means nothing bad was visible in that response. Confirming a site is clean needs file-level scanning as well.
Can a remote website scanner detect backdoors?
Usually not. A backdoor or web shell is a file that waits for a specific request and renders nothing on your public pages, so there’s no output for an external scanner to inspect. Finding backdoors takes file system access, ideally with file integrity comparison and a look at recent file changes.
Do server-side scanners slow my site down?
A well-configured scanner has a small, intermittent impact, mostly during the scan itself when it reads many files. On constrained shared hosting a deep scan can be noticeable, so schedule it for low-traffic hours and limit scan depth or frequency if you see load problems.
Do I need both remote and server-side scanning?
For most sites, yes. Remote scanning tells you what visitors and search engines see, plus whether your domain is blocklisted. Server-side scanning finds the files behind an infection, including backdoors and reinfection mechanisms. Running both means fewer blind spots and faster answers when something looks wrong.









