Pcwrun.exe
Program Compatibility Wizard
Full path
C:\Windows\System32\pcwrun.exeCommands
Proxy execution of binary
Pcwrun.exe {PATH_ABSOLUTE:.exe}Open the target .EXE file with the Program Compatibility Wizard.
os: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
Proxy execution of binary
Pcwrun.exe /../../$(calc).exeLeverage the MSDT follina vulnerability through Pcwrun to execute arbitrary commands and binaries. Note that this specific technique will not work on a patched system with the June 2022 Windows Security update.
os: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
Detection
Resources
acknowledgement: Pierre-Alexandre Braeken @pabraeken, Nasreddine Bencherchali @nas_bench