Skillpedia
الأمان41k · #6778

attack-tree-construction

ما الذي تفعله

تساعد هذه المهارة على رسم خريطة لكيفية حدوث هجوم. تُظهر كل الخطوات الممكنة، من الهدف الرئيسي للمهاجم حتى أبسط الأفعال التي يستطيع تنفيذها.

متى تستخدمها

  • ✓عندما تريد أن تفهم كيف يمكن أن يتم هجوم ما.
  • ✓عندما تريد أن ترى أين قد يفشل الأمن.
  • ✓عندما تريد شرح المخاطر الأمنية للآخرين.

رابط المهارة

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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/wshobson/agents/blob/main/plugins/security-scanning/skills/attack-tree-construction/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“ارسم شجرة هجوم لسرقة بنك.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تصف الهدف الرئيسي للهجوم. ثم يساعدك الذكاء الاصطناعي على تقسيم هذا الهدف إلى أجزاء أصغر، موضحا إن كان يكفي أي جزء (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؟

عقدة OR تعني أن أي مسار تحتها يمكن أن يؤدي إلى النجاح. أما عقدة AND فتعني أن كل المسارات تحتها يجب أن تحدث.

ما هي «خصائص الهجوم» (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

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة