Everyday threatsChapter 6

Ransomware: before, during and after

How a ransomware attack unfolds, how to prepare, the first things to do, who to alert within 72 hours in France, and how to recover your business safely.

Belinda
Presented byBelinda
10 min readUpdated on 2 October 2026

What you will learn

  • How a ransomware attack unfolds, from initial access to double extortion
  • What French figures and a real case teach us
  • The defences that matter: backups, patching, MFA, segmentation, EDR
  • The first things to do, and the things to avoid
  • Who to alert in France and how fast: 17Cyber, CERT-FR, the police, your insurer, the CNIL
  • How to organise recovery and the lessons-learned review

Monday, 7.30 am. The first people in can no longer open their files, whose extensions have changed. Every screen shows the same message: your data has been encrypted and copied; pay, or it will be published. RansomwareRansomwareMalware that encrypts an organisation’s data and demands a ransom to restore it, often also threatening to publish the stolen data. is the most destructive cyber attack an organisation can suffer: it can halt production, invoicing or patient care for weeks.

This chapter follows an attack from start to finish: how it is prepared, how to protect yourself, what to do in the first hours, and how to recover.

How an attack unfolds

Contrary to popular belief, encryption is not the start of the attack: it is the end. It is often preceded by days, even weeks, of silent intrusion.

1. Initial access

For businesses, explains Cybermalveillance.gouv.fr, the French national victim-assistance service, attacks most often begin with the exploitation of flaws in external access points or services exposed to the internet (remote desktop, VPN, network storage), in edge devices (firewalls, gateways) or in virtualisation software. Stolen credentials and phishing complete the picture. Globally, the Verizon 2026 DBIR finds that 31% of breaches now start with the exploitation of a vulnerability, ahead of stolen passwords.

Some criminals specialise in this step alone and then sell the access they obtain: they are known as initial access brokers.

2. Silent exploration

Once inside the network, the attacker tries to extend their rights (privilege escalationPrivilege escalationThe stage of an attack where an intruder who got in with limited rights obtains higher ones, up to administrator level.), hops from machine to machine (lateral movementLateral movementThe techniques an attacker uses to move from a first compromised machine to others on the network, until reaching the real targets.), identifies valuable data and, above all, locates the backups. ANSSI, the French national cybersecurity agency, stresses that more and more criminals go after backups to leave the victim no fallback and maximise the chance that it pays.

3. Double extortion

Before encrypting, the attacker copies (exfiltrates) the data. The victim then faces two pressures: getting access to its files back, and preventing their publication. That is double extortion. It becomes triple when the attacker adds a denial-of-service attack or contacts the victim’s customers and partners directly. Some groups even settle for stealing data without encrypting anything. Data theft is growing overall: ANSSI learned of 196 data exfiltration incidents in 2025, with or without ransomware, up from 130 in 2024.

4. An organised industry

Most attacks follow the ransomware-as-a-service (RaaS) model: an operator supplies the software and infrastructure, affiliates carry out the attacks and pay the operator a commission. In 2025, the strains most often seen in incidents handled by ANSSI in France were Qilin (21%), Akira (9%) and LockBit 3.0 (5%).

128
ransomware compromises reported to ANSSI in France in 2025, slightly fewer than in 2024
Source: ANSSI, 2025 Cyber Threat Overview

What French figures and cases show

According to ANSSI, small and mid-sized businesses remain the main victims. Local authorities accounted for 11% of cases in 2025, and healthcare establishments for 8%, a share that is rising again. Schools were also hit particularly hard in 2025. For Cybermalveillance.gouv.fr, ransomware is the fourth most common threat for companies and associations (8.1% of requests for help) and the third for local authorities (13.1%). The service describes it as the most formidable threat for an organisation, and the one with the greatest impact.

The trend is not easing worldwide either: according to the Verizon 2026 DBIR, ransomware is present in 48% of the breaches analysed.

Real case: the Sud Francilien hospital, 2022

On the night of 20 to 21 August 2022, the Centre hospitalier Sud Francilien in Corbeil-Essonnes, south of Paris, was hit by ransomware. The attackers demanded 10 million dollars. The hospital switched to degraded mode: back to pen and paper, procedures postponed, only life-threatening emergencies handled on site, other patients sent to nearby hospitals. The hospital refused to pay, in line with the French state’s position for public institutions; in September the attackers began leaking stolen data.

Before: getting ready

3-2-1 backups, offline and tested

This is the measure that makes the difference between a serious incident and a disaster. The 3-2-1 rule3-2-1 backup ruleA simple backup rule: 3 copies of your data, on 2 different types of media, with 1 kept off-site. is a good starting point: three copies of the data, on two different types of media, one of them off site. Against ransomware, two further requirements apply:

  • at least one offline or immutable copy. ANSSI points out that the most critical backups must be disconnected from the information system: an external drive unplugged after use, tape, immutable storage. A NAS that stays connected, or plain snapshots, will be encrypted along with everything else;
  • tested restores. A backup that has never been restored is a hypothesis, not a backup. Test regularly and measure how long a full restore actually takes.

Patch what is exposed, fast

Devices visible from the internet (VPN, firewall, email, remote desktop) are the favourite way in. Keep an inventory of them, patch them first, and never leave remote desktop open directly to the internet. This is the heart of patch managementPatch managementThe process of inventorying software, tracking published security patches and deploying them within timeframes that match the risk, without breaking production..

MFA on all remote access

VPN, email, admin tools, cloud consoles: a stolen password must never be enough to get in (see the previous chapter).

Segment the network and limit rights

A “flat” network lets the attacker reach everything from a single compromised computer. Separate the zones (workstations, servers, backups, administration), keep administrator accounts for administration only, and remove local administrator rights from everyday users.

