Best Laptop Price

Security guide from the film Every Computer Virus Explained

Every computer virus explained, by the real attack behind each one.

In May 2017 one piece of code hit two hundred thousand victims in a hundred and fifty countries, and what stopped it cost ten dollars and sixty-nine cents. It was one kind of malware out of twenty. Here are all twenty: how each gets in, how it hides, what it wants, and the move that beats it.

  • 20 types each with a real attack
  • 46 pictures from our own film
  • Every fact sourced list at the end
  • Updated 22 November 2026
Watch the film: Every Computer Virus Explained in 17 Minutes on the Chip to Cloud channel. Or read it below, picture by picture.

Ten dollars and sixty-nine cents

In May 2017, one piece of code hit two hundred thousand victims in a hundred and fifty countries. What stopped it spreading cost ten dollars and sixty-nine cents.

Lock, the purple ransomware creature, frozen mid-leap on top of the globe with a $10.69 price tag on his head
Lock, our ransomware character, stopped dead by a $10.69 price tag.
A hospital with a padlock on its door and ambulances turning away
One hospital trust in three in England was hit.

In England it reached one hospital trust in three. An estimated nineteen thousand appointments were cancelled, and five emergency departments sent their ambulances somewhere else.

200,000victims in 150 countries
19,000NHS appointments cancelled
$10.69what stopped it spreading

And here's the strange part. It should never have worked at all: the fix was already out. That was WannaCry, and it is only one kind of malware. There are nineteen more. The answer to why it worked comes at the end.

Virus or malware? One word, three questions

One correction first. People call all of this a virus. A virus is only one of the twenty. The family name is malware: any software written to harm you.

A crowd of colourful cartoon creatures all pointing at the pink spiky virus character, who points at herself, puzzled, under the word VIRUS?
Everyone calls it a virus. The virus is only one of the twenty.

And every piece of malware answers three questions. How do I get in? How do I hide? What do I want? This guide follows them in that order: six ways in, three ways to hide, and eleven things it wants. Start at the door.

  • Gets in (6)Virus, macro virus, worm, trojan, poisoned update, zero-click.
  • Hides (3)Rootkit, firmware implant, fileless malware.
  • Wants (11)Your data (keylogger, infostealer, spyware), your machine (remote access trojan, botnet, cryptojacker), your money (adware, scareware, ransomware), or just to break things (wiper, logic bomb).

How it gets in: six doors

01 / 20 Virus rides on what you run

The virus that was signed

The virus hides inside something you run, a program or a disk, and it can only travel when a person carries it.

Vira, the pink virus character, curled up inside a blue floppy disk on a shop street
Brain travelled on floppy disks, hand to hand.
Vira proudly holding up a small business card
Its authors left their names, address and phone numbers in the code.

The first one for the PC came out of Lahore, Pakistan, in 1986. Two brothers wrote it and called it Brain. It rode on floppy disks. And inside the code they left their names, the address of their shop, and their phone numbers. They signed it. Nobody has been that polite since.

What beats it

It hasn't changed: don't run what you didn't ask for, and let an antivirus look at it first.

02 / 20 Macro virus hides in a document

Melissa: "Important message from" a friend

The macro virus doesn't hide in a program. It hides in a document. In 1999, a Word file called Melissa began arriving by email, and the subject line read: Important message from, followed by the name of someone you knew.

Doc, the document character, laughing beside fifty small red padlocks
Open it, and it mailed itself to the first fifty people in your address book.

Open it, and a small program inside the document, a macro, mailed a copy to the first fifty people in your address book. Its author admitted to more than eighty million dollars in damage, and was sentenced to twenty months in federal prison.

What beats it

Since 2022, Office blocks macros in any file that came from the internet. So when a document asks you to enable content, the answer is no.

03 / 20 Worm needs nothing from you

Slammer: 75,000 servers in ten minutes

A worm needs nothing from you. No click, no file, no mistake. It finds a hole in a computer that's online, climbs in, and uses that computer to look for the next one.

