Turning a low-privilege foothold into root/SYSTEM on the same host.
How it works
- Enumerate SUID/SGID binaries, sudo rights, writable PATH entries and cron jobs.
- PATH hijacking: a SUID/root process calls a helper by bare name while a writable directory precedes system paths.
- Confirm privilege retention (e.g. a native ELF) rather than relying on a shell that drops it.
Detection & defence
- Use absolute paths and a sanitised
PATHin privileged scripts. - Drop privileges on exec; audit SUID binaries.

