From 6f91baab5c4ceed6a753bb9a209dc366b45c76c2 Mon Sep 17 00:00:00 2001 From: Michael Haag <5632822+MHaggis@users.noreply.github.com> Date: Thu, 11 Feb 2021 09:16:41 -0700 Subject: [PATCH] Update T1553.004.yaml (#1386) Fixed test as it was not working Co-authored-by: mhaag-spl <76067280+mhaag-spl@users.noreply.github.com> Co-authored-by: Carrie Roberts --- atomics/T1553.004/T1553.004.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atomics/T1553.004/T1553.004.yaml b/atomics/T1553.004/T1553.004.yaml index dfd84553..d3663bc7 100644 --- a/atomics/T1553.004/T1553.004.yaml +++ b/atomics/T1553.004/T1553.004.yaml @@ -147,7 +147,7 @@ atomic_tests: Get-ChildItem Cert:\LocalMachine\My\$($cert.Thumbprint) | Remove-Item executor: command: | - certutil -addstore my .\test-cert.cer + certutil -addstore my #{pfx_path} cleanup_command: | $cert = Import-Certificate -FilePath #{pfx_path} -CertStoreLocation Cert:\LocalMachine\My Get-ChildItem Cert:\LocalMachine\My\$($cert.Thumbprint) -ErrorAction Ignore | Remove-Item -ErrorAction Ignore