Msdeploy.exe

Microsoft tool used to deploy Web Applications.

Paths

  • C:\Program Files\IIS\Microsoft Web Deploy V2\msdeploy.exe
  • C:\Program Files (x86)\IIS\Microsoft Web Deploy V2\msdeploy.exe
  • C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe
  • C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\msdeploy.exe
  • C:\Program Files\IIS\Microsoft Web Deploy V4\msdeploy.exe
  • C:\Program Files (x86)\IIS\Microsoft Web Deploy V4\msdeploy.exe
  • C:\Program Files\IIS\Microsoft Web Deploy V5\msdeploy.exe
  • C:\Program Files (x86)\IIS\Microsoft Web Deploy V5\msdeploy.exe

Commands

Execute

Launch .bat file via msdeploy.exe.

Use case: Local execution of batch file using msdeploy.exe.

Privileges: User

msdeploy.exe -verb:sync -source:RunCommand -dest:runCommand="{PATH_ABSOLUTE:.bat}"

AWL Bypass

Launch .bat file via msdeploy.exe.

Use case: Local execution of batch file using msdeploy.exe.

Privileges: User

msdeploy.exe -verb:sync -source:RunCommand -dest:runCommand="{PATH_ABSOLUTE:.bat}"

Copy

Copy file from source to destination.

Use case: Copy file.

Privileges: User

msdeploy.exe -verb:sync -source:filePath={PATH_ABSOLUTE:.source.ext} -dest:filePath={PATH_ABSOLUTE:.dest.ext}

Detection

Resources