Menu

Legal journal · Barcelona Penal

My business bank account has been hacked in Barcelona: what to do

Has your business bank account in Barcelona been emptied or compromised? Find out the urgent legal steps and how to act with a criminal lawyer.

Gold combination padlock on a keyboard with bank cards, symbolising business account hacking handled by Barcelona Penal

Discovering that my business bank account has been hacked and that there are transfers or payments nobody recognises requires swift action, but also action in the right order. During the first few hours, the aim is to try to stop the money from moving, secure the accounts, preserve digital evidence and activate the banking and criminal law routes.

At Barcelona Penal, we handle corporate banking fraud from a criminal and procedural law perspective. In these cases, it is not enough to report that “money has disappeared”: we need to reconstruct how the transaction took place, who technically authorised it, which systems were compromised, where the funds were sent and what measures can be requested to try to trace them or secure future civil liability.

Key summary: what to do if your business bank account has been hacked

  • 1. Contact the bank immediately: block compromised access and payment methods, report the fraudulent transactions and request that the transfer be stopped, recovered or traced where possible.
  • 2. Do not destroy evidence: do not format computers, delete emails or remove records before preserving the digital evidence.
  • 3. Change credentials from a secure device: online banking, corporate email, Microsoft 365 or Google Workspace administrator accounts, VPN and other critical access points.
  • 4. Establish who initiated the transfer: a transaction initiated directly by the attacker is not the same as a transfer authorised by an employee deceived through BEC or CEO fraud.
  • 5. Report it as soon as possible: in Barcelona, a report may be filed with Mossos d'Esquadra, the National Police, the Civil Guard, the Public Prosecutor’s Office or the competent court.
  • 6. Preserve the money trail: retain the destination IBAN, known account holders, references, SWIFT/BIC details, supporting documents and exact times.
  • 7. Review the bank’s liability: the legal position depends on whether the transaction was genuinely unauthorised, as well as on the type and size of the company and the banking agreement.
  • 8. Check whether there has been a personal data breach: if the incident affects personal data, a risk assessment must be carried out to determine the obligations under the GDPR.
  • 9. Notify the insurer: if there is a cyber risk, fraud or corporate crime policy, review its notification deadlines immediately.

If the fraud is happening right now

Do not wait until you have all the information. First contact the bank through its official fraud channels and request that access and any pending transactions that can still be stopped are blocked.

If your business bank account has been hacked, every hour counts. Speak to our criminal lawyers in Barcelona now and act before the damage becomes irreversible.

From another device you consider secure, protect critical credentials. At the same time, retain the affected equipment and available evidence so that it can be analysed by a forensic specialist.

My business bank account has been hacked: what may have happened

The term “bank account hacking” covers technically very different situations.

Before deciding how to make a claim, we need to establish who actually carried out the transaction and through what mechanism.

Direct access to online banking

The attacker may have obtained the company’s credentials and accessed the banking platform directly.

They may obtain them through:

  • Phishing.
  • Malware.
  • Infostealers.
  • Password theft.
  • Session hijacking.
  • Social engineering.
  • Email compromise.
  • Fraudulent SIM swapping or other attacks against the second factor.

In this scenario, the criminal may enter the transfer directly without any company employee consciously ordering it.

BEC or Business Email Compromise fraud

In other cases, the attacker does not need to access online banking directly.

They compromise or impersonate a corporate email account and persuade someone in administration or treasury to voluntarily make a transfer to an account controlled by the criminals.

Common examples include:

  • A fake supplier reporting an alleged change of IBAN.
  • An email appearing to come from the managing director or CEO.
  • A genuine invoice altered to change the account number.
  • An urgent and confidential transaction allegedly ordered by management.
  • Impersonation of an adviser, lawyer or regular supplier.

CEO fraud

So-called CEO fraud is a particularly dangerous form of fraud for businesses.

The criminal impersonates a person with authority within the organisation and uses pressure, urgency or confidentiality to induce an employee to make a transfer.

From the banking perspective, there is a fundamental difference: technically, it may have been the authorised employee who initiated and confirmed the payment, even though their consent was obtained through criminal deception.

