Join our Newsletter — 33% off our NHI Course
Home› Guides› WhatsApp Account Security Guide: Stop Takeovers, Code Scams…
Guide Security Policies & Awareness

WhatsApp Account Security Guide: Stop Takeovers, Code Scams and Recover Fast

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 18 November 2026 13 min read
On this page

Most WhatsApp account takeovers do not break any encryption: the criminal simply persuades the owner, or the owner's mobile network, to hand over the six-digit registration code that moves the account to a new phone. Once that happens, the attacker can message every contact and group in the victim's name, usually to ask for money or for more codes. This guide explains how WhatsApp registration works, why the verification code is the key to the account, which settings block the common attacks, how to spot the scripts criminals use, and what to do in the first hour if an account is lost. It is written for individuals, for the people who support family members and colleagues, and for security teams that rely on WhatsApp for business contact. For the wider picture across messaging apps, see the Securing Messaging Apps Guide; this page stays on WhatsApp only.

This is an independent guide from NHI Mgmt Group, based on WhatsApp's public documentation as of November 2026. It is not sponsored or reviewed by WhatsApp. Product features change, so confirm settings against WhatsApp's current documentation.

Key takeaways

  • A WhatsApp account is tied to a phone number. Whoever can receive and enter the registration code for that number can move the account to their own phone, so the code must never be shared with anyone, including people who claim to be friends, couriers or WhatsApp staff.
  • Two-step verification adds a six-digit PIN that you choose. With it switched on, a stolen registration code is not enough on its own to take the account.
  • Add a recovery email to two-step verification. WhatsApp states that without one, a forgotten PIN means a seven-day wait before it can be reset, and WhatsApp cannot shorten that period.
  • Most takeover scams arrive as a message from a contact who has already been compromised. Verify any unusual request with a voice or video call before acting.
  • If you lose the account, register the number again on your own phone as soon as possible, then warn your contacts and secure your mobile network account against SIM swap.

How WhatsApp accounts are taken over

WhatsApp uses your phone number as your identity. When you install the app on a phone, WhatsApp sends a registration code to that number by SMS or voice call, and entering the code proves you control the number. That design is simple and works on any phone, but it also means the code is effectively the password for the account at the moment of registration.

Criminals therefore aim at the code rather than at the app. The routes seen most often are:

  • Code phishing through a trusted contact. The attacker has already taken over one account and messages its contacts: "Sorry, I sent you a code by mistake, can you forward it to me?" The code is really for the victim's own number, requested by the attacker on another phone.
  • Impersonating support. Messages or calls that claim to come from WhatsApp, a bank, a delivery firm or a prize scheme, asking for the code to "verify" or "unlock" something. WhatsApp is free, and its own scam guidance treats a request for payment to use WhatsApp as a warning sign.
  • Voicemail interception. If a voice call is used to deliver the code and the phone does not answer, the code may land in voicemail. Where the voicemail box still uses a default or weak PIN, an attacker may be able to listen to it remotely. This is general guidance; check WhatsApp's help centre for how code delivery currently works.
  • SIM swap and number porting. The attacker persuades the mobile network to move the victim's number to a new SIM, so all codes arrive with the attacker. MITRE ATT&CK for Mobile tracks this as T1451 SIM Card Swap. See the SIM Swap Fraud Guide for network side defences.
  • Linked device abuse. WhatsApp can be used on computers and other devices linked to the main phone. An attacker with brief physical access to an unlocked phone, or who tricks the owner into scanning a code, can link a device and read new messages. Check WhatsApp's help centre for how linked devices currently work and how to log them out.

Two-step verification breaks the first four routes: even with the registration code, the attacker still needs the PIN. That is why it is the single most important setting on this page.

Set up two-step verification and a recovery email

WhatsApp's help centre describes the steps. In the app, open Settings, then Account, then Two-step verification, and choose to turn it on. You then pick a six-digit PIN, confirm it, and add an email address you can access, or skip that step. WhatsApp recommends adding the email because it lets you reset two-step verification if you forget the PIN.

