شعار Red Team Engagement

Red Team Engagement

المجتمع
briiirussell
red-team-engagement

Plan, scope, and execute an authorized red-team engagement — distinct from a penetration test. Covers engagement methodology, assumed-breach scenarios, ATT&CK emulation plans, rules of engagement, deconfliction with the blue team, post-engagement debriefs, and the program-level work that makes red teams actually improve defenses. Use when the user mentions 'red team,' 'red team engagement,' 'red teaming,' 'adversary emulation,' 'ATT&CK emulation,' 'assumed breach,' 'purple team exercise,' 'tabletop with technical execution,' 'red team scope,' 'rules of engagement,' 'red team RoE,' 'deconfliction,' 'red team debrief,' or wants to design or run a red-team engagement against systems with authorization.

Add to TypingMind

نظرة عامة

الناشرbriiirussell
المستودعcybersecurity-skills
اسم المهارةred-team-engagement
النجوم
429
التفريعات
60
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها briiirussell على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Red Team Engagement في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/briiirussell/cybersecurity-skills/tree/main/skills/red-team-engagement
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/briiirussell/cybersecurity-skills.git /tmp/cybersecurity-skills
mkdir -p .claude/skills
cp -r /tmp/cybersecurity-skills/skills/red-team-engagement .claude/skills/red-team-engagement
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Red Team Engagement في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Red Team Engagement تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Red Team Engagement بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Red Team Engagement — Authorized Adversary Emulation

This skill is for planning and executing an authorized red-team engagement against systems and an organization that has explicitly contracted for it. It is distinct from a penetration test (technique-focused; see web-pentest) and from threat hunting (defensive; see threat-hunting). A red-team engagement is multi-week, objective-based, often assumed-breach, and explicitly tries to test the blue team's detect-and-respond capability — not just to find vulnerabilities.

This is the most dual-use skill in this catalog. The skill refuses to help conduct unauthorized adversary simulation, regardless of how the request is framed. The authorization check below is enforced strictly.

Authorization Check — required before any planning or execution

Before working with this skill at all, confirm:

  1. Written authorization for this specific engagement, against this specific target, signed by an executive with authority to grant it. The "get-out-of-jail" letter — a physical / digital document the team can produce if challenged
  2. Defined scope — what systems, what time windows, what techniques are in / out of scope
  3. Identified target organization owns the target systems — not a third party (vendor, customer, sub-tenant) whose authorization has not been obtained
  4. Defined success criteria — what does this engagement need to demonstrate or test
  5. Identified deconfliction contact — a single internal person who can pause / abort the engagement and answer "is this you?" when the blue team finds activity
  6. Legal review on file — engagement contract or internal authorization reviewed by counsel, including for any controlled-data exposure
  7. Communication plan for unintended impact — what happens if production is affected, how is it reported, how fast

If any of the above is missing or unclear, stop. Ask the user to confirm. Do not proceed with planning, technique selection, or any execution work.

If the user describes a target that does not appear to belong to them or to a contracted client, refuse — this is not a misunderstanding to be cleared up by adding "for educational purposes" or "in a CTF." The skill refuses to help simulate an attack on systems whose authorization is not present.

What red-team engagements are for (and what they are not for)

Red-team engagements exist to test the security program's response capability — not just to find vulnerabilities. A good red-team engagement answers questions like:

  • If an attacker gets initial access, how long until the blue team notices?
  • When the blue team notices, how fast and how completely do they contain it?
  • Are the documented incident-response procedures actually used?
  • Do detections that exist in theory actually fire in practice?
  • Can a determined adversary escalate to the named crown-jewel objective?

Red-team engagements are not for:

  • Vulnerability discovery — pentests do that with much less overhead
  • Compliance check-box — engagements are designed to teach, not to pass
  • Performance reviews — using a red-team engagement to evaluate individual blue-team employees creates incentive problems that distort everyone's behavior

If the goal is "find vulnerabilities," use web-pentest or the relevant audit skill. If the goal is "test whether our detection and response actually works," this is the right skill.

Engagement model — three flavors

ModelDescriptionWhen to use
External red teamEngagement starts from outside the perimeter; no initial footholdMature programs testing the full attack chain end-to-end
Assumed breachEngagement starts from a granted initial foothold (workstation, credentials, low-privilege account)When the perimeter is well-tested already and the question is post-compromise containment
Purple teamRed and blue work side-by-side; red executes technique, blue verifies detection liveEarly in detection-engineering maturity; high learning rate

Assumed-breach is the most common modern engagement model — the value-per-week is highest because almost every real breach starts with the perimeter already past. Pure external red teams are valuable but expensive in calendar time.

Engagement lifecycle

Phase 0 — Pre-engagement (4-8 weeks before kickoff)

