Said It Here

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.

OverviewLatest thread: Nov 2026
People affected16 accounts (3 forums)
Workarounds found34 items recorded
Discussion timelineOct 2025 – Nov 2026
Freshness statusActive Consensus
Editorial ConsensusSynthesized across r/smallbusiness, r/sysadmin, r/Wordpress · Oct 2025 – Nov 2026
Verification standards →

Core Friction Pattern

Analysis of 16 peer accounts across online developer and community forums reveals that “How to clean up a hacked website and fix malware” 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
Searching through files manually at 3 AM to find injected malware

+33 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

  • It goes quiet, then comes back — 3 separate clusters since October 2025.
  • This comes up 57.3× 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.

34 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 Oct 2025 to Nov 2026
Evaluated against breaking changes & deprecations
  1. 1
    Searching through files manually at 3 AM to find injected malware
    Did this help you?
  2. 2
    Installing security plugins like Wordfence, MalCare, or Virusdie
    Did this help you?
  3. 3
    Hardening server configurations and disabling unused endpoints
    Did this help you?
  4. 4
    Using version control and offsite backups to roll back changes
    Did this help you?
  5. 5
    backing up the site
    Did this help you?
  6. 6
    changing file permissions
    Did this help you?
  7. 7
    changing salts
    Did this help you?
  8. 8
    using security plugins like Wordfence
    Did this help you?
  9. 9
    blocking bots via network level controls
    Did this help you?
  10. 10
    Scanning local computers and browsers for malicious extensions or malware
    Did this help you?
  11. 11
    Manually checking server files, themes, plugins, and database tables for hidden accounts or backdoors
    Did this help you?
  12. 12
    Rotating all passwords, SFTP credentials, and application passwords
    Did this help you?
  13. 13
    Starting fresh by building on a new server or restoring from a clean local backup
    Did this help you?
  14. 14
    Repoint the domain if registered separately
    Did this help you?
  15. 15
    Change every login the site touched
    Did this help you?
  16. 16
    Reply directly to the takedown notice instead of opening a support ticket
    Did this help you?
  17. 17
    Switching hosting providers to Kinsta or Siteground
    Did this help you?
  18. 18
    Running a malware scan with Wordfence
    Did this help you?
  19. 19
    Removing unnecessary plugins and updating themes
    Did this help you?
  20. 20
    Using malware cleanup services
    Did this help you?
  21. 21
    visiting local food pantries
    Did this help you?
  22. 22
    reaching out to 211
    Did this help you?
  23. 23
    visiting local churches for help
    Did this help you?
  24. 24
    freezing credit reports and bank accounts through government departments
    Did this help you?
  25. 25
    Switching to alternative platforms like Shopify or Webflow
    Did this help you?
  26. 26
    Building sites directly with code or using AI tools like Claude
    Did this help you?
  27. 27
    Paying the ransom to get data back
    Did this help you?
  28. 28
    Restoring servers from cloud backups and destroying internal devices
    Did this help you?
  29. 29
    Hiring third-party incident response teams
    Did this help you?
  30. 30
    Working 12-16 hour shifts to manually reimage every endpoint
    Did this help you?
  31. 31
    Involving cyber insurance and federal agencies
    Did this help you?
  32. 32
    Having a separate disaster recovery team handle communication and management updates so technicians can work uninterrupted.
    Did this help you?
  33. 33
    Locking the IT office doors and having a director act as a filter for phone calls and user questions.
    Did this help you?
  34. 34
    Spending significant time validating backups weekly to ensure systems can be restored.
    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/Wordpress6 people · October 2025 – September 2026

“so yeah... i got hacked last year. it was a mess. random redirects, weird scripts showing up in my footer, users getting logged out for no reason.”source ↗

“spent an entire weekend cleaning it up manually, scanning files, comparing timestamps, googling random php functions at 3am.”source ↗

shsajalchowdhury · r/WordpressOct 2025· 193 upvotes

“My WordPress site was hacked, even though I use security plugins like All-in-One and Wordfence.”source ↗

“Honestly, I’m not sure what else to check—I’ve reviewed the files and set up 2FA for WordPress, and everything seems fine for now, but the IP address thing is still on my mind.”source ↗

cre_page_seo · r/WordpressSep 2026· 41 upvotes

“I got hacked recently. Full pain the arse. My own fault as I had done zero to secure the site as it wasn't for a live service.”source ↗

Monkeyboogaloo · r/WordpressOct 2025· 4 upvotes

“My Flywheel hosted WP site had a virus and I've heard from several ppl to switch off Flywheel?”source ↗

reactmma · r/WordpressSep 2026· 1 upvotes

“I clearly have a backdoor door somewhere open, I’ve done everything I can and more to fix this issue, I’ve done backups you name it.. can anyone help me out as my Wordpress core files keep changing”source ↗

Proud_Error5073 · r/WordpressSep 2026

“So login to Wordpress, Wordfence deactivated, reactivate it.. then deactivated again, login to cloudflare 22,000 traffic for my domain, then login to cPanel.. Wordpress core files changed… get the picture”source ↗

Proud_Error5073 · r/WordpressSep 2026

“Brother I’ve tried everything, changing file permissions, salts, wp,admin cloudflare, Wordfence”source ↗

