Guide · Information security

Ransomware:
what to do when you are hit and how to prevent it.

Ransomware encrypts a business’s files and demands payment. This guide explains what to do in the first hour, who to report to in Israel, why you should not rush to pay, and how to build a backup the attacker cannot delete.

Read the guide ↓Ask an engineer

What is ransomware?

Ransomware is malware that encrypts a business’s files and servers and demands payment to release them. Without the encryption key the files do not open, and work stops.

In today’s attacks, encryption is usually the last stage. Before it, the attackers get into the network, look for the backups and try to delete or encrypt them too, and often copy information out. That lets them demand payment twice: once to release the files and once to not publish the information they stole. This is called double extortion.

How do you know you have been hit by ransomware?

The clear sign is a ransom note on the screen or a text file in every folder. But some signs appear earlier, and they are worth knowing:

Files with a new extension
Documents whose names have changed, and files that will not open in any program.
The backup is gone or failing
Backup jobs that suddenly fail, or earlier copies that were deleted.
A new admin user
An account nobody opened, or an existing user that received admin permissions.
Unusual slowness
A file server or computers running slowly for no reason, because something is reading and writing files in bulk.
Alerts from the antivirus or EDR
Alerts that get ignored because they look like noise.

What do you do in the first hour after a ransomware attack?

Disconnect the affected computers and servers from the network without switching them off, and call whoever manages your IT. The order matters, because any wrong action can erase what could still be saved.

According to the guide from the US cyber agency CISA, you power a computer off only if it cannot be disconnected from the network, because powering off erases evidence held in memory.

1. Disconnect
Pull the network cable and turn off Wi-Fi on the affected computers. If many computers were hit, disconnect the whole network at the switch.
2. Do not delete and do not clean
Do not format, do not run cleaning tools and do not rename encrypted files.
3. Take photos
Photograph the ransom note and the screens, and write down when it was discovered.
4. Call by phone
Talk to your IT provider by phone, not through company email. The attackers may be reading it.
5. Change passwords from a clean computer
First for the admin accounts, the email and the backup system.
6. Check the backup
Check whether there is a copy that was not hit, and do not connect it to the network until the network is clean.

Who do you report a ransomware attack to in Israel?

There are several bodies, each for a different reason. Reporting to one does not release you from reporting to another.

Israel National Cyber Directorate, 119
You can report by phone on 119 or by email to 119@cyber.gov.il. A ransomware attack is on the list of incidents the hotline accepts. The hotline does not handle computer faults and does not replace a police complaint.
Privacy Protection Authority
If a database with personal details was hit, a duty to report a serious security incident may apply. According to the Authority’s service page, harm to the integrity of information also includes encrypting it, and the report is required immediately, not at the end of the investigation. It is worth checking with a lawyer what applies to you.
Police
A police complaint is separate from the report to the National Cyber Directorate.
Insurance company
If you have a cyber policy, it usually includes a duty of quick notice and vendors the insurer works with.
Sector regulator
Financial, medical and infrastructure organisations are subject to reporting duties of their own.

Should you pay the ransom?

The bodies that wrote the #StopRansomware guide, among them CISA and the FBI, recommend not paying. Payment does not guarantee the files will be released, does not guarantee the attackers will leave the network, and does not guarantee the copied information will not be published.

Even when you pay, you still have to clean the network, close the breach and rebuild. The decision also depends on legal questions and on insurance, so it is made with a lawyer, not under the pressure of the first hour.

How does ransomware recovery work?

You restore from a clean backup, in an order set in advance, and check that the attacker does not come back with the systems.

Close the way in
First find how the attacker got in and close it, otherwise they encrypt again what was restored.
Choose a clean copy
A copy from before the attacker got in, not only from before the encryption.
Restore in order of importance
Systems the business cannot work without come first: the file server, the accounting system, the email.
Rebuild computers
An affected computer is installed from scratch, not "cleaned".
Check for decryption tools
Free decryption tools have been published for some ransomware types, for example on the No More Ransom site.

How does ransomware get into a business?

In most cases not through one file somebody downloaded, but through access the attacker obtained in advance:

A stolen password
Phishing that steals an email or VPN password, with no two-factor authentication.
An open remote desktop
A server with RDP exposed to the internet, whose password can be guessed.
An unpatched system
A firewall, VPN or server with a known vulnerability that was not fixed.
An attachment
A file that arrives by email and looks like an invoice or a delivery.

