Sub topic 1
What you are protecting against
This chapter sets out the three threats that the rest of the tutorial addresses. Each later chapter covers one tool that answers one of these threats. If you know the threat, you can see why the tool exists and where it stops helping.
Prerequisites
This chapter assumes you can do the following:
- Move around macOS and open System Settings.
- Sign in with an Apple Account (formerly called an Apple ID) on your Mac.
- Use an administrator account on the Mac.
- Run a command in Terminal, including a command that starts with
sudo.
You do not need to change any settings in this chapter. It is about the working model only.
The three threats
A threat model is a short list of the bad things you want to prevent. For a personal Mac, three threats cover most of the risk:
- Someone gets your data from a lost or stolen Mac.
- Someone connects to your Mac over the network.
- You lose track of the Mac and need to find it, lock it, or erase it.
These threats differ in kind. The first concerns the stored data. The second concerns network traffic. The third concerns the physical device. No single setting covers all three, so macOS provides three separate features.
| Threat | What happens | macOS feature | Main chapter topic |
|---|---|---|---|
| Data theft from a lost or stolen Mac | A thief removes the disk or boots another system to read your files | FileVault | Full-disk encryption |
| Unwanted incoming connections | Another device on a network tries to reach a service running on your Mac | Application firewall | Filtering incoming connections |
| A missing device | The Mac is gone and you want to locate, lock, or wipe it | Find My Mac | Locating and locking the device |
Threat 1: data at rest on a lost or stolen Mac
Data at rest is data stored on a disk, as opposed to data moving across a network. If a thief takes your Mac, the password on your user account does not stop them from reading the disk by other means. They can start the Mac from a different system or connect the drive to another computer.
FileVault answers this threat. It encrypts the contents of the startup disk. Encryption scrambles data so that it can only be read with the right key. Without your login credentials or a recovery method, the stored files are unreadable.
FileVault protects a Mac that is switched off or locked at the login window. It does not protect you if someone already has your password or if you are logged in and walk away.
Threat 2: unwanted incoming connections
Many programs listen for incoming connections. File sharing, screen sharing, and some developer tools are examples. A listening program is reachable by other devices on the same network. On a home network this is usually harmless. On a café or hotel network, strangers share your network, and any listening program becomes a possible way in.
The macOS application firewall answers this threat. A firewall is software that decides which network connections are allowed. The macOS firewall works at the level of applications. It controls whether a given app may accept incoming connections.
Two limits matter from the start:
- The firewall mainly concerns incoming connections. It is not a general tool for watching or blocking what your Mac sends out.
- It does not protect you from a malicious file you download and open yourself.
Threat 3: a missing device
Sometimes the problem is not an attacker but a Mac that is gone. You may have left it in a taxi, or it may have been stolen. You want to find it, and if you cannot, you want to make sure nobody else can use it or read it.
Find My Mac answers this threat. It lets you see the Mac's location on a map, play a sound, lock it with a message, or erase it remotely. A related feature, Activation Lock, ties the Mac to your Apple Account so a thief cannot easily reset it and use it as their own.
Find My depends on conditions. The Mac needs a way to report its position, and you need access to your Apple Account to send commands.
How the threats map to the tools
The next diagram shows each threat leading to the feature that addresses it.
Why you need all three
The features overlap very little. Consider a stolen laptop:
- Find My may show where it is, but a thief who works offline may never trigger an erase command.
- FileVault keeps the files unreadable even if Find My never reaches the Mac.
- The firewall plays no part in the theft, but it reduces exposure whenever the Mac joins an untrusted network.
Each feature leaves gaps that another covers. The final chapter of this tutorial returns to these gaps and to the limits of each tool.
Check your understanding
Exercise
A thief steals your Mac, removes the drive, and connects it to another computer to read your files. Which of the three features is meant to stop this, and why do the other two not help?
Show answer
FileVault stops this, because it encrypts the disk so the files cannot be read without your credentials or a recovery method. The firewall only filters incoming network connections, so it has no effect on someone reading the disk directly. Find My Mac needs the Mac to be reachable to send commands, and it does nothing to protect data on a drive that has been removed.
Exercise
You use your Mac on public café Wi-Fi and a file-sharing service is running on it. Which threat is this, and which feature addresses it?
Show answer
This is the threat of unwanted incoming connections. The application firewall addresses it by controlling which apps may accept incoming connections.