If your WordPress site was hacked, you cleaned it, and a few days later the hack was back, you’re not unlucky. Some malware is built to survive a cleanup. In October 2026 security firm Sucuri described one that hides in at least eight places at once, including the database and the server’s memory, and rebuilds itself from whichever copy is left.
The good news: it can be removed for good. It just takes a cleanup that looks everywhere, followed by closing the hole the attacker came in through.
Free check: does your site show signs of a hack?
Checking DNS, email and your website…
Results for
Show the other checks
This site was on Closte, which has shut down. That's why it's offline.
Good news: it can usually be rebuilt. We bring back sites stranded by Closte from web-archive copies and get them running on reliable hosting.
This site is built on Weebly, which is leaving 67 countries. Logins there end on 26 Dec 2026.
After that, the content can't be downloaded any more. We get your pages, text and images out now and rebuild the site on hosting you own.
This site is built on Solo, which shuts down on 30 Nov 2026 and deletes every site that day.
Solo's download doesn't include your images, and it isn't a site you can switch on somewhere else. We save everything, move your domain and rebuild the site on hosting you own.
This site is on Sonic's web hosting, which Sonic retires on 15 Jan 2027.
After that date the website stops working. We copy your pages, text and images now and move the site to hosting you own, then point your domain at it.
Thanks. We'll look at it and email you shortly at .
Get your free rebuild instead Or book a free call →Why a hack comes back
Most cleanups delete the bad files you can see: a strange plugin, an odd file in the theme folder. Modern malware expects that.
The backdoor Sucuri named “SC” is a good example of how far this goes. It keeps copies of itself in:
- Several files in your site’s folders, including two special WordPress files that run before any plugin does
- A must-use plugin and a normal plugin, both hidden from your WordPress admin screens
- Your database, as an encoded copy
- The server’s memory, on servers that allow it
Every copy can restore the others. Delete the plugin, and a file puts it back. Delete the files, and the next visitor’s page load restores them from the database or memory. Sucuri called it “a circular system with no single point you can remove to stop it.”
It also creates a hidden administrator account and hides itself from your plugin list and update checks, so from inside WordPress everything can look normal.
The cleanup isn't finished until the door is closed
Even a perfect cleanup fails if the way in is still open: an outdated plugin, a weak password, an old admin account you forgot about. Attackers come back through the same door. Finding and closing it is half the job.
Signs your site is still hacked
- Admin users you don’t recognise (check Users → All Users, and look for anything you didn’t create)
- Visitors sent to other sites, often only on phones or only when they come from Google
- Spam pages in Google when you search
site:yourdomain.com: pills, casinos or text in another language - Warnings from Google, your browser or your host saying the site is unsafe
- Your site suddenly slow, or your host saying it’s using too many resources
- Emails from your domain landing in spam, or bouncing
- Security plugins switched off without you touching them
Some of these only show for certain visitors, so not seeing anything yourself doesn’t mean the site is clean.
How to get rid of it for good
- Back up first, even though the site is infected. If something goes wrong during the cleanup, you need a way back.
- Change every password: WordPress admins, hosting, FTP or SFTP, the database, and email. Use new, long passwords, and log everyone out.
- Clean everywhere, not just the obvious files: the site folders, the database, scheduled tasks, and the special WordPress files (like
db.phpandadvanced-cache.phpinwp-content). Replace WordPress itself, your theme and your plugins with fresh copies from the official source. - Restart PHP on the server, so any copy held in memory is gone. Your host can do this if you can’t.
- Delete what you don’t use: old plugins, old themes, and any admin accounts that aren’t needed.
- Close the way in: update everything, remove the plugin or theme that had the hole, and turn on two-factor login for every admin.
- Watch it for a few weeks. Check the users list and Google’s search results again. If anything comes back, something was missed.
Sometimes rebuilding is faster
If a site has been reinfected several times, is years out of date, or nobody knows what half the plugins do, rebuilding it cleanly from your content can be quicker and safer than hunting every last copy. It also leaves you with a site that’s easier to keep secure.
What not to do
- Don’t rely on a single plugin scan. This kind of malware hides from WordPress itself, and a plugin runs inside WordPress.
- Don’t just restore last month’s backup. If the hack was already in it, it comes straight back, and the hole is still open.
- Don’t paste “fix” code from forums into your site. Some of it is the next infection.
If you’d like help, that’s what we do. The quick check above is free, and so is a proper look: we’ll tell you whether the hack is still there, how it got in, and whether a cleanup or a rebuild makes more sense for your site.
Frequently asked questions
Why does my WordPress site keep getting hacked after I clean it?
Usually for one of two reasons. Either the malware left copies of itself that the cleanup missed (in other files, the database or the server's memory) and rebuilt itself, or the way the attacker got in, such as an outdated plugin or a weak password, was never closed. A lasting fix needs both: a cleanup that looks everywhere and closing the hole.
How do I know if my WordPress site is still hacked?
Look for admin users you didn't create, visitors redirected to other sites, spam pages when you search site:yourdomain.com in Google, security warnings, a suddenly slow site, or security plugins switched off. Some hacks only show to certain visitors, so not seeing anything yourself doesn't prove the site is clean.
Will a security plugin remove the malware?
Not always. Some malware, like the SC backdoor Sucuri described in October 2026, hides from WordPress itself and keeps copies in the database and the server's memory, where a plugin scan inside WordPress may not reach. A full cleanup checks the server, the database and the files directly.
Should I restore a backup of my hacked site?
Only from before the hack, and only after closing the way the attacker got in. A backup taken after the infection brings the malware straight back, and an open hole lets them back in even if the backup is clean.
Is it better to clean up or rebuild a hacked WordPress site?
If the site has been reinfected more than once, is years out of date, or is full of plugins nobody understands, a clean rebuild from your content is often faster and safer. For a recent, well-kept site, a thorough cleanup is usually enough.
Related reading: WordPress flaw under attack: is your site on 7.1.4? is the update to do today. Urgent PHP security update: is your website safe? covers this autumn’s other big WordPress risk. And what to do when your web host goes down explains why a backup you control matters.
Sources: The Hacker News: WordPress backdoor rebuilds itself (1 October 2026), reporting Sucuri’s research · Daily Security Review. Last checked 3 November 2026.
Find this useful? Add us as a preferred source on Google and our posts will surface more often for you.
Changes only what you see in Google. Nothing is shared with us.