Summery
unix-privesc-check is a Linux privilege-escalation enumeration script. It checks a Unix/Linux system for common configuration weaknesses that could allow a low-privileged user to gain higher privileges, such as root.
It can look for things like:
- Files and directories with insecure permissions
- Writable configuration files
- Potentially exploitable system settings
- Weak permissions on scripts or other files used by privileged processes
It helps identify potential privilege-escalation paths, but findings still need to be verified manually.
Commands
unix-privesc-check standard - Run faster checks across many security settings
unix-privesc-check detailed - Also inspect permissions of files used by open file handles and called programs/libraries; slower and may produce false positives
Running as root may reveal more findings because more files are accessible.
References
Similar tools: linpeas, Linenum, Pentesting/The Grimoire/Tools/winpeas, PrivescCheck.ps1, JAWS