Showing raw Markdown: the renderer could not load.
## Why this matters Your phone and laptop hold more than you think: photos, messages, saved logins, banking apps, work files. Losing one is annoying. Losing one to a thief, a virus or a broken disk, with nothing backed up and nothing protecting the contents, can be painful. The good news is that most of the protection comes from a few habits, and your devices already include most of the tools. In this lesson you learn what each habit protects you from and why it works. The activities then help you check your own device. ## Learning objectives - Explain why software updates matter and turn on automatic updates. - Plan backups with the 3-2-1 rule and explain how they protect against loss and ransomware. - Protect a device with a screen lock, encryption and antivirus or built-in protection. - Assess the risks of public Wi-Fi and unknown USB devices, and explain how to reduce them. ## Key concepts ### What is at stake Think of your device as your front door and your filing cabinet in one. Three things can go wrong: - **Loss of the device**: it is lost, stolen or broken. The danger is losing the data, and someone else reading it. - **Loss of control**: malicious software, called **malware**, gets in and spies on you or damages your files. - **Loss of access**: your files are locked or deleted, by a failure or by an attacker. Five habits cover almost all of this. <figure class="diagram" style="--dg-w: 1040px"><svg xmlns="http://www.w3.org/2000/svg" class="dg" viewBox="0 0 1040 320" width="1040" height="320" role="img" aria-labelledby="devices-habits-title devices-habits-desc" font-family="Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif" xml:lang="en"> <title id="devices-habits-title">Five habits that protect a device</title> <desc id="devices-habits-desc">Five cards around a laptop that holds your photos, messages and money. Update: close known holes in the system, apps and browser. Back up: keep copies you can restore if the device is lost or locked. Lock and encrypt: a screen lock and encryption keep a lost device private. Built-in protection: keep it on and install apps only from official stores. Careful connections: treat public Wi-Fi and unknown USB sticks with care.</desc> <rect class="dg-bg" x="0.5" y="0.5" width="1039" height="319" rx="16" fill="#ffffff" stroke="#e3e3dd"/> <rect class="dg-card" x="24" y="24" width="320" height="128" rx="12" fill="#ffffff" stroke="#cfcfc8"/> <g class="dg-l1"><g class="dg-icon" transform="translate(40 40) scale(1.2500)" fill="none" stroke="#0369a1" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8"/><path d="M21 3v5h-5"/><path d="M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16"/><path d="M8 16H3v5"/></g></g> <g class="dg-l1"><text x="82" y="61" font-size="15" class="dg-ink" fill="#0369a1" font-weight="700">Update</text></g> <text x="42" y="92" font-size="13" class="dg-muted" fill="#5c5c68" font-weight="500">Close known holes in the</text> <text x="42" y="112" font-size="13" class="dg-muted" fill="#5c5c68" font-weight="500">system, apps and browser</text> <rect class="dg-card" x="360" y="24" width="320" height="128" rx="12" fill="#ffffff" stroke="#cfcfc8"/> <g class="dg-l2"><g class="dg-icon" transform="translate(376 40) scale(1.2500)" fill="none" stroke="#15803d" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M22 12H2"/><path d="M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"/><path d="M6 16h.01"/><path d="M10 16h.01"/></g></g> <g class="dg-l2"><text x="418" y="61" font-size="15" class="dg-ink" fill="#15803d" font-weight="700">Back up</text></g> <text x="378" y="92" font-size="13" class="dg-muted" fill="#5c5c68" font-weight="500">Keep copies you can restore</text> <text x="378" y="112" font-size="13" class="dg-muted" fill="#5c5c68" font-weight="500">if the device is lost or locked</text> <rect class="dg-card" x="696" y="24" width="320" height="128" rx="12" fill="#ffffff" stroke="#cfcfc8"/> <g class="dg-l7"><g class="dg-icon" transform="translate(712 40) scale(1.2500)" fill="none" stroke="#6d28d9" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="11" width="16" height="10" rx="2"/><path d="M8 11V7a4 4 0 0 1 8 0v4"/></g></g> <g class="dg-l7"><text x="754" y="61" font-size="15" class="dg-ink" fill="#6d28d9" font-weight="700">Lock and encrypt</text></g> <text x="714" y="92" font-size="13" class="dg-muted" fill="#5c5c68" font-weight="500">A screen lock and encryption</text> <text x="714" y="112" font-size="13" class="dg-muted" fill="#5c5c68" font-weight="500">keep a lost device private</text> <rect class="dg-card" x="24" y="168" width="320" height="128" rx="12" fill="#ffffff" stroke="#cfcfc8"/> <g class="dg-l4"><g class="dg-icon" transform="translate(40 184) scale(1.2500)" fill="none" stroke="#c2410c" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"/></g></g> <g class="dg-l4"><text x="82" y="205" font-size="15" class="dg-ink" fill="#c2410c" font-weight="700">Built-in protection</text></g> <text x="42" y="236" font-size="13" class="dg-muted" fill="#5c5c68" font-weight="500">Keep it on; install apps</text> <text x="42" y="256" font-size="13" class="dg-muted" fill="#5c5c68" font-weight="500">only from official stores</text> <rect class="dg-card" x="360" y="168" width="320" height="128" rx="12" fill="#ffffff" stroke="#cfcfc8"/> <g class="dg-l3"><g class="dg-icon" transform="translate(376 184) scale(1.2500)" fill="none" stroke="#b45309" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M12 20h.01"/><path d="M2 8.82a15 15 0 0 1 20 0"/><path d="M5 12.86a10 10 0 0 1 14 0"/><path d="M8.5 16.43a5 5 0 0 1 7 0"/></g></g> <g class="dg-l3"><text x="418" y="205" font-size="15" class="dg-ink" fill="#b45309" font-weight="700">Careful connections</text></g> <text x="378" y="236" font-size="13" class="dg-muted" fill="#5c5c68" font-weight="500">Treat public Wi-Fi and unknown</text> <text x="378" y="256" font-size="13" class="dg-muted" fill="#5c5c68" font-weight="500">USB sticks with care</text> <rect class="dg-panel" x="696" y="168" width="320" height="128" rx="12" fill="#f0f0ec"/> <g class="dg-icon-neutral" transform="translate(712 184) scale(1.2500)" fill="none" stroke="#17171c" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M20 16V7a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v9m16 0H4m16 0 1.28 2.55a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45L4 16"/></g> <text x="754" y="205" font-size="15" class="dg-text" fill="#17171c" font-weight="700">Your device</text> <text x="714" y="236" font-size="13" class="dg-muted" fill="#5c5c68" font-weight="500">photos, messages, money</text> </svg></figure> *Figure 1. Five habits protect a device. None needs expert knowledge.* ### Updates: closing known holes Software is written by people, so it contains mistakes. A mistake that an attacker can use to do something they should not is called a **vulnerability**. Imagine a door lock that a few people discover can be opened with a paperclip. The maker designs a better lock, and you only benefit when you actually fit it. That is an **update**: the maker fixes the flaw and publishes the fix. Once the fix is public, it also tells attackers exactly where the old flaw was, so they hurry to attack people who have not updated yet. Updating promptly is therefore the single most effective habit. <figure class="diagram" style="--dg-w: 1040px"><svg xmlns="http://www.w3.org/2000/svg" class="dg" viewBox="0 0 1040 244" width="1040" height="244" role="img" aria-labelledby="devices-update-flow-title devices-update-flow-desc" font-family="Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif" xml:lang="en"> <title id="devices-update-flow-title">From a software flaw to a closed hole</title> <desc id="devices-update-flow-desc">Four numbered steps joined by arrows. 1, a flaw is found: a mistake in the software lets an attacker do something it should not. 2, a fix is released: the maker publishes an update and describes what it fixes. 3, you install it: automatic updates do this for you, usually overnight. 4, the hole is closed: attacks that used the flaw no longer work on your device. A note below warns that until you install the update the flaw stays open, and attackers know about it once the fix is public.</desc> <rect class="dg-bg" x="0.5" y="0.5" width="1039" height="243" rx="16" fill="#ffffff" stroke="#e3e3dd"/> <rect class="dg-card" x="24" y="24" width="222.5" height="124" rx="12" fill="#ffffff" stroke="#cfcfc8"/> <g class="dg-l1"><circle class="dg-solid" cx="46" cy="48" r="12" fill="#0369a1"/><text x="46" y="52.5" font-size="12.5" class="dg-on" fill="#ffffff" font-weight="700" text-anchor="middle">1</text></g> <g class="dg-l1"><g class="dg-icon" transform="translate(206.5 36) scale(1.0833)" fill="none" stroke="#0369a1" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="m8 2 1.88 1.88"/><path d="M14.12 3.88 16 2"/><path d="M9 7.13v-1a3.003 3.003 0 1 1 6 0v1"/><path d="M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6"/><path d="M12 20v-9"/><path d="M6.53 9C4.6 8.8 3 7.1 3 5"/><path d="M6 13H2"/><path d="M3 21c0-2.1 1.7-3.9 3.8-4"/><path d="M20.97 5c0 2.1-1.6 3.8-3.5 4"/><path d="M22 13h-4"/><path d="M17.2 17c2.1.1 3.8 1.9 3.8 4"/></g></g> <text x="38" y="86" font-size="14" class="dg-text" fill="#17171c" font-weight="700">A flaw is found</text> <text x="38" y="106" font-size="12" class="dg-muted" fill="#5c5c68" font-weight="500">A mistake in the software lets</text> <text x="38" y="123" font-size="12" class="dg-muted" fill="#5c5c68" font-weight="500">an attacker do something it shouldn't</text> <path class="dg-line" d="M252.5 86H274.5" stroke="#cfcfc8" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/> <path class="dg-line" d="M266.5 80l8 6-8 6" stroke="#cfcfc8" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/> <rect class="dg-card" x="280.5" y="24" width="222.5" height="124" rx="12" fill="#ffffff" stroke="#cfcfc8"/> <g class="dg-l1"><circle class="dg-solid" cx="302.5" cy="48" r="12" fill="#0369a1"/><text x="302.5" y="52.5" font-size="12.5" class="dg-on" fill="#ffffff" font-weight="700" text-anchor="middle">2</text></g> <g class="dg-l1"><g class="dg-icon" transform="translate(463 36) scale(1.0833)" fill="none" stroke="#0369a1" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"/><path d="M14 2v4a2 2 0 0 0 2 2h4"/><path d="M10 9H8"/><path d="M16 13H8"/><path d="M16 17H8"/></g></g> <text x="294.5" y="86" font-size="14" class="dg-text" fill="#17171c" font-weight="700">A fix is released</text> <text x="294.5" y="106" font-size="12" class="dg-muted" fill="#5c5c68" font-weight="500">The maker publishes an update</text> <text x="294.5" y="123" font-size="12" class="dg-muted" fill="#5c5c68" font-weight="500">and describes what it fixes</text> <path class="dg-line" d="M509 86H531" stroke="#cfcfc8" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/> <path class="dg-line" d="M523 80l8 6-8 6" stroke="#cfcfc8" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/> <rect class="dg-card" x="537" y="24" width="222.5" height="124" rx="12" fill="#ffffff" stroke="#cfcfc8"/> <g class="dg-l1"><circle class="dg-solid" cx="559" cy="48" r="12" fill="#0369a1"/><text x="559" y="52.5" font-size="12.5" class="dg-on" fill="#ffffff" font-weight="700" text-anchor="middle">3</text></g> <g class="dg-l1"><g class="dg-icon" transform="translate(719.5 36) scale(1.0833)" fill="none" stroke="#0369a1" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8"/><path d="M21 3v5h-5"/><path d="M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16"/><path d="M8 16H3v5"/></g></g> <text x="551" y="86" font-size="14" class="dg-text" fill="#17171c" font-weight="700">You install it</text> <text x="551" y="106" font-size="12" class="dg-muted" fill="#5c5c68" font-weight="500">Automatic updates do this for</text> <text x="551" y="123" font-size="12" class="dg-muted" fill="#5c5c68" font-weight="500">you, usually overnight</text> <path class="dg-line" d="M765.5 86H787.5" stroke="#cfcfc8" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/> <path class="dg-line" d="M779.5 80l8 6-8 6" stroke="#cfcfc8" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/> <rect class="dg-card" x="793.5" y="24" width="222.5" height="124" rx="12" fill="#ffffff" stroke="#cfcfc8"/> <g class="dg-l1"><circle class="dg-solid" cx="815.5" cy="48" r="12" fill="#0369a1"/><text x="815.5" y="52.5" font-size="12.5" class="dg-on" fill="#ffffff" font-weight="700" text-anchor="middle">4</text></g> <g class="dg-l1"><g class="dg-icon" transform="translate(976 36) scale(1.0833)" fill="none" stroke="#0369a1" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"/></g></g> <text x="807.5" y="86" font-size="14" class="dg-text" fill="#17171c" font-weight="700">The hole is closed</text> <text x="807.5" y="106" font-size="12" class="dg-muted" fill="#5c5c68" font-weight="500">Attacks that used the flaw</text> <text x="807.5" y="123" font-size="12" class="dg-muted" fill="#5c5c68" font-weight="500">no longer work on your device</text> <rect class="dg-panel" x="24" y="172" width="992" height="48" rx="12" fill="#f0f0ec"/> <g class="dg-l4"><g class="dg-icon" transform="translate(40 183) scale(1.0833)" fill="none" stroke="#c2410c" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"/><path d="M12 9v4"/><path d="M12 17h.01"/></g></g> <text x="78" y="201" font-size="13.5" class="dg-text" fill="#17171c" font-weight="700">Until you install the update, the flaw stays open, and attackers know about it once the fix is public</text> </svg></figure> *Figure 2. The flaw stays open on your device until you install the update.* Updates apply to two things: - The **operating system** (Windows, macOS, Linux, Android, iOS), which is the main program that runs the device. - Your **apps**, including the **browser**, the program you use to visit websites. Browsers meet untrusted content all day, so their updates matter a lot. Turn on **automatic updates** for all of them. Then the device installs fixes for you, usually overnight, and you only restart now and then. Restarting matters: many updates take effect only after a restart. Devices do not update forever. After some years the maker stops publishing fixes, and the device is **end of life**. New flaws then stay open for good. For an old phone or computer that no longer gets updates, the safest choices are to replace it, or to stop using it for banking and other sensitive tasks. Installing a "cleaner" app does not fix the problem. > [!CHECK] > Why is it important to install an update soon after it is released? > > - [ ] Because updates make the device faster in every case. > - [x] Because the fix is public, so attackers know where the old flaw is and target devices that have not updated. > - [ ] Because an update removes all malware already installed. > - [ ] Because updates are only available for a few days. > > Updates close known flaws. Speed or new features may come with them, but the security reason is what makes them urgent. ### Backups: the 3-2-1 rule A **backup** is a copy of your files kept somewhere else, so you can get them back. Files disappear for many reasons: a dropped phone, a spilled coffee, a stolen laptop, a mistaken delete, or **ransomware**, which is malware that locks your files and demands money to unlock them. One copy is not enough, because the place you keep it can fail too. The **3-2-1 rule** is an easy way to plan: - **3** copies of your data: the original and two backups. - **2** different kinds of storage, for example your laptop's disk and an external disk. - **1** copy off-site, in a different place, so one fire or burglary cannot take everything. <figure class="diagram" style="--dg-w: 1040px"><svg xmlns="http://www.w3.org/2000/svg" class="dg" viewBox="0 0 1040 294" width="1040" height="294" role="img" aria-labelledby="devices-321-backup-title devices-321-backup-desc" font-family="Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif" xml:lang="en"> <title id="devices-321-backup-title">The 3-2-1 backup rule</title> <desc id="devices-321-backup-desc">Three cards in a row. Copy 1 is the original: your files on your laptop or phone. An arrow labelled backup leads to copy 2, an external disk, which is a different kind of storage and is unplugged after each backup. A second arrow labelled backup leads to copy 3, a cloud backup stored off-site in another building or country. Below, three labels read: 3 copies of your data, 2 kinds of storage, 1 copy off-site. A note says that if ransomware locks the laptop, the unplugged disk and the cloud copy are out of its reach.</desc> <rect class="dg-bg" x="0.5" y="0.5" width="1039" height="293" rx="16" fill="#ffffff" stroke="#e3e3dd"/> <rect class="dg-card" x="24" y="28" width="270.667" height="112" rx="12" fill="#ffffff" stroke="#cfcfc8"/> <g class="dg-l1"><g class="dg-icon" transform="translate(40 44) scale(1.2500)" fill="none" stroke="#0369a1" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M20 16V7a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v9m16 0H4m16 0 1.28 2.55a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45L4 16"/></g></g> <g class="dg-l1"><text x="82" y="65" font-size="15" class="dg-ink" fill="#0369a1" font-weight="700">Copy 1: the original</text></g> <text x="42" y="96" font-size="13" class="dg-muted" fill="#5c5c68" font-weight="500">Your files on your laptop</text> <text x="42" y="116" font-size="13" class="dg-muted" fill="#5c5c68" font-weight="500">or phone</text> <g class="dg-l2"><path class="dg-stroke" d="M300.667 84H378.667" stroke="#15803d" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/></g> <g class="dg-l2"><path class="dg-stroke" d="M370.667 78l8 6-8 6" stroke="#15803d" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/></g> <g class="dg-l2"><rect class="dg-bg-plain" x="311.347" y="46" width="56.64" height="24" rx="12" fill="#ffffff"/><text x="339.667" y="62.5" font-size="11.5" class="dg-ink" fill="#15803d" font-weight="600" text-anchor="middle">backup</text></g> <rect class="dg-card" x="384.667" y="28" width="270.667" height="112" rx="12" fill="#ffffff" stroke="#cfcfc8"/> <g class="dg-l2"><g class="dg-icon" transform="translate(400.667 44) scale(1.2500)" fill="none" stroke="#15803d" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M22 12H2"/><path d="M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"/><path d="M6 16h.01"/><path d="M10 16h.01"/></g></g> <g class="dg-l2"><text x="442.667" y="65" font-size="15" class="dg-ink" fill="#15803d" font-weight="700">Copy 2: external disk</text></g> <text x="402.667" y="96" font-size="13" class="dg-muted" fill="#5c5c68" font-weight="500">A different kind of storage;</text> <text x="402.667" y="116" font-size="13" class="dg-muted" fill="#5c5c68" font-weight="500">unplug it after each backup</text> <g class="dg-l2"><path class="dg-stroke" d="M661.333 84H739.333" stroke="#15803d" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/></g> <g class="dg-l2"><path class="dg-stroke" d="M731.333 78l8 6-8 6" stroke="#15803d" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/></g> <g class="dg-l2"><rect class="dg-bg-plain" x="672.013" y="46" width="56.64" height="24" rx="12" fill="#ffffff"/><text x="700.333" y="62.5" font-size="11.5" class="dg-ink" fill="#15803d" font-weight="600" text-anchor="middle">backup</text></g> <rect class="dg-card" x="745.333" y="28" width="270.667" height="112" rx="12" fill="#ffffff" stroke="#cfcfc8"/> <g class="dg-l7"><g class="dg-icon" transform="translate(761.333 44) scale(1.2500)" fill="none" stroke="#6d28d9" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z"/></g></g> <g class="dg-l7"><text x="803.333" y="65" font-size="15" class="dg-ink" fill="#6d28d9" font-weight="700">Copy 3: cloud backup</text></g> <text x="763.333" y="96" font-size="13" class="dg-muted" fill="#5c5c68" font-weight="500">Stored off-site, in another</text> <text x="763.333" y="116" font-size="13" class="dg-muted" fill="#5c5c68" font-weight="500">building or country</text> <g class="dg-l1"><rect class="dg-tint" x="24" y="168" width="270.667" height="56" rx="12" fill="#e6f0f6" stroke="#8ebcd5" stroke-width="1.2"/><text x="46" y="206" font-size="30" class="dg-ink" fill="#0369a1" font-weight="800">3</text><text x="80" y="202" font-size="15" class="dg-ink" fill="#0369a1" font-weight="700">copies of your data</text></g> <g class="dg-l2"><rect class="dg-tint" x="384.667" y="168" width="270.667" height="56" rx="12" fill="#e8f2ec" stroke="#96c6a8" stroke-width="1.2"/><text x="406.667" y="206" font-size="30" class="dg-ink" fill="#15803d" font-weight="800">2</text><text x="440.667" y="202" font-size="15" class="dg-ink" fill="#15803d" font-weight="700">kinds of storage</text></g> <g class="dg-l7"><rect class="dg-tint" x="745.333" y="168" width="270.667" height="56" rx="12" fill="#f0eafb" stroke="#bd9eee" stroke-width="1.2"/><text x="767.333" y="206" font-size="30" class="dg-ink" fill="#6d28d9" font-weight="800">1</text><text x="801.333" y="202" font-size="15" class="dg-ink" fill="#6d28d9" font-weight="700">copy off-site</text></g> <g class="dg-ok"><g class="dg-icon" transform="translate(24 246) scale(1.0000)" fill="none" stroke="#15803d" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="11" width="16" height="10" rx="2"/><path d="M8 11V7a4 4 0 0 1 8 0v4"/></g></g> <text x="58" y="264" font-size="13.5" class="dg-text" fill="#17171c" font-weight="600">If ransomware locks the laptop, the unplugged disk and the cloud copy are out of its reach</text> </svg></figure> *Figure 3. The 3-2-1 rule: three copies, two kinds of storage, one off-site.* Two common ways to make the extra copies: | | External disk | Cloud backup | |---|---|---| | What it is | A small drive you plug in | A service that stores copies on the provider's servers over the Internet | | Strength | Fast, one payment, you hold it | Off-site automatically; runs in the background | | Weakness | Can be lost or stolen with the laptop if kept next to it | Needs Internet; usually a subscription | Many people use both. Note that "syncing" a folder is not the same as backing it up. A sync service mirrors changes, so a deleted or locked file can be deleted or locked everywhere. Look for a service that keeps older **versions** of your files. Why unplug the disk? Ransomware locks every drive it can reach, including a plugged-in backup disk. A copy that is **disconnected** most of the time is out of its reach. Finally, a backup you never tested is only a hope. From time to time, try to **restore** one file and open it. > [!CHECK] > Ana keeps her photos on her laptop and on an external disk that stays plugged into it. What is missing from the 3-2-1 rule? > > - [ ] Nothing: two copies are enough. > - [ ] A second laptop. > - [x] A third copy, kept off-site (for example in the cloud), and the disk should be unplugged when not in use. > - [ ] A password on the external disk. > > She has two copies in the same place, so a fire, theft or ransomware can reach both. A third copy off-site and a disconnected disk fix that. ### Screen lock and encryption The **screen lock** is the first barrier: a PIN (personal identification number), password, fingerprint or face scan that stops other people from opening your device. Use a PIN of at least six digits or a longer password, and set the device to lock after a minute or two. Avoid easy PINs such as `123456` or your birth year. A screen lock alone is like a lock on the front door: a determined thief could remove the disk and read it elsewhere. **Encryption** closes that gap. It scrambles everything stored on the device so it can only be read with the key, which is unlocked by your login. Without it, the contents are unreadable noise. | System | Encryption feature | Notes | |---|---|---| | Windows | Device Encryption or BitLocker | Often on by default on newer devices; Home editions use Device Encryption | | macOS | FileVault | You choose it at set-up or later in System Settings | | Android | Built in | On by default in current versions, protected by your screen lock | | iPhone / iPad | Built in | Switched on when you set a passcode | | Linux | LUKS (disk encryption) | Usually chosen when installing the system | Remember what it does and does not do. If your device is lost, encryption keeps your files private. It does not protect a device that is unlocked and in use, and it does not replace backups. Keep the **recovery key** (the spare code used if you forget your password) somewhere safe, but not on the device itself: if you lose it, the files may be gone for good. > [!CHECK] > A thief steals an encrypted laptop and removes its disk to read it on another computer. What do they see? > > - [ ] All the files, because the screen lock only matters on the original laptop. > - [x] Unreadable scrambled data, because the key is protected by your login. > - [ ] Only the photos. > - [ ] Your passwords in plain text. > > Encryption protects the stored data itself, not only the way in through the screen. ### Built-in protection and official stores You do not need to buy anything to start. Modern systems include protection that runs in the background: - **Windows**: Microsoft Defender, in the Windows Security app. - **macOS**: Gatekeeper, which checks apps before they open, and XProtect, a built-in malware scanner kept up to date automatically. - **Android**: Google Play Protect, which scans apps from the Play Store and elsewhere. - **iPhone / iPad**: apps are checked by Apple before they appear in the App Store, and each app runs in its own limited space. Keep these switched on. They only work well if the system itself is updated, which is one more reason for habit one. The biggest risk is usually the apps you install yourself. Official stores (the App Store, Google Play, Microsoft Store, the Mac App Store) review apps and can remove bad ones. Installing from a random website, a message link or a "free" copy of a paid app is how most malware arrives. On Linux, the equivalent is your distribution's software centre. Be suspicious of pop-ups that say "Your computer is infected, install this cleaner now". They are scams: real protection does not appear in a web page. > [!CHECK] > Which is the safest way to get a new app on your phone? > > - [ ] From a link a friend sent in a chat. > - [ ] From the first website that offers it for free. > - [x] From the phone's official store. > - [ ] From a pop-up that says your phone needs it. > > Official stores check apps and can remove harmful ones, which random downloads do not offer. ### Public Wi-Fi and unknown USB sticks **Public Wi-Fi** is a network you share with strangers, such as in a café or station. Years ago it was very risky to use. Today, most websites and apps use **HTTPS** (HyperText Transfer Protocol Secure, shown by the padlock in the browser), which encrypts what travels between you and the site. Other people on the same Wi-Fi cannot read your messages or passwords on an HTTPS site. The risks that remain are different: - **Fake hotspots**: an attacker creates a network called `Cafe_Free_WiFi` next to the real one. If you connect to it, all your traffic passes through their device. HTTPS still protects the content, but they can steer you to fake sites. Ask the staff for the exact network name. - **Sharing settings**: your device may let others on the network see it or its files. Public networks should be set as "public" (Windows) or have sharing turned off. - **Warnings you ignore**: if the browser warns that a site's certificate is wrong, stop. A simple rule: for sensitive tasks such as banking, use mobile data (your phone's own connection) instead. For everything else, public Wi-Fi with updated devices is usually fine. A **USB** (Universal Serial Bus) **stick** is a small storage device. A stick found in a car park or received in the post can be a trap: some pretend to be a keyboard and type commands the moment you plug them in, and others carry malware in their files. Never plug in a stick you do not know. Hand it to the owner, or to your IT team at work. Use your own sticks, and do not lend them to unknown computers. > [!CHECK] > You are on café Wi-Fi and open your bank's website, which shows the padlock. What is the most accurate statement? > > - [ ] Everyone nearby can read your password. > - [ ] The padlock means the Wi-Fi network is safe. > - [x] HTTPS protects the content, but you should still check you joined the real network, and mobile data is a safer choice for banking. > - [ ] You must install a special app before using any website. > > HTTPS encrypts the traffic with the site. The remaining risks are fake hotspots and your own sharing settings. ## How it works Putting the habits together is like locking a house: 1. **Updates** repair the weak spots in the walls. 2. **Screen lock** closes the door, and **encryption** makes the contents unreadable if someone breaks in. 3. **Built-in protection** is the alarm system, and official stores are the trusted delivery companies. 4. **Backups** are the insurance: if all else fails, you rebuild from your copies. 5. **Careful connections** are your own judgement about who you let in. If a device is lost, act quickly. Systems have a **find my device** feature (Find My on Apple, Find Hub on Android, Find my device on Windows) that must be turned on in advance. It shows the device on a map, can lock it and can erase it remotely. Erase it if you cannot get it back, then change the passwords of important accounts. Thanks to your backup, you lose only the device. ## Worked example Marta has a laptop and a phone. Her check-up: | Area | Her result | Her action | |---|---|---| | Updates | Phone updated; laptop restart pending for a week | Restart the laptop, check automatic updates are on | | Screen lock | 4-digit PIN on the phone | Change it to 6 digits | | Encryption | Laptop encrypted, phone encrypted | Store the recovery key on paper at home | | Backups | Photos only on the phone | Add a cloud backup and an external disk, 3-2-1 | | Wi-Fi | Uses café Wi-Fi for banking | Use mobile data for banking | Each fix takes a few minutes. Together they remove the most likely ways she could lose data. ## Common pitfalls - **"Remind me tomorrow", forever.** Postponed updates pile up. Allow automatic updates and restart weekly. - **Backup on the same laptop.** If the laptop is stolen, the backup goes too. Keep one copy elsewhere. - **Backup disk always plugged in.** Ransomware can lock it too. - **Losing the recovery key.** Write it down and keep it safe, away from the device. ## Security considerations At work, follow your organisation's rules and never turn off security tools that your IT team installed. If you suspect malware, disconnect from the Internet, do not pay a ransom, and ask for help. Paying does not guarantee the files come back. > [!NOTE] > Menu names and locations change between versions of Windows, macOS, Android and iOS. The activities give the current names, but if a screen looks different, search the settings for the key word (for example "encryption"). ## Summary - Updates close known flaws; turn on automatic updates for the system, apps and browser, and replace devices that no longer get updates. - Follow the 3-2-1 rule: three copies, two kinds of storage, one off-site. Keep one backup disconnected, because ransomware locks what it can reach, and test a restore. - Use a screen lock and encryption so a lost device stays private; keep the recovery key safe. - Keep built-in protection on and install apps only from official stores. - HTTPS protects most traffic on public Wi-Fi; beware of fake hotspots and use mobile data for sensitive tasks. Never plug in unknown USB sticks. ## Glossary | Term | Definition | |---|---| | malware | Malicious software that spies on you, damages files or takes control of a device. | | vulnerability | A mistake in software that an attacker can use to do something they should not. | | update | A new version of software, often published to fix vulnerabilities. | | operating system | The main program that runs a device, such as Windows, macOS, Linux, Android or iOS. | | browser | The program you use to visit websites. | | automatic updates | A setting that lets the device download and install updates by itself. | | end of life | The point when a maker stops publishing fixes for a product. | | backup | A copy of your files kept elsewhere so you can restore them. | | ransomware | Malware that locks your files and demands money to unlock them. | | 3-2-1 rule | Keep 3 copies of your data, on 2 kinds of storage, with 1 copy off-site. | | version | An earlier saved state of a file that a backup service can bring back. | | restore | To copy files back from a backup. | | screen lock | A PIN, password, fingerprint or face scan that protects an unattended device. | | encryption | Scrambling data so it can only be read with the right key. | | recovery key | A spare code that unlocks encrypted data if you forget your password. | | HTTPS | The secure form of web browsing, shown by a padlock, which encrypts traffic between you and a site. | | public Wi-Fi | A wireless network shared with strangers, such as in a café or station. | | hotspot | A device or place that offers a Wi-Fi network. | | USB stick | A small portable storage device that plugs into a computer. | ## Check your understanding 1. Which of the five habits would have helped most in the last time something went wrong with one of your devices, and which is weakest on your devices today? 2. Where are your most precious files stored right now? How many copies exist, and where? 3. A stranger hands you a USB stick. What do you do? ## References - [CISA: Secure our world](https://www.cisa.gov/secure-our-world) - [NCSC (UK): Cyber Aware](https://www.ncsc.gov.uk/cyberaware/home) - [Microsoft: Device encryption in Windows](https://support.microsoft.com/en-us/windows/device-encryption-in-windows-cf7e2b6f-3e70-4882-9532-18633605b7df) - [Apple: Protect data on your Mac with FileVault](https://support.apple.com/guide/mac-help/protect-data-on-your-mac-with-filevault-mh11785/mac)