Dxcap.exe

DirectX diagnostics/debugger included with Visual Studio.

Paths

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

Commands

Execute

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.

Use case: Local execution of a process as a subprocess of dxcap.exe

Privileges: User

Dxcap.exe -c {PATH_ABSOLUTE:.exe}

Execute

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.

Use case: Execute an arbitrary executable via trusted system executable.

Privileges: User

dxcap.exe -usage

Detection

Resources