From 4050f7e76c20c8c65f2b7f9890ee0690ea569cb2 Mon Sep 17 00:00:00 2001 From: bbucao <57825239+bbucao@users.noreply.github.com> Date: Sat, 15 Aug 2020 21:48:56 -0500 Subject: [PATCH] Update T1564.004 test 3 Create ADS command prompt (#1198) * Update T1564.004 test 3 * ignore errors when running cleanup multiple times Co-authored-by: Carrie Roberts --- atomics/T1564.004/T1564.004.yaml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/atomics/T1564.004/T1564.004.yaml b/atomics/T1564.004/T1564.004.yaml index ae92a012..4cc3a8ae 100644 --- a/atomics/T1564.004/T1564.004.yaml +++ b/atomics/T1564.004/T1564.004.yaml @@ -73,17 +73,9 @@ atomic_tests: type: string default: '%temp%\T1564.004_has_ads_cmd.txt' ads_filename: - description: Name of ADS file. + description: Name of ADS. type: string default: adstest.txt - dependency_executor_name: command_prompt - dependencies: - - description: | - The file must exist on disk at specified location (#{file_name}) - prereq_command: | - IF EXIST #{file_name} ( EXIT 0 ) ELSE ( EXIT 1 ) - get_prereq_command: | - echo normal_text >> #{file_name} >nul 2>&1 executor: command: | echo cmd /c echo "Shell code execution."> #{file_name}:#{ads_filename}