Tools & Utility

LinPEAS

Linux Privilege Escalation Awesome Script for finding possible paths to escalate privileges on Linux/Unix hosts.

#privesc#linux#enumeration#post-exploitation

LinPEAS: Linux Privilege Escalation

LinPEAS is a script that searches for possible paths to escalate privileges on Linux/Unix hosts.

Usage

bash
# Download and run
curl -L https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh | sh

Or transfer and run

wget https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh chmod +x linpeas.sh ./linpeas.sh

Save output

./linpeas.sh | tee linpeas_output.txt

What It Checks

  • System information
  • SUID/SGID binaries
  • Writable files and directories
  • Cron jobs
  • Capabilities
  • Network information
  • User information
  • Interesting files
  • Software versions