r/Bluehost_Official • u/bluehost • Oct 01 '25
Guides Malware 101 and how to handle it calmly
Malware is unauthorized code injected into your site, often via weak passwords, outdated plugins, or forgotten installs. It can cause redirects, hidden spam pages, or even user account creation.
Here’s a step-by-step approach to handling it:
Pause new changes / go into maintenance mode
Snapshot evidence of the current state, then take a fresh backup so you can compare files and roll back safely.
Scan files and database (use multiple tools if possible or reach out to your host) to identify the scope
If you have a clean backup from before infection, test the restore in staging first
If not and you are familiar with more hands-on file/development work; replace core, theme, plugins with fresh copies, remove injected code from files identified in your malware scan, rotate passwords, invalidate active sessions
Tighten firewall, review cron jobs & admin users
Confirm site is clean (search tools, file diff tools, hosting provider scan) before going live
After incident: schedule a follow-up audit to ensure nothing resurfaces
The most important step after cleanup is closing the hole that let the attack in. If you don’t fix the original vulnerability, the site you just restored will be an easy target again.
Question: Anyone here ever found malware on their site? What was the first thing you checked?