The key distinction: unauthorised transfer or transfer authorised through deception

This is one of the first issues we assess when a business bank account has been hacked.

Situation Who enters the transaction Main legal issue
Unauthorised access The attacker Determining whether there was an unauthorised payment transaction
Malware or stolen session The attacker Authentication, security measures and possible unauthorised transaction
CEO fraud Authorised employee Transfer made through deception and possible third-party liability
Supplier fraud Authorised employee Impersonation, deception and assessment of banking and corporate controls

The distinction can completely change the strategy towards the bank.

We therefore recommend not limiting the claim to a generic statement such as “we have been hacked”. We need to reconstruct exactly how each payment was created and confirmed.

First step: notify the bank immediately

If my business bank account has been hacked, the first financial step should be to report it to the bank.

Specifically request:

  • Blocking of compromised credentials.
  • Blocking or replacement of affected cards.
  • Review of pending transactions.
  • An attempt to recover or recall transfers where this is still possible.
  • Contact with the beneficiary institution where appropriate.
  • Full identification of the disputed transactions.
  • Preservation of internal records associated with the transactions.
  • An incident number or reference for the fraud report.

Speed is particularly important because the money may be moved successively through several accounts or subsequently converted into other assets.

Documents you should request from the bank

Keep, at a minimum:

  • Date and time of each transaction.
  • Amount.
  • Destination IBAN.
  • Transfer reference.
  • Bank confirmation.
  • Transaction identifier.
  • SWIFT/BIC where applicable.
  • Authentication method used.
  • Alerts or notifications generated by the bank.

Your lawyer can later assess what additional documentation should be requested as part of the banking claim or court proceedings.

Is the bank obliged to return the money?

It would not be correct simply to answer “yes” or “no”.

The main legislation in Spain is Royal Decree-Law 19/2018 on payment services.

Where there is a genuinely unauthorised payment transaction, Article 45 establishes, subject to the statutory conditions, a regime for the payment service provider to refund the amount.

However, for a business account, several issues must be analysed before stating that the bank is obliged to refund the money.

Was the transaction genuinely unauthorised?

If the cybercriminal accessed the account and made the payment without the company’s authorisation, this may constitute an unauthorised transaction.

If, however, an authorised employee consciously made the transfer because they had been deceived by a fake supplier or fake executive, the legal discussion may be different.

Is the business a microenterprise?

For the purposes of RDL 19/2018, a microenterprise is generally one that:

  • employs fewer than ten people; and
  • has an annual turnover or annual balance sheet total not exceeding two million euros.

Microenterprises benefit from enhanced protection under the payment services regime.

What happens with a larger business?

Where the payment service user is neither a consumer nor a microenterprise, RDL 19/2018 allows certain rules to be modified by contract.

For this reason, for a medium-sized or large company, it is particularly important to review the online banking and payment services agreement entered into with the institution.

At Barcelona Penal, we jointly assess how the fraud was carried out, the banking agreement, the authentication methods used and the security measures in place before deciding how to approach the claim.

What the law says about proving an unauthorised transaction

RDL 19/2018 establishes specific rules concerning the authentication and proof of payment transactions.

In cases where this regime applies in full, the fact that an institution has technically recorded use of the payment instrument does not necessarily by itself prove that the user authorised the transaction or acted with gross negligence.

For businesses that are neither consumers nor microenterprises, we must also review whether the banking agreement has contractually modified any of these rules.

This qualification is fundamental and avoids two mistakes:

  • Assuming that the bank must always refund the money.
  • Assuming that the use of a username, password and two-factor authentication automatically proves that the company genuinely authorised the payment.

How to make a formal claim to the bank

In addition to the initial urgent call, it is advisable to submit a written claim and retain proof that it was received.

Claim to the Customer Service Department

The claim should explain:

  • Which transactions are disputed.
  • Why the company maintains that they are fraudulent or unauthorised.
  • When they were detected.
  • When the fraud was reported.
  • Which authentication methods were used.
  • Which technical incidents have been detected.
  • Which documentation is enclosed.
  • What amount is being claimed.

