Skip to content
Skillpedia
Misc35k · #5733

executing-red-team-exercise

Lets your agent run realistic cyber attack simulations. It mimics adversaries to test the security team's detection and response, rather than just finding flaws.

What it does

Simulates a realistic cyber attack against an organization to test how well its defenses (people, processes, and technology) can detect and respond. The goal is to improve security, not just find flaws.

When to use it

  • ✓To test the security team's ability to detect and respond to attacks.
  • ✓To verify if security investments are working against real threats.
  • ✓To meet security rules that require attack simulations.

Example of what to ask your AI

“Simulate a ransomware attack against our company to see if our security team notices.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/executing-red-team-exercise/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/executing-red-team-exercise/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

First, we plan the attack, choosing a type of cybercriminal and defining what we want to achieve. Then, we prepare our tools and systems for the attack, making sure they are hard to detect. Finally, we execute the attack step-by-step, trying not to be discovered, to see how the defense reacts.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill executing-red-team-exercise

Or download just the file:

curl -L https://raw.githubusercontent.com/mukul975/Anthropic-Cybersecurity-Skills/main/skills/executing-red-team-exercise/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Executing Red Team Exercise

When to Use

  • Assessing an organization's ability to detect, respond to, and contain a realistic adversary operation
  • Testing the effectiveness of the security operations center (SOC), incident response team, and threat hunting capabilities
  • Validating security investments by simulating attacks that chain multiple vulnerabilities and techniques
  • Evaluating the organization's security posture against specific threat actors (nation-state, ransomware groups, insider threats)
  • Meeting regulatory requirements for adversary simulation (TIBER-EU, CBEST, AASE, iCAST)

Do not use without executive-level authorization and a detailed Rules of Engagement document, against systems where disruption could affect safety or critical operations, or as a replacement for basic vulnerability management (fix known vulnerabilities first).

Prerequisites

  • Executive-level written authorization with clearly defined objectives, scope, and off-limits systems
  • Red team command and control (C2) infrastructure: primary and backup C2 channels with domain fronting or redirectors
  • Operator workstations with OPSEC-hardened toolsets (Cobalt Strike, Sliver, Brute Ratel, or Mythic)
  • Threat intelligence on adversary groups relevant to the target organization for adversary emulation planning
  • Trusted agent (white cell) within the target organization who manages the exercise boundaries without alerting defenders
  • MITRE ATT&CK matrix for mapping planned and executed techniques

Legal Notice: This skill is for authorized security testing and educational purposes only. Unauthorized use against systems you do not own or have written permission to test is illegal and may violate computer fraud laws.

Workflow

Step 1: Adversary Emulation Planning

Develop the operation plan based on a realistic threat model:

  • Threat actor selection: Select an adversary group relevant to the organization's industry. For financial services, emulate FIN7 or Lazarus Group. For healthcare, emulate APT41 or FIN12. Map the selected adversary's known TTPs from MITRE ATT&CK.
  • Objective definition: Define measurable objectives such as "Access customer financial data from the core banking system" or "Demonstrate ability to deploy ransomware across the domain"
  • Attack plan development: Create a step-by-step operation plan mapping each phase to ATT&CK tactics:
    1. Initial Access (TA0001): Phishing, exploiting public-facing applications, or supply chain compromise
    2. Execution (TA0002): PowerShell, scripting, exploitation for client execution
    3. Persistence (TA0003): Scheduled tasks, registry modifications, implant deployment
    4. Privilege Escalation (TA0004): Token impersonation, exploitation for privilege escalation
    5. Defense Evasion (TA0005): Process injection, timestomping, indicator removal
    6. Credential Access (TA0006): LSASS dumping, Kerberoasting, credential stuffing
    7. Lateral Movement (TA0008): Remote services, pass-the-hash, remote desktop
    8. Collection/Exfiltration (TA0009/TA0010): Data staging, exfiltration over C2
  • Deconfliction plan: Establish procedures for the white cell to distinguish red team activity from actual threats

Step 2: Infrastructure Preparation

Build OPSEC-hardened attack infrastructure:

  • C2 infrastructure: Deploy primary C2 server behind redirectors that filter Blue Team investigation traffic. Use domain fronting or legitimate cloud services (Azure CDN, CloudFront) to blend C2 traffic with normal web traffic.
  • Phishing infrastructure: Register aged domains (30+ days old), configure SPF/DKIM/DMARC, and build credential harvesting or payload delivery pages
  • Payload development: Create custom implants or configure C2 framework payloads with:
    • AMSI bypass for PowerShell execution
    • ETW patching to evade security product telemetry
    • Sleep masking and memory encryption to defeat memory scanning
    • Signed binary proxy execution (rundll32, msbuild, regsvr32) for defense evasion
  • Staging infrastructure: Set up file hosting for second-stage payloads, exfiltration drop servers, and backup communication channels
  • OPSEC verification: Test the entire infrastructure against the same EDR/AV products deployed in the target environment before going live

Step 3: Initial Access

Gain initial foothold in the target environment:

…

FAQ

What is 'MITRE ATT&CK'?

It's a catalog of tactics and techniques used by cybercriminals, which helps us plan and map our simulated attacks.

What is 'C2 infrastructure'?

It's the communication infrastructure (servers and networks) that attackers use to control compromised machines and send commands.

Can I use this to test my personal computer?

No, this tool is only for authorized security testing in organizations. Using it without permission is illegal.

Details

Original description by the author

Run a stealthy, MITRE ATT&CK-mapped adversary emulation against an organization''s people, processes, and technology, using C2 infrastructure (Cobalt Strike, Sliver, Brute Ratel, Mythic) through the full attack lifecycle to test SOC detection and response rather than just find vulnerabilities. Use when executing a full-scope red team exercise, adversary simulation/emulation, or a regulatory exerci

repo: mukul975/Anthropic-Cybersecurity-Skills

Popularity

GitHub stars
35k
Ranking position
#5733
License
Apache-2.0
Updated
8/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills