Catalog GTFOBins

GTFO · Tool

mv

5 techniques Linux · macOSGTFOBins GPL-3.0

file-write

File WritePrivilege Escalation LinuxmacOS
echo DATA >/path/to/temp-file
mv /path/to/temp-file /path/to/output-file
Context
sudo
Native
file-write
MITRE
T1565

file-write

File WritePrivilege Escalation LinuxmacOS
echo DATA >/path/to/temp-file
mv /path/to/temp-file /path/to/output-file
Context
suid
Native
file-write
MITRE
T1565

file-write

File Write LinuxmacOS
echo DATA >/path/to/temp-file
mv /path/to/temp-file /path/to/output-file
Context
unprivileged
Native
file-write
MITRE
T1565

privilege-escalation

Privilege Escalation LinuxmacOS

This can be used to move and then read or write files from a restricted file systems or with elevated privileges.

mv /path/to/input-file /path/to/output-file
Context
sudo
Native
privilege-escalation
MITRE
T1548

privilege-escalation

Privilege Escalation LinuxmacOS

This can be used to move and then read or write files from a restricted file systems or with elevated privileges.

mv /path/to/input-file /path/to/output-file
Context
suid
Native
privilege-escalation
MITRE
T1548