Proud_Error5073 · r/WordpressSep 2026

“Plugins are problematic and full security issues.”source ↗

“Wordpress is so popular it is also a target itself.”source ↗

The-Pork-Piston · r/WordpressSep 2026
r/smallbusiness2 people · September 2026

“We were locked out of all business and personal accounts, and we lost everything we had been building.”source ↗

“Both of our private info was spread across the dark web including Social Security Numbers and all the passwords to our socials and bank accounts.”source ↗

“we won’t be able to make rent, and we currently are unable to get groceries.”source ↗

BlytheHouse_ · r/smallbusinessSep 2026· 5 upvotes

“Any issues are NOT responded to AT ALL.”source ↗

“My website got hacked into and- because the hacker destroyed said website / is using it to slander my business- just got taken down.”source ↗

“My card information is on that website and I have fought tooth and nail with every one of their customer service outlets to absolutely no avail or resolution.”source ↗

Murky_Quantity_5035 · r/smallbusinessSep 2026· 1 upvotes
r/sysadmin8 people · November 2026

“What followed was a 36 hour marathon to reset every service account password and scan each of our 350 servers for further vulnerabilities.”source ↗

Nexzus_ · r/sysadminNov 2026· 1 upvotes

“Fast forward about 2 or 3 months, and all their servers were hit with ransomware. No backups. They ended up paying the bitcoin amount and luckily for them, the hacker group gave them their data back, but I got out of there shortly after.”source ↗

keyboard_crusader · r/sysadminNov 2026· 1 upvotes

“Last year I was working for a pretty large regional hospital network that got hit with ransomware. It was awful. 16 hour days for us salaries employees. Hourly pulling 12 on 12 off in day teams and night teams for 24/7 operations.”source ↗

xXBassASSXx · r/sysadminNov 2026· 1 upvotes

“Turns out the firmware was out of date and we had an issue with rehydration so when we went to restore the 12TB mail server it said "2 Weeks To Go"... !!!!!!!!!”source ↗

thegreatcerebral · r/sysadminNov 2026· 1 upvotes

“The amount of meetings and noise is also defening... every one wants an update when there is no update.... you go through so much adrenaline and lots of no sleep... no one cared they just want it resolved and problem to go away.”source ↗

ITRabbit · r/sysadminNov 2026· 1 upvotes

“When we had an incident years back, I was awake and in the office for \~20 hours a day for 10 days straight. It was miserable.”source ↗

say592 · r/sysadminNov 2026· 1 upvotes

“Weeks and weeks of 16 hour days. I found stuff I implemented during, years later, that I had no memory of doing I was so sleep deprived. But honestly the worst part was the end users. “When will the network be up? I saw a weird Russian person in the parking a lot a week before it happened.””source ↗

jtscribe52 · r/sysadminNov 2026· 1 upvotes

“I worked 60 hours a week every week for about a month, then I was working 50 to 60 for a month, and finally the final month it was more like 50 hours. It wasn't really that chaotic, it was just way way way more tasks than I could complete in a single day.”source ↗

Analog_Drifter · r/sysadminNov 2026· 1 upvotes

Where this came up

People with this problem also raised

Related community dilemmas clustered by discussion consensus

6 related topics

Can you decrypt a Synology backup hit by ransomware?

When ransomware infiltrates both the primary network and backup devices like Synology, restoring files becomes extremely difficult without an uncompromised backup. This leaves organizations scrambling to get systems back online while dealing with data and PII loss.

4 workarounds3 accounts · 1 forum

Client doesn't know where their WordPress site is hosted

When clients don't know their hosting provider and lack full WordPress admin credentials, developers hit a wall. DNS records often point to proxies like Cloudflare or AWS, masking the actual host and making it impossible to access the server files needed to restore admin permissions.

5 workarounds2 accounts · 2 forums

Burning out from constant IT alerts and outages

Relentless incoming alerts, pentest findings, and failing outsourced functions wear IT workers down to the point of flinching at notification sounds or feeling exhausted by the workload. When leadership refuses budget for extra help, people cope by detaching or no longer caring about keeping up. That exhaustion keeps them from staying engaged or handling more on their own.

7 workarounds11 accounts · 1 forum

KB5124008 breaking domain trust?

Update KB5124008 breaks domain trust and causes connection status to flip unpredictably between true and false even after rebooting, repairing trust, and disabling machine identity isolation. Because remediation remains inconsistent, administrators cannot confirm whether the fix is actually working for end users to log in.

3 workarounds2 accounts · 1 forum

How to get banks to take responsibility for wire fraud and scams

Major banks often refuse to assist or send routine administrative letters when customers lose tens of thousands of dollars to wire fraud and operational failures. This leaves victims struggling to find specialized legal representation and fighting for months to force institutions to take accountability.

5 workarounds2 accounts · 2 forums

Do mandatory passkeys bypass traditional two-factor authentication?

Mandatory passkeys can completely bypass traditional two-factor authentication with a single button click if a computer is left unlocked. This leaves systems vulnerable to internal actors and agents that can inflict damage regardless of scoped access or marketing claims about sandboxing.

18 workarounds8 accounts · 2 forums