scp.exe
Used for uploading or downloading files over SSH.
Full path
C:\Windows\System32\OpenSSH\scp.exeCommands
Proxy execution of specified command, can be used as a defensive evasion.
scp.exe -o ProxyCommand="{CMD}" . localhost:.Spawns specified command from
scp.exe->ssh.exe, even if no SSH server is running on localhost (or any other address specified).os: Windows 10, Windows 11
Proxy execution of specified command, can be used as a defensive evasion.
scp.exe -S "{CMD}" . localhost:.Spawns specified command from
scp.exe->ssh.exe, even if no SSH server is running on localhost (or any other address specified).os: Windows 10, Windows 11
Detection
- IOC`scp.exe` executions referencing `ProxyCommand`.
Resources
acknowledgement: BinFault @binfault, Nir Chako (Pentera) @C_h4ck_0