Atomic Red Team Testing
БесплатноБез исполняемых скриптовНе проверенExecute and validate adversary emulation tests using Atomic Red Team. Covers standard atomics, custom atomics (T9999.XXX), deployment workflows, and detection…
от MHaggis★ 531 звезда на GitHubОб этом скилле
Atomic Red Team Testing Skill
Configuration
Required environment variables:
| Variable | Description | Example |
|---|---|---|
$SIEM_PLATFORM |
Target SIEM for validation | splunk, sentinel, elastic |
$ATTACK_RANGE_PATH |
Path to Attack Range installation | /opt/attack-range |
$ATTACK_RANGE_VENV |
Path to Attack Range Python venv | /opt/attack-range/.venv |
$ATOMICS_PATH |
Path to atomic-red-team atomics folder | /opt/atomic-red-team/atomics |
$CUSTOM_ATOMICS_PATH |
Path to custom atomics (T9999.XXX) | /opt/custom-atomics |
Target placeholders used in this guide:
<TARGET_IP>— IP address of the test endpoint<TARGET_NAME>— Hostname of the test endpoint (e.g.,ar-win-1)
Pragmatic Testing Philosophy
Detection engineering is iterative. The goal is NOT to run every atomic against every target — it is to generate the specific telemetry your detection needs and confirm the detection fires.
Core principles:
- Test what you're detecting. Pick atomics that produce the exact event your SPL/Sigma/KQL query looks for.
- One technique at a time. Isolate variables. Run one atomic, check for logs, validate the detection, then move on.
- Fast feedback loops. Deploy → Execute → Wait → Validate. If something breaks, fix it and re-run — don't over-plan.
- Custom atomics fill gaps. When no standard atomic covers your detection scenario, write a T9999.XXX custom atomic instead of forcing a bad fit.
- Validate telemetry first, detection second. If the right events aren't reaching your SIEM, the detection can't fire. Always confirm log ingestion before blaming the query.
Running Standard Atomics
Via Invoke-AtomicRedTeam (PowerShell on target)
# List available tests for a technique
Invoke-AtomicTest T1059.001 -ShowDetailsBrief
# Run a specific test number
Invoke-AtomicTest T1059.001 -TestNumbers 1
# Run with prerequisite check and install
Invoke-AtomicTest T1059.001 -TestNumbers 1 -GetPrereqs
Invoke-AtomicTest T1059.001 -TestNumbers 1
# Cleanup after test
Invoke-AtomicTest T1059.001 -TestNumbers 1 -Cleanup
Via Attack Range (remote execution)
cd "$ATTACK_RANGE_PATH"
source "$ATTACK_RANGE_VENV/bin/activate"
# Run a standard atomic remotely
python attack_range.py simulate -t T1059.001 --target <TARGET_NAME>
# Run specific test number
python attack_range.py simulate -t T1059.001 -tn 1 --target <TARGET_NAME>
Via Ansible (direct SSH/WinRM)
ansible <TARGET_NAME> -m win_shell -a "Invoke-AtomicTest T1059.001 -TestNumbers 1" \
--extra-vars "ansible_host=<TARGET_IP>"
Custom Atomics (T9999.XXX)
When no standard atomic exists for your detection scenario, create a custom atomic using the T9999.XXX numbering scheme. This avoids collisions with upstream Atomic Red Team technique IDs.
Numbering Convention
| Range | Purpose |
|---|---|
| T9999.001–T9999.099 | Windows endpoint atomics |
| T9999.100–T9999.199 | Linux endpoint atomics |
| T9999.200–T9999.299 | Cloud / SaaS atomics |
| T9999.300–T9999.399 | Network / protocol atomics |
Custom Atomic YAML Structure
attack_technique: T9999.001
display_name: "Custom - Suspicious PowerShell Download Cradle"
atomic_tests:
- name: "PowerShell download cradle with Net.WebClient"
auto_generated_guid: <generate-a-uuid>
description: |
Simulates a PowerShell download cradle using Net.WebClient.
Designed to trigger detections for T1059.001 + T1105.
supported_platforms:
- windows
executor:
command: |
powershell.exe -NoProfile -Command "(New-Object Net.WebClient).DownloadString('http://127.0.0.1/test')"
name: command_prompt
elevation_required: false
Deploying Custom Atomics
- Place YAML in
$CUSTOM_ATOMICS_PATH/T9999.XXX/T9999.XXX.yaml - Copy to target's atomics folder or use Ansible:
ansible <TARGET_NAME> -m win_copy \
-a "src=$CUSTOM_ATOMICS_PATH/T9999.001/ dest=C:\\AtomicRedTeam\\atomics\\T9999.001\\" \
--extra-vars "ansible_host=<TARGET_IP>"
- Execute on target:
Invoke-AtomicTest T9999.001 -TestNumbers 1
Validation Workflow
The standard workflow is: Deploy → Execute → Wait → Validate
Step 1: Deploy (if needed)
Ensure the target has Invoke-AtomicRedTeam installed and any custom atomics are synced.
Step 2: Execute
Run the atomic test (see above). Note the exact execution time.
Step 3: Wait for Ingestion
Telemetry takes time to reach your SIEM. Typical delays:
| Data Source | Expected Delay |
|---|---|
| Sysmon (via UF) | 30–90 seconds |
| Windows Security Events | 30–120 seconds |
| EDR telemetry | 15–60 seconds |
| Cloud audit logs | 1–5 minutes |
| Network flow data | 1–5 minutes |
Recommendation: Wait at least 2 minutes before querying, then retry at 5 minutes if nothing appears.
Step 4: Validate
Check for telemetry first
Установить Atomic Red Team Testing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Atomic Red Team Testing?
Execute and validate adversary emulation tests using Atomic Red Team. Covers standard atomics, custom atomics (T9999.XXX), deployment workflows, and detection validation.
Как установить скилл Atomic Red Team Testing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Atomic Red Team Testing запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic