Identifier / Programs / Windows
msdeploy.exe
LOLBAS Execute, AWL Bypass, Copy 1 Sigma rule name it 2 ATT&CK techniques 3 documented commands
How msdeploy.exe is abused
Each abuse is LOLBAS's category and the options and words it uses; the full write-up is on LOLBAS's page for msdeploy.exe.
3 documented commands
Execute T1218 System Binary Proxy Execution User privileges
Launch .bat file via msdeploy.exe.
msdeploy.exe -verb:sync -source:RunCommand -dest:runCommand="{PATH_ABSOLUTE:.bat}"IdentifyTrips 1 Sigma rule: mediumExecute Files with Msdeploy.exe by Beyu Denis, oscd.community
AWL Bypass T1218 System Binary Proxy Execution User privileges
Launch .bat file via msdeploy.exe.
msdeploy.exe -verb:sync -source:RunCommand -dest:runCommand="{PATH_ABSOLUTE:.bat}"IdentifyTrips 1 Sigma rule: mediumExecute Files with Msdeploy.exe by Beyu Denis, oscd.community
Copy T1105 Ingress Tool Transfer User privileges
Copy file from source to destination.
msdeploy.exe -verb:sync -source:filePath={PATH_ABSOLUTE:.source.ext} -dest:filePath={PATH_ABSOLUTE:.dest.ext}IdentifyTrips no Sigma process-creation rule.
2 of the 3 commands the identifier reads trip a Sigma process-creation rule; 1 trips none. These commands and their descriptions are from LOLBAS’s entry for msdeploy.exe, by Oddvar Moe, at commit 2056cb766250 of 2026-09-26, under the GPL-3.0 and LOLBAS’s notice, with no warranty. Changed: Markdown is shown formatted. The source is in lolbas-gtfobins-commands.json.gz, and the full entry is on LOLBAS’s page for msdeploy.exe. The identifier reads each with LOLBAS’s placeholders filled in: a URL as https://example.com/file, a share as \\192.0.2.10\share\file, a path as C:\Data\file and a command as calc.exe.