Quick answer

Work top to bottom: system and kernel, users and sudo, SUID/SGID and capabilities, scheduled tasks, writable files and PATH, credentials, then containers and cloud. Each item names the manual check and the LinPEAS section that covers it, so you can use the tool and verify by hand.

Note

This is an auditing checklist for systems you own or are authorised to test. Each row is something to look at; confirm exploitability in context before acting.

System & kernel#

  • Kernel version and patch level — System Information. uname -a
  • Enabled protections (AppArmor/SELinux) — System Information.
  • PATH contents (writable dirs, '.') — PATH. echo $PATH
  • Mounts & fstab for nosuid/nodev gaps — System Information.

Users & sudo#

  • Extra UID 0 accounts — UID 0. awk -F: '($3==0)' /etc/passwd
  • sudo -l rules — LinPEAS sudo.
  • Powerful group membership (docker, lxd, disk, shadow) — id.
  • Readable credential stores / password reuse — credentials.

Permissions & special bits#

  • SUID binaries — LinPEAS SUID. find / -perm -4000 2>/dev/null
  • SGID binaries — find / -perm -2000 2>/dev/null
  • File capabilities — capabilities. getcap -r / 2>/dev/null
  • Writable root-owned executables & world-writable files — file permissions.
  • ld.so and ACL misconfigurations — Files with Interesting Permissions.

Scheduled tasks & services#

  • Cron jobs and writable cron scripts — LinPEAS cron.
  • systemd services/timers and writable units — LinPEAS systemd.
  • Sockets and D-Bus services — Processes, Crons, Timers, Services and Sockets.

Credentials & files#

  • Secrets in history, configs, logs and .envcredentials.
  • SSH private keys and known_hosts — ls -la ~/.ssh.
  • Backups and databases with readable secrets — Other Interesting Files.
  • Dangerous environment variables (LD_PRELOAD) — env vars.

Containers & cloud#

  • Container context and breakout conditions — Docker / containers.
  • Mounted Docker socket or host paths — ls -la /var/run/docker.sock.
  • Cloud metadata & credentials (authorised scope only) — cloud.
Tool + checklist

Run LinPEAS to cover all of this quickly, then walk this checklist to verify the highlights and catch anything the tool did not surface.

Sources & references

  1. HackTricks: Linux privesc checklist
  2. GTFOBins — binary abuse techniques
  3. PEASS-ng (LinPEAS) — reviewed 20260908-dffb9496