Paths / Stay Safe Online / Lesson 5

What to Do If You Get Hacked

Video + 8 min read

Your phone
Follow the plan
Attacker
Your friends
New login: unknown device
Please send me money
It happened
0:00 / 4:12 · It happened
Chapters and transcript

It happened Your phone shows a warning: a new login from a device you do not know. Then your friends say your account is asking them for money. Being hacked is stressful. But acting quickly and calmly limits the damage. In this lesson, you will follow a clear plan, step by step.

The plan Here is the plan, in order. Recover access. Lock the attacker out. Secure your email first. Change reused passwords. Protect your money. Warn your contacts. Check your device. And report it. Let us go through each step.

Recover access Step one is to recover access. Use the platform's official forgot password or account recovery option, like on this example help page. On Facebook and Instagram, use the my account was hacked option in their help centre. On WhatsApp, reinstall and register your number again to log the attacker out.

Recover access Be careful at this point. Look at this message. Someone offers to hack back your account for a small fee. Never pay them. These offers are almost always a second scam, aimed at people who were just hacked.

Lock them out Step two is to lock the attacker out. Right now, the attacker is still signed in on their own device. First, you change the password to a new, unique one. Then you choose log out of all other sessions. That signs out every device, including the attacker's. When they try again, they are blocked.

Lock them out Then finish locking the door. Check your recovery settings: email, phone number and backup codes. Attackers often add their own. Turn on two-factor authentication. And remove any apps or connected services you do not recognise.

Email first Step three. If your email was affected, it comes first. Here is why. Once the attacker controls your email, they can reset the password of your bank account, and your social media too. Attackers also set up silent forwarding, which sends copies of your mail to them.

Email first So check your email's forwarding rules and filters. On this settings page, a rule sends all mail to an address you do not know. You did not create it, so it belongs to the attacker. Click delete, and the forwarding stops.

Quick check Quick check. Both your email and your Instagram were hacked. You have time to secure only one of them right now. Which one comes first? Take a moment, then choose.

Passwords and money Steps four and five. If you used the same password anywhere else, change it on those accounts too. If any bank, card or wallet details may be exposed, call your bank immediately and block the card. Then watch your transactions closely for the next few weeks.

Warn your contacts Step six is to warn your contacts. Send the message through another channel, not the hacked account. Tell family and friends that the account was compromised, and ask them to ignore any request for money or codes sent from it.

Device and report Step seven. If you do not know how the attacker got in, your device may be infected. Update the system and apps, remove unknown apps, and run a trusted security scan. Step eight is to report it. Report the account or message on the platform. For fraud or blackmail, report to your bank and your cybercrime authority. In Pakistan, that is the NCCIA, through its official website. And keep evidence: screenshots, messages, numbers and transaction IDs.

Putting it together Let us put it together. Recover access through the official option, and never pay to hack back. Change the password and log out of all sessions. Secure your email first. Call your bank if money is at risk, and warn your contacts. And report it, and keep evidence. Now read the lesson below, and answer the quiz. Keep this plan handy, so you can act calmly if it ever happens.

Being hacked is stressful, but acting quickly and calmly limits the damage. Follow these steps in order.

1. Recover access

  • Use the platform's official "Forgot password" or account recovery option
  • On Facebook and Instagram, use the "my account was hacked" option in their help centre
  • On WhatsApp, reinstall and register your number again to log the attacker out

Never pay anyone who offers to "hack back" or recover your account. These offers are almost always a second scam.

2. Lock the attacker out

Once you are back in:

  • Change the password to a new, unique one
  • Log out of all other sessions and devices
  • Check recovery settings: email, phone number and backup codes. Attackers often add their own.
  • Turn on two-factor authentication
  • Remove any apps or connected services you do not recognise

3. Secure your email first

If your email was affected, it comes first. Whoever controls your email can reset the passwords of almost every other account. Check the email's forwarding rules and filters, because attackers sometimes set up silent forwarding.

4. Change reused passwords

If you used the same password anywhere else, change it on those accounts too.

5. Protect your money

  • If any bank, card or wallet details may be exposed, call your bank immediately and block the card
  • Watch your transactions closely for the next few weeks

6. Warn your contacts

Tell friends and family, using another channel, that your account was compromised and that they should ignore requests for money or codes sent from it.

7. Check your device

If you do not know how the attacker got in, your phone or computer may be infected:

  • Update the operating system and apps
  • Remove unknown apps, especially ones installed outside the official app store
  • Run a trusted security scan

8. Report it

  • Report the account or message on the platform itself
  • For fraud or blackmail, report to your bank and to your country's cybercrime authority. In Pakistan, cybercrime complaints are handled by the National Cyber Crime Investigation Agency (NCCIA) through its official website.
  • Keep evidence: screenshots, messages, numbers and transaction IDs

For businesses

If a company account or system is affected, treat it as a security incident: isolate affected systems, preserve evidence, and bring in an incident response team. Acting in the first hours makes a large difference to the outcome.

Check your understanding

Answer every question correctly to complete this lesson. If you miss one, try the quiz again.

1. Your email was hacked. What should you secure first?

2. What does 'log out of all sessions' do?

3. Should you pay someone who claims they can 'hack back' your account for a fee?

Locked: answer every quiz question above correctly to complete this lesson.

Spotted a mistake or something unclear? Report a mistake