
Multiachtitektur-Linux-Privilegieneskalations-Toolkit mit 24 vorgebauten und zur Laufzeit kompilierbaren Exploits. Erkennt automatisch die Kernelversion, filtert gepatchte Exploits aus und probiert jedes aus, bis Root erreicht ist.
Multi-Architektur-Privilege-Escalation-Toolkit mit 24 Exploits (amd64 vorkompiliert; andere Architekturen werden zur Laufzeit über gcc kompiliert). Unterstützt amd64, arm64, 386, mips, mipsle, mips64 und mips64le. Erkennt Kernel-Version, filtert gepatchte Exploits heraus und versucht nacheinander, bis Root erreicht ist.
# run directly (no gcc needed on target if pre-compiled binaries are embedded)
./lpe-toolkit
# dry-run: show exploit plan without executing
./lpe-toolkit --dry-run
# skip specific exploits
./lpe-toolkit --skip "dirtyfrag,dirtypipe"
# execute a command once root is achieved and show its output
./lpe-toolkit -c "id"
# silent automation: suppress all output except the command result
./lpe-toolkit -q -c "whoami"
# verbose output (includes exploit stdout/stderr)
./lpe-toolkit -v
| Flag | Beschreibung |
|---|---|
--dry-run | Zeigt an, welche Exploits verfügbar/übersprungen werden |
--just-build | Löst alle Exploits auf, gibt Pfade aus und beendet (nützlich zum Paketieren) |
--skip LIST | Komma-getrennte Liste von zu überspringenden Exploit-Namen |
-c, --command CMD | Führt CMD als Root aus (anstatt eine interaktive Shell zu starten) |
-q, --quiet | Unterdrückt Toolkit-Meldungen; zeigt nur Root-Shell-Ausgabe oder unsuccessful in getting root |
-v, --verbose | Enthält Exploit-stdout/stderr in der Ausgabe (schließt sich mit -q aus) |
Hinweis: -v und -q schließen sich gegenseitig aus – das Toolkit beendet sich mit einem Fehler, wenn beide angegeben werden.
# native build (pre-compile C exploits then embed in Go binary)
make
# cross-compile for all architectures (native arch's C exploits only)
make build-all
# run directly from source (compile exploits on target at runtime)
make run-source
# clean build artifacts
make clean
Anforderungen: Go 1.21+, gcc und Cross-Compiler für die Zielarchitekturen:
aarch64-linux-gnu-gcci686-linux-gnu-gccmips-linux-gnu-gccmipsel-linux-gnu-gccmips64-linux-gnuabi64-gccmips64el-linux-gnuabi64-gccDas Flag --just-build löst alle nutzbaren Exploits auf und gibt deren Pfade aus. Verwenden Sie es, um zu überprüfen, was zur Laufzeit verfügbar sein wird.
Das vorkompilierte Binärarchiv für jedes Release enthält ein statisch gelinktes Go-Binary mit eingebetteten C-Exploits. Alle Exploits sind für alle Architekturen vorkompiliert.
toolkit.go: Kern-Exploit-Definitionen, Kernel-Version-Parsing, binäre Auflösung, GTFOBins-sudo-Missbrauchs-Handler, execCommandAsRoot() für nicht-interaktive Befehlsausführung, msg()/say()-Ausführlichkeitshilfenmain.go: CLI-Einstiegspunkt mit Flags (-c, -q, -v, --skip, --dry-run, --just-build) und Signalbehandlungbuild-exploits.sh: Cross-Compilierungs-Skript für C-Exploitsexploits/: C-Quelldateien und vorkompilierte Binärdateien, eingebettet über //go:embedInstallFiles-SIMULATE/NONE-Flags, um root-privilegierte postinst-Ausführung auszulösen, legt setuid-root bash unter /var/tmp/.suid_bash abparseKernelVersion korrigiert: parseIntPrefix hinzugefügt, um -rcN-Suffixe beim Vergleichen von Kernel-Versionen zu behandelnbad_epoll.c mit korrekter J-jaeyoung-Architektur neu geschrieben: zwei epoll-Paare, timerfd-IRQ-Aufweitung über 3000+ Wartende, Tiefe-3-Orakel, Acquire/Release-Atomics auf gemeinsamen Variablentry_passwd_root() hinzugefügt – stiehlt beschreibbaren /etc/shadow-fd von passwd, schreibt einen bekannten Passwort-Hash, startet dann su -; fällt auf Nur-Leak-Methoden zurück/etc/passwd im dirtypipe-Stil mit → → startet OFF_*- und PIVOT*-Definitionen für Ihren Kernel an. Erfordert /proc/kallsyms (kptr_restrict=0). Führen Sie auf einem nicht gepatchten Kernel aus – der Fix (Commit a6dc643c6931, fügt ep_clear_and_put hinzu) wurde auf viele Distributionen zurückportiert, einschließlich Ubuntu 22.04s 6.8 HWE.| # | Name | Target | Type |
|---|
| 1 | Copy Fail CVE-2026-31431 | AF_ALG + splice page-cache write | pre-built / compile |
| 2 | Dirty Frag CVE-2026-43284 | xfrm-ESP/RxRPC page-cache write | pre-built / compile |
| 3 | Fragnesia CVE-2026-46300 | espintcp splice page-cache corruption | pre-built / compile |
| 4 | DirtyDecrypt CVE-2026-31635 | rxgk pagecache write | pre-built / compile |
| 5 | Fragnesia v2 | skb_segment GRO coalesce | pre-built / compile |
| 6 | PinTheft | RDS zerocopy + io_uring page-cache overwrite | pre-built / compile |
| 7 | Dirty Pipe CVE-2022-0847 | /etc/passwd page-cache overwrite | pre-built / compile |
| 8 | CIFSwitch CVE-2026-46243 | cifs.spnego + NSS namespace confusion | pre-built / compile |
| 9 | PwnKit CVE-2021-4034 | pkexec environment escape | pre-built / compile |
| 10 | OverlayFS CVE-2021-3493 | user-ns mount escape | pre-built / compile |
| 11 | OvFS+FUSE CVE-2023-0386 | FUSE mount escape | pre-built / compile |
| 12 | Pack2TheRoot CVE-2026-41651 | PackageKit D-Bus race → setuid root | pre-built / compile |
| 13 | Polkit D-Bus CVE-2021-3560 | accounts-daemon race | pre-built / compile |
| 14 | Docker Socket | writable /var/run/docker.sock | pre-built / compile |
| 15 | netfilter OOB CVE-2021-22555 | ip_tables corruption | pre-built / compile |
| 16 | nft UAF2 CVE-2022-2586 | nftables chain UAF | pre-built / compile |
| 17 | pidfd race CVE-2026-46333 | ssh-keysign/shadow FD theft | pre-built / compile |
| 18 | CPU Timer Race CVE-2025-38352 | POSIX timer race (PoC) | pre-built / compile |
| 19 | nft UAF CVE-2024-1086 | Notselwyn multi-file nftables | pre-built / compile |
| 20 | PEdit COW CVE-2026-46331 | tc-pedit page-cache overwrite su | pre-built / compile |
| 21 | DirtyClone CVE-2026-43503 | ESP-in-UDP TEE page-cache passwd | pre-built / compile |
| 22 | Bad Epoll CVE-2026-46242 | epoll close-vs-close race UAF | pre-built / compile |
| 23 | FUSE OOB CVE-2026-31694 | FUSE readdir cache OOB -> passwd | pre-built / compile |
| 24 | GTFOBins | 80+ passwordless sudo techniques | go-handler |
splice()root::0:0:su ---corrupt-only, um die interaktive PTY-Brücke zu überspringen; execCommandAsRoot() leitet den Befehl an die su-stdin für zuverlässige nicht-interaktive Ausführung