Resources / Open-Source Tool

RedTeamSimmer - Adversary Emulation Platform and Atomic Red Team Test Orchestration

RedTeamSimmer

What is RedTeamSimmer

RedTeamSimmer is an open-source, web based adversary emulation platform providing a modern UI for orchestrating Atomic Red Team tests across enterprise Windows environments. It was initially created for the 'Mastering Breach and Adversarial Attack Simulation' training at DEF CON Trainings. Traditional atomic test execution demands memorizing PowerShell syntax, manually managing prerequisites per endpoint, and collecting scattered results with no centralized visibility. RedTeamSimmer solves this with a Flask server, lightweight Golang agents, and a real-time web interface, enabling security teams to execute MITRE ATT&CK mapped techniques in a few clicks. Operators deploy agents to multiple endpoints, browse the full ATT&CK catalog, run tests with automatic prerequisite handling, and monitor live color-coded output from a single dashboard.

RedTeamSimmer bridges the gap between complex adversary emulation tooling and practical usability, giving you the power of Atomic Red Team with a clean, intuitive interface.

It also ships with adversary emulation plans modelled using Atomic Red Team for real threat actors including APT28, APT3, APT41, FIN7, Lazarus Group, and Wizard Spider for multi-stage attack simulations. Detection rule mappings for Sigma, Splunk, and Elastic Security help blue teams identify coverage gaps and validate alerting. A full operations history provides a complete audit trail for compliance. It is designed for red teamers, blue teamers, purple team exercises, EDR/AV testing, and training.

RedTeamSimmer is created and maintained by the BreachSimRange team. The original RedTeamSimmer was created by @abhijithbr.

Community Showcases & Demonstrations

RedTeamSimmer was first publicly presented at DEF CON Singapore Demo Labs 2026 to introduce the platform's adversary emulation architecture and live atomic test execution. It was subsequently featured at the Black Hat USA 2026 Arsenal in Las Vegas, and is selected for the Black Hat Europe 2026 Arsenal at Excel London (7–10 December 2026).

Architecture

Under the hood, RedTeamSimmer pairs a Flask server with lightweight Golang agents and a real-time web interface. The server hosts the dashboard and API, parses the Atomic Red Team definitions, distributes tasks, correlates detection rules, and keeps the full operations history. Operators deploy agents to multiple Windows endpoints, and each agent registers with the server, polls for work, runs techniques locally, and streams color-coded output back to a single dashboard.

RedTeamSimmer architecture: web UI, Flask server, and Go agents
Figure 1: Server, agents, and dashboard at a glance.

Features

MITRE ATT&CK Integration

RedTeamSimmer organizes all atomic tests by MITRE ATT&CK tactics, making it easy to navigate and select techniques for execution.

  • Tactic-Based Navigation: Tests are grouped under their respective MITRE ATT&CK v19 tactics (Initial Access, Execution, Persistence, Privilege Escalation, Stealth, Defense Impairment, Credential Access, Discovery, Lateral Movement, Collection, Command and Control, Exfiltration, Impact). v19 (April 2026) split the legacy Defense Evasion tactic into Stealth (TA0005) and Defense Impairment (TA0112).
  • Technique Details: View full technique descriptions, supported platforms, executor types, and elevation requirements before execution.
  • Sub-Technique Support: Supports sub-techniques (e.g., T1059.001 PowerShell under T1059 Command and Scripting Interpreter).
  • ATT&CK Links: Direct links to MITRE ATT&CK documentation for each technique.

Multi-Agent Architecture

Deploy lightweight agents on target systems and orchestrate test execution remotely from the central server.

  • Go-Based Agent: Compiled, standalone binary with no external dependencies.
  • Agent Registration: Agents automatically register with the server and report system information (hostname, username, OS, architecture).
  • AV Detection: Agents detect 60+ antivirus/EDR products including CrowdStrike, SentinelOne, Carbon Black, Defender, and more.
  • Configurable Polling: Adjustable poll intervals and jitter timing for stealth.
  • Startup Persistence: Optional persistence via registry, scheduled tasks, or startup folder.
  • Remote Shutdown: Clean agent removal with full artifact cleanup.

Currently only Windows agents are fully supported. Linux and macOS agent support is planned for future releases.

Live Execution Output

Test output streams in real time as the agent executes, not after completion, so you can watch prerequisites run, the main command run, and cleanup trigger as it happens. Output types (stdout, stderr, and agent messages) can be toggled independently to cut noise. Each test phase is separated by distinct log banners, timed individually, and displays the exit code on completion.

