Menu

Legal journal · Barcelona Penal

Cyberattack on my business in Barcelona: how to report it and claim compensation

Has a cyberattack brought your business in Barcelona to a standstill? Find out how to file a report and claim your losses. A complete guide to the legal steps.

Hooded person in front of two MacBooks in the dark, a scene Barcelona Penal helps you report after a cyberattack on your business

A cyberattack can bring a business to a standstill in a matter of minutes: inaccessible servers, compromised emails, fraudulent transfers, stolen databases or systems encrypted through ransomware.

At that point, solving the IT issue alone is not enough. We must also preserve evidence, assess whether a data breach must be notified, decide when to file a report and accurately calculate the losses we may subsequently wish to claim.

If you need to know how to report a cyberattack on my business in Barcelona, the most important thing is to act quickly, but without making hasty decisions that could destroy evidence or undermine a future investigation.

At Barcelona Penal, we are criminal lawyers specialising in cybercrime and computer crime in Barcelona. We help businesses and executives analyse the attack, prepare the report, coordinate IT evidence and take the necessary criminal action.

Key summary: what to do if your business suffers a cyberattack

  • Isolate affected systems and promptly contact your IT team or cybersecurity provider.
  • Do not delete, format or restore systems without first assessing what evidence must be preserved.
  • Keep emails, logs, screenshots, messages, transfers and any communications related to the attack.
  • If personal data is affected, we must assess whether the breach should be notified to the Spanish Data Protection Agency.
  • Where notification is mandatory, the GDPR sets a maximum reference period of 72 hours from the time the company becomes aware of the breach.
  • The attack can be reported to law enforcement authorities or to the relevant court.
  • The company may claim compensation for losses arising from the crime where these can be properly evidenced.
  • If cyber insurance is in place, it is advisable to review the policy immediately and notify the claim within the applicable time limits.

What constitutes a cyberattack on a business

Not all IT incidents work in the same way.

They may involve ransomware, credential theft, fraudulent transfers, unauthorised access, denial-of-service attacks, corporate espionage or the extraction of confidential data.

Type of attack What may happen
Ransomware Systems are encrypted and money is demanded to restore access.
Phishing Credential theft, identity impersonation or fraudulent transfers.
Computer intrusion Unauthorised access to servers, emails, databases or internal systems.
Information theft Extraction of customer data, financial information or trade secrets.
DDoS attack Services are blocked or disrupted through deliberate overload.

Correctly identifying what has happened is important because the technical response and potential criminal classification will differ in each case.

What to do in the first few hours after the attack

1. Contain the incident

The first objective is to prevent the attacker from continuing to access systems or the malware from continuing to spread.

The technical team must assess which devices to isolate, which access points to block and which credentials need to be changed.

We do not recommend applying universal rules such as “computers must always be switched off” or “they must never be switched off”. Depending on the incident, it may be important to retain certain volatile information in memory, while in other cases the priority will be to stop the spread immediately.

2. Do not destroy the evidence

One of the most common mistakes is to start restoring servers and removing malware before preserving information about the attack.

It may be important to preserve:

  • Access and activity logs.
  • Fraudulent emails and their headers.
  • Screenshots of received messages.
  • Malicious files.
  • IP addresses.
  • Bank transfers.
  • Cryptocurrency addresses.
  • Messages exchanged with the attackers.

Where the incident is significant, a digital forensic report can help reconstruct what happened, preserve the evidence and subsequently explain the facts technically in legal proceedings.

3. Create a timeline of the attack

It is advisable to document from the outset when the issue was detected, who intervened and what measures were taken.

This timeline can later be very useful for the report, insurance, data protection and calculation of the losses suffered.

If your business has suffered a cyberattack, every hour can be crucial to preserve evidence and protect your rights. Contact our criminal lawyers in Barcelona now and we will advise you from the outset.

When do we need to notify the AEPD?

The fact that a cyberattack has occurred does not automatically mean that we must notify the Spanish Data Protection Agency.

First, we must establish whether the incident affects personal data and the risk it may pose to individuals.

Article 33 of the General Data Protection Regulation (GDPR) provides that breaches likely to pose a risk to the rights and freedoms of individuals must be notified to the supervisory authority.

Where this obligation applies, notification must be made without undue delay and, where possible, within 72 hours of the company becoming aware of the breach.

