whatisgithub

What is roothound?

noz2/roothound — explained in plain English

Analysis updated 2026-07-26

76PythonAudience · ops devopsComplexity · 2/5Setup · easy

In one sentence

Roothound reads LinPEAS scan output and builds a visual graph showing every possible path from your current user to root access on Linux. It runs offline and generates a clickable HTML report.

Mindmap

mindmap
  root((repo))
    What it does
      Visualizes paths to root
      Color codes by priority
      Click nodes for commands
    How it works
      Parses LinPEAS output
      Matches against rules
      Generates HTML report
    Use cases
      CTF competitions
      Security practice labs
      Authorized penetration testing
    Tech stack
      Python
      Offline no dependencies
      Self-contained HTML output
    Audience
      Security learners
      Penetration testers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Analyze LinPEAS output after gaining initial access on a Hack The Box machine.

USE CASE 2

Visualize privilege escalation paths during an authorized security assessment.

USE CASE 3

Learn Linux privilege escalation techniques in a personal lab environment.

USE CASE 4

Identify multi-hop attack chains connecting separate system misconfigurations.

What is it built with?

PythonHTML

How does it compare?

noz2/roothoundnalltama/raivrole1776/netmon
Stars767676
LanguagePythonPythonPython
Setup difficultyeasyeasymoderate
Complexity2/52/53/5
Audienceops devopsgeneralops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Download or clone the repo and run a single command against a LinPEAS output file, no internet or dependencies required.

So what is it?

Roothound is a tool for security testers and learners who have gained basic access to a Linux machine and want to figure out how to escalate to full administrator (root) access. When you land on a machine with limited permissions, you normally run an enumeration tool like LinPEAS, which prints out hundreds of lines of system information. Roothound takes that text output and turns it into a visual graph showing every possible path from your current user up to root, reading left to right. The graph uses color coding to help you prioritize. Confirmed paths, ones Roothound can verify are exploitable, appear in red. Likely leads that need manual checking appear in amber. You can click any node in the graph to see what the finding is and get a ready-to-copy command for exploiting it. The tool also handles multi-hop chains, meaning it can connect separate findings that form a sequence. For example, it might spot that you can modify a script, that script is run by a root-level scheduled task, and therefore you can reach root by combining those two facts. Roothound checks for a range of privilege escalation techniques. Its rulebook covers SUID and SGID binaries, sudo misconfigurations, Linux capabilities, dangerous group memberships, writable files, NFS exports, PATH hijacking, and matching known sudo and kernel vulnerabilities against public CVE entries. The rulebook is editable, so you can adjust what the tool looks for. The tool runs entirely offline with no internet connection and no external dependencies. It produces a single self-contained HTML file you open in a browser. To use it, you clone the repository or download a ZIP, then run a simple command pointing it at your LinPEAS output file. It generates an HTML report you open locally. The author includes a disclaimer that Roothound is meant only for authorized testing, such as capture the flag competitions, Hack The Box, or your own lab machines.

Copy-paste prompts

Prompt 1
I have LinPEAS output from a Linux machine. Install Roothound from the Noz2/RootHound repo and generate a visual privilege escalation graph from my scan results.
Prompt 2
Help me understand the Roothound rulebook format so I can add a custom check for a specific sudo misconfiguration I encountered.
Prompt 3
I cloned Noz2/RootHound. Write the exact command to run it against a LinPEAS text file named scan.txt and explain how to read the color-coded HTML report.
Prompt 4
Using Roothound from Noz2/RootHound, parse this LinPEAS output and tell me which confirmed red paths to root I should try first.

Frequently asked questions

What is roothound?

Roothound reads LinPEAS scan output and builds a visual graph showing every possible path from your current user to root access on Linux. It runs offline and generates a clickable HTML report.

What language is roothound written in?

Mainly Python. The stack also includes Python, HTML.

How hard is roothound to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is roothound for?

Mainly ops devops.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.