☼
⌃
☰

Linux Privilege Escalation Tools — Comparison

Table of Contents

Four overlapping automated enumeration tools, all aimed at the same job — surfacing privesc vectors on a Linux target — but with different tradeoffs in noise, speed, and what they actually check. This note exists to answer "which one do I run first" under time pressure, not to duplicate each tool's own usage details.

Related: LinPEAS LinEnum Linux Smart Enumeration Linux Exploit Suggester Linux Privilege Escalation GTFOBins Windows Privilege Escalation Tools — Comparison

Comparison

Tool Output style Speed Noise/Size Best for
LinPEAS Color-coded, verbose Slow Very large Comprehensive first pass — catches almost everything
LinEnum Plain text, sectioned Fast Moderate Quick baseline when LinPEAS is overkill or flagged by AV
Linux Smart Enumeration (LSE) Leveled verbosity Fast–Med Small–Large (tunable) Controlled depth — start quiet, increase verbosity as needed
Linux Exploit Suggester Targeted CVE list Fast Small Kernel/package version-based exploit matching, not general enumeration

Decision Guide

  • Default first run: LinPEAS. It's the most comprehensive and its color-coding makes high-value findings (SUID binaries, writable cron jobs, credentials in files) visually obvious without reading every line.
  • If LinPEAS is too noisy or flagged: LSE with a low verbosity level (-l1) gives a fast, quiet baseline; increase verbosity only if the first pass doesn't surface a clear lead.
  • If you specifically suspect a kernel exploit: go straight to Linux Exploit Suggester rather than wading through a full LinPEAS report — it's purpose-built for that one question and skips everything else.
  • If output size/exfiltration is a constraint (e.g. slow shell, restrictive egress): LinEnum's plain-text output is far smaller and easier to paste back through a limited shell than LinPEAS's full report.

Workflow

  1. Run LinPEAS first unless there's a specific reason not to (AV/EDR presence, severely constrained shell)
  2. Cross-reference any SUID binaries or sudo rights found against GTFOBins — this is the step that actually turns a finding into a working exploit
  3. If the automated tools come back clean or ambiguous, fall back to manual enumeration per Linux Privilege Escalation — kernel version, capabilities, cron jobs, writable service files, NFS norootsquash

Tips

  • Don't run all four reflexively — that's noise for its own sake. Pick based on the decision guide above, and only escalate to a second tool if the first genuinely comes back empty
  • LinPEAS's color output can be genuinely hard to read over a low-bandwidth reverse shell — pipe to a file and pull it over rather than eyeballing it live if the connection is slow
  • A clean run from any of these tools is not the same as "no privesc path exists" — these tools check known patterns, not novel misconfigurations specific to the target application. If automated enumeration comes back empty, that's when manual review of the specific application/service running as root matters most