Wriggle, the green worm, squeezing through a hole in an old computer's case
No click needed: the worm climbs through a hole.
Wriggle curled up tight inside one small wrapped parcel
Slammer fit inside a single network packet.

In 2003, a worm called Slammer fit inside a single network packet. In its first minute, the number of infected servers doubled every eight and a half seconds. Ten minutes in, it had more than seventy-five thousand.

And the hole it used had been fixed six months earlier. The update existed. Too many servers hadn't installed it. Hold on to that.

Patch, the small knight with a green shield, standing by a server with a calendar showing six months
Patch, our knight, had the fix six months before the worm came.

What beats it

Install updates. A worm only gets into computers with an unpatched hole.

04 / 20 Trojan you open the door

Emotet: the door that was rented out

The trojan doesn't break in at all. You open the door, because it looks like something you wanted. An invoice. A delivery note. A free app.

Horace, the wooden trojan horse on wheels, holding flowers at an open front door
The trojan comes to the door with flowers.
Horace in a doorman's cap at an open door, a queue of other creatures waiting to pay to pass
Emotet rented its door to other gangs.

Emotet started in 2014 as a banking trojan. Then its owners found a better business. They rented out the door. Other gangs paid to send their own malware through it, ransomware included.

Europol called it the world's most dangerous malware. In 2021, police from eight countries took over its servers. Then they used Emotet's own update system to send one last update: the one that deleted it.

What beats it

An attachment you didn't expect is a question. Ask the sender some other way.

05 / 20 Poisoned update the door you were told to trust

SolarWinds, and the half second that saved Linux

The fifth door is the one you were told to trust: the update. In 2020, attackers hid a backdoor inside updates for SolarWinds Orion, software that companies and governments use to watch their own networks. Fewer than eighteen thousand customers installed it. Every one of them was doing the right thing.

Zip, the yellow folder character, unzipping his front to show a tiny back door inside
A backdoor hidden inside a real update.

In 2024 it nearly happened to Linux. Someone spent more than two years earning trust on a small tool called xz, then slipped a backdoor into it. One engineer noticed that his logins had become slower: three tenths of a second before, eight tenths after. He went looking for the missing half second, and found the backdoor before it reached most stable Linux releases.

A hand holding a stopwatch reading 0.3 seconds
Logins took 0.3 seconds, then 0.8.
A magnifying glass held over Zip, who looks shocked at being caught
The missing half second gave the backdoor away.

What beats it

Update anyway. The fix comes down the same road the attack did.

06 / 20 Zero-click a door with no handle

Pegasus: nobody tapped it

And the last door has no handle. In 2021, researchers at the Citizen Lab examined a Saudi activist's iPhone and found Pegasus: spyware that an Israeli company, NSO Group, sells to governments. It had arrived as an image in an iMessage. Nobody tapped it. Nobody had to.

Ping, the envelope character, wearing wings like Pegasus
Pegasus arrived as a picture in a message.
Ping flicking on a tiny microphone and camera like light switches
Once in, it could switch on the microphone and the camera.

Once it's in, Pegasus can read your messages and switch on the microphone and the camera. Apple closed the hole six days after the report.

What beats it

Update your phone the day the update arrives. There is no click to avoid, so the fix is all you have.

How it hides: three ways

Getting in is half the job. The other half is not getting caught.

07 / 20 Rootkit makes the system lie

The rootkit from a record label

A rootkit changes the system itself, so the system lies about what's running. And the most famous one didn't come from a criminal. It came from a record label.

Root, the plant character, growing out of a laptop's disc tray beside a music CD
In 2005, music CDs installed it on Windows PCs.
Root draping a leaf over a stack of files so they vanish
It hid every file whose name began with $sys$.

In 2005, music CDs from Sony BMG quietly installed copy protection on Windows PCs. A researcher, Mark Russinovich, found it on his own machine. It hid every file whose name began with one short code, $sys$. Which meant any other malware could borrow that code and vanish too. Sony recalled the discs and settled with the Federal Trade Commission.

What beats it

Scan from outside the running system, from a rescue disk or another computer. The system inside can't be trusted.

08 / 20 Firmware implant lives under Windows

LoJax: still there after a new hard drive

