LOLBAS/yml/OtherMSBinaries/Msdeploy.yml
2024-07-15 20:53:17 +01:00

49 lines
2.2 KiB
YAML

---
Name: Msdeploy.exe
Description: Microsoft tool used to deploy Web Applications.
Author: 'Oddvar Moe'
Created: 2018-05-25
Commands:
- Command: msdeploy.exe -verb:sync -source:RunCommand -dest:runCommand="c:\temp\calc.bat"
Description: Launch calc.bat via msdeploy.exe.
Usecase: Local execution of batch file using msdeploy.exe.
Category: Execute
Privileges: User
MitreID: T1218
OperatingSystem: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11, Windows Server
- Command: msdeploy.exe -verb:sync -source:RunCommand -dest:runCommand="c:\temp\calc.bat"
Description: Launch calc.bat via msdeploy.exe.
Usecase: Local execution of batch file using msdeploy.exe.
Category: AWL Bypass
Privileges: User
MitreID: T1218
OperatingSystem: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11, Windows Server
- Command: msdeploy.exe -verb:sync -source:filePath=C:\windows\system32\calc.exe -dest:filePath=C:\Users\Public\calc.exe
Description: Copy file from source to destination.
Usecase: Copy file.
Category: Copy
Privileges: User
MitreID: T1105
OperatingSystem: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11, Windows Server
Full_Path:
- Path: C:\Program Files\IIS\Microsoft Web Deploy V2\msdeploy.exe
- Path: C:\Program Files (x86)\IIS\Microsoft Web Deploy V2\msdeploy.exe
- Path: C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe
- Path: C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\msdeploy.exe
- Path: C:\Program Files\IIS\Microsoft Web Deploy V4\msdeploy.exe
- Path: C:\Program Files (x86)\IIS\Microsoft Web Deploy V4\msdeploy.exe
- Path: C:\Program Files\IIS\Microsoft Web Deploy V5\msdeploy.exe
- Path: C:\Program Files (x86)\IIS\Microsoft Web Deploy V5\msdeploy.exe
Code_Sample:
- Code:
Detection:
- Sigma: https://github.com/SigmaHQ/sigma/blob/683b63f8184b93c9564c4310d10c571cbe367e1e/rules/windows/process_creation/proc_creation_win_lolbin_msdeploy.yml
Resources:
- Link: https://twitter.com/pabraeken/status/995837734379032576
- Link: https://twitter.com/pabraeken/status/999090532839313408
Acknowledgement:
- Person: Pierre-Alexandre Braeken
Handle: '@pabraeken'
- Person: Avihay Eldad
Handle: '@AvihayEldad'