What to Do After a Cyberattack: Secure Your Accounts and Devices

Verified: 4 December 2026, 09:08 UTC.

If you suspect a cyberattack, act quickly: use the affected service’s official recovery process, secure your email and other important accounts, and contact your bank immediately if money may have been taken. Then check devices for malware, alert contacts if your account sent messages, and report fraud through the appropriate UK channel. The National Cyber Security Centre (NCSC) and GOV.UK provide step-by-step guidance for individuals; the right technical fix depends on whether an account, device or both were compromised.

Destaques

  • Start account recovery through the provider’s genuine website or app.
  • Change compromised and reused passwords, sign out other sessions and enable two-step verification.
  • If a device may be infected, follow NCSC device guidance before trusting it for sensitive account changes.
  • Contact your bank over suspected financial loss and use the UK’s official reporting route.
A person securing online accounts on a laptop with a phone beside it
Illustration: securing online accounts after a suspected cyberattack.

What should you do first after a cyberattack?

Identify what appears affected: an email or social account, an online banking or shopping account, a phone or computer, or several of these. Signs of account access can include being locked out, unfamiliar security-setting changes, messages you did not send, unusual sign-in alerts, or purchases you do not recognise. A single warning does not prove what happened, so use the provider’s official support channel to investigate.

If you can still access the account, visit the provider’s website directly or open its trusted app and follow its recovery instructions. Avoid links and phone numbers in unexpected messages claiming to offer help; use contact details from the provider’s official site. If you cannot sign in, use that service’s account recovery process. For work or school devices and accounts, contact your organisation’s IT team promptly.

How do you secure hacked accounts?

Secure your email account early, because access to its inbox can help someone reset passwords elsewhere. Change the password on the affected account and on any other account where you reused it. Use a different, strong password for each account; a password manager can generate and store unique passwords. The NCSC also suggests using three random words when creating a password yourself.

Review the account’s security and email settings. Check for unfamiliar forwarding rules, recovery details, connected apps and recent activity, and remove changes you did not make. Then use the account’s settings to sign out other devices or sessions. The exact menu names differ by service, so follow its own instructions rather than relying on a generic sequence.

Turn on two-step verification (2SV), also called two-factor authentication (2FA), where available. It adds a second check when someone signs in, making a stolen password less useful on its own. Check that recovery email addresses and phone numbers belong to you, and store any backup codes securely.

What if your phone or computer may be infected?

Do not use a device you believe is infected for banking, password changes or other sensitive activity until you have followed trusted recovery guidance. Use a separate device you trust to contact providers and secure accounts. For a suspected infected personal device, the NCSC recommends updating software and apps and running a scan with your security software. Its guidance says a factory reset may be the safest option for some devices; this can erase data that has not been backed up. Follow the NCSC instructions for your device type and seek expert help if the problem persists.

After recovery, install available operating system and app updates, enable automatic updates where possible, and restore only from a backup you trust. Do not assume that a device is safe just because it starts working normally again.

Should you contact your bank or report the attack?

If you notice an unauthorised payment, contact your bank immediately using the number or contact method on its official website, card or banking app. Check bank statements and online shopping accounts for unfamiliar activity. Tell contacts if messages may have been sent from your compromised account, so they can treat unexpected requests or links with caution.

In England and Wales, GOV.UK directs people who lost money or were hacked through an online scam or fraud to Report Fraud. In Scotland, report the crime to Police Scotland. You can also use the NCSC’s guidance for individuals to find the appropriate next steps for hacked accounts, infected devices and other online incidents.

Where can you find official recovery guidance?

Start with the NCSC advice for individuals responding to an online scam or cyberattack. For account-specific recovery, see NCSC guidance on hacked accounts. For infected devices, consult NCSC infected-device advice. To report fraud, check the GOV.UK reporting guidance.

Frequently asked questions

Should I change my passwords immediately?

Yes. Change the compromised password and any reused passwords. Use a trusted device and the provider’s official recovery process, especially if you suspect malware on your usual device.

Should I pay a ransom after a cyberattack?

Do not make a payment based only on an attacker’s demand. Follow official guidance and seek help from your organisation’s IT or security team, or a qualified professional if you are dealing with a personal device.

What if I cannot recover my account?

Continue through the provider’s official recovery and support process. Secure any accounts that used the same password, protect your email, and warn contacts if the account could be used to impersonate you.

Leave a Comment

Today