For claims relating to payment services, the Bank of Spain currently sets a general deadline of 15 business days for the institution to respond.

Claim to the Bank of Spain

If the bank’s response is unsatisfactory or it does not respond within the applicable deadline, it may be appropriate to refer the matter to the Bank of Spain’s Department of Market Conduct and Claims.

The Bank of Spain’s report is not a judgment and is not binding, but it may be relevant when assessing the dispute and documenting each party’s position.

Legal action against the institution

If there are sufficient grounds and the dispute is not resolved out of court, legal proceedings may be considered.

Its viability will depend on the circumstances of the fraud and should not be based solely on the fact that money has disappeared.

Second step: preserve digital evidence

One of the biggest mistakes after discovering fraud is trying to immediately “clean up” all systems before preserving the evidence.

Security priorities and evidential priorities must be coordinated.

What information should be retained

  • Original emails.
  • Full email headers.
  • WhatsApp, Teams, Slack or other platform messages.
  • Received invoices.
  • Manipulated documents.
  • Access records.
  • Server logs.
  • Microsoft 365, Google Workspace or other corporate service records.
  • IP addresses.
  • Security alerts.
  • Online banking access history.
  • SMS messages or authentication notifications.
  • Bank confirmations.
  • Call recordings, where lawfully available.

Do not format the affected device

A compromised computer may contain evidence of how the attacker gained access, what credentials they obtained or how long they had been inside the system.

Reinstalling the operating system or carrying out aggressive cleaning may destroy useful information.

The recommended approach is to isolate the compromised system and coordinate the response with technical specialists, bearing in mind that certain volatile evidence may be lost if a device is handled or shut down incorrectly.

Digital forensic examination

Where the value or complexity of the fraud justifies it, a computer forensics expert can carry out a forensic acquisition and technically document:

  • The entry vector.
  • The compromised accounts.
  • The access carried out.
  • The malware found.
  • Email forwarding rules created.
  • Message manipulation.
  • The timeline of the incident.
  • The attacker’s persistence within the systems.

This information may be highly relevant both in criminal proceedings and in a potential dispute with the banking institution.

Third step: file a criminal complaint in Barcelona

If my business bank account has been hacked, the complaint must describe the facts with sufficient precision to allow an investigation to be carried out.

In Barcelona, you may use, among other channels, Mossos d'Esquadra, the National Police, the Civil Guard, the Public Prosecutor’s Office or the competent court.

The Mossos recommend providing bank confirmations, emails, screenshots, conversations and any other documentation that can substantiate the facts when reporting fraud.

What the complaint should include

Where possible:

  • Details of the affected company.
  • The representative filing the complaint.
  • A detailed timeline.
  • Amounts stolen.
  • Origin and destination bank accounts.
  • Supporting documents.
  • Fraudulent emails.
  • Information about the impersonated supplier or executive.
  • Available technical data.
  • Information concerning contact with the bank.
  • Bank incident number.
  • Available expert reports.

Urgent measures during the investigation

Depending on the case, a lawyer may assess requesting investigative measures aimed at:

  • Identifying holders of receiving accounts.
  • Obtaining banking documentation.
  • Preserving electronic data.
  • Following the flow of funds.
  • Identifying IP addresses or other technical data.
  • Requesting interim measures where legally appropriate.

The adoption of these measures is for the competent authorities and depends on the circumstances and legal requirements of each case.

Which offences may have been committed

The criminal classification depends on what happened. Not all bank account hacks involve exactly the same offences.

Unauthorised access to systems: Article 197 bis

Article 197 bis of the Spanish Criminal Code penalises, subject to its requirements, unauthorised access to information systems by circumventing security measures put in place to prevent it.

It may be relevant where the attacker unlawfully accesses email, a server or corporate systems.

Computer fraud: Article 249.1.a

Article 249.1.a of the Spanish Criminal Code covers so-called computer fraud where, for profit and through computer manipulation or equivalent techniques, an unauthorised transfer of assets is obtained.

