What is ransomware?
Ransomware is a type of malware — malicious software — that locks up your files and will not let you have them back until you pay money. The word is a mashup of "ransom" and "software," and that is exactly what it does: it holds your own files hostage.
Here is how it locks them. Ransomware uses encryption, which is a way of scrambling information so it looks like meaningless gibberish. Think of every photo, document, and homework file on the computer getting locked inside its own tiny safe. The only key that opens those safes is held by the criminals who attacked you.
Simple definition: Ransomware is malware that encrypts (scrambles) your files and demands a payment — usually in cryptocurrency — before the attacker will hand over the key to unlock them.
This is not just a problem for one unlucky person's laptop. Ransomware has shut down entire school districts for days, forced hospitals to cancel surgeries and move patients by hand instead of computer, and knocked out city services like water billing and 911 dispatch systems. When the files a business or school depends on get locked all at once, everything built on top of them stops working too.
The attack chain, step by step
A ransomware attack is not one single event. It is a chain of six steps, and the earlier you catch it, the less damage it does. Click each step below to reveal what actually happens — and watch the lock on the left close a little more with every step you explore.
Steps explored: 0 / 6
Click a step to reveal what happens — and lock in your understanding.
-
The email looks like it is from a real source — the school, a bank, or a delivery company. It might say "Your package could not be delivered, click here to reschedule." It is fake, and it is bait.
-
Attackers usually send the same email to hundreds or thousands of people. They only need one person to click. That single click can open a booby-trapped file or trigger a hidden download — no other warning happens on screen.
-
The program hides in the background. It does not pop up or announce itself. On a school or office network, it may quietly spread to other connected computers before anyone notices something is wrong.
-
The malware scrambles files one by one — documents, photos, spreadsheets, whole shared drives — using a secret key only the attacker has. This can happen fast, sometimes locking thousands of files in minutes, and there is usually no undo button.
-
A message replaces the desktop or pops up in every folder: "Your files have been encrypted. Pay [amount] in cryptocurrency within 72 hours or lose them forever." The countdown clock is designed to make victims panic and pay quickly.
-
Option one: pay the criminals, with no guarantee they will actually send a working key. Option two: restore the files from a backup made before the attack and ignore the ransom note completely. Organizations that kept good backups almost always choose option two.
Why ransomware is uniquely disruptive
Plenty of malware is annoying. Ransomware is different because it does not just slow a computer down — it can stop an entire organization from working at all.
- It shuts everything down at once. Schools have canceled classes, hospitals have postponed surgeries and switched to paper records, and cities have had to stop online payments and permit systems — all because the computer systems everyone relies on were locked.
- Paying does not guarantee you get anything back. The attackers are criminals. They might not send a key at all, or the key might not fully work. Paying also has no refund policy.
- Attackers sometimes steal your data too. This is called double extortion: before locking the files, the attacker quietly copies them. Even if the victim restores from backup and refuses to pay, the attacker can still threaten to leak private information — like student records or medical files — publicly unless they get paid.
Key takeaway: Ransomware is dangerous because it attacks the thing every organization depends on most — its files — and it attacks all of them at once.
How to defend against it
The good news: ransomware has real weaknesses, and a few simple habits make most attacks far less scary.
Follow the 3-2-1 backup rule
A backup is a saved copy of your files made before anything goes wrong. The 3-2-1 rule is a simple way to remember how to keep good backups:
That last "1" matters most. If a backup drive is always plugged in, ransomware can encrypt it right along with everything else. A backup only helps if it is disconnected, or stored somewhere separate, when the attack happens.
Other habits that help
- Keep software updated. Updates close security holes that attackers use to sneak malware in. An update you keep postponing is a door you are leaving unlocked.
- Do not click unexpected links or attachments. If an email creates urgency ("act now!") or asks you to click before you have time to think, stop and check with the sender another way first.
- Tell an adult or IT right away if something looks wrong. A slow computer, files that will not open, or a strange pop-up are all worth reporting immediately. Catching an infection in step 2 or 3 of the attack chain is far better than discovering it at step 5.
Check your understanding
Imagine your school's computers got hit by ransomware overnight, and a ransom note is on every screen this morning. What is one thing that would help the school get its files back without paying the criminals?
Your answer:
Sample answer: If the school kept backups of its files somewhere the ransomware could not reach — like an external drive that stays unplugged, or a separate offline system — the IT team could wipe the infected computers and restore everything from those backups. No payment to criminals required.
Quick quiz
1. What does ransomware actually do to your files?
2. In the attack chain, which single moment matters most for stopping an infection before it starts?
3. Why are backups such a powerful defense against ransomware?
Keep learning about cybersecurity
Ransomware usually starts with one trick: convincing a person to click. The next tutorial digs into that trick itself — how attackers manipulate people instead of hacking computers.
Part of the "Cybersecurity Basics" tutorial series.