VSDiagnostics.exe

type: OtherMSBinaries
Command-line tool used for performing diagnostics.

Full path

C:\Program Files\Microsoft Visual Studio\2022\Community\Team Tools\DiagnosticsHub\Collector\VSDiagnostics.exe

Commands

  1. ExecuteUser T1127

    Proxy execution of binary

    VSDiagnostics.exe start 1 /launch:{PATH:.exe}

    Starts a collection session with sessionID 1 and calls kernelbase.CreateProcessW to launch specified executable.

    os: Windows 10, Windows 11

    Execute: EXE

  2. ExecuteUser T1127

    Proxy execution of binary with arguments

    VSDiagnostics.exe start 2 /launch:{PATH:.exe} /launchArgs:"{CMD:args}"

    Starts a collection session with sessionID 2 and calls kernelbase.CreateProcessW to launch specified executable. Arguments specified in launchArgs are passed to CreateProcessW.

    os: Windows 10, Windows 11

    Execute: CMD

Detection

Resources

acknowledgement: Bobby Cooke @0xBoku