My phone was hacked, what to do

Lock online banking from another device, call your carrier, change the email password and report it before resetting the phone. Hacking is a crime.

When a phone hack is reported in Spain, the police take the statement down in a police report and, if the matter reaches the investigating court, the judge can order the carrier, the email provider and the bank to hand over the data on the connections, on the duplicate SIM card and on the account that received the money. For that investigation to have something to start from, and so that your account is not emptied in the meantime, what falls to you today is to lock online banking from another device, call your carrier, change the email password and save the evidence before deleting or resetting anything. Spanish carriers are only required to keep connection data for twelve months, and transferred money does not usually stay long in the account that receives it.

My phone was hacked, what to do about the bank, the line and the email this afternoon

The order matters, because each step closes a different door.

  1. The bank, from another phone or computer. Call your bank’s customer line, ask for online banking and cards to be blocked, and check the movements of the last few days, including Bizum transfers, virtual cards and newly registered trusted devices. Write down the time of the call and the reference you are given.
  2. The carrier. If the phone has lost coverage for no reason, someone may have obtained a duplicate of your SIM card and be receiving your verification texts. Ask whether a duplicate or an eSIM has been issued, whether a number transfer is under way or call forwarding is active, and ask for all of it to be cancelled.
  3. The email. Whoever controls the email can reset the password of almost everything else. Change the password from a clean device, close all open sessions, turn on two-step verification and check what an intruder usually leaves behind, namely automatic forwarding rules, the recovery address or phone number and the apps with access to the account.
  4. The other accounts, starting with those that hold a saved card or are used to sign in elsewhere, such as Google, Apple, Microsoft, social networks and online shops.
  5. Your contacts. Tell them through another channel not to act on requests for money or links sent from your number or your email.

What you should not do today is factory reset the phone or uninstall the suspicious app. Technical guides recommend it as the first step and, from the standpoint of evidence, it must be the last. If you need to cut the device off, put it in airplane mode, keep it charged and use another phone in the meantime.

I think my phone has been hacked, the signs that count and the forwarding codes

The usual signs are unexplained battery or data use, heat while idle, slowness, pop-ups, apps you do not remember installing and messages sent without your doing. None is conclusive on its own, because an old phone also heats up and slows down. Objective notices carry more weight, such as an email reporting a sign-in from an unknown device, verification codes you did not request, a sudden loss of coverage, a password that stops working or a bank movement you do not recognise.

To check, review which apps hold accessibility, device administration and notification access permissions, look at data and battery use per app, consult the list of devices signed in to your Google, Apple or Microsoft accounts and run an antivirus downloaded from the official store. You can also check with a breach lookup service whether your email or number appears in a leak.

The dial codes answer a very specific question. *#21# shows whether your calls are being forwarded unconditionally, *#61# and *#62# show forwarding when you do not answer or when the phone is off or out of coverage, and ##002# cancels them all. Forwarding to your carrier’s voicemail is normal, and forwarding to a number you do not know should be noted down and cancelled. *#06# shows the IMEI, which reveals no intrusion but is worth writing down because it identifies the device in the report.

From the phone or the email to the bank account, how they get in

The routes are few and they repeat. The most common is a fraudulent link leading to a page where the victim types in their credentials. Next come the app installed from outside the official store and the remote access tool installed at the request of a fake technician or a fake bank employee. The third is the duplicate SIM card obtained in the holder’s name. The fourth is the reused password that already appeared in an earlier leak.

The email allows the passwords of other services to be reset, and the line receives the one-time codes. With both, online banking can be registered on another device. What is most exposed, besides passwords saved in the browser, are the photographs of the ID card, the payslips and the contracts that almost everyone keeps in their email or gallery, because they are used to take out phone lines, loans and accounts in someone else’s name. Prevention fits in one sentence and consists of using a different password for each service, two-step verification through an app instead of text messages, official stores and an updated system.

I suspect my phone was hacked by my partner, a relative or my employer

This case differs from an attack by a stranger, and no technical guide deals with it. The giveaways are that someone knows where you have been or what you have written, that this person has had the phone in their hands and knows the PIN, a messaging session open on someone else’s computer, a Google or Apple account shared for years, or a location or parental control app that you did not install.

