Threat Modeling and Attack Surface Analysis Questions

Systematically identifying how a system can be attacked and where its exposure lies. Covers structured methodologies (STRIDE, PASTA, DREAD, OCTAVE, attack trees), enumerating and reducing attack surface, mapping trust boundaries and data flows via DFDs, profiling likely threat actors, and prioritizing identified threats by likelihood and impact during design. Includes applying this methodology to specific architectural substrates (cloud-native and serverless, microservices, ML/AI systems, IoT, CI/CD pipelines, cryptographic subsystems) and operationalizing it as a recurring program (SDLC integration, governance, tooling, KPIs). The proactive 'think like an attacker before you build' discipline: distinct from live penetration testing (the adversarial validation of a built system), from runtime detection/monitoring (recognizing an attack already in progress), and from implementing the resulting security controls (a separate design-and-build discipline).

MediumTechnical
44 practiced

Explain how you would incorporate the STRIDE framework into threat modeling for a cryptographic subsystem. Provide concrete mappings from each STRIDE category (Spoofing, Tampering, Repudiation, Information disclosure, Denial of service, Elevation of privilege) to cryptographic concerns and give example mitigations for each mapping.

EasyTechnical
63 practiced

You are designing threat modeling for a small web service that stores user secrets (API keys and encrypted documents). Describe the step-by-step threat-modeling process you would apply, including assets, actors, entry points, trust boundaries, potential attack scenarios, and practical mitigations for each major risk.

HardTechnical
45 practiced

Perform a focused threat model on key management for a SaaS product that uses HSMs to sign tokens and encrypt customer data at rest. Identify threats to key confidentiality, integrity, and availability; propose operational controls (rotation, backup, split knowledge, access controls), HSM deployment patterns (single-region vs multi-region, cloud HSM vs on-prem), and discuss trade-offs between latency, cost, and security.

MediumTechnical
44 practiced

Explain common risk scoring models used with threat modeling: CVSS, DREAD, and modern alternatives or best practices. Discuss strengths and weaknesses of each, and describe how you'd choose or combine models to communicate risk to both technical teams and business stakeholders.

EasyTechnical
46 practiced

You are designing a threat model for a new end-to-end encrypted messaging application. Identify and categorize attacker capabilities relevant to cryptographic systems: include passive eavesdroppers, active network attackers, compromised-insiders, constrained/resource-limited adversaries, and advanced future adversaries (e.g., quantum-capable). For each capability explain what actions the adversary can perform, typical indicators, and why capability-based categorization matters for mitigation choices.

Unlock Full Question Bank

Get access to all 7 Threat Modeling and Attack Surface Analysis interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.