My WhatsApp has been hacked, what to do

Save screenshots, recover the account with the SMS code, warn your contacts and report it. It is an offence under Article 197 bis of the Criminal Code.

The police report for a hacked WhatsApp account looks like counter paperwork, yet everything else depends on it, because Article 201 of the Spanish Criminal Code requires a complaint from the injured person before these offences can be prosecuted and because it fixes the time from which you no longer controlled the account. If it has just happened, take screenshots of what is on your screen, recover the account by registering your number again with the code sent by SMS, tell your contacts not to send money and report it to the Policía Nacional or the Guardia Civil. The order matters, above all if someone has already been asked for money from your number.

My WhatsApp has been hacked, what to do before deleting anything

You can do the following today, without a lawyer, and it is best done in this order.

  1. Screenshots first. Capture the message in which you were asked for a code, the notice that your number has been registered on another phone and any odd conversation, so that the date, time and number are visible. Ask a trusted contact to capture what they are receiving from your account, especially if it includes a Bizum number or a bank account.
  2. Recover the account. Open or reinstall WhatsApp, enter your number and request the verification code by SMS. Once you enter it, the intruder’s session is closed.
  3. Close sessions that are not yours. In Settings, under Linked devices, log out of every device you do not recognise.
  4. Warn your contacts by another channel. A call, a text message or another social network will do. Tell them not to send money or forward codes and to keep whatever they have received.
  5. Turn on two-step verification with a PIN and a recovery email address.

Do not cancel the line or change your number, because the account is tied to that number and without it you will not be able to recover it or prove that it is yours. Do not delete conversations either, do not pay anyone who offers to get the account back and do not negotiate with whoever holds it.

My WhatsApp has been hacked, how to recover it if the code does not arrive or a PIN is requested

If the SMS does not arrive, check that you have coverage and wait for the on-screen timer to finish, at which point the app offers to give you the code by phone call. Each failed attempt lengthens the next wait, so trying again and again delays recovery.

After entering the code, the app may ask for a PIN you never created. It means the intruder turned on two-step verification. According to WhatsApp’s help information, anyone who does not know that PIN must wait seven days to sign in without it, and the other person is logged out of the account from the moment you entered the SMS code. During that week you will not be able to use WhatsApp, and neither will the intruder.

If the account shows as suspended because bulk messages were sent from it, the notice screen itself lets you request a review. Contact support through the help section of the app or the official website, never through phone numbers or profiles claiming to be technical support, which are a common second scam aimed at people who have just lost their account. Warning your contacts and filing the report should not wait until the account is back.

How they get into an account and whether they can read old chats

The most frequent route is the simplest. A contact whose account has already been hijacked writes to say that a code was sent to you by mistake and asks you to forward it. That six-digit code is the registration code for your own account, and whoever receives it installs the account on another phone. There are variants, such as a fake page that has you scan a QR code and adds the attacker’s computer as a linked device, access to the voicemail where the verification call was recorded, a fraudulent duplicate of the SIM card or spyware installed on the phone.

What they were able to see depends on the route. WhatsApp stores the history on the phone and in the backup, so someone who registers your number on another handset does not receive earlier conversations by that fact alone. They see the messages that arrive while they control the account and the groups you belong to. A linked device does synchronise recent messages, and spyware or access to the cloud backup can expose everything.

Instagram, Facebook, Hotmail or the whole phone, what changes in each case

On Instagram and Facebook the hijack usually consists of changing the associated email, phone number and password. Both platforms notify the original email address when those details are changed, with a link to reverse it, and both have dedicated pages for compromised accounts (instagram.com/hacked and facebook.com/hacked). Keep that email even if it no longer helps you recover anything, because it fixes the time of the access.

With a Hotmail or Outlook account the problem is bigger than it seems, because email is the key to everything else. Passwords for online banking, social networks and shops are reset through it. Once you have recovered it through Microsoft’s form, check any forwarding rules the intruder may have created and change the passwords for everything that depends on that address. If online banking is linked to it, notify your bank the same day.

If the phone itself is compromised, through theft or because you suspect spyware, note the IMEI, which appears when you dial *#06# and on the handset’s box, and ask your operator to block the SIM if it has been stolen. Before restoring the phone to factory settings, decide whether you are going to report, because the reset removes the program and also the proof that it was there.

From Article 197 bis to Article 264, what the Criminal Code punishes in a hack

