CatalogGTFOBins

GTFO · Tool

install

2 techniquesLinuxGTFOBinsGPL-3.0

privilege-escalation

Privilege EscalationLinux

This can be run with elevated privileges to change permissions (`6` denotes the SUID bits) and then read, write, or execute a file.

install -m 6777 /path/to/input-file /path/to/output-dir/
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
sudo
Native
privilege-escalation
MITRE
T1548

privilege-escalation

Privilege EscalationLinux

This can be run with elevated privileges to change permissions (`6` denotes the SUID bits) and then read, write, or execute a file.

install -m 6777 /path/to/input-file /path/to/output-dir/
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
suid
Native
privilege-escalation
MITRE
T1548