Points that matter in practice:

  • Choose a PIN nobody can guess. Avoid birthdays, repeated digits, your phone unlock code and any PIN you use for a bank card. Store it in a password manager.
  • Check the email address carefully. WhatsApp's own page says it does not verify the address, so a typo means reset instructions go nowhere. Use an address you control that is itself protected with strong multi-factor sign-in.
  • Know the seven-day rule. If you forget the PIN and have no email on file, WhatsApp says you must wait seven days before you can reset it, and for security reasons it cannot shorten that wait or disable your account while two-step verification is on.
  • Treat the PIN as secret as the code. Attackers who already hold the registration code often follow up asking for "the six-digit PIN" too. No genuine service needs it.

The same menu lets you turn two-step verification off, change the PIN, and add or change the email address. Review it whenever you change email provider.

Protect the phone number behind the account

Because WhatsApp trusts the phone number, the security of your mobile network account is part of your WhatsApp security. Three controls help:

  • Add a port-out or SIM-change PIN with your network. Many networks (check with yours, as offerings vary) let you set a password or PIN that must be given before a SIM swap or number transfer. Ask yours what it offers and switch it on.
  • Change the voicemail PIN. Replace any default voicemail PIN with a strong one, or turn off remote voicemail access if you do not use it. This closes the voicemail route for voice-delivered codes.
  • Lock the phone itself. Use a strong screen lock and biometric unlock, and enable the operating system's find and erase features. A phone left unlocked on a desk is the easiest way for someone to link a device or read codes.

If your phone suddenly loses signal for no clear reason, contact your network from another phone straight away. Sudden loss of service is one of the clearest signs of a SIM swap in progress.

Recognise verification code and impersonation scams

Takeover scams on WhatsApp follow a small number of scripts. Knowing them makes them easy to refuse.

ScriptWhat the message saysWhat is really happening
"Wrong code"A friend says they sent you a code by mistake and asks you to forward it.The friend's account is already stolen. The code is for your own account.
"Hi Mum, new number"A family member says they lost their phone and need money urgently.A stranger impersonating a relative. Call the old number or ask a question only they would know.
"WhatsApp support"Your account will be closed unless you confirm a code or PIN.Code theft. WhatsApp will not ask you to send a code or PIN in a chat.
Prize or voting linkVote for a friend's child in a competition, or claim a prize, by entering your number.The site triggers a registration code for your number and asks you to type it in.
Job or investment groupYou are added to a group promising easy earnings.Fraud that often escalates to payment requests or account takeover.

WhatsApp's scam guidance lists requests for card or bank account numbers, birth dates or passwords as warning signs, advises you not to tap, share or forward a suspicious message, and suggests asking a personal question or making a voice or video call to confirm who an unknown contact really is. You can then report the sender, block them and delete the message. In ATT&CK terms, this is phishing through a trusted service (T1566.003 Spearphishing via Service) aimed at intercepting a one-time code (T1111 Multi-Factor Authentication Interception).

A simple household rule covers almost every case: never type or forward a WhatsApp code or PIN for anyone, and never send money because of a message alone. Confirm by calling the person on a number you already trust.

Privacy settings that reduce exposure

WhatsApp's security pages describe several controls that cut down unwanted contact. They do not stop a determined takeover, but they reduce the number of strangers who can reach you with a script in the first place.

  • Group controls. WhatsApp lets you choose who can add you to groups. Restricting this to your contacts stops most "investment group" spam.
  • Blocking and reporting. WhatsApp says you can report messages, people or businesses without the sender being notified, and that blocked contacts' messages and calls no longer reach you.
  • Proactive alerts. WhatsApp says it prompts you to verify your identity when it detects suspicious takeover attempts. Take those prompts seriously and never dismiss them because a contact told you to.
  • Official app only. WhatsApp warns that fake versions of the app pose privacy and security risks. Install it only from your phone's official app store.
  • Profile visibility. Limit who can see your profile photo, about text and last seen status. Fraudsters use profile photos to build convincing impersonation accounts.

Also review the list of linked devices in settings from time to time and log out any computer or browser you do not recognise.

What to do if your account is taken over

