Design an Attack Path Analysis Engine

Last updated: December 9, 2025

Quick Overview

Design a system that automatically discovers and visualizes potential attack paths from initial entry points to high-value targets in a cloud environment.

Wiz
System Design
Software Engineer
Wiz
December 9, 2025
Software Engineer
Live Technical Session
System Design
Hard

6

9

1,822 solved


Design a system that automatically discovers and visualizes potential attack paths from initial entry points to high-value targets in a cloud environment.

Attack path analysis is one of Wiz's most valued features. Instead of presenting thousands of individual findings, the system connects the dots to show how an attacker could chain vulnerabilities, misconfigurations, and permissions to reach critical assets. This transforms raw security data into actionable intelligence.

What the Interviewer Expects
  • Model attack paths as directed graphs from entry points to targets
  • Define and identify entry points (internet exposure, compromised credentials) and targets (sensitive data, admin access)
  • Implement efficient path-finding algorithms on large security graphs
  • Rank attack paths by exploitability and impact
  • Visualize paths in a way that's actionable for security teams
Key Topics to Cover
Graph path-finding algorithms
Attack surface modeling
Risk-based path ranking
Graph pruning and optimization
Security visualization
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How do you handle the exponential number of possible paths in a large graph?
  • How would you validate whether a theoretical attack path is actually exploitable?
  • How do you update attack paths incrementally when the graph changes?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional Requirements

  1. Entry Point Identification: Automatically detect entry points like internet-exposed services and potential compromised credentials.
  2. Path Discovery: Model and ...
Capacity Estimation

Assuming Wiz operates in a cloud environment with:

  • 10,000 nodes (servers, databases, etc.)
  • 50,000 connections (network links between nodes)
  • 1,000 unique entry points (exposed service...

Submit Your Answer
Markdown supported

Related Questions