Go one level down. Under Windows there is firmware: the code on a chip on your motherboard that runs before anything else does. In 2018, the security company ESET found the first rootkit living there in a real attack, and named it LoJax.

Bios, the green chip character, sitting on a motherboard and waving
It lives in the motherboard's firmware, not on the drive.
Patch with his shield beside a ticked card, Bios looking worried with an unsigned ticket
Secure Boot turns away startup code that isn't signed.

Reinstall Windows, and it's still there. Replace the hard drive, and it's still there. It was never on the drive.

What beats it

Secure Boot, which only lets signed startup code run. LoJax wasn't signed. Leave Secure Boot on in your PC's settings.

09 / 20 Fileless malware brings nothing at all

Volt Typhoon: five years with Windows' own tools

The deepest way to hide is to bring nothing at all. A fileless attack uses the tools already built into Windows, like PowerShell. Nothing new lands on the disk. So a scanner looking for a bad file finds no file.

Boo, the ghost character, floating over power lines with a cup of tea, making himself at home
At home inside US infrastructure for at least five years.

America's cyber defence agency says a Chinese state-backed group, Volt Typhoon, stayed inside some US infrastructure networks this way for at least five years.

What beats it

This one is for companies to fix: record what those built-in tools do, and chase anything strange.

What it wants: eleven goals

So it's in, and it's hidden. What does it want? One of four things. Your data. Your machine. Your money. Or just to break things.

10 / 20 Keylogger your data

The £200 million keylogger

A keylogger records every key you press. In 2004, thieves had one put on computers in the London office of the bank Sumitomo Mitsui, by someone on the inside, at night. It recorded the logins, and they tried to wire more than two hundred million pounds to twenty accounts in ten countries. The bank's own staff caught it, and the bank says it lost nothing.

Keys, the yellow key character, sitting on a keyboard writing down every key in a notebook
A keylogger writes down every key you press.
Keys pushing a wheelbarrow of money across a world map towards many small doors
More than £200 million, aimed at twenty accounts in ten countries.

11 / 20 Infostealer your data, in seconds

Lumma: malware by subscription

An infostealer is faster. It takes your saved passwords, your cards, your bank logins and your crypto wallets, in seconds. One of them, Lumma, was rented out by the month, like a streaming service. In two months of 2025, Microsoft counted three hundred and ninety-four thousand infected Windows PCs.

Slurp, the teal vacuum-cleaner character, hoovering up cards and passwords into his sack
Saved passwords, cards and wallets, in one pass.
Keys and Slurp at a door holding a stolen key, looking at each other because a second lock needs a phone
A stolen password alone no longer opens the door.

What beats both

Turn on two-step sign-in, so a stolen password isn't enough by itself.

12 / 20 Spyware stays, and watches

The spyware that told jokes

Spyware stays, and watches. And sometimes it's charming. If you used a PC in the early 2000s, you may remember a purple gorilla on the desktop who told jokes: BonziBuddy. He was also collecting personal details from children, without asking their parents. The Federal Trade Commission fined his maker seventy-five thousand dollars.

Shades, the spy in a trench coat and sunglasses, with a speech bubble, standing in a waiting room
Shades plays the charming one. Free is not always free.

13 / 20 Remote access trojan your machine

Blackshades, and the lens above your screen

A remote access trojan gives a stranger your screen, your files, and your webcam. Look at the small lens above your screen for a second.

Hood, the hooded skull character, looking out through a laptop's webcam lens
A stranger behind your own webcam.
Patch sticking a square of tape over a computer's webcam while Hood looks on
The cheapest security you'll ever buy.

One of these tools, Blackshades, was on more than half a million computers in over a hundred countries. In 2014, police in sixteen countries made ninety-seven arrests. A lens cover is the cheapest security you'll ever buy.

14 / 20 Botnet thousands of machines, one command

Mirai: 62 passwords that took down Twitter and Netflix

Put thousands of captured machines under one command, and you have a botnet. In 2016, Mirai built one out of cameras, routers and video recorders. It didn't need a hole. It tried sixty-two usernames and passwords: the ones those devices shipped with.