Neither marriage nor living together gives a right to read the other person’s email or messages. Article 197.1 of the Spanish Criminal Code punishes anyone who seizes messages or intercepts communications in order to discover secrets or breach privacy, and installing spyware fits that conduct. If the device’s security measures were also bypassed, Article 197 bis applies as well. What is obtained that way is of no use in a divorce or a custody dispute either, because Article 11.1 of the Organic Law on the Judiciary deprives of effect any evidence obtained in breach of fundamental rights.

With an employer the rule changes depending on who owns the device. Article 87 of Organic Law 3/2018 allows the employer to access the content of the digital devices it provides to the employee, solely to monitor compliance with employment duties and the integrity of the equipment, and provided it has set usage criteria and informed staff of them. That provision does not reach a personal phone.

Two practical warnings. Whoever installed the app will know you have found it as soon as you uninstall it, so it should be documented first and the moment chosen. And for these offences Article 201 requires a complaint by the injured person and allows for pardon, which in a family conflict has consequences to be weighed before taking the step. Where the monitoring comes with following or insistent messages, there may also be an offence of harassment.

Screenshots, logs and a copy of the phone before a factory reset

Save screenshots with date and time of the sign-in notices, the password change emails in their original format and not forwarded, the texts received, the list of signed-in devices, the name of the suspicious app with its installation date, the bank statements and the exact time you lost coverage. Google, Apple and Microsoft allow you to download the account’s access history, and the carrier can certify that a duplicate was issued.

A screenshot is enough to file a report. If someone later challenges it, an expert report on the device itself will be needed, and that report is only possible if the phone has not been reset. That is why the device is set aside and kept as it is.

Articles 197 bis, 197, 264, 401 and 249 of the Criminal Code, with their penalties

A hack is rarely a single offence. The entry, the reading of messages, the deletion of data, the impersonation and the emptying of the account are punished separately.

Conduct Article of the Criminal Code Penalty
Accessing a phone or an account by bypassing its security measures 197 bis.1 Six months to two years in prison
Seizing messages or emails, or intercepting communications, to discover secrets 197.1 One to four years in prison and a fine of twelve to twenty-four months
Deleting, damaging or making another person’s data inaccessible with serious result 264.1 Six months to three years in prison
Usurping the victim’s identity 401 Six months to three years in prison
Obtaining a non-consented transfer through computer manipulation 249.1 a) Six months to three years in prison

Computer fraud sat in Article 248 until Organic Law 14/2022 and is now in Article 249. Article 248 still covers fraud by deception, which is the one applied when the offender uses the victim’s account to deceive their contacts. In the aggravated cases of Article 250, among them where the amount defrauded exceeds 50,000 euros, the penalty is one to six years in prison. The courts apply Article 401 restrictively and a one-off use of another person’s name is not enough for them. Opening fake profiles with someone else’s image is dealt with separately in Article 172 ter where it causes harassment or humiliation.

All the offences in the table become time-barred after five years under Article 131 of the Criminal Code, and aggravated fraud after ten. The deadline that really presses is a different one. Law 25/2007 requires carriers to keep connection data for twelve months, and after that time the investigation may be left without the piece of data that identified the offender.

Where a hack is reported and what the judge can order

The report is filed with the National Police, the Civil Guard, the regional police or the duty court where you live. You do not need to know where the offender is, because for offences committed over the internet the courts apply the ubiquity criterion and the court of the place where the victim suffers the result can investigate.

Article 284.2 of the Criminal Procedure Act provides that, where there is no known offender, the police keep the report and do not send it to the court, except for certain serious offences, where the steps taken after the first seventy-two hours yield some result, or where the judge or the prosecutor asks for it. Hence a report with identifiable data, such as the destination account, the number from which the duplicate was requested or the IP address shown in the sign-in notice, goes further than an account without them.

Once the matter is before the court, the judge can order the carrier to identify the holder of a line or an IP address, the bank to identify the holder of the receiving account and freeze whatever balance remains, and the provider to hand over the access logs. Article 588 octies of the same Act also allows the police and the prosecutor to order data to be preserved for up to ninety days, extendable to one hundred and eighty, while judicial authorisation arrives. If the provider is outside Spain, the request goes through international cooperation and takes time. If nobody is identified, the case is provisionally dismissed, which allows it to be reopened and does not affect what may be claimed from the bank.

Money that has left the account, purchases and contracts made in your name

Where you did not authorise the transaction, payment services legislation places a refund obligation on the bank, with exceptions linked to the customer’s conduct. Banks tend to argue that the holder handed over their credentials. Until you have spoken to a lawyer, do not sign any bank document that describes the facts on your behalf, and make sure that what you tell the bank and what you state in the police report match.

