Catalog GTFOBins

GTFO · Tool

sg

2 techniques LinuxGTFOBins GPL-3.0
shell
ExecutionPrivilege Escalation Linux

Commands can be run if the current user's group is specified, therefore no additional permissions are needed.

sg root
Context
sudo
Native
shell
MITRE
T1059
shell
Execution Linux

Commands can be run if the current user's group is specified, therefore no additional permissions are needed.

sg $(id -ng)
Context
unprivileged
Native
shell
MITRE
T1059