Prerequisite Management

Atomic tests often need tools or files in place before they execute. RedTeamSimmer parses the YAML test definition, runs the prereq_command to check whether dependencies are already satisfied, and if not, runs get_prereq_command to install them. A re-verification step confirms the prerequisites are in place before the main command runs. If you want to skip this, for example when you have already staged the target, the UI exposes a manual override to run the test directly.

Threat Actor Emulation Plans

RedTeamSimmer ships with pre-built emulation plans modelled on real-world APT tradecraft. Each plan chains together Atomic Red Team tests mapped to the techniques documented in the corresponding MITRE ATT&CK group profile, so you execute the actor's kill chain in sequence rather than running isolated techniques. Plans are JSON-defined, fully editable, and extensible. You can modify ordering, add or remove techniques, or build your own from scratch using the custom plan builder.

Threat ActorOriginFocus
APT28 (Fancy Bear)Russia, GRU Unit 26165Government espionage, election interference, credential harvesting
APT3 (Gothic Panda)China, MSSAerospace, defence, and telecom targeting
APT41 (Wicked Panda)China, dual-useHybrid espionage and financially motivated intrusions
FIN7 (Carbanak)Financially motivated (eCrime)POS malware, retail and hospitality breach patterns
Lazarus GroupNorth Korea, RGBFinancial theft, destructive attacks, cryptocurrency operations
Wizard SpiderFinancially motivated (eCrime)Ryuk/Conti ransomware kill chains, credential access, lateral movement

Each plan includes the attack chain ordering, GetPrereqs flags for test dependencies, and MITRE technique IDs for ATT&CK Navigator layer export. Execution runs techniques sequentially across one or more agents with full output captured per step.

Dashboard and Reporting

The dashboard gives you a single view of active agents with online and offline status, total emulations executed, technique coverage count, success and failure statistics, recent task history, and a failed operations list for quick triage.

Three charts display test execution stats and agent status: a doughnut chart for task status distribution, a bar chart for tactic coverage, and a pie chart for agent status breakdown.

The MITRE ATT&CK heatmap renders executed techniques against the ATT&CK matrix with color-coded status (completed, failed, running, pending), click-through to detailed output, and live updates as operations progress.

View Details Modal

The details modal shows the full output for a single technique execution. The execution summary displays the technique ID, exit code, and duration, followed by a breakdown of test name, description, executor, and platform. Input arguments are displayed in both their raw form (with variable placeholders) and resolved form (with actual values), so you can see exactly what ran. The prerequisite, main command, and cleanup sections each display their own output streams with syntax highlighting. Cleanup commands are shown for reference but not auto-executed. External links point to MITRE ATT&CK, SigmaHQ, and the Atomic Red Team repository for further investigation.

Detection Rules Integration

Every executed technique is correlated against detection rules from three sources:

  • Sigma Rules: generic detections convertible to any SIEM format.
  • Splunk Queries: ready-to-use SPL queries.
  • Elastic Rules: detections for Elastic Security.

Rules are matched automatically against the technique ID, with a count summary per technique and expandable views for full query content. Direct links point to the upstream rule repositories. The rule database is local and offline, so no external API requests are made during execution, which is useful when running in restricted or air-gapped environments.

Operations Management

The operations view lists every operation with status, progress, and timestamps. Running operations can be paused, resumed, or stopped from the interface. Progress is shown as a percentage completion bar, and clicking into any operation opens the full execution timeline with a per-technique results table (status, duration, exit codes) and a filterable log view for debugging specific runs.

File Drop System

When an emulation requires specific technique folders on the target, the server bundles them into a ZIP archive and distributes them to the selected agents. Agents confirm successful extraction before execution begins, and the staged files are removed after the test completes or when the agent shuts down cleanly.

Agent Management

The agent list shows every registered agent with status indicators alongside hostname, username, OS, architecture, and last-seen time. AV detection results are displayed per agent so you can see exactly which security products are installed on the target. Agent configuration (startup persistence, jitter timing, metadata) can be modified from the UI without redeploying the binary. The remote shutdown action cleanly removes the agent along with its artifacts: registry entries, scheduled tasks, and dropped files.

Installation

Prerequisites

  • Git
  • Windows target systems (for agent deployment)
  • Docker + Docker Compose (for Docker setup)
  • Python 3.9+ (for direct setup)
  • Go 1.19+ (for building agents)

Server Setup

The server can run on Windows, Linux, or macOS.

