InterviewStack.io LogoInterviewStack.io

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).

HardSystem Design
34 practiced

You're assessing threats for a hybrid multi-cloud deployment that runs sensitive workloads on-prem in Kubernetes clusters and burstable services in public cloud. Enumerate cross-boundary threats (network misrouting, identity federation misuse, config drift, secret sprawl) and design a set of network, identity, and process controls that minimize blast radius while preserving necessary cross-environment connectivity.

EasyTechnical
64 practiced

Define a 'trust boundary' in the context of threat modeling. Using a cloud-native application that includes mobile clients, an API gateway, the public internet, VPC-based microservices, and an admin console, explain how you would identify trust boundaries, why they matter for STRIDE, and give three concrete mitigations that specifically protect crossing trust boundaries.

HardTechnical
34 practiced

Given this architecture description, identify hidden trust boundary misconfigurations and propose design changes:

  • Mobile app (public) communicates with an API Gateway (public L7) → routes to API service running in the same VPC as the database
  • API service connects directly to Database on port 5432 with a single shared DB credential
  • Admin UI deployed in the same cluster as the API uses the same DB credentials and exposes an admin route on a public load balancer
  • CI system can run arbitrary scripts that have network access to the cluster

List at least five issues, explain the associated risks, and propose fixes prioritized by impact and effort.

MediumSystem Design
44 practiced

Consider this architecture: Mobile client -> API Gateway -> Auth Service (JWT) -> User Service -> Orders Service -> PostgreSQL. Orders Service publishes events to RabbitMQ consumed by Fulfillment Service. Admin Console accesses services via VPN. Create a component-level DFD, identify trust boundaries, and perform a STRIDE analysis for key data flows and components. Then list the top five prioritized threats with brief mitigations.

That is every published Threat Modeling and Attack Surface Analysis question for Network Engineer so far. Browse the other topics in this category, or practice this one interactively.