मुख्य सामग्री पर जाएँ
Skillpedia
सिक्योरिटी41k · #6778

attack-tree-construction

यह क्या करती है

यह टूल समझने में मदद करता है कि कोई हमला कैसे हो सकता है। यह हमलावर के मुख्य लक्ष्य से लेकर उसके सबसे सरल कदमों तक, सभी संभावित चरण दिखाता है।

कब इस्तेमाल करें

  • ✓यह समझने के लिए कि हमला कैसे काम कर सकता है।
  • ✓यह देखने के लिए कि सुरक्षा कहाँ कमज़ोर पड़ सकती है।
  • ✓दूसरों को सुरक्षा जोखिम समझाने के लिए।

Skill का लिंक

https://github.com/wshobson/agents/blob/main/plugins/security-scanning/skills/attack-tree-construction/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/wshobson/agents/blob/main/plugins/security-scanning/skills/attack-tree-construction/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“एक बैंक चोरी करने के लिए attack tree बनाओ।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

आप हमले के मुख्य लक्ष्य का वर्णन करते हैं। फिर AI उस लक्ष्य को छोटे हिस्सों में तोड़ने में मदद करता है और दिखाता है कि सफल होने के लिए कोई एक हिस्सा (OR) पूरा होना चाहिए या सभी हिस्से (AND) पूरे होने चाहिए। हर आखिरी कदम एक सरल हमला होता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Attack Tree Construction

Systematic attack path visualization and analysis.

When to Use This Skill

  • Visualizing complex attack scenarios
  • Identifying defense gaps and priorities
  • Communicating risks to stakeholders
  • Planning defensive investments
  • Penetration test planning
  • Security architecture review

Core Concepts

1. Attack Tree Structure

                    [Root Goal]
                         |
            ┌────────────┴────────────┐
            │                         │
       [Sub-goal 1]              [Sub-goal 2]
       (OR node)                 (AND node)
            │                         │
      ┌─────┴─────┐             ┌─────┴─────┐
      │           │             │           │
   [Attack]   [Attack]      [Attack]   [Attack]
    (leaf)     (leaf)        (leaf)     (leaf)

2. Node Types

Type Symbol Description
OR Oval Any child achieves goal
AND Rectangle All children required
Leaf Box Atomic attack step

3. Attack Attributes

Attribute Description Values
Cost Resources needed $, $$, $$$
Time Duration to execute Hours, Days, Weeks
Skill Expertise required Low, Medium, High
Detection Likelihood of detection Low, Medium, High

Templates and detailed worked examples

Full template library lives in references/details.md. Read that file when you need concrete templates for this skill.

Best Practices

Do's

  • Start with clear goals - Define what attacker wants
  • Be exhaustive - Consider all attack vectors
  • Attribute attacks - Cost, skill, and detection
  • Update regularly - New threats emerge
  • Validate with experts - Red team review

Don'ts

  • Don't oversimplify - Real attacks are complex
  • Don't ignore dependencies - AND nodes matter
  • Don't forget insider threats - Not all attackers are external
  • Don't skip mitigations - Trees are for defense planning
  • Don't make it static - Threat landscape evolves
अक्सर पूछे जाने वाले सवाल

OR और AND nodes क्या हैं?

OR node का मतलब है कि उसके नीचे दिए गए रास्तों में से कोई भी एक सफलता दिला सकता है। AND node का मतलब है कि उसके नीचे दिए गए सभी रास्ते पूरे होने चाहिए।

attack attributes क्या हैं?

ये हर हमले के कदम की खासियतें हैं, जैसे लागत, समय, ज़रूरी कौशल और पकड़े जाने की संभावना।

लागत और समय तय करना क्यों ज़रूरी है?

इससे पता चलता है कि कौन सा हमला करना आसान है और कौन सा मुश्किल, ताकि सबसे ज़रूरी बचाव पर ध्यान दिया जा सके।

जानकारी

लेखक का मूल विवरण

Build comprehensive attack trees to visualize threat paths. Use when mapping attack scenarios, identifying defense gaps, or communicating security risks to stakeholders.

repo: wshobson/agents

लोकप्रियता

GitHub स्टार
41k
रैंकिंग में स्थान
#6778
लाइसेंस
MIT
अपडेट की गई
15/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills