
Privilege escalation exploit for CVE-2025-32463 using a malicious NSS module injected via sudo -R. This version creates a stealth payload called illdeed, granting root access through a controlled chroot environment.
This is a refactored proof-of-concept (PoC) exploit for CVE-2025-32463, a critical vulnerability in sudo versions 1.9.14 through 1.9.17 that allows local privilege escalation to root via sudo -R and a fake NSS module.
⚠️ This version creates a payload named
illdeedfor tracking and forensic testing.
nsswitch.conflibnss_illdeed.so.2 shared objectsudo -R <fake_root>--no-clean is passedsudo 1.9.14 → 1.9.17gcc installedsudo -R (no password required)# Get an interactive root shell
./sudo-illdeed.sh
# Run a custom root command
./sudo-illdeed.sh "id && whoami && touch /root/illdeed.txt"
# Keep generated files for analysis
./sudo-illdeed.sh --no-clean
This code is provided for educational and authorized security testing purposes only. Do not use against systems you do not own or have explicit permission to test.
Original PoC: Rich Mirch (Stratascale Cyber Research Unit)
Refactored variant: illdeed