Speed matters. The aim is to get the account back on your phone, stop the attacker using your name, and close the route they used.

  1. Re-register the number on your own phone. Open WhatsApp and register your phone number again, entering the code you receive. WhatsApp's security page notes you can re-register your number, and that past conversations stored on your phone cannot be read by someone trying to access your account.
  2. If you are asked for a PIN you never set, the attacker has switched on two-step verification to lock you out. Follow the reset path offered. Without access to the attacker's email you will typically need to wait out the reset period, so start immediately and keep the app on your phone.
  3. Warn your contacts by phone, text or another app. Tell them not to send money or codes to your WhatsApp until you confirm you are back in control.
  4. Contact your mobile network if you lost signal or suspect a SIM swap. Ask them to restore your SIM and add a port-out PIN.
  5. Turn on two-step verification with a new PIN and recovery email once you are back in, then log out of all linked devices you do not recognise.
  6. Report fraud. If money was lost, contact your bank at once and report to the national fraud reporting service. The NCSC's guidance on recovering a hacked account is a good companion checklist.
  7. Check other accounts. If the attacker also had access to your email or phone, change passwords and turn on multi-factor sign-in elsewhere. The Account Takeover Response Playbook covers this step in depth.

Supporting family members and staff

Many victims are people who would never think of security settings: older relatives, teenagers and busy colleagues. A short, repeated message works better than a long briefing. Three things are worth teaching:

  • "A WhatsApp code is like the key to your house. Nobody needs a copy, not even me."
  • "If someone asks for money on WhatsApp, call them first."
  • "Switch on two-step verification today and tell me when it is done."

Sit with the person and set two-step verification up together; it takes under five minutes. Make sure the recovery email is one they can actually open.

For organisations, WhatsApp often carries real business: customer contact, supplier messages and informal staff groups. Treat staff WhatsApp accounts as part of the attack surface. Include the code scam and the "new number" script in awareness training, give staff a fast route to report a suspected takeover, and agree that payment or bank detail changes are never approved over WhatsApp alone. The Encrypted Messaging Apps vs Corporate Messaging guide helps decide which conversations belong in a managed tool instead.

Where identity fits

WhatsApp is a clear example of an identity that rests on a single possession factor: the phone number. NIST SP 800-63B-4 says use of the public telephone network (PSTN) for out-of-band verification is "restricted", and tells verifiers to consider risk indicators such as device swap, SIM change and number porting. Two-step verification adds a knowledge factor that the attacker must also obtain, which is why it makes such a difference. For security teams, the lesson carries over to every service that uses SMS codes for recovery: the mobile number is a recovery channel that needs its own protection, and help desks or networks that can move it become part of the identity system. The Account Takeover Prevention Guide sets out the wider controls.

Common failure patterns

  • Forwarding a code to a "friend" whose account has already been stolen.
  • Two-step verification turned on, but with no recovery email, or with an email address mistyped and never checked.
  • Using a birthday or the phone unlock code as the WhatsApp PIN.
  • Default voicemail PIN left in place, so voice-delivered codes can be heard remotely.
  • No port-out PIN on the mobile account, so a convincing caller can move the number.
  • Sending money after a "new number" message without calling the old number first.
  • Old computers and browsers left in the linked devices list for months.
  • Waiting hours before re-registering, giving the attacker time to set their own PIN and lock the owner out.

Practitioner checklist

  • Two-step verification is on with a unique six-digit PIN stored in a password manager.
  • A recovery email is added, spelled correctly and protected with multi-factor sign-in.
  • The mobile network account has a port-out or SIM-change PIN, and the voicemail PIN has been changed.
  • The phone has a strong screen lock and find and erase features enabled.
  • Group invitations are limited to contacts, and profile visibility is limited.
  • Linked devices are reviewed monthly and unknown sessions logged out.
  • Everyone in the household or team knows never to share a code or PIN and to call before paying.
  • A written recovery plan exists: re-register, warn contacts, call the network, report fraud.
  • Staff awareness training covers WhatsApp code and impersonation scripts, with a reporting route.

Standards and references

Related NHI Mgmt Group resources: Securing Messaging Apps Guide · SIM Swap Fraud Guide · Account Takeover Prevention Guide · Account Takeover Response Playbook

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.