Cyber basics · Lesson 5 of 6
Malware, updates & backups
What viruses, ransomware, spyware and infostealers are, how malware gets onto devices, and the simple habits that stop it: updates, backups and smart installs.
⏱ 16 min🎯 Beginner🧪 Hands-on✅ 4-question quiz🎬 Video✓ Completed
By the end, you’ll be able to…
- Describe the main types of malware in plain words
- Explain the most common ways malware gets onto a device
- Set up the defences that matter most: updates, safe installs and 3-2-1 backups
Key words
- Malware
- Malicious software: any program built to harm, spy on or take over a device.
- Ransomware
- Malware that locks or encrypts your files and demands payment.
- Infostealer
- Malware that grabs saved passwords, browser cookies and crypto wallets, then sends them to an attacker.
- Trojan
- Malware disguised as something useful, like a free game, a mod or a ‘cracked’ app.
- Patch
- An update that fixes a bug, often a security vulnerability.
- 3-2-1 backup
- 3 copies of your data, on 2 different kinds of storage, with 1 kept somewhere else.
Malware is just software with bad intentions
There’s nothing magic about malware. It’s a program, written by a person, that does something you didn’t agree to. The names describe what it does or how it spreads:
- Virus: attaches itself to other files and spreads when they’re shared. (People often say “virus” for all malware.)
- Worm: spreads by itself across a network, often through an unpatched vulnerability.
- Trojan: pretends to be something you want: a free game, a mod, a “cracked” app, a fake update.
- Ransomware: encrypts your files and demands payment. Paying doesn’t guarantee you get them back.
- Spyware and infostealers: quietly collect passwords, browser cookies, messages or crypto wallets. Stolen login cookies can let an attacker into your accounts without even needing your password.
- Adware and PUPs (potentially unwanted programs): flood you with ads or change your browser settings. Less dangerous, but still unwanted.
How malware gets in
- Baitfree game, mod, crack, fake update
- You download itor open an attachment
- It runsoften asking for extra permissions
- It digs instarts with the computer, hides
- It phones homesends data, waits for orders
Notice the human step in the middle. Most malware needs you to run it. That’s good news, because your habits are a strong defence.
The big doors are:
- Downloads from unofficial places: cracked software, “free” paid games, random mod sites and YouTube-comment links are favourite hiding spots for infostealers.
- Email and chat attachments: invoices, “photos”, ZIP files from people you don’t know (or from friends whose accounts were hacked).
- Unpatched software: an old browser, OS or plugin with a known vulnerability.
- Fake updates and pop-ups: “Your Flash Player is out of date!” on a random website. Real updates come from the app or the OS itself.
Defence in depth: layers, not one magic tool
- Youpause before installing, opening or clicking
- UpdatesOS, browser and apps patched automatically
- Built-in protectionMicrosoft Defender, macOS Gatekeeper/XProtect, Google Play Protect
- Least privilegeeveryday account isn’t an administrator
- Backupsif everything else fails, you can still recover
You don’t need to buy a fancy antivirus to be well protected. The protection built into Windows, macOS, Android and iOS is solid, as long as it’s switched on and your device is up to date.
Updates: the boring superpower
When a vulnerability is fixed, attackers can study the fix to work out what was broken. After that, they hunt for devices that haven’t updated yet. So:
- Turn on automatic updates for your OS, browser and apps.
- Restart when asked. Many updates only take effect after a restart.
- Replace devices that no longer get security updates, like very old phones or routers.
Backups: the ransomware antidote
If ransomware hits, or your laptop dies, or you drop your phone in a lake, a backup turns a disaster into an inconvenience. The classic rule is 3-2-1:
- 3 copiesthe original + 2 backups
- 2 kinds of storagee.g. laptop + external drive
- 1 off-sitecloud, or a drive at a relative’s
And test it! A backup you’ve never restored from is a hope, not a backup.
Think you’re infected?
- Disconnect from the internet (turn off Wi-Fi) to stop data leaving.
- Run a full scan with your built-in protection.
- From a different, clean device, change your important passwords (email first) and sign out of other sessions. Infostealers often grab saved logins.
- If you’re not sure it’s clean, back up your personal files and reinstall the operating system. Ask an adult or your IT team for help: it’s what they’re there for.
🧪 Hands-on
Practice
Is each situation probably safe, or suspicious? Sort them, then read why.
🎬 Watch
Video: The Internet: Cybersecurity & Crime
Video by Code.org, hosted on YouTube. It loads only when you press play.
✅ Check yourself
Quick quiz
Every answer comes with an explanation, right or wrong. Your best score is saved in this browser.
🔗 Go further
Trustworthy resources
- CISA: Secure Our World Official US guidance on updates, passwords, MFA and phishing.
- UK NCSC: Top tips for staying secure online Clear advice from the UK’s National Cyber Security Centre.
- NCSC: Mitigating malware and ransomware attacks How organisations defend against ransomware.