Said It Here

Why does website malware keep coming back after I delete it?

Deleting infected files isn't enough because persistent malware hides its source in the database or configuration scripts, automatically recreating the threat on the next request. This leaves site owners stuck in an endless loop of manual cleanups where infections reappear within hours.

OverviewLatest thread: Nov 2026
People affected13 accounts (2 forums)
Workarounds found18 items recorded
Discussion timelineSep 2026 – Nov 2026
Freshness statusActive Consensus
Editorial ConsensusSynthesized across r/sysadmin, r/Wordpress · Sep 2026 – Nov 2026
Verification standards →

Core Friction Pattern

Analysis of 13 peer accounts across online developer and community forums reveals that “Why does website malware keep coming back after I delete it?” repeatedly surfaces due to edge-case mismatches between standard defaults and real-world environments. Standard troubleshooting frequently falls short, compelling practitioners to develop custom workarounds.

Top Peer-Reported Fix
Replacing core files and plugins with clean ones

+17 alternative community-tested workarounds cataloged below.

Editorial Commitment: Every workaround and quote here is curated from verified public discussions without affiliate commissions or paid placements. Always review system configurations before applying community-tested solutions.

What the numbers show

Counted from the threads quoted below. How we count

  • People have been saying this in most months since September 2026.
  • This comes up 117.5× more often in r/Wordpress than across the site as a whole.

What people tried

Every workaround mentioned in the threads below. We haven’t tested any of them — and nobody here is claiming they worked.

18 items+ Contribute

Found another way around this?

Share your steps and trade-offs so fellow engineers don't have to reinvent the wheel. No account required.

Active Consensus (Latest: Nov 2026)Indexed across peer discussions from Sep 2026 to Nov 2026
Evaluated against breaking changes & deprecations
  1. 1
    Replacing core files and plugins with clean ones
    Did this help you?
  2. 2
    Changing user passwords, application passwords, app keys, and auth tokens
    Did this help you?
  3. 3
    Scanning via SSH from outside the site rather than using an in-plugin scanner
    Did this help you?
  4. 4
    Checking source code using curl as Googlebot
    Did this help you?
  5. 5
    Manually scanning files and databases for hidden backdoors and rogue administrator accounts
    Did this help you?
  6. 6
    Relying on host malware scanners
    Did this help you?
  7. 7
    Check the wp-content folder for recently modified PHP files
    Did this help you?
  8. 8
    Run a scan with the web host or a security plugin
    Did this help you?
  9. 9
    manually searching through and clearing out malicious code files
    Did this help you?
  10. 10
    Replacing core files with a fresh copy
    Did this help you?
  11. 11
    Going through plugins and themes to update or remove unused items
    Did this help you?
  12. 12
    Resetting admin passwords and security keys
    Did this help you?
  13. 13
    Checking uploads folders for stray script files
    Did this help you?
  14. 14
    Installing web application firewalls and security tools like Wordfence or Cloudflare
    Did this help you?
  15. 15
    blocking newly registered domains at the firewall level
    Did this help you?
  16. 16
    using DNS filtering solutions like Zscaler
    Did this help you?
  17. 17
    factory resetting phones and clearing browser caches
    Did this help you?
  18. 18
    monitoring banking and crypto transactions
    Did this help you?
Tried another approach not listed above?+ Share your workaround ↑

In their words

Unedited, grouped by where they were said, most upvoted first within each place, each linked to the thread it came from.

r/sysadmin3 people · November 2026

“As if you didn't already have enough to do, now you can go look to see what to check for if all your users got their crypto, digital payments, and browsers scraped today.”source ↗

Treebeard313 · r/sysadminNov 2026· 356 upvotes

“Our SOC caught this around noon today. All of a sudden I was getting my email blown up with alerts and we blocked it asap.”source ↗

ZipTheZipper · r/sysadminNov 2026· 1 upvotes

“This week is really making me want to sell all my shit and move to the forest”source ↗

TheProle · r/sysadminNov 2026· 1 upvotes
r/Wordpress10 people · September 2026 – November 2026

“we ran into a weird issue, where multiple links (buttons) on our site would lead to a gambling site (while masking themselves as our website. The URL was correct).”source ↗

“After a couple of hours I managed to clear out all malicious code and found a VERY interesting file.”source ↗

dfreeezzz · r/WordpressOct 2026· 43 upvotes

