Person typing on a laptop covered in stickers

The signs are usually obvious once you know them: visitors get redirected to spam sites, Google shows a “This site may be hacked” warning, your host suspends the account, or new admin users appear that nobody created. When it happens, the worst thing you can do is panic and start deleting files at random.

Colorful lines of code on a screen
Photo: Ilya Pavlov via Wikimedia Commons (public domain / CC0)

Then close the door the attacker used. That’s usually an outdated plugin, a reused password or an abandoned admin account. The OWASP Top Ten is a useful checklist of common weaknesses to review afterwards.

Some threats aren’t break-ins at all. Traffic floods (DDoS attacks) and ransomware call for different responses; CISA’s StopRansomware site has guidance for businesses. Whatever the threat, having a written plan and current backups before anything happens makes recovery far less stressful.

A calm response plan

  1. Contain: put the site in maintenance mode or ask your host to take it offline, and change every password (hosting, FTP/SFTP, database, CMS admins, email).
  2. Preserve: take a copy of the infected site and logs before changing anything. You’ll want them to figure out how the attacker got in.
  3. Scan and clean: tools like Sucuri SiteCheck can flag known malware and blocklisting. Replace core files with fresh copies and remove unknown files and users.
  4. Restore if needed: a clean backup from before the infection is often the fastest path back.
  5. Request review: once clean, ask Google to re-review the site in Search Console so warnings are removed.

Dealing with a hacked or suspicious site right now? Efishinsea Web Development can help you clean it up, recover and lock it down.

Get in touch with our team and let’s talk about your website.