Keys smiling beside rows of 62 small padlocks
62 factory passwords were enough.
Swarm, the storm-cloud character, raining thousands of tiny devices onto a signpost
Thousands of devices aimed at one company.

That October it aimed them at Dyn, a company that tells browsers where websites live, and for hours Twitter, Netflix and Reddit wouldn't load for many people in the US.

What beats it

Change the password on everything you plug in: cameras, routers, recorders.

15 / 20 Cryptojacker your electricity

The fan that roars on a quiet page

Some malware only wants your electricity. A cryptojacker mines cryptocurrency on your processor, for someone else. Coinhive was a script that websites ran in your browser while you read. The giveaway is a fan roaring on a page that's doing nothing.

Coins, the purple money-bag character, swinging a pickaxe on a computer chip as gold coins fall
Mining on your processor, for someone else.

What beats it

Close the tab. Firefox now blocks known miners by default.

16 / 20 Adware your money, through ads

Superfish: already installed

Adware gets paid to show you ads, and the worst of it came already installed. Some new Lenovo laptops shipped with Superfish, which broke into encrypted connections to slide its own ads into the page.

Buzz, the bee character, prying open the padlock on a web page with his stinger
It broke the padlock on secure pages to slip ads in.

17 / 20 Scareware sells you fear

The fake scan that fooled a million people

Scareware sells you fear. A window pops up, runs a fake scan, finds infections that aren't there, and sells you the fix. One operation fooled more than a million people, and a US court ordered one of its executives to pay more than a hundred and sixty-three million dollars.

Panic, the angry red computer-screen character, holding out a price tag and a bottle labelled fix
The fix it sells is for infections that aren't there.

What beats it

A real antivirus never sells to you from a pop-up in your browser. Close the tab.

18 / 20 Ransomware sells you your own files

Colonial Pipeline, and how WannaCry was stopped

Ransomware locks your files with encryption, then sells you the key. In 2021 it reached Colonial Pipeline, the largest fuel pipeline in the United States. The company shut the pipeline down and paid about seventy-five bitcoin. The FBI followed the money and took back sixty-three point seven.

Lock sitting on a valve of a long blue fuel pipeline across a map, cars queueing
The largest fuel pipeline in the US, shut down.

Which brings us back to WannaCry. It was ransomware with a worm inside, and that's why it moved so fast. But its code carried a strange instruction. Before spreading, it checked whether one long, nonsense web address existed. A researcher found the address in the code and registered it. Ten dollars and sixty-nine cents. From that moment the address existed, and the worm stood down.

Lock with Wriggle the worm riding inside him
WannaCry was ransomware with a worm inside.
Lock knocking on a door floating in the sky before each leap
Before each leap it asked: does this address exist?
Patch putting a copy of the photos into a safe on a high shelf that Lock can't reach
A backup it can't reach.

What beats it

A backup it can't reach: one copy offline, or in a cloud that keeps old versions. Then a ransom note is a bad day, and nothing worse.

19 / 20 Wiper just to break things

NotPetya: a wiper wearing a ransom note

Last, the ones that want nothing from you. In 2017, NotPetya looked like ransomware. It asked for bitcoin. But nothing could be recovered. It was a wiper wearing a ransom note.

Smash, the red horned character, laughing, with a dropped cardboard mask at his feet
The mask drops: there was never a key to buy.
Office towers with cracks and a pile of money crumbling
Nearly a billion dollars lost by three companies alone.

It began inside an update for Ukrainian accounting software, and spread across the world. The US later charged six Russian military intelligence officers, and said three companies alone lost nearly a billion dollars.

20 / 20 Logic bomb waits for a date

The spreadsheets built to break

A logic bomb sits quietly and waits for a date. A contractor wrote spreadsheets for Siemens that were built to break after a set day. When they did, Siemens called him back, and paid him to fix them. He got six months in prison and a seven thousand five hundred dollar fine.

Tick, the black bomb character, watching wall calendars with its fuse waiting
Quiet until the calendar reaches its day.

The team-up: Stuxnet