# Clone the repository
git clone https://github.com/breachsimrange/RedTeamSimmer.git
cd RedTeamSimmer
Cloning the RedTeamSimmer repository
Figure 2: Cloning the repository.

Python Virtual Environment (Recommended)

Always run RedTeamSimmer inside a Python virtual environment. This isolates dependencies from the system Python and avoids conflicts with other tools on the host.

# Create the virtual environment
python3 -m venv venv

# Activate (Linux / macOS)
source venv/bin/activate

When the venv is active your shell prompt will be prefixed with (venv). Run every subsequent server command - pip install, python app.py, etc. - inside the activated venv. To deactivate when finished:

deactivate

Tip: If you redeploy the server on another host, recreate the venv on that host rather than copying it - venvs contain absolute paths.

Install Server Dependencies

# With the venv activated:
cd server
pip install --upgrade pip
pip install -r requirements.txt

# Download Atomic Red Team atomics
git clone https://github.com/redcanaryco/atomic-red-team.git atomics_repo
mv atomics_repo ./atomic
rm -rf atomics_repo

# Initialize the database and create default admin user
python3 app.py
Installing server dependencies and initializing RedTeamSimmer
Figure 3: Installing dependencies and initializing the database.
RedTeamSimmer server initialization complete
Figure 4: Server initialization complete with default admin user created.

Installing Go (for Building Agents)

Go is required to compile the Windows agent binary. The agent can be cross-compiled from any host with Go installed - you do not need Go on the target Windows machine, only on the system you build the binary on.

Linux (Ubuntu/Debian/RHEL):

# Check https://go.dev/dl/ for the latest stable version
GO_VERSION=1.22.5
wget https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz

# Remove any previous Go install and extract
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf go${GO_VERSION}.linux-amd64.tar.gz

# Add Go to PATH (persisted across shells)
echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.bashrc
source ~/.bashrc

# Verify
go version
# Expected: go version go1.22.5 linux/amd64

Windows:

  1. Download the MSI installer from go.dev/dl.
  2. Run the installer - it adds Go to the system PATH automatically.
  3. Open a new PowerShell or CMD window and confirm:
    go version

Distro package managers: apt install golang-go and dnf install golang work but often ship outdated versions. Prefer the official tarball or installer for current toolchain features.

Agent Setup (Windows Only)

Important: Currently only Windows agents are fully functional. Linux and macOS agent support is under development.

# Navigate to agent directory
cd agent

# Edit agent.go and update the ServerURL
# Find this line and change the IP/hostname:
# ServerURL = "http://YOUR_SERVER_IP:5000"

# Build Windows agent (from any OS with Go installed)
GOOS=windows GOARCH=amd64 go build -o agent.exe agent.go

# Or on Windows directly:
go build -o agent.exe agent.go

Agent Configuration Options (in agent.go):

const (
    ServerURL              = "http://192.168.1.100:5000"  // Your server address
    AdminToken             = "ChangeThisAdminToken!"       // Must match server token
    PollInterval           = 7 * time.Second              // How often to check for tasks
    FiledropPoll           = 5 * time.Second              // How often to check for files
)

Downloading Detection Rules

RedTeamSimmer integrates with external detection rule sources. Use the provided scripts to download and generate the rule mappings.

# Navigate to detection folder
cd detection

# Make script executable
chmod +x download-detection-rules.sh

# Run the downloader
./download-detection-rules.sh

This script will download AttackRuleMap (Sigma + Splunk rules mapped to Atomic tests) and fetch and parse Elastic Detection Rules using the Python script.

Detection rules download complete
Figure 5: Detection rules downloaded and mapped.

Quick Start

  1. Start the Server

    # Activate the venv first if not already
    source venv/bin/activate
    
    # Development mode
    python app.py
    
    # The server starts on http://localhost:5000
    RedTeamSimmer server running
    Figure 6: RedTeamSimmer server running on localhost:5000.
  2. Login

    Navigate to http://localhost:5000 and login with the default credentials:

    RedTeamSimmer login page
    Figure 7: RedTeamSimmer login page.
    UsernamePassword
    redteamsimmerredteamsimmer

    Change the default password immediately after first login.

  3. Deploy Agent (Windows Only)

    Copy the compiled agent.exe to your Windows target system and run:

    # Run as Administrator for full capability
    .\agent.exe

    The agent will register with the server, download required PowerShell modules, and begin polling for tasks. Verify the agent appears in the Agents section of the web UI.

    RedTeamSimmer dashboard showing one agent online
    Figure 8: Dashboard showing the agent online.
    Agent registered in RedTeamSimmer web UI
    Figure 9: Agent registered and checking in with the server.
  4. Execute Tests

    1. Go to Execute Technique in the sidebar
    2. Expand tactic sections to see available techniques
    3. Check the boxes next to techniques you want to execute
    4. Select your target agent(s) in the agent table
    5. Optionally check Get Prerequisites to auto-install dependencies
    6. Click Execute Selected Tests
    7. Watch live output in the console below
  5. View Results

    • Live Output - Streams in real-time during execution
    • Test Results Table - Shows pass/fail status for each technique
    • View Details - Click to see full command output, arguments, and detection rules
    • Operations - View historical operations and their results