Detect early

An EDREDR (endpoint detection and response)Software installed on computers and servers that watches their behaviour, detects malicious activity and lets defenders isolate or clean up a machine remotely. (endpoint detection and response) tool spots suspicious behaviour, such as an admin tool launched at 3 am or files being encrypted en masse, and can isolate a computer automatically. Someone still has to watch the alerts, in house or through a service provider.

Prepare for the crisis

Write a business continuity and disaster recovery planBusiness continuity (BCP / DRP)The business continuity plan (BCP) keeps essential activities running during a crisis; the disaster recovery plan (DRP) explains how to restart IT systems and recover data after a disaster., listing your priority activities and the acceptable downtime for each. Keep a paper crisis directory (service providers, insurer, bank, official contacts), because email may be down or monitored. And run at least one exercise a year.

Measure What it prevents Priority
Offline, tested backup Being unable to recover without paying Immediate
Patching exposed devices The most common initial access Immediate
MFA on remote access Getting in with a stolen password Immediate
Segmentation and least privilege Spread across the whole network Short term
Monitored EDR An intrusion going unnoticed Short term
Crisis plan and exercise Panic and bad decisions Short term

During: the first moves

If a ransom note appears, or files become unreadable:

  1. Isolate without switching off. Unplug the network cable and turn off Wi-Fi on the affected machines, but do not shut them down: their memory holds traces that are useful to investigators, sometimes even the means to recover files. If the machine allows it, ANSSI advises hibernation rather than cutting the power.
  2. Cut internet access for the affected network, so the attacker can no longer steer the ransomware or exfiltrate more data. Disconnect the backups once you have checked they are clean, and leave switched off any computers that have not been started yet.
  3. Raise the alert with your IT team or provider, then with management, who convene the crisis team.
  4. Keep an incident log: every action and every finding, with the time and the name of the person involved. Investigators, the insurer and the lessons-learned review will all rely on it.
  5. Communicate outside your usual email, which the attacker may be reading: phone, a backup messaging channel set up in advance.
  6. Keep the evidence and the encrypted files, even if they are unusable: a decryption tool may be published later, in particular on the No More Ransom site run by Europol and its partners.

A delicate point: faced with imminent destruction, experts may decide to shut certain systems down. Conversely, ANSSI notes that hasty measures, such as cutting power to an entire server room, can make the outage worse and wipe out traces. These trade-offs belong to the crisis team, supported by incident responseIncident responseThe organised set of actions taken to detect an attack, limit the damage, drive the attacker out, restore operations and learn the lessons. specialists.

Do not pay the ransom

ANSSI recommends never paying. Payment guarantees neither a decryption key nor that the data will stay unpublished; it funds the next attack and does not stop you being targeted again. Even with the key, files that were being modified at the moment of encryption, such as databases, are very likely to be corrupted.

Who to alert in France, and how fast

Who When Why
17Cyber and Cybermalveillance.gouv.fr As soon as you discover it Diagnosis, advice, referral to accredited “ExpertCyber” providers and to the police
CERT-FR (ANSSI), on 3218 or +33 9 70 83 32 18 As soon as you discover it Contact point for public administrations, operators of vital importance and regulated entities
Police or gendarmerie No later than 72 hours after discovery Formal complaint: opens the investigation and is a condition for insurance compensation
Your insurer As soon as possible, as per your policy Declare the claim and access the assistance provided
CNIL (French data protection authority) Within 72 hours if personal data is affected Mandatory notification (GDPR Article 33), and informing the people concerned if the risk is high
Your bank As soon as possible Watch for the payment fraud attempts that often follow

Mid-sized companies, local authorities and associations that do not fall under CERT-FR can also turn to their regional CSIRTCSIRT / CERT (incident response team)A team dedicated to responding to security incidents for a given constituency (a company, a sector, a region, a country), which warns, advises and coordinates the response., which points them to local assistance.

A complaint within 72 hours, the condition for compensation

Since 24 April 2023, Article L12-10-1 of the French Insurance Code has made any compensation for an attack on an information system conditional on a complaint filed no later than 72 hours after the victim becomes aware of it. The rule applies to legal entities and to individuals acting in a professional capacity, and to every covered loss, not just ransoms. Paying a ransom is not prohibited as such in France, but the authorities strongly advise against it.

After: recovering and learning

The temptation to restart everything as fast as possible is strong. It is also the best way to get encrypted a second time.

Key takeaways

  1. Encryption is the end of an often silent intrusion: the attacker steals the data first, then goes after the backups.
  2. An offline backup that is restored regularly as a test is your best insurance: without it, there is no clean recovery.
  3. First moves: isolate from the network without switching off, raise the alert, keep an incident log, do not pay.
  4. In France, file a police complaint within 72 hours of discovery to be covered by insurance, and notify the CNIL within 72 hours if personal data is affected.
  5. Rebuild on clean foundations, change every secret and learn from the incident so you are not hit twice.

Were you paying attention?

Three questions to check, no score, no account.

1. Your files are encrypted and a ransom note appears on a computer. What is the first thing to do?
2. Why is a backup on a NAS that stays connected to the network not enough?
3. Your insurance policy covers cyber attacks. Under French law, what must you do to be compensated?

Sources

From theory to practice

So how does your system measure up?

Create your account and get an A+ to F grade for your domains’ encryption in minutes, with every finding explained and the fix to apply.

Run the audit from your account: an A+ to F grade for your domains’ encryption in minutes, with every finding explained and the fix to apply.

Contact us

A question, a project, a partnership? Write to us: the team answers by email, usually within one business day.

Your details are only used to answer you. Do not include passwords or vulnerability details.