What to do after a cyberattack: the immediate steps, then those for the rest of the day.

Bonbay Updated 4 min read

Within the hour.

  1. Isolate without switching off. Unplug the network cable and turn off Wi-Fi on the affected computer. Leave it on: its memory holds traces that are useful for the investigation, and sometimes for recovery.
  2. Alert your IT provider, your security contact or us, by phone. Do not use email if it may be compromised.
  3. Note down the time, what was seen and the messages displayed. Photograph the screen with a phone.
  4. Do not pay, do not reply to the attacker, do not negotiate on your own.
  5. Cut remote access if ransomware is spreading: VPN, remote desktop, provider access.
  6. Change sensitive passwords from a clean device: management email, bank, administrator accounts.

If a fraudulent transfer has just gone out, call your bank before anything else: the faster the alert, the better the chances of stopping the funds.

Who to call.

  • Your IT provider or security team, to contain the attack.
  • 17Cyber, the Cybermalveillance.gouv.fr helpline, which helps assess the incident and refers you to a provider if you do not have one.
  • Your bank, in the event of transfer fraud or stolen payment details.
  • Your insurer, within the deadline set in the policy; some provide a crisis unit.
  • The police or gendarmerie, to file a complaint.

For clients with a monitoring contract, the response follows a prepared sequence: workstation isolated within minutes of detection, attacker access closed, restore under way, report within 24 hours. It is described on the alert monitoring and triage page.

Within the day: the deadlines to meet.

DeadlineActionLegal basis
72 hours at mostFile a police complaint, a condition for insurance compensationFrench Insurance Code, Article L12-10-1, introduced by the law of 24 January 2023
72 hours at mostNotify the CNIL if personal data is affectedGDPR, Article 33
Without undue delayInform the individuals concerned if the risk to them is highGDPR, Article 34
24 hours at mostEarly warning, for entities subject to NIS2NIS2 Directive, Article 23, as set out in the French transposition law
As per the contractReport the claim to the insurerPolicy terms

Deadlines run from the moment you become aware of the incident. An incomplete notification is better than a late one: the CNIL accepts that it be completed later. To find out whether your business falls under NIS2, see the NIS2 page.

Get back up and running without reinfection.

The temptation is to restore everything as fast as possible. That is the surest way to be attacked a second time, through the same door. The order matters:

  1. Find the way in and close it: stolen account, remote access, vulnerability.
  2. Identify the last clean backup, taken before the intrusion, not just before the encryption.
  3. Restore the servers first, then the workstations, in the order your business needs them.
  4. Check before reconnecting: accounts created by the attacker, scheduled tasks, mailbox rules.
  5. Change every password, including those of service accounts.

This sequence is only quick if it has been rehearsed. That is the purpose of the monthly restore tests described on the backup and recovery page.

After the crisis.

Once the business is up and running again, three tasks remain. The incident report: what happened, what was done, what changes. Communication: customers, suppliers and staff to inform, with facts and no speculation. The action plan: the weaknesses the attack revealed, dealt with in order of risk.

An audit a few weeks later checks that nothing has been missed and that the attacker has not left a way back in. How it works is set out on the cybersecurity audit page. To understand how these attacks begin, and how to prevent them, see the threats targeting SMEs.

Bonbay. Updated 15 November 2026.

Your questions.

Should you switch off the attacked computer?

No, unless you cannot disconnect it from the network and the encryption is spreading before your eyes. A machine that is left on but isolated keeps traces of the attack in memory, sometimes including information that helps with decryption. Switching it off erases them. Unplug the cable, turn off the Wi-Fi, leave it as it is and call your IT provider.

Do we have to inform our customers?

If their personal data is affected and the risk to them is high, the GDPR requires it. Beyond that, warning your customers and suppliers stops them falling in turn for messages sent in your name. Say what you know, what you are doing and when you will get back to them.

Where to report a cyberattack to the police

At a police station, a gendarmerie, or in writing to the public prosecutor. Bring the timeline, screenshots, messages received and, if possible, your provider’s report. 17Cyber can advise you depending on the type of attack. The complaint must be filed within 72 hours for your insurance to pay out.

What if we have already paid?

Contact your bank immediately to try to block or recall the funds. File a police complaint, attaching proof of payment. Don’t pay anything more, even if the attacker promises a key or deletion of the data. Have someone check that the access used has been closed: a victim who has paid remains a target.

How long does it take to get the business running again?

It depends on your backups. With a clean copy and a restore that has already been rehearsed, a file server can be back within a few hours. Without a usable backup, recovery takes days or weeks, and some data is lost. For our clients, restore time is measured every month, during the test.