Attacks and Exploits
A tester ran an Atomic Red Team test for T1003.001 with Invoke-AtomicTest and now must remove the artifacts it created. Which parameter should be added?
Show the answer
Correct answerB. -Cleanup
AWhy not this: -ShowDetails displays the test's description and commands without removing artifacts.
BWhy this is right: -Cleanup runs the test's cleanup commands to remove the artifacts it created.
CWhy not this: -GetPrereqs downloads or installs what a test needs before it runs; it removes nothing.
DWhy not this: -CheckPrereqs only reports whether prerequisites are present; it changes nothing.
Invoke-AtomicTest with -Cleanup runs the test's cleanup commands and reverses changes it made. -GetPrereqs installs prerequisites before a run, so it does not undo anything.