# Ransomware

> Malware that locks your files. Then it asks for money to unlock them.

**Field:** Infrastructure  
**Category:** Security  
**Also known as:** Ransomware Attack, Crypto Ransomware, Double Extortion

## Think of it like

It is like a thief who locks your bike. He wants money to give you the key.

## Definition

Ransomware is malware that locks your files by scrambling them with encryption. Then it shows a note asking for money to unlock them. Many gangs also steal the files first. They threaten to publish them if you do not pay. Paying does not promise you get your files back. A recent backup kept apart from the network is the best defence.

## Example

One morning, a clinic's computers show a note. Every patient file is locked. The clinic puts back last night's backup and does not pay.

## Why it matters

It can stop a whole business, a school or a hospital in one night.

## Common mistake

Keeping the only backup on a drive that stays plugged in. The ransomware locks the backup too.

## Three principles

- **Locks the files.** Encryption makes them useless.
- **Asks for money.** A note demands payment for the key.
- **Backups beat it.** Keep a copy the attack cannot reach.

## Related terms

- [Malware](https://learn.benibix.com/term/infrastructure/malware)
- [Phishing](https://learn.benibix.com/term/infrastructure/phishing)
- [Backup](https://learn.benibix.com/term/infrastructure/backup)
- [Immutable Backup](https://learn.benibix.com/term/infrastructure/immutable-backup)
- [Encryption](https://learn.benibix.com/term/development/encryption)
- [CIA Triad](https://learn.benibix.com/term/infrastructure/cia-triad)
- [Data Exfiltration](https://learn.benibix.com/term/infrastructure/data-exfiltration)

![Three panels side by side. In the first, a fake email asks a person to click a link and type their password. In the second, a harmful program locks the files on a laptop and shows a note asking for payment. In the third, arrows from many machines flood one server until real users cannot get through.](https://learn.benibix.com/diagrams/inf-attack-types.svg)

---

Source: https://learn.benibix.com/term/infrastructure/ransomware
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
