Sub topic 1
What you are protecting against
Security settings make sense only when you know what they are for. This chapter builds a small threat model for a personal Mac: a list of the bad things that could happen, how likely each one is, and which built-in feature addresses it. The rest of the tutorial turns on FileVault, the firewall, and Find My. This chapter explains why those three were chosen and what each one does not cover.
Prerequisites
This chapter assumes you can do the following:
- Navigate 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. Several later settings ask for an administrator password.
- Open Terminal and run a command, including one that starts with
sudo.
You do not need any networking or cryptography background. Terms are defined when they first appear.
What a threat model is
A threat model answers four questions:
- What do you have that is worth protecting?
- Who or what could harm it?
- How could that happen?
- What can you reasonably do about it?
A threat model does not try to stop every attack. It helps you spend your effort where the risk is highest. A student with a laptop in a backpack faces different risks than a system administrator who runs servers, and the right settings differ accordingly.
For a personal Mac, the assets are usually the same:
- Files: documents, photos, tax records, school or work material.
- Credentials: saved passwords, browser sessions, SSH keys, and access tokens stored on disk.
- Accounts: your Apple Account, email, and anything that trusts your signed-in Mac.
- The device itself, which has resale value to a thief.
The three threats this tutorial covers
Three common situations account for much of the realistic risk to an individual's Mac. Each one has a matching feature.
Threat 1: Someone gets physical possession of your Mac
Laptops get stolen from cars, cafés, and airports, and they get left in taxis. Once someone holds the machine, they can try things that are impossible over a network:
- Start the Mac and try to log in. Your login password is a barrier, but it protects only the running operating system.
- Boot from another startup source, or remove the storage and attach it to another computer, and then read the files directly.
- Take the Mac apart or connect to it with specialized tools.
The first line of defense is that your files are encrypted on the disk. The disk contents are scrambled, and the key that unscrambles them is released only when the correct user password is entered. This is called protecting data at rest, meaning data stored on a device that is not currently being used. FileVault is the macOS feature that provides this protection. The next chapter explains how it works.
Without encryption, a login password alone is weak protection against someone with physical access. The password stops a casual person at the login window. It does not stop someone who reads the disk by another route.
Threat 2: Your Mac is lost or stolen and you want it back, or want it useless
Encryption keeps your data private, but it does not tell you where the Mac is and it does not stop someone from wiping and reselling it. Those are separate problems, and Find My addresses them:
- Location: you can see a lost Mac on a map, if it can report its location.
- Recovery: you can play a sound, or lock the Mac and show a message with a phone number.
- Remote erase: if recovery looks unlikely, you can erase the Mac from another device.
- Resale deterrence: Activation Lock ties the Mac to your Apple Account, so a thief cannot easily reactivate it after an erase.
This is a different goal from Threat 1. Threat 1 is about confidentiality, which means keeping other people from reading your data. Threat 2 is about recovery and deterrence, which means getting the device back or making it worthless to whoever has it.
Threat 3: Unwanted connections arrive over the network
When your Mac is on a network, whether home Wi-Fi, a hotel network, or a café hotspot, other devices on that network can try to connect to it. A program that listens for connections is called a service. If a service is running and reachable, someone else on the network might talk to it. Some services are meant to be reachable, such as file sharing you turned on. Others are installed by software you forgot about.
An incoming connection is a connection that another computer starts toward yours. This is different from an outgoing connection, such as your browser loading a web page, which your Mac starts itself. A firewall is a filter that decides which incoming connections are allowed. The macOS application firewall makes this decision per application rather than per network port. A later chapter covers both what it does and what it leaves alone.
The risk is larger on networks you do not control. On a home network with a router doing address translation, most unsolicited traffic from the internet is already stopped before it reaches your Mac. On a shared network, other devices sit on the same local network as you.
How the three features map to the threats
The following diagram shows each threat and the feature that addresses it.
The same information in table form:
| Threat | Typical situation | Feature | What it gives you |
|---|---|---|---|
| Reading data off the disk | Stolen Mac, removed storage | FileVault | Files unreadable without your password or a recovery method |
| Losing the device | Left in a taxi, stolen bag | Find My Mac | Location, sound, Lost Mode, remote erase |
| Resale of a stolen Mac | Thief wipes and sells it | Activation Lock | Mac cannot be reactivated without your Apple Account |
| Unwanted incoming connections | Public or shared Wi-Fi | Application firewall | Per-app control over who can connect in |
Notice that no single feature covers every row. This is why the tutorial treats them as three layers rather than three alternatives. A final chapter returns to how they combine.
What is out of scope
A threat model is also defined by what it leaves out. This tutorial does not cover these topics, and enabling the three features does not protect against them:
- Phishing and scams. If you type your password into a fake website, none of these features help.
- Malware you install yourself. A firewall that filters incoming connections does not stop a malicious app that you launched, because that app can open outgoing connections.
- Weak or reused passwords. FileVault is only as strong as the password or recovery method that unlocks it.
- A determined, well-funded attacker, such as a targeted attack by a government or a skilled forensic lab. The defaults here are designed for ordinary theft and opportunistic network scanning.
- Attacks on your accounts that do not involve your Mac, such as a leaked email password.
Naming these limits early prevents a common mistake: assuming that because the settings are on, the Mac is "secure" in a general sense.
Thinking about likelihood and impact
Not all threats are equally likely, and not all are equally damaging. A simple way to rank them is to consider two things for each: how likely it is, and how bad the outcome would be.
| Threat | Likelihood for a typical user | Impact if it happens | Cost of the defense |
|---|---|---|---|
| Lost or stolen laptop | Moderate over several years of carrying a laptop | High: data exposure and a lost device | Low: a few settings |
| Unwanted network connections | Moderate on public networks, low at home | Varies from none to serious | Low: occasional prompts |
| Targeted attack by a skilled adversary | Very low | Very high | High: beyond this tutorial |
The first two rows have cheap defenses and meaningful risk, which is why they form the baseline. The third row is real but belongs to a different kind of planning.
The cost column matters too. FileVault has a small performance cost on modern hardware and one real risk: if you forget your password and lose your recovery method, your data is gone for good. That trade-off is the subject of a later chapter. A defense that you turn off because it is annoying protects you less than a weaker one that you keep on.
A quick look at where you stand
You do not need to change anything in this chapter. If you want a read-only look at the current state of FileVault before the next chapters, run this command in Terminal:
fdesetup statusIt prints whether FileVault is on or off. Treat the result as a starting point. Later chapters explain each setting, how to change it, and how to verify the others.
Find My has no documented command-line check. To see its state, open System Settings, select your Apple Account, and choose iCloud.
A note on Apple silicon and older Macs
Recent Macs use Apple silicon, and some Intel Macs include the Apple T2 security chip. On these machines, the internal storage is encrypted by dedicated hardware even when FileVault is off. That hardware encryption protects against reading the storage chips directly, but the key is available to the Mac as it starts up. FileVault adds a further layer by tying access to your user password, so that someone who starts the Mac cannot reach the data without it.
For this reason, "my Mac is already encrypted" is not a reason to skip FileVault. The following chapters explain the difference in more detail. Older Intel Macs without a T2 chip have no built-in hardware encryption, so FileVault is the only thing standing between a thief and your files.
Summary of the model
- FileVault answers the question: if someone has my Mac, can they read my files?
- Find My and Activation Lock answer: can I get it back, or make it useless to whoever has it?
- The application firewall answers: which programs on my Mac accept connections from other computers?
- None of them replaces careful behavior, good passwords, and keeping software updated.
Exercise
A friend says, "I turned on the firewall, so if my laptop is stolen my files are safe." Which threat does the firewall address, and which feature would actually protect the files on a stolen laptop?
Show answer
The firewall addresses unwanted incoming network connections to the running Mac. It does not encrypt the disk, so someone who has the stolen laptop can try to read the stored files by other means. FileVault protects data at rest on a stolen Mac. Find My helps locate the Mac, lock it, or erase it remotely.
Exercise
Name two threats that FileVault, the firewall, and Find My do not protect against, even when all three are turned on.
Show answer
Any two of these: phishing and scams, malware that you install and run yourself, weak or reused passwords, and a targeted attack by a highly skilled adversary. Attacks on your accounts that do not involve the Mac, such as a leaked email password, also qualify.