Do we already need to know the full scope?

Not necessarily.

In a complex cyberattack, it may take days to identify all affected systems and data.

The Spanish Data Protection Agency itself allows certain information to be provided progressively when it cannot all be supplied at the outset.

Do affected customers or employees also need to be informed?

It depends on the severity.

Where the breach may pose a high risk to affected individuals, the GDPR may also require that they be informed directly.

For example, the exposure of passwords, personal documents, financial information or certain particularly sensitive data can considerably increase the risk.

How to report a cyberattack on my business in Barcelona

Once the main evidence has been preserved, we can prepare the report.

In Barcelona, cybercrime can be reported to the Mossos d'Esquadra, National Police, Civil Guard or the competent court, depending on the circumstances.

The company does not need to know the attacker’s identity before filing a report.

Indeed, an important part of the investigation will involve trying to identify those responsible through the available digital and financial trails.

What should be included with the report

The more objective information we have, the easier it will be to explain what happened.

Useful documentation may include:

  • A report from the IT team or expert.
  • Relevant records and logs.
  • Phishing emails.
  • Screenshots.
  • Communications from the attackers.
  • Proof of transfers.
  • Documentation relating to the affected systems.
  • An initial quantification of the losses, where possible.

Not everything needs to be complete before filing a report. In particularly urgent incidents, it may be preferable to initiate proceedings and submit further documentation later.

What offences may be involved in a cyberattack

A business owner does not need to know the articles of the Criminal Code to file a report. What matters is accurately explaining what happened.

From a legal standpoint, we will then analyse which offences may apply.

Unauthorised access to systems

Accessing a computer system without permission by circumventing its security measures may constitute an offence. This conduct is regulated, among other provisions, in Article 197 bis of the Criminal Code.

Computer damage

Deleting, altering, rendering unusable or making data and systems inaccessible may constitute an offence of computer damage.

Article 264 of the Criminal Code regulates this type of conduct, while other related provisions cover attacks that seriously disrupt a computer system.

Phishing and fraudulent transfers

Where computer manipulation results in an unauthorised money transfer, this may constitute a form of computer fraud.

This conduct is currently covered by Article 249 of the Criminal Code.

Ransomware and extortion

Where attackers demand money while threatening to keep systems locked or publish stolen information, it may also be necessary to assess a potential offence of extortion.

The Criminal Code regulates extortion in Article 243.

Not all these offences necessarily occur in the same attack. The legal classification will depend on exactly what happened.

Preparing a cyberattack report requires knowledge of the applicable offences, securing digital evidence and acting quickly. At Barcelona Penal, we help you take every step correctly to maximise your chances of recovering your losses.

What can we claim after a cyberattack?

When we identify the person responsible, criminal proceedings do not only serve to seek a conviction.

The Criminal Code recognises that anyone who commits an offence must repair the damage and losses caused.

Depending on the case, we can assess claims for:

  • Stolen money.
  • System recovery costs.
  • Expenses directly caused by the incident.
  • Documented material damage.
  • Losses resulting from business interruption.
  • Other losses that can be proven and linked to the attack.

Article 110 of the Criminal Code provides for restitution, repair of damage and compensation for material and non-material losses.

However, this does not mean that every amount the company wishes to include will be automatically recognised. We must prove both the amount and its connection to the cyberattack.

Loss of profit

If a business is unable to operate for several days, it may have lost revenue.

These losses can be claimed where we can sufficiently prove them through accounts, billing history, cancelled orders or other financial documentation.

What if we never find those responsible?

This is a real possibility in cybercrime cases.

Attackers may be in other countries and use false identities, intermediary servers and cryptocurrencies to make identification more difficult.

Even so, reporting the attack can still be useful to officially document the incident, allow law enforcement authorities to link it with other investigations and obtain documentation for other actions connected with the claim.

Cyber insurance: when should we report the attack?

If the business has cyber insurance, we must review the policy immediately.

As a general rule, the Insurance Contract Act sets a maximum period of seven days from becoming aware of the claim to notify the insurer, unless the policy establishes a longer period.

In addition, cyber insurance policies may include specific procedures for activating response teams, experts or authorised providers.

For this reason, we recommend contacting the insurer before incurring certain significant costs.

Does the insurer have three months to pay us?

The rules are somewhat more specific.

