Find a course

Module 4: Devices, Browsing and NetworksLesson 8 of 1212 min

Updates, Backups and Device Security

Learn why updates are urgent, what zero-days and end-of-life mean, how to lock and encrypt devices, and how the 3-2-1 backup rule beats ransomware.

Step 1 of 12Learn

The patch that was already out

In May 2017, the WannaCry ransomware worm hit hundreds of thousands of computers in about 150 countries. It shut down parts of the UK's National Health Service, forcing hospitals to cancel appointments and divert ambulances. It spread through a flaw in older versions of Windows.

The painful detail: Microsoft had released a security update fixing that flaw about two months earlier. The computers that were hit were mostly the ones that hadn't installed it, or were running versions of Windows so old they no longer received updates by default.

That's the pattern behind a large share of attacks. A vulnerability is a flaw in software that an attacker can exploit. When a vendor discovers one, it releases a patch (security update). The moment a patch is published, attackers can study it to work out the flaw and target everyone who hasn't updated yet. The gap between "patch available" and "patch installed" is where much of the damage happens.

A zero-day is a vulnerability attackers exploit before the vendor has a fix, so defenders have had "zero days" to respond. Zero-days get headlines, but ordinary attacks on known, already-patched flaws are far more common. Installing updates promptly closes most of those doors.

Step 2 of 12Timeline

WannaCry: the patch came first

  1. March 2017
    Microsoft releases a security update

    The update fixes the Windows file-sharing flaw that WannaCry would later use.

  2. April 2017
    Attack tools leak publicly

    Code exploiting the flaw is published online, so any criminal can use it.

  3. May 12, 2017
    WannaCry spreads worldwide

    The worm hits hundreds of thousands of unpatched computers in about 150 countries, including UK hospitals.

  4. Same week
    Patched computers are unaffected

    Machines that had installed the March update were not vulnerable to this spreading method.

Step 3 of 12Practice · True or false

Most successful attacks exploiting software flaws use zero-day vulnerabilities that have no patch available.

Step 4 of 12Learn

Update everything, including the boring stuff

Good update habits:

  • Turn on automatic updates for your operating system, browser and apps. Restart when asked; many updates don't take effect until you do.
  • Don't forget the less obvious devices: your home router, smart TV, printer, security cameras and phone apps. Routers in particular often run old firmware for years.
  • Retire end-of-life software. When a product reaches end of life, the vendor stops releasing security updates. An old phone that no longer gets updates, or an unsupported version of Windows, will accumulate known holes that never close.
  • Update from the source. Use the device's built-in update system or the official app store. A pop-up on a website saying "Your browser is out of date, click to update" is a classic way to deliver malware.

At work, IT usually manages updates centrally. Your job is to not postpone restarts for weeks and to tell IT if a device stops receiving updates.

Beyond updates, a few settings protect a device if it's lost or stolen: a screen lock with a decent PIN or biometric, full-disk encryption (built into modern Windows, macOS, iOS and Android, sometimes needing to be switched on) so a thief can't read the drive, and find and remote-wipe features turned on.

Everything with software needs updatesUpdate everythingOSBrowserAppsRouterTV, printercameras

Step 5 of 12Practice · Select all that apply

Which devices and programs need security updates? Select all that apply.

Select all that apply.

Step 6 of 12Learn

Backups: your ransomware insurance

Ransomware, a failing hard drive, a spilled coffee and a stolen laptop all lead to the same question: can you get your files back? A backup is a separate copy of your data you can restore from. Without one, ransomware leaves you two bad options: lose your files or pay criminals with no guarantee they'll deliver.

The classic guideline is the 3-2-1 rule:

  • 3 copies of your important data (the original plus two backups),
  • on 2 different types of storage (for example, your laptop and an external drive or cloud service),
  • with 1 copy offsite, away from your home or office.

Modern ransomware tries to find and encrypt backups too, so many experts add that one copy should be offline or immutable: an external drive that's unplugged after each backup, or a cloud backup with versioning that can't be overwritten by your devices.

Two mistakes are common. First, assuming cloud sync is a backup. If ransomware encrypts files in a synced folder, the encrypted versions sync too; you need version history to roll back. Second, never testing. A backup you've never restored from is a hope, not a plan. Try restoring a file every few months.

The 3-2-1 backup rule: three copies, two types of storage, one offsiteOriginallaptopBackup 1external drive,unplugged afterBackup 2cloud withversion history3 copies, on 2 storage types1 offsiteTest a restore every few months

Step 7 of 12Note

Step 8 of 12Practice · Work it out

Under the 3-2-1 backup rule, how many copies of your important data should exist in total, including the original?

Step 9 of 12Practice · Sort into groups

Does each setup satisfy the 3-2-1 rule?

Tap an item, then tap its group (or drag it there).

Step 10 of 12Note

Step 11 of 12Practice · What would you do?

What would you do?

A pop-up appears while Mei is reading a news site: "CRITICAL: Your browser is out of date and infected! Click here to download the security update now." What should she do?

Step 12 of 12Practice · Choose one

Why does using a phone that no longer receives security updates increase risk over time?