info@societejuridique.com
Madrid: Paseo de la Castellana 216 8 ª Planta
Alicante: Av. Ansaldo Nº31, local 16
Urgencias 24h: 669 30 21 13

Redes Sociales:

Cybercrime · Alicante · Madrid · All Spain

Cybercrime Defence Lawyer in Spain

Charged with a computer crime in Spain, or the victim of one?

Spanish cybercrime cases are won and lost on the digital evidence, and that is where a specialist defence makes the difference.

In brief. Defence in Spanish computer crime cases: hacking, ransomware, phishing and computer fraud. We attack the digital evidence and the chain of custody.

At a glance

24/7
Response to a detention
6
Working languages
10+
Years defending international clients

What counts as a cybercrime under Spanish law

Spanish law does not have a single offence called cybercrime. It has a group of offences in the Criminal Code that are committed through information systems, and each one carries its own penalty:

  • Illegal access to computer systems (article 197 bis). Accessing a system, or part of it, without authorisation and breaching the security measures in place. Prison of six months to two years.
  • Computer damage and sabotage (articles 264 to 264 quater). Deleting, damaging or making data inaccessible, including ransomware attacks. Prison of six months to three years, with aggravated brackets when the attack affects critical infrastructure or a large number of systems.
  • Computer fraud (article 248 and following). Obtaining an economic benefit through a computer manipulation or a fraudulent transfer of assets. This is the article behind most phishing, smishing and business email compromise prosecutions.
  • Discovery and disclosure of secrets (article 197). Intercepting communications, taking over messages or distributing intimate images without consent.
  • Offences against intellectual and industrial property (articles 270 to 277).

The same conduct is often charged under two or three of these articles at once, which changes the sentencing exposure considerably. One of the first tasks of the defence is to challenge that overlapping classification.

Offences and penalties

What the Criminal Code actually punishes

Art. 197 bis

Illegal access to computer systems

Accessing a system, or part of it, without authorisation and breaching the security measures in place. Prison of six months to two years.
Art. 264 to 264 quater

Computer damage and sabotage

Deleting, damaging or making data inaccessible, including ransomware attacks. Prison of six months to three years, with aggravated brackets when the a
Art. 248 and following

Computer fraud

Obtaining an economic benefit through a computer manipulation or a fraudulent transfer of assets. This is the article behind most phishing, smishing a
Art. 197

Discovery and disclosure of secrets

Intercepting communications, taking over messages or distributing intimate images without consent.
Art. 270 to 277

Offences against intellectual and industrial property

Defence

The digital evidence is the case

In a cybercrime prosecution the file is rarely built on witnesses. It is built on IP logs, server records, device images, cryptocurrency traces and reports from the Guardia Civil or the Policia Nacional technology units. That evidence has to be obtained and preserved according to the rules in articles 588 bis a) to 588 octies of the Criminal Procedure Act.

Those rules are demanding, and they are frequently not followed to the letter. We examine whether the judicial authorisation covered the device or account actually examined, whether the chain of custody of the hard drives and mobile phones is documented from seizure to expert analysis, whether the hash values match, whether the remote search of a device had specific judicial authorisation, and whether the data was obtained from a foreign service provider through a valid channel of international cooperation.

When one of those links fails, the evidence can be excluded as unlawfully obtained under article 11.1 of the Judiciary Act, and with it a substantial part of the prosecution case. This is technical work, and it is the reason our practice combines criminal defence with forensic capability.

Defence

If you are the victim of a cyber attack or online fraud

Companies and individuals who have lost money or data need to act in the first hours, not the first weeks. Practical priorities are preserving the evidence before it is overwritten, documenting the intrusion with a forensic report that a Spanish court will accept, requesting the urgent freezing of the destination accounts, and filing a complaint drafted so that the investigating court can act rather than shelve the file.

Where the money has moved through cryptocurrency, tracing is possible far more often than victims assume, and a well-drafted request can reach the exchange before the funds are cashed out. Where the attack came from inside the organisation, the internal investigation has to be run carefully so that its findings can later be used in court and do not themselves breach data protection or employment law.

Defence

How we build the defence