How do you prevent ransomware? Ten steps for a business

These are the steps that appear in the CISA guide and in the accepted recommendations, ordered by what a small business can start on this month:

1. Two-factor authentication everywhere
Email, VPN, remote access and cloud systems. CISA recommends phishing-resistant authentication.
2. Close RDP to the internet
Remote access only through a VPN with two-factor authentication.
3. Updates
First whatever is exposed to the internet: the firewall, the VPN and the servers.
4. EDR on every computer and server
Protection that detects suspicious behaviour and lets you isolate a computer.
5. A separate admin account
Employees do not do their daily work with admin permissions.
6. Email filtering
Filtering of files and links, and settings that prevent impersonation of your domain.
7. Network separation
Cameras, the guest network and the servers do not sit on the same network.
8. Short training for employees
What phishing looks like, and who to call when something is suspicious.
9. A tested backup
With an offline copy, and restore tests.
10. A written plan
Who does what in the first hour, and phone numbers that are not kept only on a computer.

Which backup survives a ransomware attack?

A backup the attacker cannot reach. Most ransomware looks for the backups first and deletes or encrypts them, so a backup to a disk that is always connected to the network is not enough.

The 3-2-1 rule
Three copies, on two types of storage, with one copy outside the office. This is how CISA defines it.
An offline or immutable copy
A copy that cannot be deleted or changed from the business’s network.
Separate passwords for the backup
The backup system does not use the same admin account as the servers.
Microsoft 365 too
The email and files in the Microsoft cloud are the business’s responsibility. Microsoft itself sells a separate backup product.
Restore tests
You actually restore, and check how long it takes.

The full detail is on the cloud backup for businesses page.

Is data in the cloud protected from ransomware?

Not automatically. A virtual server in the cloud can be encrypted exactly like a server in the office, and files synced to OneDrive or Google Drive sync when they are encrypted too.

What protects you in the cloud is the same thing that protects you in the office: two-factor authentication, limited permissions, and a separate backup copy outside the account.

Sources

  1. CISA, #StopRansomware Guidewww.cisa.gov/stopransomware/ransomware-guide
  2. CISA, Data Backup Options (the 3-2-1 rule)www.cisa.gov/sites/default/files/publications/data_backup_options.pdf
  3. NIST IR 8374 Rev. 1, Ransomware Risk Managementcsrc.nist.gov/pubs/ir/8374/r1/final
  4. Israel National Cyber Directorate, reporting a cyber incidentwww.gov.il/he/service/cyber-event-report
  5. Privacy Protection Authority, reporting a serious security incidentwww.gov.il/he/service/report-of-data-breach
  6. Microsoft, Shared responsibility in the cloudlearn.microsoft.com/en-us/azure/security/fundamentals/shared-responsib

Common
questions

Related services:

Should you turn off the computer when there is ransomware?

No, if you can disconnect it from the network. Unplug the cable and Wi-Fi and leave it on, because powering off erases information from memory that helps to understand what happened. Power off only if there is no way to disconnect.

If you pay, do you get the files back?

Not necessarily. CISA and the FBI write that payment does not guarantee decryption, does not guarantee the attackers will leave the network and does not guarantee the information will not be published.

Does antivirus protect against ransomware?

Partly. Antivirus blocks known files, but many attacks start with a stolen password and not with a file. EDR, two-factor authentication and an offline backup cover what it does not.

Is a backup on a NAS protected from ransomware?

Not if the NAS is connected to the network with the same permissions. Ransomware finds it and encrypts it too. You need another copy that is offline or cannot be changed.

Can encrypted files be opened without paying?

Sometimes. Free decryption tools have been published for some ransomware types. The safe way is to restore from a clean backup.

How long does it take to get back to work after a ransomware attack?

It depends on the backup. With a clean, tested backup and a restore order ready, critical systems can be back within days. Without such a backup it can take weeks.

Does cyber insurance cover a ransomware attack?

It depends on the policy. Most policies require quick notice and work with specific vendors, so it is worth knowing what yours says before something happens.

Does Microsoft 365 back me up against ransomware?

Not for you. Under Microsoft’s shared responsibility model, the data and the accounts are the customer’s responsibility in cloud services too, and Microsoft sells a separate backup product. The recycle bin and version history are not a backup.

Been hit, or want to check that you are ready?

Tell us what is happening. An engineer will get back to you, with no commitment.

Your details are used to answer the enquiry, under our privacy information.

Talk to us
Call WhatsApp