For purchases made with a saved card and for loans or phone lines taken out with your ID, the starting point is that a contract you did not enter into does not bind you. It has to be contested in writing and with the police report, and you need to watch that the debt does not end up on a defaulters register. How each of those claims is framed is the lawyer’s work. At the firm we conduct the criminal complaint and the claim against the bank together, because what is said in one conditions the other, and we set it out on the bank fraud page. What can be expected from the bank is covered in this article on bank refunds after phishing, and the criminal side in this one on reporting bank phishing in Spain.

If your WhatsApp or email was used to ask your contacts for money

You are not criminally liable for what a third party did from your account, because criminal liability requires having taken part. Each contact who paid is the injured party in a fraud and must file their own report. Your own report, filed early, puts on record the date from which you no longer controlled the number or the email.

The situation changes if the money passed through your bank account and you forwarded it at someone’s request. Receiving and transferring other people’s funds is investigated as money laundering under Article 301 of the Criminal Code, and in that case you should speak to a lawyer before giving a statement.

The carrier that issued the duplicate and the company that leaked your data

The carrier must verify the identity of whoever asks for a duplicate card. The Spanish Data Protection Agency has fined carriers for issuing them without that check, and Law 11/2022, the General Telecommunications Act, requires them to manage the security risks of their networks and services.

If your data came out of a company that suffered a breach, Article 34 of the General Data Protection Regulation requires it to communicate the breach to those affected without undue delay where it poses a high risk to them, and Article 82 recognises the right to compensation for material and non-material damage. A complaint to the Agency is free and may end in a fine, but it does not compensate you. Compensation is claimed before the civil courts and depends on being able to prove the link between that specific breach and the damage suffered.

Frequently asked questions

My phone has been hacked, what can I do?

Block online banking and cards from another device, call your carrier to rule out a duplicate SIM card and change the email password while closing all sessions. Then save screenshots and logs and file a police report. Do not factory reset the phone until the evidence has been preserved, because a reset erases the traces that make an expert report possible.

How can I tell if my phone has been hacked?

Objective notices indicate it more reliably than the behaviour of the device. A sign-in from an unknown device, verification codes you did not request, a sudden loss of coverage or bank movements you do not recognise carry more weight than battery drain or heat. Also review app permissions and the devices signed in to your accounts.

How can I tell if my phone has been hacked if it is an iPhone?

On an iPhone it is checked in Settings. Under your name, review the list of devices linked to the account, under General the VPN and device management section in case there is a profile you did not install, and under Privacy and security the Safety Check, which shows who you share location and data with. An unknown configuration profile is the most serious sign.

How can I tell if my phone has been hacked if it is Android?

On Android it is checked by reviewing which apps hold special permissions. In Settings, look at those with access to accessibility, device administration, notifications and installation of unknown apps, run the Google Play Protect scan and check in your Google account which devices are signed in. An app you do not recognise with accessibility permission can read the screen and tap on your behalf.

How can I tell if my phone or my Apple account has been hacked?

In an Apple account it shows in the sign-in notices and in changes to the trusted details. Go to your account page, review the linked devices, the trusted phone number and the recovery email, and remove anything you do not recognise. If someone close to you knows the password, they can see backups, photos and location without touching the phone.

Is hacking my phone a crime in Spain and can I report it?

Yes, it is a crime and you can report it to the National Police, the Civil Guard or the duty court. Article 197 bis of the Criminal Code punishes access to a system by bypassing its security measures with six months to two years in prison, and Article 197 punishes reading another person’s messages with one to four years. A complaint by the injured person is required for it to be investigated.

With banking blocked and the phone not reset, the police report comes next

If the intruder was a stranger, you have recovered your accounts, no money has left and nobody has passed themselves off as you, the technical steps and a report you can file yourself are enough. A lawyer adds nothing further in that case.

You do need one if money has left and the bank resists restoring it, if you suspect someone close to you, if contracts or debts have appeared in your name or if you have received a summons because other people’s money passed through your account. In those cases the next step is the criminal complaint and, where applicable, the first written claim to the bank, and both should be drafted by whoever will have to stand behind them later, before you give a statement or sign anything. At Perseus & RC Abogados we practise criminal defence and conduct the claims arising from cybercrime. You can write to us through the contact page or call +34 677 841 007, and we will reply as soon as we can.