# liamg/traitor

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/liamg-traitor).**

7,144 stars · 705 forks · Go · MIT

## Links

- GitHub: https://github.com/liamg/traitor
- awesome-repositories: https://awesome-repositories.com/repository/liamg-traitor.md

## Topics

`cve-2021-3560` `cve-2022-0847` `dirtypipe` `exploit` `gtfobins` `hackthebox` `infosec` `privesc` `privilege-escalation` `redteam-tools` `security-tools`

## Description

Traitor is a Linux privilege escalation framework and automated root exploit suite. It provides specialized utilities for scanning system misconfigurations and deploying automated exploit scripts on local Linux hosts to elevate user privileges to the root level.

The tool identifies insecure system setups and binary vulnerabilities, such as GTFOBins, to map potential routes for gaining root access. It automates the process of discovering and exploiting these local vulnerabilities through targeted exploit execution and the deployment of sequential scripts.

The system covers vulnerability assessment and local system exploitation. This includes heuristic scanning for misconfigurations, vulnerability mapping, and the automated execution of payloads to establish a root shell.

## Tags

### Part of an Awesome List

- [Privilege Escalation Tools](https://awesome-repositories.com/f/awesome-lists/security/privilege-escalation-tools.md) — Automated framework for discovering and exploiting local Linux vulnerabilities and misconfigurations to obtain root.
- [Automated Root Exploit Suites](https://awesome-repositories.com/f/awesome-lists/security/system-and-kernel-exploits/automated-root-exploit-suites.md) — Provides a collection of sequential scripts that target known Linux kernel flaws and misconfigurations.
- [Batch Exploit Execution](https://awesome-repositories.com/f/awesome-lists/security/vulnerability-exploitation-frameworks/batch-exploit-execution.md) — Runs a predetermined sequence of vulnerability triggers to automatically establish a root shell.
- [Privilege Escalation](https://awesome-repositories.com/f/awesome-lists/security/privilege-escalation.md) — Automated privilege escalation tool for Linux environments.

### Security & Cryptography

- [Exploit Automation Engines](https://awesome-repositories.com/f/security-cryptography/exploit-databases/exploit-automation-engines.md) — Executes a sequence of known exploits and misconfiguration attacks to automatically obtain a root shell. ([source](https://github.com/liamg/traitor#readme))
- [Linux Vulnerability Assessments](https://awesome-repositories.com/f/security-cryptography/linux-vulnerability-assessments.md) — Identifies low-hanging fruit and security gaps on a Linux host that could allow an attacker to obtain root.
- [Misconfiguration Scanning](https://awesome-repositories.com/f/security-cryptography/misconfiguration-scanning.md) — Scans system files and permissions to identify exploitable misconfigurations like GTFOBins or open docker sockets.
- [Automated Escalations](https://awesome-repositories.com/f/security-cryptography/privilege-escalation-techniques/automated-escalations.md) — Scans local Linux systems for vulnerabilities and automatically elevates user privileges to the root level. ([source](https://github.com/liamg/traitor/search))
- [System Exploitation Tools](https://awesome-repositories.com/f/security-cryptography/system-exploitation-tools.md) — Tests local machines for common security flaws like gtfobins or kernel vulnerabilities to elevate permissions.
- [Attack Path Mapping](https://awesome-repositories.com/f/security-cryptography/compliance-standards/vulnerability-mapping/attack-path-mapping.md) — Analyzes the environment to create a graph of available paths from a low-privilege user to root.
- [Exploit Execution Engines](https://awesome-repositories.com/f/security-cryptography/exploit-execution-engines.md) — Triggers specific vulnerabilities or misconfigurations against a local system to gain elevated privileges. ([source](https://github.com/liamg/traitor/blob/main/README.md))
- [Exploit Payload Deployments](https://awesome-repositories.com/f/security-cryptography/exploit-payload-deployments.md) — Provides the ability to transfer and execute exploit binaries or scripts based on detected vulnerabilities.
- [Privilege Escalation Path Analysis](https://awesome-repositories.com/f/security-cryptography/privilege-escalation-path-analysis.md) — Identifies system vulnerabilities and misconfigurations that create potential routes for gaining root access. ([source](https://github.com/liamg/traitor#readme))
- [Pattern-Based Selection](https://awesome-repositories.com/f/security-cryptography/privilege-escalation-techniques/pattern-based-selection.md) — Matches current system state against a database of known vulnerabilities to select the most likely escalation path.
- [Penetration Testing Suites](https://awesome-repositories.com/f/security-cryptography/security/utilities/security-tools/offensive-red-team/offensive-security-frameworks/penetration-testing-suites.md) — Runs a sequence of privilege escalation exploits automatically to determine if a system can be compromised.
