STRIDE and security requirements
Turn threats into requirements
STRIDE is a structured brainstorming method: spoofing (false identity), tampering (unauthorized change), repudiation (disputed action), information disclosure (unauthorized exposure), denial of service (loss of availability), and elevation of privilege (unauthorized authority). It is one method, not a guarantee of completeness or a risk score. Apply it to the fictional reservation service by considering the asset, possible adverse outcome, responsible owner and a measurable protective requirement.
Six questions for the reservation service
For spoofing, require valid service identity; verify unknown identity is denied. For tampering, require valid reservation state transitions; verify invalid transitions leave state unchanged. For repudiation, record actor, decision, time and correlation ID; verify audit evidence survives a rejected request. For disclosure, require member-level authorization; verify unrelated member records are not returned. For denial of service, bound queue capacity and preserve service health; verify the overflow outcome. For privilege elevation, restrict administrative operations to a separately approved role; verify ordinary members cannot approve exceptions. These are requirements to validate, not instructions for attacking a service.
Trace a misuse case to evidence
A misuse case describes an undesirable outcome: one member receives another member’s reservation. R-03 states that the API must return only the authenticated member’s records unless a specific authorized staff action applies. Test with two invented members, an allowed read, a denied read and missing identity. Record the expected decision and evidence reference. Use MITRE ATT&CK detection strategies to ask whether existing identity and API logs support investigation of unusual account activity. A technique label is not proof of detection coverage or attribution.
Separate priority from category
A threat may fit multiple classes: an unauthorized state change could also impair availability. Estimate impact and plausibility using explicit assumptions, then select controls and an accountable owner. Consider privacy harms and operational constraints as well as security loss. Avoid treating every STRIDE row as equally urgent, or assuming a control closes the threat without testing. Keep residual risks and unknowns visible.
Practice traceability
For each threat in fixtures/requirements.json, identify the corresponding control, expected behavior, test ID and owner. Add one privacy threat involving retention by the mail provider and one availability threat involving identity-provider outage. State how each can be verified without using actual member data or contacting a live system.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
STRIDE and security requirements — knowledge check
Review trust boundaries, STRIDE requirements, failure modes and architecture decisions.
Which STRIDE category concerns unauthorized modification?
Which requirement addresses unauthorized reads?
What is an appropriate verification criterion?
What does an ATT&CK mapping establish by itself?
Does STRIDE determine priority automatically?