Entering someone else’s account by getting round its security measures is already an offence even if the intruder does nothing else. It is the unauthorised access of Article 197 bis of the Criminal Code. From there, each thing done with the account adds a separate offence.

Conduct Article of the Criminal Code Penalty
Entering the account without authorisation 197 bis.1 Six months to two years in prison
Taking messages, photos or data 197.1 One to four years in prison and a fine of twelve to twenty-four months
Disclosing or passing on what was obtained 197.3 Two to five years in prison
Asking contacts for money 248 and 249 Six months to three years in prison, or a fine of one to three months if the amount does not exceed 400 euros
Deleting data or making it inaccessible with a serious result 264.1 Six months to three years in prison
Demanding money in exchange for not disclosing 171.2 Two to four years in prison if the demand succeeds and four months to two years if it does not

Article 197 ter also punishes anyone who supplies others with programs or passwords to commit these acts, with six months to two years in prison or a fine of three to eighteen months. Usurpation of civil status under Article 401, with six months to three years in prison, is reserved for someone who takes on another person’s identity completely, and sending messages from your account is not enough on its own.

Almost all of these offences become time-barred after five years (Article 131 of the Criminal Code). The exception with the greatest practical effect is fraud not exceeding 400 euros, which is a minor offence and becomes time-barred after one year.

At the firm we act as private prosecution in these cases, which is what allows the victim to propose investigative steps and appeal a dismissal instead of waiting for news from the court, as part of our work in cybercrime.

They asked my contacts for money pretending to be me

You are not criminally liable for a fraud in which you took no part. The offence is committed by whoever sends the messages, and the fact that they come from your number does not make you a perpetrator or an accomplice. What you need is to be able to show from when you did not control the account, and that is what the screenshots, the warning to your contacts and the timed report are for.

The injured party for each payment is the contact who made it. It is for that person to file their own report, with the Bizum or transfer receipt, and to notify their bank as soon as they find out, because the chances of holding the money back shrink with every hour. Your report and your contact’s report should refer to each other so that they end up in the same investigation.

The account that receives the money almost never belongs to the perpetrator. It usually belongs to an intermediary who lends it in exchange for a commission and who is exposed to investigation for fraud or money laundering (Article 301 of the Criminal Code), including its negligent form. That intermediary is also the identifiable person in the case.

Whether the money comes back depends on how quickly notice was given, on the solvency of whoever received it and on how the payment was made. Payment services legislation obliges the bank to refund unauthorised transactions, and a payment the customer personally ordered under deception raises a different discussion, which I explain in the article on Bizum scams and who pays the money back, with the urgent steps in this other one. How that claim is framed is the lawyer’s job, and it is part of what we do in bank fraud.

They threaten to publish conversations or photos

Demanding money in exchange for not publishing what they have found is the blackmail of Article 171.2. If the demand is something else, such as more photos or the withdrawal of a complaint, the conditional threats of Article 169 come into play, which carry up to five years in prison when the perpetrator obtains what is demanded. Paying solves nothing, because whoever collects keeps the material and asks again.

If publication does take place, Article 197.3 applies to whoever obtained the images by entering your account. Article 197.7 covers a different situation, that of someone who received intimate images from you with your consent and shares them without it, punished with three months to one year in prison or a fine of six to twelve months. Where there is persistent pursuit or a fake profile using your photos, the offence is the harassment of Article 172 ter.

There are two compatible routes to have the content removed. The Spanish Data Protection Agency has a priority channel for sexual or violent images published without consent, and Article 17 of Regulation (EU) 2016/679 entitles you to require the platform to erase your data. Capture the publication with its web address before asking for it to be taken down.

The report, where it is filed in Spain and what details it needs

It is filed at any Policía Nacional station, any Guardia Civil post or the duty court, regardless of where the perpetrator is. There is no need to go to a specialised unit. Where appropriate, the cybercrime groups of the Policía Nacional or the Guardia Civil’s Grupo de Delitos Telemáticos step in afterwards.

The Criminal Procedure Act imposes on anyone who witnesses a public offence the duty to report it (Article 259). Offences against privacy follow another rule, which is the one that matters here. Without a complaint from the injured person no proceedings can be brought (Article 201 of the Criminal Code), so if you do not report, nobody will investigate the entry into your account.

Time matters for a technical reason. To find out from which connection your number was registered, the court has to request the data from the operator or the platform with judicial authorisation (Article 588 ter j of the Criminal Procedure Act), and operators are only obliged to keep it for twelve months under Act 25/2007. A late report, or one that does not state the time of the access and the numbers involved, reaches the court with nothing to request and ends in a provisional dismissal for lack of a known perpetrator.