Every case starts with a technical audit of the file before a single line of legal argument is written. We identify what the prosecution can actually prove, separate it from what it merely asserts, and then decide the strategy: challenging the classification of the offence, attacking the evidence, disputing the authorship of the conduct behind an IP address or a device, or negotiating where the evidence is solid and the client interest lies in limiting the outcome.

Attribution deserves particular attention. An IP address identifies a connection, not a person. Shared networks, compromised devices and family or corporate accounts are common in these files, and the burden of proving who was at the keyboard remains with the prosecution.

Framework

Cybercrime in the Criminal Code

The Criminal Code addresses a range of conduct in the digital sphere: unauthorised access to systems and the breach of the confidentiality of data and communications under article 197, damage to data and systems under articles 264 and following, and computer fraud under article 248, paragraph two, committed through computer manipulation to bring about a transfer of assets.

Because these offences often cross borders, questions of jurisdiction and of judicial cooperation arise early and can be as important as the substance of the accusation itself.

Cases

Common types of case

We act in cases of phishing and card fraud, unauthorised access to accounts and corporate systems, the non-consensual distribution of images, ransomware and the theft of data. Each raises distinct legal and technical questions.

In many of these matters the accused is identified through an IP address or an account, which is not by itself proof that a particular person carried out the conduct. Attribution is therefore a recurring battleground.

Evidence

Digital evidence and attribution

We scrutinise how the digital evidence was obtained and preserved, whether the search of devices or accounts was covered by a proper judicial authorisation, and whether the activity can genuinely be attributed to the accused rather than to a shared device or a compromised account.

Independent forensic analysis is frequently decisive, because the prosecution’s case often rests on logs and metadata that require expert interpretation to mean anything at all.

How we help

How we act

We act for both accused persons and victims, coordinating the criminal proceedings with any civil or data-protection dimension of the matter.

For urgent situations, such as an ongoing extortion or a device seizure, we intervene immediately to protect the client’s position and to secure the evidence that supports it.

FAQ

What clients ask us most

Can I be prosecuted in Spain for something done from another country
Yes, in several situations. Spanish courts have jurisdiction where the effects of the conduct occurred in Spain, and the European Investigation Order makes cross-border evidence gathering routine. Being outside Spain is not a defence, and it can lead to a European Arrest Warrant.
Is a screenshot valid evidence in a Spanish court
On its own it has limited value, because it can be manipulated and it is challengeable. Its evidential weight increases considerably when it is accompanied by a forensic report on the device, by metadata, or by a notarial record. The same applies against you when the prosecution relies on screenshots.
What happens to my seized computer or phone
It is held as evidence and imaged for analysis. You can request access to the forensic copy so that your own expert can review it, and you can ask for the return of the device once the copy has been made. Both requests should be made early.
Do I have to attend court in person
For the trial, generally yes, although in some circumstances appearance by video link can be authorised. For many procedural steps your lawyer can act on your behalf under a power of attorney, which avoids repeated travel to Spain.

Speak to a criminal lawyer

The earlier we see the file, the more can be done with it.

Criminal defence in English before the courts of Alicante, Madrid and the whole of Spain. Tell us what has happened and we will tell you what the real exposure is.


Logotipos-abogacia-scje
Paseo De La Castellana 216 8º 28046 Madrid
Alicante – Playa de San Juan Av. Ansaldo 31, local 16, 03540 Alicante
Londres: 20 Wenlock Road, N1 7GU, Reino Unido
París: 72 Faubourg St Honoré, 75008, Francia
info@societejuridique.com

Société de Conseil Juridique et Expert es un despacho de abogados con sedes en Madrid, Alicante, Londres y París, especializado en defensa y acusación penal, delitos económicos y corporativos y derecho tecnológico. Trabajamos con orientación estratégica en procedimientos penales complejos, propiedad intelectual y análisis forense avanzado, y prestamos consultoría jurídica, compliance y escudos de protección a particulares y empresas. Atendemos desde Alicante y Madrid, con consulta online en toda España y asistencia al detenido 24 horas. Resuelva sus dudas en las preguntas frecuentes o solicite una primera consulta.

Copyright © 2026 Société de Conseil Juridique et Expert S.L.

EspanolEnglishFrancaisРусскийItalianoDeutsch
WhatsApp · Urgencias 24h