Scoping with the client / sponsor:

  • Objectives — what crown-jewel access or capability does the engagement need to demonstrate? "Access customer data at rest" is concrete; "find what you can" is not
  • In-scope assets — specific environments, specific subnets, specific applications. List by name, not by description
  • Out-of-scope assets — explicitly named. Third-party SaaS, customer data of named accounts, specific production systems, executive personal accounts, regulated data the contract does not cover
  • Time window — engagement window with start and end dates. Tighter windows force focus; longer windows allow assumed-breach scenarios to play out
  • Techniques out of scope — what the team will NOT do regardless of value. Common: destructive techniques, modification of customer data, mass-exfiltration of real customer data, social engineering of named executives, physical access without separate authorization
  • Trusted-agent ("white cell") identification — minimum number of internal people who know the engagement is happening. Typically 2-4: executive sponsor, security leadership, deconfliction contact, legal
  • Reporting cadence — daily standup, weekly checkpoint, end-of-engagement debrief
  • Communication channels — secure out-of-band (Signal, encrypted email, dedicated bridge) so that the engagement does not leak to the blue team during execution

Documentation deliverables before kickoff:

  • Signed Rules of Engagement (RoE) — the contract between the red team and the sponsor
  • Get-out-of-jail letter (physical and digital), signed by an authorized executive
  • Engagement plan with objectives, scope, techniques planned (per-objective; not a complete attack list)
  • Communication / escalation matrix

Phase 1 — Reconnaissance and intelligence (per the engagement type)

For external engagements, leverage recon and osint-recon. For assumed-breach engagements, this phase is internal recon from the granted starting position.

The output is a target map — the systems, accounts, and pivots the team will work through to reach the objective.

Phase 2 — Execution

Following an ATT&CK emulation plan tailored to the engagement.

Emulation plans are published playbooks of how specific threat actors operate. Use them as starting points, not scripts:

  • MITRE ATT&CK Emulation Plans — open-source, threat-actor-specific (APT29, FIN6, FIN7, menuPass, OilRig, Carbanak, Sandworm, etc.). Available at attack.mitre.org/resources/adversary-emulation-plans/
  • CALDERA — automated adversary emulation framework from MITRE; runs ATT&CK plans against a target environment
  • Atomic Red Team — short, focused technique tests (one ATT&CK technique per "atomic"). Useful for purple-team exercises

The engagement progresses through the kill chain — initial access (for external) or post-foothold execution (for assumed breach), persistence, privilege escalation, defense evasion, credential access, discovery, lateral movement, collection, exfiltration (simulated — see boundaries) — toward the named objective.

Operational notes:

  • Every action logged with timestamp, technique, target, and observed effect — for the eventual debrief
  • The deconfliction contact answers when the blue team finds the engagement — to pause if escalation risk, to confirm and continue if not
  • No destructive techniques unless explicitly authorized — and even then, only against systems that can be safely restored
  • Real data is never exfiltrated — use synthetic markers (specific filenames, specific hash values) so blue can verify what was accessed without the team actually moving customer data
  • Engagement pauses if the blue team's response would impact real customer service — the engagement is not worth a real outage

Phase 3 — Debrief and reporting

The most under-invested phase, and the one that determines whether the engagement actually improves defenses.

Same-day debrief (within 24 hours of engagement end):

  • Red team walks through the timeline of actions
  • Blue team walks through what they saw, when they saw it, what they did
  • Gaps between the two are the highest-value findings (red did X, blue saw nothing)

Full written report (within 2-4 weeks):

markdown
# Red Team Engagement Report
## Engagement: [name]
## Sponsor: [executive sponsor]
## Engagement window: [start - end]
## Engagement type: External / Assumed Breach / Purple
## Authors: [red team leads]

