Trust Boundary
Cheat sheet · https://pcornel.dk/topic.php?topic=4423
Answer
A trust boundary is where data or requests move between areas with different levels of trust, such as internet to DMZ or user to admin. At each boundary, check who is calling, validate the input, authorise the action and log it.
Remember
- Trust boundary ≠ firewall or network segment only.
- Encrypted channel ≠ trusted endpoint or authorized content.
- Same organization ≠ same trust level.
- Crossing authenticated ≠ input validated or action authorized.
First checks
- Data flow diagram — where trust changes
ss -ltnp— listening services at boundaries- Firewall/policy rules at each boundary — enforcement
Verify in this order
untrusted side → validation/authn → trusted side
Where it usually breaks
First mismatch in asset/subject identity → trust/authentication → authorization/policy → enforcement/control → telemetry/detection → protected outcome/response; preserve identity/policy/pre-state before mutation.
Security Fundamentals → Trust Boundary proof map
| Evidence boundary | What to establish | What it does not establish |
|---|---|---|
| Scope and context | Asset, owner, subject, action, data flow, time and expected security outcome | Does not prove the inventory, threat model or business assumptions are complete |
| Design and effective state | Intended policy/control plus the identity, configuration, coverage and dependencies actually in force | Configuration presence does not prove consistent enforcement or operating effectiveness |
| Outcome evidence | Allowed, denied, failure and recovery tests correlated with telemetry | One successful test does not prove every path, time or attacker condition |
| Acceptance | Gap, residual risk, owner, review trigger and retest result are recorded | Acceptance does not remove the risk or make it permanent |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4423