On this pageFind out who is flagging you
A full-screen red warning in front of your own site stops almost every visitor, and the damage spreads: security products block your links, mail filters distrust messages that mention your domain, and support tickets start arriving. The warning is rarely the problem itself. It is usually a symptom of a compromise, or occasionally a false positive. Work in a fixed order: find out who lists you, confirm what they saw, clean the site completely, then ask each list to look again, once.
This guide covers sites you own and run. Reputation of a server IP for outgoing mail is a separate subject with its own lists.
Find out who is flagging you
Each warning comes from a specific list, and each list has its own way back.
| List | Where visitors meet it | How to check | Way back |
|---|---|---|---|
| Google Safe Browsing | Chrome and other browsers that use it, such as Firefox and Safari | transparencyreport.google.com/safe-browsing/search, then Search Console's Security issues report |
Request Review in Search Console |
| Microsoft Defender SmartScreen | Edge and Windows | The Edge block page itself | The report link on the block page |
| Security vendors | Antivirus, web filters, company firewalls | A URL report on VirusTotal | Each vendor's false positive process |
| Spamhaus Domain Blocklist (DBL) | Mail filters and DNS firewalls | check.spamhaus.org |
Self-service form on the checker |
Google's site status tool tells anyone whether a site currently has content Safe Browsing considers dangerous. The detail is in Search Console, which lists the issue type (hacked content, malware and unwanted software, or social engineering) and sample URLs. If you have not verified the domain in Search Console yet, do it now: you need it to request a review.
Confirm what they saw
Compromised sites often hide their payload from the owner. Injected scripts may only fire for visitors arriving from a search engine, for phones, or for first-time visitors, while you browse logged in and see nothing. Fetch the pages listed in the report the way a stranger would:
curl -s -A "Mozilla/5.0 (Linux; Android 14) Mobile" \
-e "https://www.google.com/" https://example.com/ \
| grep -iE 'eval\(|atob\(|fromCharCode|window\.location|<iframe' | head
Compare the output with a plain curl -s https://example.com/. A redirect or a script that only appears in the first request is a strong sign of a compromise, not a false positive.
Clean the site before asking for review
Google's own instructions are explicit: fix every listed issue on every affected page, because fixing some pages does not earn a partial return. A review request on a half-cleaned site wastes the review and can slow the next one.
Preserve evidence, then stop the damage
Take a snapshot or a full copy of the server as it is now, so you can study the intrusion later without keeping the infection live. Then put the site into maintenance mode or block public traffic while you work.
Find what changed
# Files modified in the last 14 days under the web root
sudo find /var/www/example -type f -mtime -14 -printf '%TY-%Tm-%Td %p\n' | sort | tail -n 50
# PHP files where none should exist
sudo find /var/www/example/wp-content/uploads -name '*.php'
# Scheduled jobs for the web server user
sudo crontab -u www-data -l
Modification times can be faked, so treat them as a lead, not proof. Also check every .htaccess file and the server configuration for redirects you did not write; see .htaccess on your own Apache server for why web-writable rules are risky.
For WordPress, WP-CLI compares files with the official checksums and lists accounts that should not exist:
cd /var/www/example
sudo -u www-data wp core verify-checksums
sudo -u www-data wp plugin verify-checksums --all
sudo -u www-data wp user list --role=administrator --fields=ID,user_login,user_email,user_registered
Plugin checksums only exist for plugins published on WordPress.org. Reinstall anything else from a fresh download from its vendor.
Close the way in
- Update core, plugins and themes, and delete the ones you no longer use.
- Rotate every secret: admin passwords, the database password, API keys, SSH keys and the WordPress salts.
wp config shuffle-saltsreplaces the salts, which logs everyone out, the intruder included. - Remove unknown accounts, SSH keys and cron jobs.
- Find the entry point in the access logs around the date of the first modified file. If you cannot explain how they got in, assume they can do it again.
When to rebuild instead
If the infection is spread across many files or you cannot find the entry point, rebuilding is faster and safer: a clean server, a fresh install of the application, and only content (database and uploads) carried over after inspection. Restoring a snapshot from before the compromise also works if you are sure of its date. On CloudSat, restoring a snapshot replaces the server's disk with that copy, so apply every update and new password before reopening the site.
Request review, one list at a time
Google Safe Browsing
When all issues in the Security issues report are fixed on all pages, select Request Review. Explain the exact problem, the steps you took and the result. Google says reviews take from a few days to a few weeks. Do not resubmit while a request is pending; premature requests lengthen the next turnaround.
Google also runs a repeat offender policy: a site that keeps switching between harmful and clean behavior loses the right to request a review for 30 days. Hacked sites are excluded from it, which is one more reason to be candid about what happened.
Microsoft Defender SmartScreen
Open the site in Edge. On the block page, under More information, select Report that this site doesn't contain malware threats (or phishing threats, depending on the warning). Microsoft says a confirmation email from the SmartScreen Reputation Group follows, and that you can reply to that message if the case is urgent. The submission portal at www.microsoft.com/en-us/wdsi/filesubmission is the alternative route.
Security vendors and VirusTotal
VirusTotal aggregates the verdicts of many security vendors and produces none of its own, so it cannot change them. Rescan the URL first: some verdicts clear once a vendor recrawls. For detections that remain, contact each vendor with a link to the VirusTotal report. VirusTotal keeps a list of vendor contacts at docs.virustotal.com/docs/false-positive-contacts. If a vendor has cleared you but the old result is still shown, VirusTotal's own false positive form takes evidence of the removal.
Spamhaus DBL
The DBL lists domains, never IP addresses, and mail filters check it against links and sender domains in messages. Look your domain up at check.spamhaus.org, the only place where DBL removals are handled. Listings can expire on their own once the activity stops, and removal never costs anything. Hacked legitimate sites land in an "abused-legit" category that usually lists specific host names rather than the whole domain.
Keep it from happening again
- Patch on a schedule. Turn on automatic minor and security updates, and review the rest weekly.
- Stop PHP from running in upload folders. In an Apache virtual host:
<Directory "/var/www/example/wp-content/uploads">
<FilesMatch "\.php$">
Require all denied
</FilesMatch>
</Directory>
- Separate write access. The web server user should write uploads and cache, not application code.
- Use two-factor login for every admin account.
- Watch for the next problem. Keep the domain verified in Search Console so its alerts reach you, and run
wp core verify-checksumsfrom a daily cron job that mails you its output. - Keep restore points. Off-server backups plus recent snapshots mean the next cleanup can start from a known good copy.
Microsoft's own prevention advice points the same way: valid HTTPS, a Content Security Policy, no unknown third-party content in frames, regular scans for web shells, and stable hosting and DNS.
FAQ
How long until the warning disappears?
For Google, a few days to a few weeks after you request review, according to its documentation. Spamhaus processes approved removals immediately, though some systems take up to 24 hours to update. Microsoft publishes no timeline, so watch for the Reputation Group's email.
The site was never hacked. Why is it flagged?
False positives happen, and some lists judge reputation as well as content: Microsoft names newly registered domains and unusual redirects among its signals. Check third-party scripts and ad tags too, since a compromised widget on someone else's server can get your pages flagged. Then report a false positive to each list.
Should I move to a new domain?
Usually not. A new domain starts with no reputation, loses your existing links and search traffic, and inherits the same problem if the site is still infected. Clean the site and request reviews instead.
Does a listing affect my email?
A DBL listing can make filters reject or junk messages that contain your domain, including invoices and password resets. Delisting the domain fixes that part; the sending server's own reputation is a separate check.
Run it on CloudSat. Cloud VPS on AMD EPYC and NVMe from $1.98/mo in 13 regions, delivered in under 5 minutes and paid in crypto. See plans or deploy a server.




