Interview Prep/DevSecOps/Foundations, Threat Modeling and OWASP

How do you apply STRIDE to a data flow diagram?

AdvancedConceptFoundations, Threat Modeling and OWASP
Answer

Draw the DFD with external entities, processes, data stores, data flows and trust boundaries. Then walk each element and ask only the STRIDE categories that apply to it: external entities are subject to S and R; processes to all six; data stores to T, I, D (and R if they hold logs); data flows to T, I, D.

Focus on flows that cross a trust boundary. Example: browser to API gateway crosses the internet boundary, so ask about spoofing (token theft), tampering (TLS stripping) and DoS (no rate limit). Record each threat as a ticket with a mitigation and a verification test.

All DevSecOps questions Roadmap: Security in the pipeline

More on Foundations, Threat Modeling and OWASP