Atomic Red Team
Last updated
Was this helpful?
Last updated
Was this helpful?
is an open-source project that provides a framework for performing security testing and threat emulation. The main goal of Atomic Red Team is to ease the threat emulation process. Atomic Red Teamโs tests are mapped to the MITRE ATT&CK framework.
Every Atomic Test is written for a specific MITRE Technique where the files are named as its mapped MITRE Technique ID. We can find the collection of available tests .
First weโll need to open PowerShell as an administrator. Secondly, weโll set the ExecutionPolicy to bypass in order to ignore the security warning prompts for the module.
Third, weโll import the module using the following command.
Next, weโll need to update the PSDefaultParameterValues var
Once that is imported, we can then check to see if itโs working by using the help command.
We can list the available atomic techniques. For example if we wanted to see if is available.
The output above gives us the attack commands that itโll run as well as the clean up commands.
Some techniques will have a Dependencies section. In order to check with the pre-requisites are met, we can run the following command with the technique we want to use.
We can then try to pull the dependencies from an external source using the following command.
There are multiple ways of executing the Atomic tests.
If we look at the screenshot above, we can execute these tests in multiple ways. The first way would be with the TestNumbers which runs the tests by the numbers that we see to the right of T1053.005.
The next way of executing tests is by the test name which is everything to the right of T1053.005โ1.
Alternatively, we can execute all tests or just a single test.
We can pass in custom arguments into each test through the command line by using the -PromptForInputArgs
flag when we run the command.
After executing any of the tests, itโs very important to clean up the results of those emulations. Atomic Red Team offers a Cleanup parameter that we can use to clean up the effects of the test.
In some cases Atomic Red Team may not have the corresponding Atomic or test for the the MITRE techniques that youโre looking for.
We can create new tests using the Atomic Red Team GUI.
Once thatโs started, we can then visit it at localhost:8487/home in the browser.
We can then fill out the form and generate the YAML file by clicking on the Generate Test Definition YAML button.