Update T1546.010.yaml (#1140)

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
This commit is contained in:
Scoubi
2020-07-17 15:48:17 -04:00
committed by GitHub
parent 126e8b1c05
commit eee2765c9d
+2 -1
View File
@@ -26,6 +26,7 @@ atomic_tests:
prereq_command: |
if ((Test-Path #{registry_file}) -and (Test-Path #{registry_cleanup_file})) {exit 0} else {exit 1}
get_prereq_command: |
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
New-Item -Type Directory (split-path #{registry_file}) -ErrorAction ignore | Out-Null
Invoke-WebRequest "https://github.com/redcanaryco/atomic-red-team/raw/master/atomics/T1546.010/src/T1546.010.reg" -OutFile "#{registry_file}"
Invoke-WebRequest "https://github.com/redcanaryco/atomic-red-team/raw/master/atomics/T1546.010/src/T1546.010-cleanup.reg" -OutFile "#{registry_cleanup_file}"
@@ -43,4 +44,4 @@ atomic_tests:
cleanup_command: |
reg.exe import #{registry_cleanup_file} >nul 2>&1
name: command_prompt
elevation_required: true
elevation_required: true