Fraudulent use of payment instruments

Article 249 also covers certain transactions carried out through the fraudulent use of payment instruments or their data.

Aggravated fraud

Article 250 of the Spanish Criminal Code establishes various aggravating circumstances.

These include cases where the value of the fraud exceeds 50,000 euros, although the full circumstances of the specific case must always be assessed.

Computer damage

If, in addition to the fraud, data, programs or systems have been destroyed, altered, damaged or rendered inaccessible, Articles 264 and following of the Spanish Criminal Code may be relevant.

Money laundering

The subsequent use of funds of criminal origin may lead to money laundering investigations where the requirements of Article 301 and following are met.

The existence of intermediate accounts or so-called “money mules” does not automatically mean that all account holders are liable for money laundering: each person’s knowledge, involvement and conduct must be assessed.

What happens when the money is transferred to another European account

Corporate fraud commonly involves several consecutive accounts.

Not sure where to start after the attack? At Barcelona Penal, we explain the legal steps you need to take to protect your business and recover what has been lost.

Funds can move rapidly through different institutions and jurisdictions.

Within the European Union, judicial cooperation mechanisms exist to obtain evidence and enforce certain measures between Member States.

Depending on the case, instruments may include:

  • European Investigation Orders.
  • European mutual recognition mechanisms.
  • International police cooperation.
  • Eurojust.
  • Europol.

The fact that the money has left Spain does not automatically mean it is impossible to recover, but it does increase complexity.

For this reason, banking traceability should be requested as soon as possible.

Civil liability and recovering the money

Criminal proceedings do not have the sole purpose of imposing a penalty.

The victim may also claim restitution and losses that are legally attributable and can be proved.

Civil liability arising from the offence

The relevant civil action may be brought within criminal proceedings.

Depending on the facts, claims may include:

  • The amount stolen.
  • Applicable interest.
  • Other losses causally linked to the offence and sufficiently proven.

The existence and quantification of indirect losses, loss of profit or expenses arising from the incident must be justified and cannot be presumed automatically.

Claims against other liable parties

We must also investigate whether the conduct or breach of a third party contributed to the fraud.

For example:

  • Technology provider.
  • Email provider.
  • IT services company.
  • Supplier whose account was compromised.
  • Other contractual parties involved.

The existence of an attack does not automatically mean that these third parties are liable, but it may be necessary to review their contractual obligations and the security measures applied.

Private prosecution: how a company can take part in criminal proceedings

The affected company can join criminal proceedings as a private prosecutor.

This allows it to participate actively in the case through its legal representation.

What joining the proceedings allows

Among other actions, it allows the company to:

  • Access the proceedings under the terms provided by law.
  • Request investigative measures.
  • Propose evidence.
  • Appeal certain decisions.
  • Bring charges where appropriate.
  • Request interim measures.
  • Bring the civil action arising from the offence.

This does not mean that a company which does not join the proceedings automatically loses every possibility of compensation. The Public Prosecutor may also bring the civil action where appropriate.

The main advantage of private prosecution is that it allows the company to participate directly in defending its own interests within the proceedings.

What happens if personal data has been leaked

Banking fraud can occur without a relevant personal data breach, but many corporate attacks also compromise information about employees, customers, suppliers or contacts.

In that case, the General Data Protection Regulation (GDPR) applies.

Must the breach always be reported to the AEPD within 72 hours?

No.

The controller must assess the breach.

Notification to the supervisory authority is required where the security breach is likely to result in a risk to the rights and freedoms of natural persons.

Where required, notification must be made without undue delay and, where feasible, within 72 hours of the controller becoming aware of it.

What if the risk is high?

Where the breach is likely to result in a high risk to individuals, it may also be necessary to communicate the incident to those affected under Article 34 GDPR.

Breaches must be documented

Even if notification to the AEPD is ultimately not required, the company must document the breach, its assessment, its effects and the measures taken.

Do you need to inform INCIBE?

INCIBE provides the 017 Cybersecurity Helpline, which can provide guidance to businesses and individuals facing cybersecurity incidents.

