Endgame Red Team Automation (RTA) Framework

Red Team Automation (RTA) provides a framework of scripts designed to allow blue teams to test their detection capabilities against malicious tradecraft, modeled after MITRE ATT&CK.

RTA is composed of python scripts that generate evidence of over 50 different ATT&CK tactics, as well as a compiled binary application that performs activities such as file timestopping, process injections, and beacon simulation as needed.

Where possible, RTA attempts to perform the actual malicious activity described. In other cases, the RTAs will emulate all or parts of the activity. For example, some lateral movement will by default target local host (though with parameters typically allow for multi-host testing). In other cases, executables such as cmd.exe or python.exe will be renamed to make it appear as if a Windows binary is doing non-standard activities.

The framework is targeting windows operating system you can download and unzip the file next add sysinternals and MsXsl suite in the bin folder. If you will have an antivirus or a security software on your system this will prevent execution many of the script and they are going to be identified as malwares. you should evaluate the targeted host protection before running any of the evaluation test.

All scripts include the name of the attack and brief description for what will be expected to run upon execution for example “Description: Creates registry persistence for mock malware in Run and RunOnce keys, Services and debuggers.” It will be important to review each script and check if you will need to test this type of attack.


  • Python2.7

Installation Steps

  1. Download a copy of the RTA repo from https://github.com/endgameinc/RTA.
  2. Extract the contents of the zip archive into an RTA folder, such as c:RTA
  3. For the full experience, download additional files into the bin subdirectory (as described in the dependencies section below)


Some of the RTAs require 3rd party tools in order to execute properly. You can run many RTAs without additional tools, but to make use of the full suite, some will require additional downloads.

The following table provides dependency information:

Dependency RTAs source
Sysinternals Suite user_dir_escalation.py, sip_provider.py, system_restore_proc.py, trust_provider.py Microsoft
MsXsl msxsl_network.py Microsoft

Other Considerations

Windows Defender or other Anti-Virus products may block or otherwise interfere with RTAs while they run. Consider how you configure security products on the test host before running RTAs based on the goals of your tests.


By modifying common.py, you can customize how RTA scripts will work in your environment. You could even write an entirely new function for use in one or more new RTAs.

Running RTAs

To run the powershell_args.py RTA, simply run:

python powershell_args.py

To run an entire directory of RTAs, the easiest way is to use the script-runner provided, “run_rta.py”. This script-runner is capable of running every script in the “red_ttp” subdirectory and will do so by default:

All operating systems:

python run_rta.py

Alternatively, you can use a loop:


for %f in (*.py) do python %f


for i in (*.py); do python $i; done

None of the rules require arguments, but some can optionally take arguments for further customization of the technique

You can read more and download this framework over here: https://github.com/endgameinc/

To Top

Pin It on Pinterest

Share This