.. /ssh.exe
Star

Execute (CMD)

Ssh.exe is the OpenSSH compatible client can be used to connect to Windows 10 (build 1809 and later) and Windows Server 2019 devices.

Paths:

Resources:

Acknowledgements:

Detections:

Execute

  1. Executes specified command on host machine. The prompt for password can be eliminated by adding the host's public key in the user's authorized_keys file. Adversaries can do the same for execution on remote machines.

    ssh localhost "{CMD}"
    Use case
    Execute specified command, can be used for defense evasion.
    Privileges required
    User
    Operating systems
    Windows 10 1809, Windows Server 2019
    ATT&CK® technique
    T1202
    Tags
    Execute: CMD
  2. Executes specified command from ssh.exe

    ssh -o ProxyCommand="{CMD}" .
    Use case
    Performs execution of specified file, can be used as a defensive evasion.
    Privileges required
    User
    Operating systems
    Windows 10
    ATT&CK® technique
    T1202
    Tags
    Execute: CMD