Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Principle:0x4m4 Hexstrike ai Attack Chain Discovery

From Leeroopedia
Knowledge Sources
Domains Attack_Chain, Vulnerability_Correlation, Security
Last Updated 2026-10-10 00:00 GMT

Overview

Technique for discovering multi-stage attack chains by correlating vulnerabilities across attack patterns (initial access, privilege escalation, persistence) and computing compound success probability.

Description

The Attack Chain Discovery principle finds sequences of vulnerabilities that form a complete attack path. Starting from a target software, it searches for vulnerabilities matching attack patterns: remote_execution for initial access, privilege_escalation for elevation, persistence for maintaining access, lateral_movement for spreading, and data_exfiltration for data theft. Each chain has multiple stages, each with a success probability. The overall chain probability is the product of individual stage probabilities. Chains are ranked by overall probability, and recommendations are generated for testing order.

Usage

Apply this principle when analyzing attack paths against a target:

  • Multi-stage chaining: Combine initial access → privilege escalation → persistence
  • Compound probability: Overall success = product of stage probabilities
  • Pattern matching: Match vulnerabilities to MITRE ATT&CK-style patterns
  • Depth limiting: Cap chain depth (default 3 stages) to manage complexity

Theoretical Basis

The compound probability model:

Pchain=∏i=1nPstagei

# Abstract pattern (NOT real implementation)
chain = {
    "stages": [
        {"stage": 1, "objective": "Initial Access", "vulnerability": remote_exec_vuln, "success_probability": 0.75},
        {"stage": 2, "objective": "Privilege Escalation", "vulnerability": privesc_vuln, "success_probability": 0.60},
        {"stage": 3, "objective": "Persistence", "vulnerability": persist_vuln, "success_probability": 0.80},
    ],
    "overall_probability": 0.75 * 0.60 * 0.80  # = 0.36
}

Related Pages

Implemented By

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment