# Cyber attack under way? Contain it first, then restart.

> Files that no longer open, emails sent from your mailbox that you never wrote, a supplier asking why you changed your IBAN. We stop what is happening, find how they got in, get people back to work and leave you a written account of what happened.

- Service: Incident response and recovery
- Cases: Ransomware, hacked email, payment fraud
- After: Two-factor, verified backups, report
- URL: https://cloudfactory.it/en/services/cyber-attack-ransomware-hacked-email-what-to-do/

## The first hours are when the costliest mistakes are made.

Everything gets switched off and the traces are lost, a password is changed from the infected computer, a backup is restored without knowing how long the intruder had been inside. Meanwhile whoever got in may still have access to the email, read what you write to each other and wait for the right moment. And if personal data is involved, the deadlines for notifying the authorities start when you become aware, not when you've finished fixing things.

## We know the systems that have to be put back on their feet.

Every day we look after more than 110 servers and 320 domains, email on Microsoft 365, Google Workspace and Kerio, and the NAS units and backups of professional firms, companies and healthcare facilities. So once an attack is stopped, we also know how to get work going again. After a serious security incident, for a group of laboratories we removed the on-site mail gateway and moved everything to Exchange Online.

## Contain, understand, restart.

1. **Contain.** We disconnect the affected computers and servers from the network without switching them off, close open sessions and block compromised accounts. Passwords are changed from a device known to be clean.
2. **Secure the evidence.** Before touching anything we save the sign-in logs, the mailbox rules and a copy of the affected systems. They are needed to understand what happened and, if required, by your lawyer and your insurer.
3. **Find how they got in.** A reused password, an opened attachment, an exposed remote access, software left unpatched. We look at Microsoft 365 or Google Workspace sign-ins, forwarding rules hidden in mailboxes, connected devices.
4. **Restart from clean.** We restore data and servers from backups after checking they predate the intrusion. Affected computers are reinstalled, not cleaned. People go back to work in an order of priority agreed with you.
5. **Close the door.** Two-factor authentication on email and remote access, new passwords everywhere, updates, backups with a copy an intruder can't delete. And a written account of what happened.

## Systems that restart and a written timeline.

We leave you a report that non-technical people can read: what happened and when, what was touched, what we did, what is left to do. It is the document your lawyer, your privacy adviser and your insurer will ask for.

- Systems isolated and restored
- Incident timeline
- Copy of logs and evidence
- New credentials
- Two-factor authentication
- Verified backups
- List of systems and data involved
- Plan for the following weeks

## What to do now and who must be told.

### First moves, even before writing to us

- **Disconnect** the affected computer or server from the network: cable and Wi-Fi. If you can, don't switch it off: while on, it keeps useful traces.
- **Don't delete anything**: not the encrypted files, not the ransom note, not the suspicious emails.
- **Change passwords from another device**, not the affected one, starting with email and banking.
- **If a payment went to the wrong IBAN**, call the bank at once and ask for a recall: hours matter.
- **Tell colleagues in person or by phone**, not from a mailbox someone else may be reading.
- **Write down the times**: when you noticed, what you saw, what you did.

### Who must be told, and when

- **The data protection authority**, if personal data is involved and there is a risk to people: within 72 hours of becoming aware ([GDPR, Article 33](https://eur-lex.europa.eu/eli/reg/2016/679/oj)).
- **CSIRT Italia**, if you fall under the NIS2 directive and the incident is significant: early warning within 24 hours, notification within 72 hours, final report within a month ([ICT Security Magazine](https://www.ictsecuritymagazine.com/notizie/nis2-adempimenti/), in Italian).
- **The police** (in Italy, the Polizia Postale), to file a report: the bank and the insurer will need it too.
- **Your insurer**, if you have a cyber policy: read what it requires before appointing anyone, because it often asks to be told at once.
- **Customers and suppliers** who might receive fake emails in your name.

We gather the facts and put them in order. The assessments and the notifications stay with you and your advisers.

## If you recognise one of these signs.

- **Encrypted or renamed files**: Documents that won't open, strange extensions, a text file with a ransom demand on a server, NAS or computer.
- **Hacked mailbox**: Emails sent in your name, replies to messages you never wrote, forwarding rules you didn't create, sign-ins from countries you aren't in.
- **Payment to a fake IBAN**: A real invoice with changed bank details, or a supplier saying they never received a payment your records show as made.
- **Computers acting strangely**: Antivirus switched off, software you didn't install, the cursor moving on its own, accounts locked for no reason.

## If it's happening now.

### Should we pay the ransom?

Paying doesn't guarantee you get the data back or that it won't be published, and the decision isn't a technical one: it is taken with your lawyer and your insurer. We work to get you running again from backups, and tell you plainly what can be recovered and what can't.

### We have backups: can't we just restore?

Only once it's clear how long the intruder had been inside and how they got in. Otherwise you also restore the open door, or a backup that is already compromised.

### Who do we have to notify?

It depends on what was touched: the data protection authority if personal data is at risk, CSIRT Italia if you fall under NIS2, the police for the report, the bank and the insurer. We help you gather the facts; assessments and notifications stay with you and your advisers.

### We aren't your customers: can you still step in?

Yes. We need someone who can take decisions and administrator access to email, servers and network, or a contact for whoever manages them today.

### What if it's the website that was hacked?

Websites have a dedicated service, described on the Hacked site page: clean-up, rebuild from official sources and a move to an isolated environment.

---

Cloudfactory S.r.l., Rome. Contact: hello@cloudfactory.it
