CatalogGTFOBins

GTFO · Tool

chattr

2 techniquesLinuxGTFOBinsGPL-3.0

privilege-escalation

Privilege EscalationLinux

Make the target file immutable.

chattr +i /path/to/input-file
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

Make the target file immutable.

chattr +i /path/to/input-file
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