“A manual file cleanup was not enough: it came back within 24 hours because the malware’s source of truth was in the database and in wp-config.php.”source ↗

“i had the same fight on a client box, deleted the mu-plugin and it was back on the next request because object-cache.php was dropping it back from the db.”source ↗

ClassifiedReport · r/WordpressSep 2026· 35 upvotes

“I've had this happen before and the entry point was almost never the core files themselves — it was usually an outdated plugin or theme letting something in, then rewriting the core files.”source ↗

Euono · r/WordpressNov 2026· 4 upvotes

“My Wordpress core files keep getting hacked with malware. I’m unsure of how they are getting in with all security protections enabled.”source ↗

Suspicious-Size-2344 · r/WordpressNov 2026· 3 upvotes

“Thanks for the heads up. I noticed UK Casinos linked on a client’s Shopify site but it was through a link to an old domain they no longer used. I’ll need to check if that old domain was a Wordpress site. I guess I’ll be working this weekend to make sure their Shopify site is not compromised.”source ↗

ITpeep · r/WordpressSep 2026· 2 upvotes

“Me ha ocurrido en una web, pero solo se activaba desde mac. Muchas gracias por compartirlo en cuanto tenga un rato sigo estas instrucciones.”source ↗

Emergency-Answer5549 · r/WordpressSep 2026· 1 upvotes

“What a cluster fuck.”source ↗

1991K75S · r/WordpressSep 2026· 1 upvotes

“That looks like a credit card skimming script, likely injected through a compromised plugin or theme file.”source ↗

TiresomeMailing9 · r/WordpressSep 2026· 1 upvotes

“I remember reading about a specific malware that embedded itself in the database and once the site was cleaned it would somehow reinstall itself.”source ↗

bjazmoore · r/WordpressNov 2026· 1 upvotes

“facing this thing/malware on several wordpress sites?”source ↗

AISEOExp · r/WordpressSep 2026

“I have an antivirus on the server”source ↗

Suspicious-Size-2344 · r/WordpressNov 2026

Where this came up

People with this problem also raised

Related community dilemmas clustered by discussion consensus

6 related topics

Why does Microsoft Edge force ads and unwanted features?

Browsers like Edge bundle unwanted promotional content, shopping tools, and constant pop-up prompts for features like Copilot across multiple interface locations. This relentless bloat forces users and administrators to manually disable the clutter through enterprise policies just to achieve a clean browsing experience.

6 workarounds6 accounts · 2 forums

How to safely clean up toxic pest control dust

Sweeping up indoor insecticide dust immediately triggers severe respiratory symptoms like sneezing, coughing, hoarseness, and headaches that can persist and worsen over multiple days. Without knowing how long the dust takes to settle or how to safely clean it up without a shop vac blowing it back into the air, people risk prolonged illness.

13 workarounds7 accounts · 1 forum

How to remove a spider and its web without killing it

You can gently relocate a house spider by nudging it onto a piece of paper or a cup using a soft brush, then moving the web intact or sweeping it away once the spider is safe. Relocating them carefully prevents unnecessary stress or harm, which is a common worry when you want to clear out webs without resorting to harsh indoor pesticides.

19 workarounds7 accounts · 4 forums

How to get mold out of forgotten laundry

Moldy clothes left forgotten in the washing machine can usually be safely salvaged rather than thrown away, provided the spores are thoroughly killed and washed out. However, people worry that standard rewashing will not remove the health risks or the stubborn black stains, leaving them unsure whether to toss the garments or how to check the washing machine drum for hidden spores.

9 workarounds4 accounts · 1 forum

How to clean up a hacked website and fix malware

Website hacks manifest as random redirects, injected footer scripts, and unexpected user logouts that force owners to spend entire weekends manually scanning files and troubleshooting PHP functions at 3 AM. This demanding clean-up process stems from neglecting basic security hardening before the breach occurs, leaving sites entirely vulnerable to compromises.

34 workarounds16 accounts · 3 forums

How to clean up old rat droppings safely

Old rodent droppings carry dangerous pathogens like hantavirus that become airborne if swept or vacuumed, making people terrified of exposure or falling ill during cleanup. This fear stops them from tackling infestations in neglected spaces, leading them to leave hazardous waste behind or abandon the cleaning process altogether.

22 workarounds15 accounts · 6 forums