Tiles: what we protect (C, I, A) and the login gatePink: the attacker, on one of three padsEnvelopes: messages; pink ones are the attacker'sCoins: key, tick, bug (a weakness), shieldsSecurity protects three things: confidentiality (only the right people read the data), integrity (nobody changes it unnoticed) and availability (it works when needed). Authentication is the gate in front: prove who you are first. An attacker can sit on the internet (it reaches only your public address), on the path (every packet passes through it) or on the LAN (already inside). Defence in depth puts a layer in front of each. The payroll file and the router's old bug are made-up examples.

What we protect

  1. Your laptop joins the office by Wi-Fi through the access point. A file server holds the shared files, and the router links the office to the internet. Security means keeping this network and its data safe. Safe from what, exactly?

Threats and attackers

Defence in depth

Behind the step

;; step 1/10 · office · scene
;; at your laptop + wi-fi ap + file server + office router
office LAN      192.168.1.0/24 (private, RFC 1918)
your laptop     192.168.1.20   MAC 00:00:5e:00:53:14   (Wi-Fi)
access point    MAC 00:00:5e:00:53:02   bridges Wi-Fi onto the LAN
file server     192.168.1.10   MAC 00:00:5e:00:53:0a   SMB, TCP 445
office router   LAN 192.168.1.1   internet side 203.0.113.10
from the internet, only the router's public address is reachable (NAT)

On-path and off-path attackers come from the Internet threat model in RFC 3552. An attacker can move between positions: a remote attacker who breaks into one office PC becomes an attacker on the LAN. The office LAN uses the private range 192.168.1.0/24 (RFC 1918); 203.0.113.10 and 198.51.100.66 are RFC 5737 documentation addresses, and the MAC addresses come from the RFC 7042 documentation block (00:00:5e:00:53:xx).