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 appeas as if a Windows binary is doing non-standard activities.
- Download a copy of the RTA repo from https://github.com/endgameinc/RTA.
- Extract the contents of the zip archive into an RTA folder, such as c:\RTA
- 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:
|Sysinternals Suite||user_dir_escalation.py, sip_provider.py, system_restore_proc.py, trust_provider.py||Microsoft|
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.
To run the
powershell_args.pyRTA, simply run:
To run an entire directory of RTAs, you can use a loop:
for %f in (*.py) do python %f
None of the rules require arguments, but some can optionally take arguments for further customization of the technique.
for i in (*.py); do python $i; done
To help with common issues, please refer to the following frequently-asked questions:
- I tried to run the scripts but I am recieving an error finding the SimpleHTTPServer module
- When I run some RTA scripts, I get an error that "PsExec" can't be found
- I attempted to use the lateral_command.py script in an environment where at least one other workstation was found, but the script is throwing errors about RPC access
- When I run some RTA scripts, I get an error that "Access is denied"
- I noticed that there isn't a script for MITRE technique TXXXX - when's that coming?