Cybersecurity

What to Do If You Have Been Hacked

A calm, ordered checklist for taking back accounts and devices, protecting money and reporting what happened.

Key takeaways

  • Secure your primary email first, because it can reset almost every other account you own.
  • Change passwords from a device you have good reason to trust, and sign out all other sessions.
  • Look for the changes intruders leave behind, such as forwarding rules, new recovery details and connected apps.
  • Call your bank or card issuer right away if money or payment details are involved.
  • Be wary of anyone who contacts you afterward offering to recover your losses for a fee.

If you think you have been hacked, work in this order: stop the immediate harm, move to a device you trust, secure your main email account, then secure money, then everything else. Remove the intruder's ways back in, check the compromised device, keep evidence and report it.

Speed helps, but order matters more. Changing passwords on an infected computer, for example, may simply hand the new ones to whoever is watching.

Work out what happened

Different signs point to different problems, and the first response differs a little for each.

Sign Likely problem First move
Password changed, you are locked out Account takeover Use the provider's official recovery page
Contacts receive messages you did not send Account or session compromise Change password, end other sessions
Files renamed or encrypted, ransom note Ransomware Disconnect the device from all networks
Pop-up demands you call a number Usually a scam page Close the browser; do not call
Someone remotely moved your mouse Remote access software installed Disconnect from the internet at once
Charges or transfers you did not make Stolen payment or banking access Call the bank using the number on your card

A sign-in alert for an account you have not touched may be real or may itself be a phishing message. Check by opening the service directly, never through the link in the alert.

Stop the immediate harm

  • If a device is behaving as though someone controls it, turn off Wi-Fi and unplug the network cable. With ransomware, disconnect external drives and other shared storage too.
  • If you gave a caller remote access, disconnect, then hang up.
  • If you just entered card or banking details on a suspicious page, call the bank now.
  • If it is a work device or account, tell your employer's IT or security contact immediately and follow their instructions. Do not wipe it yourself.

Resist the urge to delete things. Messages, notes and logs may matter later.

Recovery in order
1 Contain Disconnect the suspect device and stop any money movement. 2 Switch devices Use another computer or phone that is updated and that you trust. 3 Secure email New unique password, multi-factor sign-in, other sessions signed out. 4 Secure money Call banks and card issuers, review transactions. 5 Secure the rest Password manager, social, shopping, cloud and phone carrier accounts. 6 Clean the device Scan, remove unknown software, or erase and reinstall. 7 Report and watch File reports, warn contacts and monitor for follow-up fraud. Contain Disconnect the suspect device and stop any money movement. 1 Switch devices Use another computer or phone that is updated and that you trust. 2 Secure email New unique password, multi-factor sign-in, other sessions signed out. 3 Secure money Call banks and card issuers, review transactions. 4 Secure the rest Password manager, social, shopping, cloud and phone carrier accounts. 5 Clean the device Scan, remove unknown software, or erase and reinstall. 6 Report and watch File reports, warn contacts and monitor for follow-up fraud. 7

Take back your email

Whoever holds your email can request password resets almost everywhere. From your trusted device:

  1. Set a new, long password you use nowhere else.
  2. Turn on multi-factor authentication, preferably a passkey, security key or authenticator app.
  3. Sign out of all other sessions and remove devices you do not recognize.
  4. Check recovery email addresses and phone numbers, and remove anything that is not yours.
  5. Look through filters and forwarding rules. A rule that quietly forwards or deletes certain messages is a classic hiding technique, explained in forwarding rules attackers love.
  6. Review connected apps and any app passwords, and revoke the unfamiliar ones.
  7. Read the sent and trash folders to learn what was done in your name.

Menu names vary by provider. For a locked account, use only the official recovery process; recovering a hacked email account goes through it, and account takeover covers other services.

Protect your money

Call banks and card companies using numbers from your card or statement. Ask them to block cards, review recent activity, look for new payees or scheduled payments and note your report. Timing can affect your rights to a refund, and rules vary by country and payment type, so report quickly and ask what applies. Disputing an online charge covers card cases.

If identity details such as a government ID number were exposed, look at credit freezes and fraud alerts, where your country offers them.

Your mobile number is also worth a call. If your phone suddenly loses service for no reason, ask the carrier whether your number was moved to another SIM, and add whatever account PIN or port protection they offer.

Secure everything else

Change any password that matched or resembled the stolen one. Attackers routinely try leaked pairs on other sites. A password manager makes unique passwords realistic, and the password generator can create one.

