Beginner Foundations · lesson 4 · 2026-11-16
How 7 Famous Computer Viruses Got In (and What Stops Them)
Before you start
- No IT or security experience needed. The only hands-on step (showing file name extensions) takes ten seconds in File Explorer on Windows or Finder on a Mac.
- Every newspaper, website, company and person on screen is an original drawing; the only recording is a sealed practice virtual machine, and no real malware was used or run.
- Figures (WannaCry’s spread, ILOVEYOU’s reach, CryptoLocker and NotPetya damage) are estimates from public reporting.
Seven of the most dangerous computer viruses ever, the exact door each one used to get in, and the one habit that would have slammed it shut. By the end you have seven locks for your own computer.
May twelfth, twenty seventeen. A Friday. Across about a hundred and fifty countries, screens like this one start showing up. Hospitals. Train stations. Car factories. About two hundred thousand computers in one weekend.
And here’s the part nobody tells you. Most of those computers never clicked a thing. The worm walked in through a door that Microsoft had already locked, with a free update, two months earlier. People just hadn’t installed it.
That’s the secret behind every famous computer virus. It doesn’t matter how scary the screen looks. Each one needed a way in. Today you’ll see seven of the most dangerous computer viruses ever, the exact door each one used, and the one habit that would have slammed it shut. By the end, you’ll have seven locks for your own computer.
Think of your computer as a building with a lot of doors. A mailbox for email. A side door for things you plug in. A delivery entrance for software updates. A front door with a password. Most days, only friendly stuff comes through. Malware is anything that sneaks through one of those doors and does something you never agreed to.
Door number one: the mailbox. May fourth, two thousand. Millions of people open their email and find a message with the subject line, I love you.
Attached is a file called love letter for you dot TXT. A text file. Harmless, right? Except the real name had one more piece on the end: dot VBS. A script. Windows hid that last part by default, so the heart was wearing a costume.
Open it, and the script mails itself to everyone in your address book, from you. Your friends trust you, so they open it too. Estimates say it reached about one in ten computers connected to the internet at the time. The most successful love letter in history, and a script wrote it.
Lock number one: turn on file name extensions, so you always see the real ending. A file that says it’s a document but ends in VBS, EXE, or JS is not a document. And an attachment you weren’t expecting gets a phone call before it gets a double click.
Door number two: the door you forgot to update. Back to WannaCry, our Friday from the start.
Windows has a built-in file sharing service, so computers on the same network can swap files. In twenty seventeen, that service had a flaw. A stolen hacking tool called EternalBlue could use it to walk in without a password, without a click, without anyone noticing.
Once inside, WannaCry locked the files, showed the ransom note, and then went looking for the next computer with the same unlocked door. That’s what makes it a worm. It spreads by itself.
It was slowed down by a researcher who noticed the worm checked a strange web address before it attacked. He registered that address for about ten dollars, and the worm took that as a sign to stand down. Cheapest emergency brake ever pulled.
Lock number two: install updates. The fix was out two months before the attack. The patch was ready. The computers just weren’t.
Door number three: the side door. Some computers are kept off the internet completely, on purpose. That’s called an air gap. Nuclear plants do this. So how do you get in?
You wait for someone to carry you in. Stuxnet, discovered in twenty ten, spread on USB sticks. Plug one in, and it slipped onto the machine.
It was hunting one very specific thing: the controllers that spin uranium centrifuges. When it found them, it made them speed up and slow down until they wore themselves out, while showing the operators readings that said everything was fine. By one widely cited estimate, around a thousand centrifuges had to be replaced.
It crossed an air gap the way most things do: in someone’s pocket. Lock number three: never plug in a USB stick you found, won at a conference, or got in the mail. If you didn’t buy it, it doesn’t go in.
Door number four: the fake invoice. CryptoLocker, twenty thirteen. An email from a delivery company. Or your bank. There’s an attachment, a missed package, an unpaid bill.
Open it, and CryptoLocker quietly locks every document, photo and spreadsheet it can reach, then puts up a clock. Pay in about three days, or the key is destroyed. It didn’t break your files. It locked them and sold you the key.
The FBI estimated victims paid about twenty seven million dollars in its first two months. It was finally taken down in twenty fourteen, when police seized the network behind it.
Here’s the twist. People who had a backup just shrugged, wiped the computer, and got their files back. But if the backup drive was still plugged in, it got locked too. A backup the ransomware can reach is just a second hostage.
Lock number four: keep a backup that’s unplugged, or in a cloud service with version history, so you can roll back to before the attack.
Door number five: the delivery entrance. This is the one that should scare you, because you’d have let it in too.
June twenty seventh, twenty seventeen. Thousands of Ukrainian companies get an update for their tax software, from the real company, through the real update server. Attackers had broken into that server first.
The update carried NotPetya. It looked like ransomware and asked for money, but it had no working way to give the files back. It was a wrecking ball wearing a ransom note. It spread across shipping giants, drug makers and banks worldwide. The White House later estimated the damage at more than ten billion dollars.
You can’t skip updates, so this lock is for the people running the network: split it into sections, so one infected computer can’t reach all the others, and keep those unplugged backups. For you at home, it’s the same lesson as lock four. The backup is what saves you.
Door number six: the front door with the key under the mat. Twenty sixteen.
Mirai went after security cameras and video recorders, the little boxes nobody thinks of as computers. It knocked on each one and tried a list of sixty two factory default logins. Username admin. Password admin. The cameras were very welcoming.
It built an army of hundreds of thousands of these devices, then aimed them all at once at one company that runs part of the internet’s address book. For hours, big sites went dark for a lot of people.
Lock number six: change the default password on anything you plug into your network. Cameras, routers, doorbells, printers. If it came with a password printed on a sticker, change it the day you set it up.
Door number seven: the fake update. Bad Rabbit, October twenty seventeen.
People reading news websites saw a pop-up: your Adobe Flash Player needs an update. Install now. Real-looking button. Real-looking logo.
But the news sites had been hacked, and the update was the ransomware itself. No clever trick needed. People downloaded it and ran it themselves.
Lock number seven: real updates come from the app itself, or from your system settings. Never from a pop-up on a website. If a site says you need to update something, close the tab, and check inside the app.
Pop quiz. Stuxnet attacked machines that weren’t connected to the internet at all. Which door did it use? Pause now if you want to think.
The side door. It came in on a USB stick, in someone’s pocket.
So here are your seven locks. Show file extensions, and be suspicious of surprise attachments. Install updates. Never plug in strange USB sticks. Keep an unplugged backup. Split the network, so one bad computer can’t reach all the rest. Change every default password. And only update from inside the app. Seven famous viruses, seven doors, and every one of those doors had a lock that already existed.
The cheat sheet with all seven locks is in the description, and the pinned comment shows how to turn on file extensions on Windows and Mac. If you want to see how these attacks look up close on a real network, the Wireshark episodes are linked below. This has been The Exploit HQ. Lock your doors.