Vai al contenuto
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
noorqureshi/privesc-linux-gtfobinsLinux, cloud e container

privesc-linux-gtfobins

⁨Linux privilege escalation via sudo rules, SUID/SGID binaries, and capabilities using GTFOBins techniques. Load with a Linux shell needing root, on `sudo -l` output, SUID/`getcap` findings, or "escalate on Linux". Signals: allowed sudo commands, SUID binaries, file capabilities, cron/PATH abuse.⁩

v2026.10.14-ee0e0c53 installazioni+3 in 7 giorni27 StelleMITsincronizzato 22 ore fa

Installa

Non hai ancora la CLI di NotHoly? Installala prima.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install noorqureshi/privesc-linux-gtfobins

Scrive in ⁦~/.notholy/skills⁩ dopo aver controllato la firma e lo SHA-256.

FirmaFirmato, ed25519
GFc20waMDm…A5FaJmDQ==La CLI controlla lo SHA-256 e la firma prima di scrivere qualsiasi file.
Pacchetto58732447…38467d99
587324472b45…f13738467d991 file · ⁦1.3 KB⁩
ScansioneBassonessuna segnalazione
La scansione non ha trovato nulla da segnalare in questa versione.Vedi la scansione completa
Sorgentegithub.com/NoorQureshi/security-skills/tree/main/skills/privesc/privesc-linux-gtfobins@ee0e0c5

Questa voce non è ancora scritta in italiano, quindi è mostrata in un'altra lingua: English.

When it applies

You have a low-priv Linux shell. The fastest root is almost always a misconfig — a sudo rule, a SUID binary, or a file capability that a known GTFOBins technique turns into a root shell or file read/write. Do this before kernel exploits.

Why it works

Many normal binaries can spawn shells, read/write files, or run commands. When such a binary runs with elevated rights — via sudo, the SUID bit, or a capability like cap_setuid — that power becomes yours. GTFOBins catalogs the exact escape for each binary.

Method

  1. Enumerate the three vectors:
    • sudo -l — commands you can run as root/another user (even NOPASSWD).
    • find / -perm -4000 -type f 2>/dev/null — SUID binaries.
    • getcap -r / 2>/dev/null — file capabilities (cap_setuid, cap_dac_read_search).
  2. Look up the binary on GTFOBins for the matching function (sudo / suid / capabilities) and run the exact escape (e.g. sudo vim -c ':!/bin/sh', find . -exec /bin/sh \; if SUID, a capability-based python -c 'import os;os.setuid(0);...').
  3. Also check: writable cron jobs / scripts run as root (pspy to watch), writable PATH entries a root process calls, LD_PRELOAD/env_keep in sudo, wildcard injection in root scripts.
  4. Stabilize the root shell and grab proof.

Gotchas

  • sudo -l NOPASSWD entries are the quickest win — check first.
  • A SUID binary that drops privileges is safe; GTFOBins tells you which escapes actually keep root.
  • linpeas finds all three fast, but understand the vector before firing — some escapes need exact args.

Verify success

A shell/command running as root (id shows uid=0), or root-only file read/write, via the misconfig.

References

GTFOBins; linpeas; "Linux privilege escalation" (HackTricks); pspy.

File di questa versione

Permessi

PermessoDichiaratoTrovato dalla scansione
Legge fileNoNo
Scrive fileNoNo
Esegue comandi shellNoNo
Usa la reteNoNo
Usa i connettoriNoNo
Controlla un browserNoNo

Segnalazioni della scansione

Rivisto il 13 nov 2026

La scansione non ha trovato nulla da segnalare in questa versione.

Una scansione pulita abbassa il rischio, ma non prova che il pacchetto sia sicuro. Leggi quello che installi.

VersionePubblicataCommitSHA-256FirmaCambio di permessi
v2026.10.14-ee0e0c513 nov 2026ee0e0c558732447Firmata–

Chiedi tutto quello che il tuo perimetro consente.

Crea un account, aggiungi crediti e fai la prima domanda in chat o nel terminale.

  1. 1/3

    Crea l'account

    Privato o azienda. Puoi passare ad azienda in seguito senza perdere saldo o chiavi.

    PrivatoAzienda
  2. 2/3

    Aggiungi crediti

    Con carta. Paghi a token, senza abbonamento.

    $5.00ricarica minima
  3. 3/3

    Chiedi

    In chat, oppure installa la CLI ed esegui notholy login nel terminale.

    $ notholy login