Take the phone, the screenshots printed and on a digital medium, the number you were written to from, the approximate time you lost access and the details of the contacts who have been asked for money. Ask for a stamped copy.

What evidence to keep and how, so that it stands up in court

A screenshot is circumstantial evidence, and the other side can challenge it by claiming it has been manipulated. What gives it weight is the existence of the original it comes from. Keep the messages on the phone itself, without deleting the chat or uninstalling the app without a backup, and leave the password change or login emails in the inbox, because the original email contains technical data that a forwarded copy loses.

Also keep the SMS messages with codes you did not request, the call log for that day, the receipts for any payment, the IMEI and, if there was a SIM duplicate, the operator’s communication. Ask your contacts to keep their full conversations. When the matter is significant, the evidence is secured with a notarial record or a computer forensic report, and which of the two is appropriate is decided with the case in front of us.

If you use WhatsApp with clients, the data breach and the 72 hours

A self-employed professional or a company that deals with clients over WhatsApp is the controller of their data. If a third party has had access to those conversations there is a personal data breach, and Article 33 of Regulation (EU) 2016/679 requires it to be notified to the Spanish Data Protection Agency within a maximum of 72 hours of becoming aware of it, unless it is unlikely to result in a risk to those affected. If the risk is high, Article 34 also requires the clients themselves to be informed.

Clients are also the most likely recipients of a message with a new account number for paying an invoice. Warn them early and keep a written record of when and how you did so.

Claiming against WhatsApp or the phone operator

As regards the platform, the Regulation guarantees you access to your data and its erasure, and a complaint to the Agency if you are ignored. Compensation from WhatsApp or Instagram for the hijack of an account that was entered with a code handed over by the user has little prospect.

A SIM duplicate is different. If the operator handed a card with your number to someone who was not you without checking their identity, there are grounds for a claim against it, and the Spanish Data Protection Agency has fined operators for that conduct. Keep everything the operator has told you about that duplicate.

When recovering the account is enough and when a lawyer is worth it

If you recovered the account within a few hours, nobody paid anything and there is no sign that your conversations were accessed, the reasonable course is to report it so that there is a record, turn on two-step verification and consider the matter closed. Hiring a lawyer for that is not worth it.

It is worth it when someone has lost money, when there are threats of publication or content already published, when the account belongs to a business holding client data, when you are being pursued for what was done in your name or when the court has closed the case without carrying out any investigative steps. A provisional dismissal for an unknown perpetrator can be appealed, and the case can be reopened if new information appears.

Once the report is filed, who does what

Today it is for you to secure the screenshots, recover the account, warn your contacts and file the report with the time of the access. If there is money lost, threats or exposed client data, the next step is for a lawyer to review that report and enter an appearance in the proceedings before the connection data ceases to be available. At Perseus & RC Abogados we act as private prosecution in cybercrime cases and conduct the claim for the money where appropriate. You can call +34 677 841 007 or write to us through the contact page, and we reply as soon as possible.

Frequently asked questions

If my WhatsApp has been hacked, what do I do?

Take screenshots of what you see on screen, recover the account by registering your number again with the code sent by SMS and warn your contacts by another channel not to send money. Then log out of any linked devices you do not recognise, turn on two-step verification and file a report. Do not cancel the line or delete conversations.

My WhatsApp has been hacked, what can I do?

You can report it, because entering someone else’s account is an offence under Article 197 bis of the Criminal Code, and you can claim if there were payments or data was disclosed. If you recovered the account quickly and nobody lost money, the report is enough and hiring a lawyer is not worth it. It is worth it when there is money lost, threats, exposed client data or a closed case.

Do I have to report that my WhatsApp has been hacked? Where and how is it done in Spain?

It is not compulsory, but without your report the access to the account is not investigated, because Article 201 of the Criminal Code requires a complaint from the injured person. It is filed at any Policía Nacional station, Guardia Civil post or duty court, with the phone, the screenshots, the time you lost access and the numbers involved.

What evidence should I keep and how, so that it is useful later?

Keep the original messages on the phone, screenshots with the date, time and number visible, password change emails, SMS messages with codes, payment receipts and the IMEI. Do not delete chats or reset the phone before reporting. A screenshot carries more weight if the original exists, and in significant matters it is secured with a notarial record or a forensic report.