Catalog GTFOBins

GTFO · Tool

chown

2 techniques Linux · macOSGTFOBins GPL-3.0

privilege-escalation

Privilege Escalation LinuxmacOS

This can be run with elevated privileges to change ownership and then read, write, or execute a file.

chown $(id -un):$(id -gn) /path/to/input-file
Context
sudo
Native
privilege-escalation
MITRE
T1548

privilege-escalation

Privilege Escalation LinuxmacOS

This can be run with elevated privileges to change ownership and then read, write, or execute a file.

chown $(id -un):$(id -gn) /path/to/input-file
Context
suid
Native
privilege-escalation
MITRE
T1548