Catalog LOLBAS

LOL · Binary

Sftp.exe

2 techniques WindowsLOLBAS GPL-3.0
Execute
Execution Windows

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

Use Proxy execution of specified command, can be used as a defensive evasion.

sftp -o ProxyCommand="{CMD}" .
Context
user
Native
Execute
MITRE
T1202
Detection
IOC: sftp.exe executions with ProxyCommand on the command line
IOC: sftp.exe spawning ssh.exe with ProxyCommand on the command line
Execute
Execution Windows

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

Use Proxy execution of specified command, can be used as a defensive evasion.

sftp -D "{CMD}"
Context
user
Native
Execute
MITRE
T1202
Detection
IOC: sftp.exe executions with ProxyCommand on the command line
IOC: sftp.exe spawning ssh.exe with ProxyCommand on the command line