And at the very top, the cyberweapon. It has no place in the line-up of twenty, because it was several of them working together: it spread like a worm, hid like a rootkit, and broke things like a wiper.

Root the plant and Wriggle the worm standing side by side as a team
Not one type, but a team.
Smash pushing a spinning metal cylinder faster and faster
Centrifuges spun too fast, then too slow.

Stuxnet used four holes that nobody had found yet. It travelled on USB sticks, hunting for one kind of factory controller. It found them at Natanz, Iran's enrichment plant. There it made the centrifuges spin too fast, then too slow, while the control room screens went on showing normal. Researchers estimate about a thousand centrifuges had to be replaced.

Four habits, and two months

That's all twenty. Now look at what beat them, because it's a much shorter list.

  1. Strong passwords and two-step sign-in. A different password for every account. That shuts out Mirai, and makes a stolen password worth far less.
  2. Think before you click. Melissa, Emotet and every trojan since needed someone to open the door.
  3. Keep one backup offline. Ransomware and wipers lose most of their hold on you.
  4. Update. The dull one. Slammer's hole had been fixed for six months.
Slurp and Keys at a desk where Patch has stamped their file with a green tick
Each habit closes the file on several types at once.

And WannaCry? Microsoft fixed the hole it used on the fourteenth of March, 2017. WannaCry arrived on the twelfth of May. Two months. The computers it locked were the ones that hadn't taken that update, or ran a Windows too old to receive it.

An open book showing a calendar page with a big 14, Lock grinning beside it
The fix: 14 March 2017.
A row of computers; the ones with an unopened update box wear Lock's padlocks
It only locked the computers that skipped it.

Four habits won't stop all twenty. But they close the door on most of them: fourteen of the twenty in our line-up. WannaCry was stopped by ten dollars and sixty-nine cents. It could have been stopped two months earlier, by an update that cost nothing.

The machine all of this runs on

Every part inside a PC, what it does and what to upgrade first, pictured from our film.

Every PC part explained

All 20 at a glance

TypeWhat it doesThe real caseWhat stops it
VirusRides inside a program or disk you runBrain, 1986Run only what you asked for; antivirus
Macro virusHides in a document's macroMelissa, 1999Never enable content
WormClimbs through holes, no click neededSlammer, 2003Updates
TrojanLooks like something you wantedEmotet, 2014 to 2021Check unexpected attachments
Poisoned updateRides a trusted updateSolarWinds 2020, xz 2024Update anyway
Zero-clickGets in with no tap at allPegasus, 2021Update the day it arrives
RootkitMakes the system lieSony BMG, 2005Scan from outside
Firmware implantLives in the motherboardLoJax, 2018Secure Boot
FilelessUses Windows' own toolsVolt TyphoonCompanies watch the tools
KeyloggerRecords every keySumitomo Mitsui, 2004Two-step sign-in
InfostealerGrabs saved passwords and cardsLumma, 2025Two-step sign-in
SpywareStays and watchesBonziBuddyThink before you install
Remote access trojanYour screen, files and webcamBlackshades, 2014Lens cover; don't open strangers' files
BotnetYour device under someone's commandMirai, 2016Change default passwords
CryptojackerMines coins on your processorCoinhiveClose the tab; a browser that blocks miners
AdwarePaid to show you adsSuperfish, 2014The maker's doing
ScarewareFake scan, real billInnovative MarketingIgnore browser pop-ups
RansomwareLocks files, sells the keyWannaCry 2017, Colonial 2021Offline backup; updates
WiperDestroys, sometimes behind a ransom noteNotPetya, 2017Offline backup
Logic bombWaits for a date, then breaksSiemens spreadsheetsAn insider's doing

Questions

What is the difference between a virus and malware?

Malware is the family name for any software written to harm you. A virus is one of about twenty kinds: it hides inside a program or a disk you run and only travels when a person carries it. Worms, trojans, ransomware and spyware are malware too, but they are not viruses.

What are the main types of malware?