However, seeking advice from INCIBE does not replace filing a criminal complaint or any legal obligations that certain companies may have under data protection or sector-specific rules.

Some entities operating in regulated or essential sectors may have additional incident reporting obligations.

These obligations must be assessed according to the company’s activity and the cybersecurity legislation applicable at the time.

What to do if the company has cyber insurance

If there is a cyber risk, corporate crime or fraud policy, we recommend immediately reviewing:

  • Which risks are covered.
  • Which exclusions apply.
  • The notification deadline.
  • The mandatory channel for reporting the claim.
  • Whether experts or providers designated by the insurer must be used.
  • Whether social engineering fraud is covered.
  • Whether fraudulent transfers are covered.
  • Forensic expenses.
  • Legal assistance.
  • Business interruption.

Policies do not automatically cover every cybercrime. The specific policy terms must be reviewed.

Mistakes that may hinder recovery of the money

Waiting several days before speaking to the bank

Trying to complete a full internal investigation first may waste valuable time for activating banking recovery mechanisms.

The investigation can continue afterwards. The bank should be informed as soon as possible.

Formatting computers

Removing malware quickly may appear to be the priority, but it can also destroy evidence.

Security, business continuity and evidential preservation must be coordinated.

Deleting fraudulent emails

An apparently simple email can contain highly valuable technical information in its headers.

Keeping a screenshot is not enough.

Immediately accusing an employee

The fact that an employee’s credentials were used, or that they made a transfer, does not automatically mean they were involved in the offence.

The facts must first be reconstructed.

Assuming two-factor authentication removes the bank’s liability

The existence of strong authentication is legally relevant, but it does not automatically determine who must bear the loss.

We need to establish what actually happened during authentication and which contractual and legal regime applies.

Assuming the bank always has to pay

This is the opposite error.

The viability of a claim depends on whether the transaction was legally unauthorised, the type of business, the agreement’s terms and the actual operation of the security mechanisms.

How to prevent further corporate banking fraud

After the incident, it is advisable to review not only the technical vulnerability but also the payment authorisation process.

Dual approval for significant transfers

Transactions exceeding a set internal amount may require two independent approvals.

Verification of IBAN changes

A change of bank account communicated by email should never be accepted solely by replying to that same email.

It should be verified using a different channel and a previously known contact.

Segregation of duties

Whenever the company’s structure allows, one person should not be able to create, authorise and execute certain significant payments without oversight.

Protecting corporate email

Email is one of the most common entry points for BEC fraud.

It is advisable to implement:

  • Multi-factor authentication.
  • Protection against unusual access.
  • Alerts for the creation of forwarding rules.
  • Appropriate SPF, DKIM and DMARC configuration.
  • Regular review of permissions.

Training the finance team

Administration, accounting and management should recognise common signs of social engineering:

  • Unjustified urgency.
  • Exceptional confidentiality.
  • Sudden change of IBAN.
  • New email domains that are almost identical.
  • Unusual transfer instructions.
  • Pressure to bypass internal procedures.

How long do I have to report or claim?

We do not recommend making decisions based solely on limitation periods.

In cybercrime, the main practical issue is that evidence and funds may move long before any legal deadline expires.

Article 131 of the Spanish Criminal Code establishes that the limitation period depends on the maximum penalty for the offence and, in cases involving concurrent or connected offences, the most serious offence may apply.

It is therefore incorrect to state that all unauthorised access or corporate banking fraud cases automatically become time-barred after three years.

In addition to criminal limitation periods, a potential contractual or liability claim against the bank may have its own deadlines.

The practical recommendation is simple: act immediately and do not wait for any maximum deadline to approach.

Legal and official sources used

