SquareByteDigital Services

Knowledge base · Security

What to do in the first hour if your website or email is hacked

Discovering that your website or email has been compromised is stressful. The first hour matters, and a clear order of steps helps.

1. Use a device you trust

If you suspect your computer is infected, use a different device for the next steps.

2. Lock the accounts

  • Change the password for the affected account, then for any other account that used the same password.
  • Turn on two-step sign-in (MFA) if it isn’t already on.
  • Sign out all other sessions; most services have an option for this.

3. Check for things the attacker left behind

  • Email: look for new forwarding rules, filters or connected apps you don’t recognize. These are a common way attackers keep reading mail.
  • Website: look for new admin users, unfamiliar plugins and changed pages.
  • Domain: confirm your registrar account and DNS settings haven’t changed.

4. Contain and restore

Contact your host or provider; many have a process for this. Take a copy of what’s there for later investigation, then restore a clean backup from before the problem started. Don’t just delete the obvious damage, as attackers often leave a way back in.

5. Tell the right people

  • Warn staff and customers if they might receive fake messages from you.
  • If personal information may have been exposed, check your privacy obligations. BC’s Office of the Information and Privacy Commissioner has guidance for organizations.
  • Report fraud to the Canadian Anti-Fraud Centre.

If you’re dealing with this right now, email me with “Urgent” in the subject.