Lab 6.1: Technique Emulation

In this lab, you will learn how to execute an individual MITRE ATT&CK technique against a managed Windows target using RedTeamSimmer. You will select an atomic test, configure execution parameters, dispatch the test to the remote agent, observe real-time command output, and verify the test results.

In this exercise, we will execute T1566.001 - Phishing: Spearphishing Attachment (Atomic Test #1: Download Macro-Enabled Phishing Attachment). This test emulates an initial access scenario where PowerShell is invoked to download an external macro-enabled file (.xlsm / .docm) into the local user environment.

  1. Navigating to Technique Execution and Selecting the Atomic Test

    1. Log in to the RedTeamSimmer web dashboard (http://localhost:5000).
    2. From the left sidebar navigation menu, click Technique Execution (>_ TECHNIQUE EXECUTION).
    3. Under the Plan Name input field, enter a descriptive label for your run (for example, TEST 1). Custom parameters can be provided if testing specific payloads or paths.
    4. In the Tactics & Techniques catalog:
      • Expand the Initial Access tactic section (TA0001).
      • Locate technique T1566.001: Phishing: Spearphishing Attachment.
      • Expand the technique to view available atomic tests.
      • Select the checkbox for Atomic Test #1: Download Macro-Enabled Phishing Attachment (POWERSHELL executor).
    Selecting an atomic test in RedTeamSimmer technique execution view
    Figure 10: Selecting the T1566.001 atomic test from the technique catalog.
  2. Selecting the Target Agent and Configuring Prerequisites

    1. Scroll down to the Available Agents section.
    2. Verify that your target Windows endpoint agent is checking in with an ONLINE status.
    3. Select the checkbox next to the target agent.
    4. Ensure the Get Prerequisites First option is checked ([x] GET PREREQUISITES FIRST). When enabled, the server instructs the agent to execute the technique's prereq_command before running the payload. If prerequisites are missing, the agent runs get_prereq_command to stage required files or dependencies automatically.
    5. Click the green Send Test Plan button to dispatch the task to the selected agent.
    Selecting target agent and configuring prerequisites
    Figure 11: Agent selected with Get Prerequisites First enabled.
  3. Monitoring Real-Time Execution and Reviewing Results

    1. Once dispatched, RedTeamSimmer generates a unique Operation ID (e.g., OP-A6EB8728DA81) and packages the necessary atomic scripts into an archive bundle.
    2. The agent polls the server, fetches the bundle, unpacks it in a sandbox directory, and initiates execution.
    3. Observe the Live Command Output terminal: the terminal streams execution logs in real time with color-coded tags for stdout (green), stderr (red), and agent events (blue). The agent executes the test, logs execution duration, runs the built-in cleanup phase, and purges temporary files.
    4. In the Test Results Summary table, verify the summary counters: Total: 1, Completed: 1, Failed: 0, Skipped: 0.
    5. Review the technique record: T1566.001, status ✓ COMPLETED, exit code 0.
    6. Click View Details to inspect full command lines, input argument bindings, and correlated detection rules (Sigma, Splunk, Elastic).
    Technique execution results with live output and test summary
    Figure 12: Completed technique execution with live output and results summary.

Lab 6.2: Full APT Emulation

In this lab, you will execute a multi-stage adversary emulation plan modeled on the threat group APT41 (Wicked Panda). You will explore threat profile mapping, configure execution across multiple MITRE ATT&CK tactics, observe automated prerequisite staging and test skipping logic, monitor live test execution, and analyze results to evaluate detection coverage.

Background: APT41 (Wicked Panda)

APT41 (also tracked as Wicked Panda, Brass Typhoon, BARIUM, or Winnti Group) is assumed to be a Chinese state-sponsored threat group documented under MITRE ATT&CK Group ID G0096. Active since at least 2012, APT41 is known for dual-track operations: conducting state-directed espionage campaigns alongside financially motivated attacks.

Key characteristics of APT41 campaigns include:

  • Initial Access & Delivery: Sophisticated spearphishing attachments, supply chain compromises, and exploitation of public-facing web applications.
  • Execution & Persistence: Living-off-the-land binaries (LOLBins), PowerShell scripts, Windows service installation, Registry Run/RunOnce keys, and scheduled tasks.
  • Credential Access & Lateral Movement: Credential dumping, Active Directory enumeration, and RDP credential staging (mstsc, cmdkey).
  • Defense Evasion & C2: High-volume DNS queries for C2 communication, malicious HTTP user agents, and archive password encryption.
  • Exfiltration & Impact: Staging sensitive data into compressed archives using WinRAR / RAR utilities.

RedTeamSimmer models APT41 by chaining 83+ atomic unit tests spanning 95 techniques across the full attack lifecycle, providing 86% MITRE ATT&CK technique coverage for the threat group.

  1. Selecting and Reviewing the APT41 Emulation Plan

    1. In the RedTeamSimmer web console, navigate to Emulation Plans in the left sidebar.
    2. Select APT41 (Wicked Panda) from the catalog of pre-built adversary plans.
    3. Review the adversary profile card: Group ID G0096, aliases (Wicked Panda, Brass Typhoon, BARIUM, Winnti Group), and threat actor background.
    4. Check the metrics: 83 Atomic Tests, 95 Techniques, and 86% ATT&CK coverage.
    5. Below the profile banner, inspect the Atomic Tests by Tactic section. Tests are pre-organized across the attack chain: Initial Access (3 tests), Execution (6 tests), Persistence (7 tests), Stealth (19 tests), Discovery, Credential Access, Lateral Movement, Collection, Command and Control, and Impact. Use Expand All to inspect individual techniques or Select All / Deselect All to adjust selections.
    APT41 emulation plan overview with technique breakdown
    Figure 13: APT41 (Wicked Panda) emulation plan with 83 atomic tests across the full attack lifecycle.
  2. Assigning Target Agent and Configuring Prerequisites

    1. Scroll down to the Select Target Agents section.
    2. In the agent list, locate your target Windows machine and check the box to assign it.
    3. Verify that Get Prerequisites First ([x] GET PREREQUISITES FIRST) remains checked. Because APT emulation involves complex multi-stage attacks requiring specialized tools, prerequisite automation ensures required binaries and scripts are staged automatically prior to execution.
    4. Click the green Execute Emulation Plan button.
    Assigning target agent for APT41 emulation
    Figure 14: Target agent assigned with prerequisite automation enabled.
  3. Handling Execution Queue & Skipped Tests Modal

    1. Immediately upon clicking execute, RedTeamSimmer analyzes the plan against the target agent platform and displays the Execution Started (With Skipped Tests) notification modal.
    2. Review the modal summary: Emulation: APT41 (WICKED PANDA), Operation ID, Resolved Tests: 87 ATOMIC TEST(S), Skipped Tests: 30 PLAN ENTRY(IES).
    3. Click ▶ 30 Skipped Plan Entry(ies) - Click to Expand to review the skipped entries.
    Skipped tests notification modal showing platform compatibility analysis
    Figure 15: Execution started with skipped tests modal showing platform compatibility analysis.
  4. Monitoring Multi-Stage Execution in Real-Time

    1. The server queues the operation, bundles the atomic tests, and begins streaming output to the Live Command Output console.
    2. Watch as tests execute sequentially across each tactic. For example, during Lateral Movement testing the agent initiates RDP connection emulation using cmdkey.exe and mstsc.exe.
    3. The console displays the executor type (powershell), target platform (windows), raw command invocation, and execution output.
    4. As tests complete, the Test Results Summary bar updates dynamically, reflecting real-time counts for Total, Completed, and Failed tests.
    Live multi-stage APT emulation execution output
    Figure 16: Real-time execution output during multi-stage APT41 emulation.
  5. Analyzing Emulation Results and Detection Gaps

    1. Once the operation finishes, examine the complete breakdown in the Test Results Summary table.
    2. Review the summary metrics: Total: 62, Completed: 38, Failed: 24, Skipped: 0.
    3. Scroll through the results table to evaluate individual technique statuses and exit codes.
    APT41 emulation final results summary
    Figure 17: Complete APT41 emulation results with per-technique status breakdown.

View the project on GitHub

Browse the source, try RedTeamSimmer in your own lab, and contribute. Issues, feature ideas, and pull requests are all welcome, and a star helps the project reach more defenders.

View on GitHub