Jstudio
עברית Client sign-in

How to tell if your website was hacked, and what to do in the first hour

The signs that your website was hacked, what to do right away and what not to do, and how to prevent the next time.

· 3 min read

Most website hacks aren’t personal attacks. They’re automated: programs that scan millions of sites looking for an outdated plugin or a weak password. In other words, it can happen to any site, even a small business’s small site.

Signs your site was hacked

  • Google shows a warning next to your site in the search results (“This site may be hacked”), or the browser blocks access.
  • Strange redirects: visitors on mobile end up on another site, usually gambling or ads.
  • Pages you didn’t create show up in Google when you search for site: and your domain, often in Japanese or Chinese, or full of drug names.
  • New users in the admin panel that nobody added.
  • Outgoing email in large volumes from the site, or email from your domain starts landing in spam.
  • The site is suddenly slow, or the server is overloaded for no reason.

What to do in the first hour

  1. Don’t panic and don’t delete. Deleting files without understanding what happened can leave the hole open and wipe out evidence that helps close it.
  2. Change passwords: for the admin panel, the server, the database and the email linked to the site. Use a clean device, and new, strong passwords.
  3. Contact whoever looks after the site. The sooner, the easier.
  4. Check when the last clean backup was. This is where you find out what a daily backup is worth: if the hack started three days ago, you restore from four days ago.
  5. Don’t just restore and forget. Restoring brings the site back, but if you don’t close the hole (an old plugin, a leaked password), the attacker will come back.

Once the site is clean

  • Update WordPress, the theme and all the plugins, and delete plugins you don’t use.
  • Ask Google for a review in Search Console, so the warning is removed.
  • Go through the users and keep only the ones who need access, with only the permissions they need.

How to prevent the next time

No site is 100 percent protected, but most hacks are prevented by a few simple habits:

  • Regular updates, after testing. Most hacks exploit holes that already have a fix.
  • A backup every night, stored off the site’s server.
  • Few users, strong passwords and two-factor authentication for the admin panel.
  • Few plugins. Every plugin is another door.
  • Monitoring: a regular check that the site is up and a log of what happens on it, so unusual changes are caught fast.

That’s exactly what our platform does for every site we build. And if you suspect your site was hacked, get in touch and we’ll check.

Want a site that is built
and looked after?

Tell us about your business. We reply by email, usually within one business day.

Articles

More articles

All articles