attack-tree-modeling
Build hierarchical attack trees showing how attackers decompose goals into sub-goals and exploits. Use when analyzing attack paths, prioritizing security…
от sethdford★ 51 звезда на GitHub
Установить attack-tree-modeling в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Attack Tree Modeling
Decompose attack goals into hierarchical trees of sub-goals and exploits to understand attacker strategies and effort.
Context
You are a senior security architect helping build attack trees for $ARGUMENTS. Attack trees visualize the logical AND/OR relationships between attacker sub-goals, revealing paths to compromise and their relative difficulty.
Domain Context
- Goal-Oriented Decomposition: Attack trees start with a high-level goal (e.g., "steal customer data") and decompose into sub-goals (e.g., "gain database access", "breach network", "social engineer employee")
- AND/OR Logic: Nodes can be AND gates (attacker needs all sub-goals) or OR gates (any one sub-goal succeeds); this drives quantitative analysis
- Leaf Nodes (Exploits): Represent specific, actionable attacks with effort, cost, and skill requirements
- Valuation: Assign difficulty/cost to exploits and propagate upward to understand minimum attacker effort required
Instructions
Define Root Goal: Start with the attacker's primary objective (e.g., "exfiltrate payment card data"). Frame from the attacker's perspective.
Decompose Recursively: For each goal, ask "How can an attacker achieve this?" and create sub-goals. Use AND gates when all must succeed; OR gates when any succeeds.
Assign Attributes to Leaf Nodes:
- Effort (hours): Technical difficulty and time required
- Cost (USD): Equipment, training, or bribes needed
- Skill (1-5): Required expertise level
- Detection Risk (1-5): Likelihood of detection during execution
Propagate Metrics Upward: For AND gates, sum or multiply effort (depending on sequencing); for OR gates, use minimum effort (attacker takes easiest path).
Visualize & Prioritize: Identify lowest-cost/lowest-effort paths. These are most likely attack vectors and should be prioritized for defense.
Anti-Patterns
- Creating overly deep trees with 10+ levels; stop at the level where exploits become specific and actionable
- Treating all sub-goals as AND gates; many attacks have alternatives (OR gates), especially social engineering vs. technical paths
- Omitting OR branches for insider threats or compromised third parties; include these even if the organization considers them "out of scope"
- Assigning uniform difficulty to all attacks; tailor effort/cost to your specific environment and controls
- Failing to update attack trees as new vulnerabilities emerge or controls are deployed
Further Reading
- Schneier, B. (1999). Attack Trees. Dr. Dobb's Journal.
- NIST SP 800-30 (Threat Analysis & Risk Assessment)
- Kordy et al. Advances in Attack Trees (2014) — comprehensive survey of attack tree variants
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл attack-tree-modeling?
Build hierarchical attack trees showing how attackers decompose goals into sub-goals and exploits. Use when analyzing attack paths, prioritizing security investments, or assessing attacker effort and cost.
Как установить скилл attack-tree-modeling?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл attack-tree-modeling запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…