← Insights

How WhatsApp accounts get hijacked, and how to stop it

Most WhatsApp takeovers do not hack anything. They persuade the owner to hand over a six-digit code, and the account follows.

How the takeover works

The most common version has four steps.

  1. The attacker installs WhatsApp on their own phone and enters your number.
  2. WhatsApp sends a six-digit verification code to you by SMS or a phone call.
  3. The attacker contacts you, often posing as a friend, a delivery rider or support, and says something like "I sent my code to your number by mistake, please send it back."
  4. You send it. The attacker registers your number on their device and you are logged out.

Once inside, they message your contacts as you and ask for money, airtime or more codes. Because the message comes from someone people trust, it works.

Two other routes

Linked devices. You are tricked into scanning a QR code or typing a pairing code. That attaches the attacker's browser or phone to your account, and you stay logged in, so nothing looks wrong.

SIM swap or voicemail. An attacker who controls your phone number, or your voicemail, can receive the verification code without ever speaking to you.

Signs it is happening

  • You are logged out of WhatsApp without doing anything.
  • You receive a verification code you did not request. Treat this as an active attempt.
  • Contacts tell you they got strange messages from you.
  • Linked devices shows a device you do not recognise.

Five settings that block it

  1. Turn on two-step verification. In WhatsApp, open Settings, then Account, then Two-step verification. Set a PIN and a recovery email. With this on, a stolen SMS code is not enough to take your account.
  2. Never share a verification code. Not with a friend, not with support, not with anyone. WhatsApp will never ask you for it.
  3. Check Linked devices. Open Settings, then Linked devices, and log out anything you do not recognise. Do this monthly.
  4. Do not scan or enter codes from messages you did not start. Pairing should only happen when you choose to add a device.
  5. Protect the SIM. Set a PIN on your SIM and on your voicemail, switch off any call forwarding you did not set up, and ask your mobile carrier about SIM-swap protection.

If it has already happened

  1. Install WhatsApp on your own phone and register your number again. The new code logs the attacker out.
  2. Switch on two-step verification straight away.
  3. Warn your contacts through another channel, a call or another app, and tell them not to send money or codes.
  4. Report the account to WhatsApp support and change the passwords of any account tied to that number or email.
  5. If money was sent, tell your mobile money provider and the police quickly.

If the attacker set their own two-step PIN, WhatsApp may make you wait before you can recover the account. Menu names can also change between app versions, so check WhatsApp's help pages if a setting looks different.

For businesses

If your team uses WhatsApp for sales or customer service, the phone number is a business asset. Decide who holds the SIM, turn on two-step verification on every account, remove linked devices of former staff, and never run the account on a number nobody controls.

Want your team's accounts and devices reviewed? We run short, authorized security reviews for small organizations.

Contact Draorc →