Dxcap.exe

type: OtherMSBinaries
DirectX diagnostics/debugger included with Visual Studio.

Full path

C:\Windows\System32\dxcap.exe
C:\Windows\SysWOW64\dxcap.exe

Commands

  1. ExecuteUser T1127

    Local execution of a process as a subprocess of dxcap.exe

    Dxcap.exe -c {PATH_ABSOLUTE:.exe}

    Launch specified executable as a subprocess of dxcap.exe. Note that you should have write permissions in the current working directory for the command to succeed; alternatively, add ‘-file c:\path\to\writable\location.ext’ as first argument.

    os: Windows

    Execute: EXE

  2. ExecuteUser T1127

    Execute an arbitrary executable via trusted system executable.

    dxcap.exe -usage

    Once executed, dxcap.exe will execute xperf.exe in the same folder. Thus, if dxcap.exe is copied to a folder and an arbitrary executable is renamed to xperf.exe, dxcap.exe will spawn it.

    os: Windows 10, Windows 11

    Execute: EXERequires: Rename

Detection

Code samples

Resources

acknowledgement: Matt harr0ey @harr0ey, Vikas Singh @vikas891, Naor Evgi @ghosts621