What’s the difference between a virus, a worm and ransomware?
Lesson 23.3 · Viruses, Worms and Ransomware
Mark · Jenny · Rob · Sarah
Not every bad program is a virus.
Mark calls every bad program a virus.
Jenny says that’s like calling every animal a dog.
Rob tells the story of the 1988 worm that jammed the early internet without anyone clicking anything.
Then he tells them about hospitals that had to turn away patients because ransomware locked their computers.
Sarah wants the list.
The short answer
A virus rides inside other programs, a worm spreads on its own, a Trojan wears a disguise and ransomware holds files hostage. All malware. Grandma Ruth’s old laptop had a fake virus warning from Module 1, which was really a scam page trying to scare her into calling a number. The defense for all of it is the same short list. That’s next.
Try it yourself
Sort each one by how the malware got in.
1 of 6
Attaches itself to another program and spreads when that program is run or shared
Put it in
What you just did has a name
Malware
Malware is any software built to do harm.
A virus attaches itself to other programs. A worm spreads across networks on its own through security holes.
A Trojan pretends to be something useful. Ransomware encrypts your files and demands payment.
Spyware secretly watches what you do.
Malware gets in through unpatched security holes, phishing links, and downloads from untrustworthy places.
A few more things
Updates close the holes
Worms spread through security holes that usually already have fixes. Keeping the operating system and apps updated shuts most of those doors.
Backups beat ransomware
If your files are backed up somewhere ransomware can’t reach (Module 18), you can wipe the computer and restore instead of paying.
Built-in protection is good
Windows, macOS and Linux include built-in protections. For most people, keeping them on and updated beats installing extra “security” apps, many of which are junk themselves.
Go deeper
The longer version, if you want it.
Why hospitals and schools get hit
Ransomware gangs target places that can’t afford to be offline: hospitals, schools, city governments. The pressure to pay is enormous when patients or students are waiting.
The defenses are the same boring ones at every scale: updates, careful downloads, training people to spot phishing, and backups kept where the ransomware can’t reach. The organizations that recover fastest are the ones with good backups.
Quick check
What makes a worm different from a virus?
Let’s take it slower
Picture troublemakers getting into a school. A virus hides in someone’s backpack and spreads when the backpack is shared. A worm climbs through any unlocked window, room to room, by itself. A Trojan shows up dressed as a pizza delivery. Ransomware locks every classroom and demands money for the keys. Locking the windows (updates), checking deliveries (careful downloads) and keeping spare keys (backups) stops most of them.
More examples
The free mod that wasn’t
A kid downloads a free skin mod for a popular game from a site nobody’s heard of. It works, and it also quietly installs a Trojan that grabs game account passwords. Mods from well-known community sites are much safer.
A worm in 2017
A worm spread worldwide through a Windows security hole that already had a fix. Computers that had installed updates weren’t affected.
Back to the question
So what’s the difference?
Show the answer
A virus rides inside other programs, a worm spreads on its own, a Trojan wears a disguise and ransomware holds files hostage. All malware. Grandma Ruth’s old laptop had a fake virus warning from Module 1, which was really a scam page trying to scare her into calling a number. The defense for all of it is the same short list. That’s next.
One last question
Mark calls every bad program a virus. Who sets him straight?
Talk Card
Talk Card · 23.3
Malware gets in by riding in other programs, spreading through holes, or wearing a disguise. Once in, some of it holds your files hostage. Updates close the holes, and backups take the hostage away.
How Computers Work · pettigrewlab.com/learn