Changing a password does not always end existing sessions, and some malware steals the session itself. Use each service's "sign out everywhere" option. Infostealers explains why this matters: if one ran on your computer, treat every password and session saved in that browser as exposed.

Clean the device

Update the operating system and run a full scan with your built-in or reputable security software. Remove recently installed programs, browser extensions and remote access tools you did not choose. Check startup items and user accounts.

A clean scan does not prove a clean machine. If the compromise was serious (remote control by a stranger, ransomware, a password stealer), erasing and reinstalling from official installation media is the dependable option. Back up documents first, not programs, and scan them before restoring. For ransomware, keep a copy of the encrypted files and the note in case a decryption tool appears later. How ransomware works explains what you are dealing with.

For a phone, remove unknown apps and configuration profiles, update it, and consider a factory reset. If you suspect someone close to you installed monitoring software, think about your safety before removing it, and read stalkerware warning signs. A support organization for abuse survivors can help you plan.

If a website or business page was hacked

Running a site adds a few steps. Signs include pages you did not create, visitors redirected elsewhere, browser or search warnings and unknown administrator accounts.

  1. Contact your hosting provider. They can often show logs, isolate the site and restore backups.
  2. Put the site into maintenance mode or take it offline if it is harming visitors.
  3. Save a copy of the files, database and logs as they are.
  4. Change the hosting, domain registrar, content management, database and file transfer passwords, and rotate any API keys the site holds.
  5. Restore from a backup made before the intrusion, or rebuild from clean copies of the software, then update every plugin and theme.
  6. Check the domain's DNS records for entries you did not add.
  7. When it is clean, request a review through the search engine or security vendor that flagged it.

Restoring without fixing the entry point usually means a repeat within days. If the site collects customer details or payments, you may have notification duties, so get legal advice early.

A social media business page deserves the same attention. Check the list of administrators and linked advertising accounts, remove strangers and review ad spending for charges you did not authorize.

If the hacker is making demands

Some intruders contact you, asking for money to return an account or to keep material private. Do not reply in haste and do not send payment on the first message. Many such emails are mass mailings that quote an old leaked password to look convincing, with nothing behind the threat. Save the message, change that password wherever it still lives and report it.

If the person plainly does hold your account or private images, keep the evidence, report to the platform and to law enforcement, and tell someone you trust. Payment often brings further demands. If a child is involved, contact the police or a child protection hotline promptly.

Tell people and report it

Warn contacts that messages from your account may be fake, especially requests for money or codes. Post the warning through a channel you have secured.

Reporting creates a record that banks and insurers may ask for. In the United States, the FBI's Internet Crime Complaint Center takes cybercrime reports and the Federal Trade Commission handles identity theft and fraud. Other countries have their own services; where to report online fraud helps you find one. Also report to the platform involved.

Keep a simple log: dates and times, what you saw, who you called, reference numbers, screenshots and message headers.

Who may need to hear from you
You Keep one log of every contact Friends and family So they ignore fake requests Fraud reporting service Official record of the crime Employer If work data or devices are involved Bank and card issuers Block cards, dispute charges Account providers Recovery and abuse reports Mobile carrier Check for SIM changes You Keep one log of every contact Bank and card issuers Block cards, dispute charges Account providers Recovery and abuse reports Mobile carrier Check for SIM changes Employer If work data or devices are involved Fraud reporting service Official record of the crime Friends and family So they ignore fake requests

Watch for the second wave

Stolen information gets reused. For several weeks, check statements and login alerts, and expect convincing messages that mention real details. Someone may offer to recover lost funds or "hack back" for an upfront fee. These are usually recovery scams.

Then find the cause if you can. A reused password, a phishing link, an unpatched device or a malicious download each suggest a specific fix. Add backups following the 3-2-1 rule so the next problem costs less.

Being hacked is common and often not a sign of carelessness. Handle the list one line at a time, and ask someone you trust to sit with you if it feels overwhelming.

Common questions

Should I get a new computer?

Usually not. Erasing and reinstalling deals with nearly all ordinary malware. Replace hardware that no longer receives updates.

Can I find out who did it?

Rarely on your own, and trying to confront or retaliate can make things worse or break laws. Give the evidence to the authorities and focus on closing the door.

How do I know it is over?

You cannot be certain. Good signs are no unfamiliar sessions or devices, no unexplained messages or charges, and settings that stay the way you left them.

Written for 4Internet with AI writing tools and not reviewed line by line by a person. Check anything you rely on with the maker, provider or standard concerned. Report an error.

Keep reading

All 45 articles in Cybersecurity →

Latest news on this topic