.. /Sftp.exe
Star

Execute (CMD)

sftp.exe is a Windows command-line utility that uses the Secure File Transfer Protocol (SFTP) to securely transfer files between a local machine and a remote server.

Paths:

Resources:

Acknowledgements:

Detections:

Execute

  1. Spawns ssh.exe which in turn spawns the specified command line. See also this project's entry for ssh.exe.

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