From 07b95063b7de4678a7072e6f8a32cf1923db6a2b Mon Sep 17 00:00:00 2001 From: Carrie Roberts Date: Mon, 24 Feb 2025 21:27:13 -0700 Subject: [PATCH] avoid command hanging (#3066) Co-authored-by: Bhavin Patel --- atomics/T1555.003/T1555.003.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/atomics/T1555.003/T1555.003.yaml b/atomics/T1555.003/T1555.003.yaml index b6c83d28..f549e1a9 100644 --- a/atomics/T1555.003/T1555.003.yaml +++ b/atomics/T1555.003/T1555.003.yaml @@ -30,8 +30,7 @@ atomic_tests: Remove-Item "#{file_path}\Modified-SysInternalsSuite.zip" -Force executor: command: | - Set-Location -path "#{file_path}\Sysinternals"; - ./accesschk.exe -accepteula .; + Start-Process "#{file_path}\Sysinternals\accesschk.exe" -ArgumentList "-accepteula ." cleanup_command: | Remove-Item "#{file_path}\Sysinternals" -Force -Recurse -ErrorAction Ignore name: powershell