Ransomware is software that locks a company's or a person's files and demands money to unlock them. It locks the files by encrypting them, which means scrambling them so that they can be read only with a secret key. The attackers keep the key. They leave a message that asks for a ransom, usually in cryptocurrency, in exchange for the key.
Here is how an attack typically unfolds. An attacker first gets in, often through a phishing email or a stolen password. For several days, the attacker looks around the network for the important servers. In many attacks, the attacker also copies the victim's data out. Then, often on a weekend night, the ransomware encrypts thousands of files at once. The next working day, staff cannot open their systems or shared drives, and a message demands a ransom. If the victim refuses, the attackers threaten to publish the stolen data. This is called double extortion.
Paying is risky. The attackers may not send a key that works, and they may attack again. So companies defend themselves in layers. An endpoint detection and response (EDR) agent on every laptop and server watches what programs do. If a program starts encrypting many files quickly, the agent stops it and cuts the machine off from the network. Most important is a backup that the attacker cannot change. Immutable backups cannot be changed or deleted once written, even with the administrator's password. An air-gapped backup is kept where an attacker inside the network cannot reach it. Ransomware recovery restores the systems from these clean backups. Afterwards, digital forensics works out how the attacker got in. In India, companies must report such an incident to CERT-In, the government's cyber security agency, within six hours.
Take, for example, a hospital whose patient records are encrypted. Doctors must go back to paper notes until the systems are restored.
Consider a home laptop. A fake invoice email can install ransomware that encrypts years of family photos, and only a copy kept somewhere else brings them back.
Say a factory's production line stops because the computers that plan it are encrypted. Every hour of waiting costs money, which is why attackers choose businesses that cannot stop for long.
How is ransomware different from other attacks? Many attacks steal data quietly and hope not to be noticed. Ransomware wants to be noticed: it stops the business, so that the victim feels it must pay. It uses the same encryption that protects your data every day, but the attacker holds the key.
Appears in
- Directory services↗ Enterprise cybersecurityRansomware attackers often take over the company's directory, such as Active Directory, to reach every computer at once.
- Endpoint detection and response (EDR)↗ Enterprise cybersecurityAn EDR agent spots a program encrypting many files quickly, stops it, and cuts the laptop off the network.
- Digital forensics↗ Security operations centre (SOC)Digital forensics finds out how the ransomware got in and which files the attackers copied.
- Antivirus and security suites↗ Home technologyAn antivirus suite blocks ransomware on a home PC before it can encrypt your photos and documents.
- Ransomware recovery↗ Data storage and backupRansomware recovery software restores locked systems from the last clean backup, so the company need not pay.
- Backup and recovery↗ Data storage and backupBackup software keeps copies of servers, so a company hit by ransomware can restore them instead of paying.
- Immutable backups↗ Data storage and backupAn immutable backup cannot be changed or deleted, so ransomware cannot encrypt it.
- Air-gapped backup↗ Data storage and backupAn air-gapped backup is kept off the network, where ransomware inside the network cannot reach it.
- SaaS backup and endpoint backup↗ Data storage and backupLaptop and Microsoft 365 backup restores staff files after ransomware encrypts their laptops.
- Cloud file system↗ Data storage and backupA cloud file system keeps earlier versions of each file, so files locked by ransomware can be restored.