Sorted by the three questions every piece of malware answers. Getting in: virus, macro virus, worm, trojan, poisoned update and zero-click exploit. Hiding: rootkit, firmware implant and fileless malware. What it wants: keylogger, infostealer, spyware, remote access trojan, botnet, cryptojacker, adware, scareware, ransomware, wiper and logic bomb.

Can malware survive reinstalling Windows?

A firmware implant can. LoJax, found by ESET in 2018, lived in the motherboard's UEFI firmware, so it survived a Windows reinstall and even a new hard drive. Secure Boot stops it, because it only lets signed startup code run and LoJax was not signed.

How was WannaCry stopped?

Before spreading, WannaCry checked whether one long nonsense web address existed. A researcher found the address in its code and registered it for $10.69, and from that moment the worm stood down. Microsoft had already fixed the hole it used two months earlier, on 14 March 2017.

What is the best protection against ransomware?

A backup it can't reach: one copy offline, or in a cloud that keeps old versions, so a ransom note is a bad day and nothing worse. Then keep Windows and your apps updated, because WannaCry only locked computers that had not taken a two-month-old update.

Sources

  • WannaCry: Europol director Rob Wainwright, 14 May 2017 (200,000 victims, 150 countries); Marcus Hutchins (MalwareTech), 13 May 2017 (the $10.69 domain); UK National Audit Office, Investigation: WannaCry cyber attack and the NHS, October 2017; Microsoft Security Bulletin MS17-010, 14 March 2017.
  • Brain: Mikko Hypponen (F-Secure), Brain: Searching for the first PC virus in Pakistan, 2011.
  • Melissa: FBI NIPC testimony to Congress, April 1999; CERT/CC advisory CA-1999-04; US Department of Justice, 1 May 2002; Microsoft Learn, Macros from the internet are blocked by default in Office.
  • Slammer: Moore, Paxson, Savage, Shannon, Staniford and Weaver, Inside the Slammer Worm, IEEE Security and Privacy, 2003; Microsoft Security Bulletin MS02-039, July 2002.
  • Emotet: Europol and Eurojust, 27 January 2021; Malwarebytes on the removal update of 25 April 2021.
  • SolarWinds: SolarWinds Form 8-K, 14 December 2020; CISA Emergency Directive 21-01. xz: Andres Freund, oss-security list, 29 March 2024; CVE-2024-3094; Russ Cox, Timeline of the xz open source attack.
  • Pegasus: Citizen Lab, FORCEDENTRY, 13 September 2021; Apple security content of iOS 14.8 (CVE-2021-30860).
  • Sony BMG: Mark Russinovich, Sony, Rootkits and Digital Rights Management Gone Too Far, 31 October 2005; Halderman and Felten, USENIX Security 2006; FTC settlement, January 2007.
  • LoJax: ESET, LoJax: First UEFI rootkit found in the wild, 27 September 2018, and its white paper.
  • Volt Typhoon: CISA and partners, advisory AA24-038A, 7 February 2024.
  • Sumitomo Mitsui: eWeek, 17 March 2005, and The Register, 13 April 2005. Lumma: Microsoft On the Issues, 21 May 2025.
  • BonziBuddy: FTC press release, 18 February 2004. Blackshades: US Attorney, Southern District of New York, 19 May 2014; Europol and Eurojust, 19 May 2014.
  • Mirai: Antonakakis et al., Understanding the Mirai Botnet, USENIX Security 2017; Dyn's statement of 22 October 2016. Coinhive: its own notice, February 2019; Mozilla, Firefox 69.
  • Superfish: FTC, Lenovo Settles FTC Charges, September 2017. Scareware: FTC v. Innovative Marketing, 2012, upheld by the Fourth Circuit in 2014.
  • Colonial Pipeline: US Department of Justice, 7 June 2021. NotPetya: Cisco Talos, The MeDoc Connection, July 2017; US Department of Justice, 19 October 2020. Logic bomb: US Attorney's Office, Western District of Pennsylvania, December 2019.
  • Stuxnet: Falliere, O Murchu and Chien, W32.Stuxnet Dossier, Symantec, February 2011; Institute for Science and International Security, 22 December 2010.
  • The habits: CISA, Secure Our World, and the CISA #StopRansomware Guide.