### Executive summary
[3-5 paragraphs — were objectives achieved, what the blue team's detection-and-response posture looks like, top 3-5 systemic recommendations]

### Engagement timeline
[Red-team actions with timestamps and ATT&CK technique IDs]

### Blue-team observations
[For each red-team action, what the blue team saw, when, and how they responded — or did not]

### Detection coverage analysis
[Map of techniques used vs detections that did / should have fired]

### Findings
| ID | Severity | Category | Description |
|----|----------|----------|-------------|

(Categories: Detection gap, Response gap, Privileged-access exposure, Lateral-movement enabler, Crown-jewel access path, Compensating control reliance)

### Per-finding detail
[Technique used, what was achieved, what the blue team did / didn't see, recommended remediation]

### Recommendations
[Prioritized — usually 5-10 items mapping to specific systemic improvements, not point fixes]

### What the engagement did NOT cover
[Honesty about what was out of scope and where coverage gaps remain]

Phase 4 — Improvement and revalidation

Recommendations from the report become work items. The red team's value compounds when:

  • High-severity recommendations are tracked to closure (typically: detection rules added per siem-detection, response runbooks updated per soc-operations, control improvements per the audit skills)
  • Specific findings are revalidated 6-12 months later, ideally as a purple-team exercise
  • Lessons feed breach-patterns and incident-triage runbooks

A red team that finds the same problem twice is a budget that was wasted the second time.

Rules of Engagement (RoE) — what goes in the document

The RoE is the contract. It must be specific.

SectionWhat it specifies
AuthorizationWho authorized this engagement, when, with what authority
Scope — inSpecific systems, accounts, environments, applications by name
Scope — outExplicitly excluded — third parties, regulated data, named accounts, specific production systems
Techniques in scopeCategories of technique permitted (e.g., "credential capture in named test environments")
Techniques out of scopeCategories of technique not permitted (e.g., "no destructive techniques," "no social engineering of named executives," "no exploitation of vendor systems")
Time windowStart date, end date, blackout periods (e.g., "no engagement activity during quarterly close")
Data handlingWhat happens to data discovered during the engagement — destruction timelines, encryption requirements, exfiltration markers
Reporting cadenceDaily / weekly / end-of-engagement
Deconfliction contactSingle named individual + backup + 24/7 contact path
Stop conditionsWhen the engagement pauses or aborts — production outage caused, regulatory event triggered, unintended scope crossed
Get-out-of-jail letterFormat, distribution, contact for verification

Boundaries

This is the most consequential boundaries section in this catalog. Read it.

  • Authorization is the floor, not the ceiling. A signed authorization does not make every technique acceptable — the contract still bounds what is permitted. When the user is unsure, the answer is "ask the sponsor before proceeding"
  • Unauthorized targets are refused. No "hypothetical" engagements against systems the user does not own or control. No "what would you do if" against named third parties. The skill is for authorized engagements, not for adversary-thinking exercises against arbitrary targets
  • Destructive techniques are off by default. Even when in-scope, prefer non-destructive alternatives — simulated ransomware (file enumeration without encryption), demonstrated persistence (artifact placement without execution), proof-of-access (read-only)
  • Real customer data is not exfiltrated. Use synthetic markers. The blue team verifies what was accessed by what was marked; the red team does not move real data
  • Pause for safety. Engagement pauses when real-world impact occurs — outage, data exposure to unauthorized parties, regulatory notification trigger. Restart only after sponsor approval
  • Refuse to help build offensive tooling. This skill plans engagements that use existing techniques and tooling responsibly. It does not help write new malware, new C2 frameworks, or new evasion-by-default tooling. Tooling decisions are upstream of this skill
  • Refuse to help with social engineering against people who have not consented to be tested. Social engineering can be in-scope, but the targets must be people whose role accepts engagement testing (typically: employees broadly, with explicit exclusions). Refuse if the request is to phish a specific individual outside the consent envelope
  • Refuse if the request looks like an internal red team being used to surveil specific employees. Red teams test systems and processes, not people
  • Findings are findings, not weapons. A red-team report that produces remediation work is value-positive; one that becomes ammunition in internal politics is value-negative. Authors and reviewers carry responsibility for keeping it the former

References

  • MITRE ATT&CK Framework — attack.mitre.org
  • MITRE ATT&CK Adversary Emulation Plans — attack.mitre.org/resources/adversary-emulation-plans/
  • MITRE CALDERA — automated adversary emulation
  • Atomic Red Team — github.com/redcanaryco/atomic-red-team
  • TIBER-EU (Threat Intelligence-Based Ethical Red-teaming) — European framework for financial-sector red teaming
  • CBEST (UK Bank of England) — UK financial-sector red-team framework
  • NIST SP 800-115 (Technical Guide to Information Security Testing and Assessment)
  • PTES (Penetration Testing Execution Standard) — methodology source, with red-team-relevant phases
  • Red Team Field Manual — Ben Clark — operator-oriented reference
  • Adversary Tradecraft and the Importance of Cyber Threat Intelligence — MITRE / CTID writeups
  • CTID (Center for Threat-Informed Defense) — ctid.mitre.org — open-source emulation content
  • "Red Team Development and Operations" — Joe Vest, James Tubberville
  • "How to Hack Like a Ghost" — Sparc Flow (narrative-style; useful for understanding the model of an extended engagement)

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Red Team Engagement؟

Plan, scope, and execute an authorized red-team engagement — distinct from a penetration test. Covers engagement methodology, assumed-breach scenarios, ATT&CK emulation plans, rules of engagement, deconfliction with the blue team, post-engagement debriefs, and the program-level work that makes red teams actually improve defenses. Use when the user mentions 'red team,' 'red team engagement,' 'red teaming,' 'adversary emulation,' 'ATT&CK emulation,' 'assumed breach,' 'purple team exercise,' 'tabletop with technical execution,' 'red team scope,' 'rules of engagement,' 'red team RoE,' 'deconfli...

لماذا تستخدم Red Team Engagement على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Red Team Engagement عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Red Team Engagement في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/briiirussell/cybersecurity-skills/tree/main/skills/red-team-engagement. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Red Team Engagement؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Red Team Engagement؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Red Team Engagement معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Red Team Engagement مجانية؟

نعم. نشرها briiirussell على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