Skip to content
← RegistryDossier · 5 steps · 4 edges

SUID binary → root via GTFOBins

Find an unusual SUID binary (find / nmap / vim / awk / less), check GTFOBins for the privilege-escalation primitive, spawn a root shell.

Filed by AD Knowledge Base
§ Kill-chainDrag · zoom · scroll

§ Context

Assumed environment: foothold as a low-priv user on a Linux host. At least one binary has the SUID bit set on an unusual target (admin convenience, software bundle, ancient config).

§ Steps

  1. 01
    Low-priv shell on hostInitial Access
    T1078Valid Accounts
  2. 02
    Spawn root shell via the primitiveExecution
    T1059Command and Scripting Interpreter
  3. 03
    find / -perm -4000 -type fDiscovery
    T1083File and Directory Discovery
  4. 04
    Look up the binary in GTFOBinsPrivilege Escalation
    L-SUID-ABUSESUID Binary Abuse
  5. 05
    Plant SSH key + cron jobPersistence
    L-SSH-AUTHKEYSSSH authorized_keys Backdoor

§ References

§ Frequently asked

What is the "SUID binary → root via GTFOBins" attack path?
Find an unusual SUID binary (find / nmap / vim / awk / less), check GTFOBins for the privilege-escalation primitive, spawn a root shell. It chains 5 steps drawn from real-world offensive-security techniques.
What starting position does this attack require?
The first step is Low-priv shell on host (T1078) — a initial access primitive. Assumed environment: foothold as a low-priv user on a Linux host.
What is the final impact of this kill-chain?
The final step lands on Plant SSH key + cron job (L-SSH-AUTHKEYS), which falls under Persistence. From here, an operator typically pivots into post-exploitation or maintains persistence.
How can defenders detect or prevent this attack?
Detection and prevention vary per step. Refer to each linked MITRE ATT&CK entry under "References" — every technique on that page lists defensive controls, detection telemetry, and known threat-actor usage.

§ Related dossiers