The following should be taken particularly into account when assessing these cases:

  • Spanish Criminal Code: Articles 197 bis, 249, 250, 264 and following and, where applicable, 301 and following.
  • Royal Decree-Law 19/2018 on payment services: particularly the rules on notification, evidence, unauthorised transactions and liability.
  • General Data Protection Regulation: Articles 33 and 34 on personal data breaches.
  • Spanish Data Protection Agency: criteria and procedure for reporting breaches.
  • Bank of Spain: claims procedure against financial institutions.
  • Mossos d'Esquadra: documentation and procedure for reporting offences and fraud in Catalonia.
  • INCIBE: assistance and response resources for cybersecurity incidents.

Legal review of content: October 2026.

Conclusion: what to do if my business bank account has been hacked

If my business bank account has been hacked, the initial objective should be to act simultaneously on three fronts: the bank, digital evidence and criminal investigation.

First, we must try to stop the funds from moving and protect access. Then, preserve the evidence before modifying systems and reconstruct how the fraud took place.

The legal strategy will depend particularly on one question: did the attacker carry out the transaction directly, or did they induce an authorised person in the company to carry it out through deception?

That distinction may affect the criminal classification, the claim against the bank and the prospects of recovering the money.

At Barcelona Penal, we assess banking fraud and cybercrime from the perspective of the affected company, considering the complaint, investigative measures, joining proceedings as a private prosecutor and claims for the applicable financial liabilities.

If your business bank account has been hacked, acting quickly is important, but doing so with a technically well-documented strategy can be equally decisive.

Frequently asked questions if a business bank account has been hacked

The right criminal complaint can make the difference between recovering your money and losing it forever. Our computer crime specialists are ready to help.

What should I do if my business bank account has been hacked?

+
Contact the bank immediately, report all suspicious transactions, protect access from a secure device and retain emails, confirmations, logs and affected devices. You should then file a criminal complaint and legally assess whether the transfers were unauthorised transactions or were ordered by an employee who was deceived.

Does the bank have to return the money if a business account is hacked?

+
It depends on the case. RDL 19/2018 establishes a specific regime for unauthorised payment transactions, but for business accounts it is necessary to determine whether the transfer was genuinely unauthorised, whether the company is a microenterprise and which terms were agreed with the bank if it is a larger company.

What is the difference between hacking and CEO fraud?

+
In an unauthorised access case, the attacker themselves may enter online banking and make the transfer. In CEO fraud, the criminal normally deceives an authorised employee so that they order the payment. This distinction may be legally important when making a claim against the bank.

Where can I report corporate banking fraud in Barcelona?

+
In Barcelona, a complaint can be filed with Mossos d'Esquadra and also with other police forces, the Public Prosecutor’s Office or the competent court. It is advisable to provide bank confirmations, emails, screenshots, conversations and all available documentation regarding receiving accounts and the fraud.

Should I format the computer if I think it has malware?

+
It is not advisable to format it before considering the preservation of evidence. The device may contain information about the entry vector, malware, access and the attack timeline. It should be isolated and its analysis coordinated with technical specialists to balance security and evidence preservation.

Do I always have to report the hack to the AEPD within 72 hours?

+
No. First, it is necessary to determine whether there has been a personal data breach and assess the risk to the rights and freedoms of affected individuals. Where that risk exists, notification to the supervisory authority must be made without undue delay and, where possible, within 72 hours of becoming aware of it.

Can the money be recovered if it has already been transferred to another account?

+
It may be possible in certain cases, especially if the institution manages to stop or recover the transfer or if funds or assets are located during the investigation. Recovery is not guaranteed, so it is important to notify the bank and file a complaint as soon as possible.

What offence is transferring money after hacking a bank account?

+
The classification depends on the specific method used. There may be unauthorised access under Article 197 bis and computer fraud under Article 249.1.a, in addition to other offences where systems or payment instruments are manipulated, or funds are subsequently laundered. Fraud exceeding 50,000 euros may result in the aggravation provided for in Article 250 where its requirements are met.

Can the company join the criminal proceedings?

+
Yes. The affected company may consider joining the proceedings as a private prosecutor in order to participate actively, request investigative measures, propose evidence, appeal decisions where appropriate and bring the civil action arising from the offence.

Briefly explain your situation. If there has been a summons or an arrest, mention it in general terms without including sensitive information in the form.

Request a consultation