Security help › Websites and servers
I've been hacked: what to do first
A step-by-step guide for everyone, with fixes for common problems.
Steps
- Stay calm, and don't delete things yet: you'll want to know how they got in.
- Cut their access: change the passwords for the server, your host account, your domain registrar and email. Turn on two-step login everywhere.
- Remove login keys and accounts you don't recognise (the dashboard's change alerts list new ones).
- Stop anything suspicious (crypto-miners, unknown start-up jobs), and note what you find and when.
- If people's personal data may have been taken, you may have to tell the ICO within 72 hours (UK). Note what happened and when you found out.
- Rebuild from a clean, known-good backup if you can; a cleaned-up server can still hide a back door.
- Close the hole they used: install security updates, switch off password logins, limit remote desktop to your own address.
What you should see
No new unknown accounts, keys or start-up jobs appear, and the attack counter settles.
Common problems
- I don't know how they got in Look at the first change alert and the failed logins just before it. Ask us for help through support.