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