Type to search. Use the arrow keys, then Enter.

Security

What to do in the first hour after your email or account is hacked

Someone is in your email, your Facebook page or your business account. The first hour decides how much damage is done. Here are the steps in order, what not to do, and how to close the door properly afterwards.

By James Obaigwa4 min read2 sources

First, breathe

A hacked account feels like a house break-in, and the urge is to do ten things at once. Work through the steps below in order. They follow the recovery guidance of the UK National Cyber Security Centre, which I find the clearest list written for ordinary people.

Use a device you trust for all of this, not the one you think is infected.

The steps, in order

1. Contact the account provider

Go to the provider's own help pages and start their recovery process. Each service has its own: Google, Microsoft, Meta, your hosting company, your bank. Type the address yourself. Do not follow a link from an email or a message, because fake "recovery" pages are a second scam aimed at people who have just been hacked.

2. Check your email for forwarding rules

This is the step most people miss. An attacker who gets into your email often adds a rule that quietly sends a copy of every message to their own address. Changing your password does not remove that rule.

Open your email settings and look at Forwarding and at Filters or Rules. Delete anything you did not create.

3. Change the passwords

Change the password of the hacked account. Then change it on every other account where you used the same password, starting with email and banking. If your email was the hacked account, treat every account that sends password resets to that email as at risk.

4. Log every device out

In the account's security settings, sign out all devices and apps. This removes the attacker even if they are still signed in on their own phone.

5. Turn on two-step verification

Add a second step to sign in, so that a stolen password alone is no longer enough. Do this on email and banking first. My guide on WhatsApp two-step verification shows what this looks like on one service.

6. Update your devices

Install the waiting updates on your phone and computer, and switch on automatic updates. An old browser or operating system may be how they got in.

7. Tell your contacts

Send a short, calm message to the people you deal with: your account was accessed, and they should be careful with anything sent from it in the last few days, especially requests for money or changed bank details. For a business, this one message can stop a customer paying a fraudster.

8. Check your money

Read your bank and mobile money statements and your online shop accounts for payments you did not make. If you find any, contact your bank through its official number, and report the matter to the police.

What not to do

  • Do not pay. Paying someone who promises to "recover" your account, or paying a demand, usually costs you twice.
  • Do not delete things in a panic. Messages, login alerts and strange files are evidence. Take screenshots first.
  • Do not reuse the old password with one character changed.
  • Do not announce it publicly before step 1 to step 4 are done. You may tell the attacker you have noticed while they are still inside.

If it is a computer or server, not just an account

When files are being locked or a machine is behaving strangely, the order changes. The US agency CISA's ransomware guide starts with isolation: determine which systems were impacted, and immediately isolate them.

In plain words:

  1. Disconnect the affected computer from the network. Unplug the cable and turn off Wi-Fi.
  2. Leave it switched on if you can. CISA advises powering down only if you cannot disconnect it, because switching off can destroy evidence held in memory.
  3. Do not plug your backup drive into it.
  4. Call the person who looks after your systems.

If it is your website

Ask your host to take the site offline or put up a holding page, change the hosting, database and admin passwords, and restore from a clean backup taken before the break-in. Then find out how they got in, or it will happen again next month. My guide on backing up a business explains the backups that make this possible.

Close the door properly

When the hour is over and you are back in control, spend one more evening on the cause:

  • Use a different password for every important account. A password manager makes that practical.
  • Keep two-step verification on everywhere that offers it.
  • Make sure your recovery phone number and recovery email are still yours.
  • If staff share one login, stop. Give each person their own.

If your website or server was involved and you want a second opinion, my website security check is a remote check with a plain report. You can also send me what happened on WhatsApp and I will tell you what I would do first.