Q&A-1Lead a threat-modeling session for a new system.
Answer
What I say in the first two minutes
I open by asking what decision this session has to produce. "Can we ship the consent flow next month" and "shared or per-tenant keys" are different sessions with different people in the room. I write the decision on the board and don't leave without it.
Assumptions I state out loud: the design is stable enough to argue about; the people who can change it are present; we're modelling the system as designed, not auditing code. If the design still moves weekly, findings expire before anyone acts: I'd run a 45-minute abuse-case pass now and the full session after the architecture review.
Then four moves: draw the system and mark trust boundaries; walk assets and entry points; elicit threats with a prompt framework; score and decide.
Moves 1–2: build the model
browser ──TLS──▶ edge/WAF ──mTLS──▶ api ──IAM role──▶ object store
│
└─ tenant_id read from request bodyEvery arrow crossing a boundary is where I spend the time. The interesting threats live on the arrows, not in the boxes.
Move 3: elicitation
STRIDE per element is my default for a new design: fast, breadth-first, and it forces a question per element instead of free association. It's shallow and it doesn't rank: that's what move 4 is for. Attack trees when there's one crown-jewel asset and I want depth on a specific path. ATT&CK describes adversary behaviour against an existing estate; on a greenfield design it yields technique names with no path into your code. LINDDUN when privacy is the driver.
Worked example
Say the design has an export endpoint. One row of the output:
| field | value |
|---|---|
| threat | cross-tenant read via client-supplied tenant_id |
| path | authenticated user calls POST /export with tenant_id in the body; service builds the object-store prefix from it; no check against the JWT claim |
| control claimed | "IAM scopes the role" |
| evidence | none: the role is shared across tenants |
| likelihood | high: one request, no special access |
| impact | high: bulk PII |
| decision | mitigate: derive tenant_id from the verified JWT claim, reject body-supplied values |
| owner / date | named engineer, next sprint |
| test | tenant A's token with tenant B's id in the body returns 403 and writes nothing |
That's the shape of every row. A row with no test is an opinion.
Trade-offs and cadence
Full session at design freeze; delta sessions on triggers: new trust boundary, new data class, new external dependency, auth change. Re-running everything quarterly is theatre.
How sessions actually fail
- Threat-list theater: 200 rows, no owners. Detect it by counting rows with a named owner and a date; under half means the session failed.
- Unfalsifiable findings: "attacker could compromise the API." Ask what we'd observe. No log line, no test, not a finding.
- Actions that never land: re-read the action list at the next sprint review. If nothing moved, the session had no authority in the room; fix the invite list, not the framework.
- Control by assertion: "we have a WAF." Ask for the rule and the last time it fired.
I close by publishing the assumptions and exclusions alongside the model, so the next session starts from what we decided rather than from scratch.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.