Course contentsShow
← Security
Lesson 1522 of 3,05231. Operating System Security - MalwareFree lesson

Ransomware: Extortion Through Encryption

Malware that encrypts victim data and demands payment, including crypto-ransomware and screen lockers.

Ransomware: Extortion Through Encryption

What you'll learn: How ransomware uses encryption to hold victim data hostage and demand payment.

Ransomware is malware that locks you out of your own data—or your entire system—and demands payment for the key. Unlike viruses or worms that simply spread or destroy, ransomware monetizes the attack directly through extortion.

Two Main Variants

Crypto-ransomware encrypts your files using strong cryptographic algorithms, making them unreadable without the decryption key held by the attacker. Think of it like someone putting all your documents into an unbreakable safe and demanding ransom for the combination. Modern crypto-ransomware typically uses asymmetric encryption: the malware generates a unique key pair, encrypts your data with the public key, and only the attacker's private key (stored on their servers) can decrypt it. Victims see ransom notes demanding payment—usually in cryptocurrency—with threats to permanently delete the decryption key if demands aren't met.

Screen lockers (or "locker ransomware") take a simpler approach: they lock your screen or prevent system access with threatening messages, but don't actually encrypt your data. They're the digital equivalent of someone blocking your door and demanding payment to move. While less technically sophisticated, they exploit user panic and ignorance.

Why Ransomware Thrives

Ransomware is profitable. Encryption technology is mathematically sound—without the key, recovery is often impossible. Cryptocurrency payments provide anonymity. And many victims, especially businesses facing operational downtime, calculate that paying is cheaper than recovery efforts or data loss.

Modern ransomware often includes "double extortion": attackers exfiltrate data before encrypting it, threatening to publish sensitive information if payment isn't made—even if victims have backups.

Key Takeaway: Ransomware weaponizes encryption to extort victims through crypto-ransomware (encrypting files) or screen lockers (blocking access), creating a profitable attack model that combines technical sophistication with psychological pressure.