The insurer must carry out the necessary investigations to assess the claim and, in any event, the Insurance Contract Act requires payment of the minimum amount that may be due within 40 days of receiving notification of the claim.

The three-month period relates to the insurer potentially being in default; it is not a simple rule allowing it always to wait three months before responding.

Do not let the impact of the attack multiply because of a poorly prepared report. Our team specialising in computer crime in Barcelona will assess your situation and design the most effective legal strategy for your business.

How long do we have to file a report?

There is no single time limit that applies to all cyberattacks.

The limitation period depends on the specific offence and the penalty prescribed for it.

For many cybercrimes, the period may be five years, while certain offences carrying higher maximum penalties may have longer periods.

However, waiting years to report a cyberattack would normally be a practical mistake.

Logs may disappear, accounts may be emptied, cryptocurrencies may be moved and providers may stop retaining useful information.

For this reason, when considering how to report a cyberattack on my business in Barcelona, we recommend acting as soon as there is sufficient information to give a reasonable account of the facts.

Common mistakes after a cyberattack

Restoring everything without preserving evidence

Restoring operations is a priority, but that recovery must be coordinated with preserving the information that may be needed for the investigation.

Waiting weeks to seek advice

The more time passes, the harder it may be to reconstruct precisely what happened.

Assuming every attack requires notifying the AEPD

First, we must determine whether there has been a personal data breach and assess the risk to affected individuals.

Assuming we will be able to recover all losses

Losses must be quantified and proven. It is important to keep invoices, reports, cancelled contracts and financial documentation from the outset.

Paying a ransom without assessing the consequences

In ransomware attacks, payment does not guarantee that information will be recovered and may create other risks. Specialist bodies such as INCIBE generally advise against paying.

Cybercrime lawyers for businesses in Barcelona

Cyberattacks combine technical, financial and criminal-law aspects. That is why coordination between IT managers, experts and lawyers can be decisive.

At Barcelona Penal, we are lawyers specialising in Criminal Law and cybercrime in Barcelona. We advise businesses that have suffered ransomware, phishing, unlawful access, computer fraud, data theft and other attacks against their systems.

From our criminal law firm in Barcelona, we can analyse the evidence, prepare the report, assess joining the proceedings as a private prosecutor and examine a claim for the financial losses caused by the attack.

We also coordinate the strategy with IT specialists where technical evidence needs to be obtained or preserved.

Conclusion

Knowing how to report a cyberattack on my business in Barcelona begins long before filing a report.

We must contain the attack, preserve evidence, analyse the potential impact on personal data, document the losses and properly prepare the account of what happened.

The sooner we organise all this information, the greater the chances that the investigation can progress and that we can subsequently claim the losses we are able to prove.

Frequently asked questions about reporting a cyberattack on a business in Barcelona

Where can we report a cyberattack in Barcelona?

We can report the facts to the Mossos d'Esquadra, National Police, Civil Guard or the competent court. The most appropriate route will depend on the characteristics of the attack and the procedural strategy.

Do we need to hire an IT expert before filing a report?

It is not a mandatory requirement for filing a report. However, in complex attacks, a digital forensic report can help explain what happened, properly preserve evidence and quantify certain losses.

Do we always have to notify the AEPD within 72 hours?

No. First, there must be a personal data breach and we must assess the risk it poses to affected individuals. Where the breach is likely to involve a risk, the GDPR requires notification to the supervisory authority and uses a maximum reference period of 72 hours from the time it becomes known.

Can we claim money lost as a result of the cyberattack?

Yes, where the losses can be linked to the offence and proven. Items such as stolen funds, recovery costs, direct damage and financial losses resulting from business interruption may be assessed.

What happens if the attacker is outside Spain?

An international location may make the investigation more difficult, but it does not prevent a report from being filed. Many cybercrimes require cooperation between authorities in different countries and analysis of international technical and financial information.

When do we need to notify the insurer?

We must review the policy immediately. As a general rule, the Insurance Contract Act sets a maximum period of seven days from becoming aware of the claim to notify it, unless the contract grants a longer period.

Can Barcelona Penal handle the report for us?

Yes. At Barcelona Penal, we can analyse the attack from a criminal-law perspective, review the available evidence, prepare the report, coordinate technical evidence where necessary and act as private prosecutor to defend the company’s interests.

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