Cryptography / Zero-trust security

Zero-trust security

From one wall around the network to a check on every request: who is asking, on which device, and for what. Why that keeps a break-in from spreading.

Beginner7 steps~7 min
Alice — an employee, working from anywhere
Service — an app or server that holds data
Policy check — decides on every single request
Attacker — holds a stolen password
// THE SHORT VERSION

In 30 seconds

The old model put a wall around the network and trusted everything inside it. Once an attacker got in, with a stolen password for example, almost everything was within reach.

Zero trust drops the idea of a trusted inside. Every request is checked: who is asking, on which device, and whether they need this particular app.

People get only the access their job requires, and the network is split into small zones, so a break-in stays close to where it started.

Zero-trust security, step by step

STEPS01 / 07

Zero trust is a way of designing systems (set out in NIST SP 800-207), not a single product. Real deployments keep their firewalls and weigh more signals, such as location and unusual behaviour.

STEP 01 / 07 One wall around everything
THE MATH
inside the wall → trusted outside the wall → blocked
  1. Step 1: One wall around everything. For decades networks were defended like a castle: a firewall at the edge, and everything inside treated as friendly. Alice, at her desk inside the wall, reaches every service without further questions, and the services can all reach each other.
  2. Step 2: One breach opens it all. The weakness shows as soon as anyone gets past the wall. A phished remote-access password or an infected laptop puts the attacker inside, and inside is trusted. From there they can move from service to service, which is called lateral movement. All four are within reach.
  3. Step 3: Never trust, always verify. Zero trust removes the idea of a trusted inside. Every request to every service passes a policy check first, whether it comes from the office, from home or from a café. Being on the right network proves nothing. The motto is never trust, always verify.
  4. Step 4: Who, on what device, for what. Each check asks three things: who is making the request, proven by a strong sign-in; which device it comes from, and whether that device is known and up to date; and whether the request itself makes sense. All three must hold, and the answer is not kept for long. A new device or an odd pattern means being asked again.
  5. Step 5: Least privilege. Passing the check does not open everything. Alice in accounts can reach mail, files and payroll, but not the code repository. Bob the developer gets code but not payroll. This is least privilege: each person gets only what the job needs, for a limited time, so a stolen account is worth far less.
  6. Step 6: Micro-segmentation. Servers are held to the same rule. Micro-segmentation splits the network into small zones, often one per service, and allows only the connections that are needed: here payroll may save to files, and nothing else may cross. An attacker who breaks into one service finds the others closed.
  7. Step 7: The same break-in, replayed. Replay the break-in. The stolen password arrives from a device the company has never seen, so the first check refuses it. Had it passed, it would open only Alice’s three apps, and from a captured server only one zone. Zero trust does not prevent every breach. It keeps each one small.
VALUES SO FAR
old ruleinside trustedperimeter
breach····perimeter
new rule····rule
checks····each time
alice····least
bob····least
zones····segments
breach····verified

Spotted a mistake on this page?