A curated list of awesome privilege escalation
- A guide to Linux Privilege Escalation
- Attack and Defend: LinuxPrivilege Escalation Techniques of 2016: This paper will examine Linux privilege escalation techniques used throughout 2016 in detail, highlighting how these techniques work and how adversaries are using them.
- Back To The Future: Unix Wildcards Gone Wild: This article will cover one interesting old-school Unix hacking technique, that will still work in 2013.
- Basic Linux Privilege Escalation: by g0tmi1k
- Enumeration is the Key: by Marcos Tolosa
- Hackers Hut: Some random hacking hints, mainly from a Linux point of view.
- Hacking Linux Part I: Privilege Escalation
- How privileges work in operating systems?
- Linux elevation of privileges ToC
- Linux - Privilege Escalation: Methodology from PayloadsAllTheThings
- Linux Privilege Escalation: an introduction to Linux escalation techniques, mainly focusing on file/process permissions, but along with some other stuff too.
- Linux Privilege Escalation: Linux Privilege Escalation by lamontns.
- Linux Privilege Escalation: by HackTricks
- Linux Privilege Escalation via Dynamically Linked Shared Object Library: How RPATH and Weak File Permissions can lead to a system compromise.
- Local Linux Enumeration & Privilege Escalation Cheatsheet: a few Linux commands that may come in useful when trying to escalate privileges on a target system.
- Local Linux Enumeration & Privilege Escalation: a few Linux commands that may come in useful when trying to escalate privileges on a target system.
- Local Linux privilege escalation overview: This article will give an overview of the basic Linux privilege escalation techniques. It separates the local Linux privilege escalation in different scopes: kernel, process, mining credentials, sudo, cron, NFS, and file permission.
- Penetration-Testing-Grimoire/Privilege Escalation/linux.md
- PENETRATION TESTING PRACTICE LAB - VULNERABLE APPS / SYSTEMS
- Pentest Book - Privilege Escalation: common Linux privilege escalation techniques.
- POST CATEGORY : Privilege Escalation: Privilege escalation post category in Raj Chandel's Blog.
- Privilege Escalation Cheatsheet (Vulnhub): This cheasheet is aimed at the CTF Players and Beginners to help them understand the fundamentals of Privilege Escalation with examples.
- Privilege escalation: Linux
- Privilege Escalation & Post-Exploitation
- Reach the root! How to gain privileges in Linux?
- TTY Input Pushback Privilege Escalation: When user working as root switches to another user with su and happens to execute the pushback program as that user, the tty input data pushed back is executed in the shell and context of user root.
- Understanding Privilege Escalation: Some techniques malicious users employ to escalate their privileges on a Linux system.
- Breaking out of rbash using scp
- Escaping from Restricted Shell and Gaining Root Access to SolarWinds Log & Event Manager (SIEM) Product
- Escaping Restricted Linux Shells: Resource for penetration testers to assist them when confronted with a restricted shell.
- Linux Restricted Shell Bypass
- Restricted Linux Shell Escaping Techniques: The focus of this article is on discussing and summarizing different techniques to escape common Linux restricted shells and also simple recommendations for administrators to protect against it.
- Abusing SUDO: Some of the binary which helps you to escalate privilege using the sudo command.
- Gaining a Root shell using MySQL User Defined Functions and SETUID Binaries: How a MySQL User Defined Function (UDF) and a SETUID binary can be used to elevate user privilege to a root shell.
- GTFOBins: GTFOBins is a curated list of Unix binaries that can be exploited by an attacker to bypass local security restrictions.
- How I got root with Sudo
- Sudo (LD_PRELOAD): Privilege Escalation from an LD_PRELOAD environment variable.
- An Interesting Privilege Escalation vector (getcap/setcap)
- Capabilities
- Exploiting capabilities: Parcel root power, the dark side of capabilities
- getcap, setcap and file capabilities
- Spicing up your own access with capabilities
- AutoLocalPrivilegeEscalation: An automated script that download potential exploit for linux kernel from exploitdb, and compile them automatically.
- BeRoot: BeRoot Project is a post exploitation tool to check common misconfigurations to find a way to escalate our privilege. exploits.
- exploit-suggester: This tool reads the output of “showrev -p” on Solaris machines and outputs a list of exploits that you might want to try. is intended to be executed locally on a Linux box to enumerate basic system info and search for common privilege escalation vectors such as word writable files, misconfigurations, clear-text password and applicable
- kernelpop: kernelpop is a framework for performing automated kernel vulnerability enumeration and exploitation.
- LES: LES: Linux privilege escalation auditing tool
- LinEnum: Scripted local Linux enumeration & privilege escalation checks
- LinPEAS: Linux Privilege Escalation Awesome Script
- Linux Exploit Suggester 2: Next-generation exploit suggester based on Linux_Exploit_Suggester
- Linux_Exploit_Suggester: Linux Exploit Suggester; based on operating system release number.
- linux-kernel-exploits
- Linuxprivchecker.py: This script is intended to be executed locally on a Linux box to enumerate basic system info and search for common privilege escalation vectors such as world writable files, misconfigurations, clear-text passwords and applicable exploits.
- Linux Privilege Escalation Check Script: Originally forked from the linuxprivchecker.py (Mike Czumak), this script is intended to be executed locally on a Linux box to enumerate basic system info and search for common privilege escalation vectors such as word writable files, misconfigurations, clear-text password and applicable exploits.
- linux-smart-enumeration: Linux enumeration tools for pentesting and CTFs
- linux-soft-exploit-suggester: linux-soft-exploit-suggester finds exploits for all vulnerable software in a system helping with the privilege escalation.
- PrivEsc: A collection of Windows, Linux and MySQL privilege escalation scripts and exploits.
- pspy: unprivileged Linux process snooping
- traitor: Automatically exploit low-hanging fruit to pop a root shell. Linux privilege escalation made easy!
- unix-privesc-check: Shell script to check for simple privilege escalation vectors on Unix systems
- Unix-Privilege-Escalation-Exploits-Pack: Exploits for getting local root on Linux, BSD, AIX, HP-UX, Solaris, RHEL, SUSE etc.
- uptux: Specialized privilege escalation checks for Linux systems.
- active-cve-check: Checks a list of packages against the "active" (not yet patched) CVE's as listed in the Ubuntu CVE Tracker.
- Arch-Audit: A tool to check vulnerable packages in Arch Linux.
- cve-check-tool: Original Automated CVE Checking Tool.
- LPVS: Linux Package Vulnerability Scanner for CentOS and Ubuntu.
- Local root exploit in Chkrootkit: Security researchers have found an local exploit for Chkrootkit 0.49 who allow to a simple user to make root’s commands.
- Exploiting a Mis-Configured NFS Share
- Linux Privilege Escalation using Misconfigured NFS: How to exploit a misconfigured NFS share to gain root access to a remote host machine.
- NFS weak permissions
- Linux Privilege Escalation using weak NFS permissions: t Linux Privilege Escalation using weak NFS permissions in “/etc/exports”. by Haider Mahmood
- Linux privilege escalation for fun, profit, and all around mischief: Examine opportunities for privilege escalation that can vault you from zero to hero in a few easy steps.
- Linux Privilege Escalation - Tradecraft Security Weekly #22: Methodology for performing various privilege escalation techniques against Linux-based systems.
- Privilege Escalation FTW: Demonstrate various privilege escalation techniques that are possible primarily due to misconfigurations.
- awesome-windows-security
- LOLBAS: Living Off The Land Binaries and Scripts (and also Libraries)
- OSCP Windows PrivEsc - Part 1
- Privilege Escalation: There are also various other (local) exploits that can be used to also escalate privileges.
- Privilege Escalation Windows
- Privilege escalation: Windows
- Windows elevation of privileges ToC
- Windows Local Privilege Escalation: by HackTricks
- Windows Post Gather Modules: Metasploit offers a number of post exploitation modules that allow for further information gathering on your target network.
- Windows Priv Esc
- Windows Privilege Escalation Fundamentals
- Windows Privilege Escalation Guide
- Windows-Privilege-Escalation: Step-by-step windows privlege escalation methodology.
- Windows-Privilege-Escalation-Resources: Compilation of Resources from TCM's Windows Priv Esc Udemy Course. By Gr1mmie
- Windows - Privilege Escalation
- Windows Privilege Escalation
- Windows Privilege Escalation: Windows Privilege Escalation by lamontns.
- Windows Privilege Escalations
- DLL Hijacking: DLL Search Order Hijacking for privilege escalation, code execution, etc. by Red Teaming Experiments
- DLL Hijacking: by PentestLab
- DLL Search Order Hijacking: by MITRE
- PrivEsc: DLL Hijacking
- Windows Privilege Escalation via DLL Hijacking: Crystal-clear view on one of the most used techniques for privilege escalation by the Threat Actors. by HacknPentest
- Hot Potato: Hot potato is the code name of a Windows privilege escalation technique that was discovered by Stephen Breen. This technique is actually a combination of two known windows issues like NBNS spoofing and NTLM relay with the implementation of a fake WPAD proxy server which is running locally on the target host.
- Hot Potato: Windows 7, 8, 10, Server 2008, Server 2012 Privilege Escalation in Metasploit & PowerShell.
- Hot Potato – Windows Privilege Escalation: Privilege Escalation on Windows 7, 8, 10, Server 2008, Server 2012 … and a new network attack.
- Juicy Potato (abusing the golden privileges)
- No more JuicyPotato? Old story, welcome RoguePotato!: by decoder_it and splinter_code/antonioCoco
- Remote Potato: Remote Potato – From Domain User to Enterprise Admin
- Rotten Potato – Privilege Escalation from Service Accounts to SYSTEM
- Practical Guide to exploiting the unquoted service path vulnerability in Windows
- PrivEsc: Unquoted Service Path
- Unquoted Service Path
- UNQUOTED SERVICE PATHS
- Windows Privilege Escalation — Part 1 (Unquoted Service Path)
- Windows Privilege Escalation – Unquoted Services
- Windows Privilege Escalation via Unquoted Service Paths
- Finding Passwords in SYSVOL & Exploiting Group Policy Preferences
- gpp-decrypt Package Description: A simple ruby script that will decrypt a given GPP encrypted string.
- Universal Privilege Escalation and Persistence: The Print Spooler is responsible to manage and process printer jobs. It runs as a service with SYSTEM level privileges on windows environments.
- JAWS - Just Another Windows (Enum) Script: JAWS is PowerShell script designed to help penetration testers (and CTFers) quickly identify potential privilege escalation vectors on Windows systems. It is written using PowerShell 2.0 so 'should' run on every Windows version since Windows 7.
- juicy-potato: A sugared version of RottenPotatoNG, with a bit of juice, i.e. another Local Privilege Escalation tool, from a Windows Service Accounts to NT AUTHORITY\SYSTEM.
- Potato: Potato Privilege Escalation on Windows 7, 8, 10, Server 2008, Server 2012.
- PowerSploit: PowerSploit is a collection of Microsoft PowerShell modules that can be used to aid penetration testers during all phases of an assessment.
- PrivescCheck: Enumerate common Windows security misconfigurations which can be leveraged for privilege escalation and gather various information which might be useful for exploitation and/or post-exploitation, by itm4n.
- RemotePotato0: Just another "Won't Fix" Windows Privilege Escalation from User to Domain Admin by antonioCoco.
- RoguePotato: Another Windows Local Privilege Escalation from Service Account to System by splinter_code/antonioCoco
- RottenPotato: RottenPotato local privilege escalation from service account to SYSTEM. (No longer maintained)
- RottenPotatoNG: New version of RottenPotato as a C++ DLL and standalone C++ binary - no need for meterpreter or other tools.
- Seatbelt: Project that performs a number of security oriented host-survey "safety checks" relevant from both offensive and defensive security perspectives.
- SessionGopher: SessionGopher is a PowerShell tool that finds and decrypts saved session information for remote access tools.
- Sherlock: PowerShell script to quickly find missing software patches for local privilege escalation vulnerabilities. (Deprecated)
- SweetPotato: Local Service to SYSTEM privilege escalation from Windows 7 to Windows 10 / Server 2019 by CCob
- Tater: Tater is a PowerShell implementation of the Hot Potato Windows Privilege Escalation exploit.
- Watson: Watson is a .NET tool designed to enumerate missing KBs and suggest exploits for Privilege Escalation vulnerabilities.
- WindowsEnum: A Powershell Privilege Escalation Enumeration Script.
- Windows-Exploit-Suggester: This tool compares a targets patch levels against the Microsoft vulnerability database in order to detect potential missing patches on the target. It also notifies the user if there are public exploits and Metasploit modules available for the missing bulletins. By AonCyberLabs
- Windows Exploit Suggester - Next Generation (WES-NG): WES-NG is a tool based on the output of Windows' systeminfo utility which provides the list of vulnerabilities the OS is vulnerable to, including any exploits for these vulnerabilities. Every Windows OS between Windows XP and Windows 10, including their Windows Server counterparts, is supported. By bitsadmin
- windows-privesc-check: Standalone executable that runs on Windows systems. It tries to find misconfigurations that could allow local unprivileged users to escalate privileges to other users or to access local apps (e.g. databases).
- winPEAS: Windows Privilege Escalation Awesome Scripts
- WinPwnage: UAC bypass, Elevate, Persistence and Execution methods. The goal of this repo is to study the Windows penetration techniques.
- Level Up! Practical Windows Privilege Escalation - Andrew Smith
- Level Up! - Practical Windows Privilege Escalation (Presentation Slides)
- SANS Webcast: Pen Testing with PowerShell - Local Privilege Escalation Techniques
- Windows Privilege Escalation Techniques (Local) - Tradecraft Security Weekly #2
- Windows Privilege Escalation Unquoted Service - Part 1
- Windows Privilege Escalation Unquoted Service - Part 2
- Windows Privilege Escalation Unquoted Service - Part 3
- Awesome-Hacking-Resources (Privilege escalation section): A collection of hacking / penetration testing resources to make you better!
- Metasploit Local Exploit Suggester: Do Less, Get More!
- My 5 Top Ways to Escalate Privileges: Bruno Oliveira's top 5 favorite ways for accomplishing privilege escalation in the most practical ways possible.
- Privilege Escalation: Privilege Escalation category by pentestlab.blog
- Recipe for Root: Your Cookbook for Privilege Escalation
- Windows / Linux Local Privilege Escalation Workshop
- Bypassing Docker Authz Plugin and Using Docker-Containerd for Privesc: by Staaldraad.
- Container security notes
- Dirty COW - (CVE-2016-5195) - Docker Container Escape
- Docker Breakout: by HackTricks
- Docker security checklist
- Don't expose the Docker socket (not even to a container)
- Escaping Docker Privileged Containers: by Vickie Li
- Escaping Containers to Execute Commands on Play with Docker Servers
- Escaping Docker container using waitid() – CVE-2017-5123
- Escaping the Whale: Things you probably shouldn’t do with Docker (Part 1)
- Hack Allows Escape of Play-with-Docker Containers
- Hacking Docker the Easy way
- Understanding Docker container escapes: by Trail of Bits
- BOtB: BOtB is a container analysis and exploitation tool designed to be used by pentesters and engineers while also being CI/CD friendly with common CI/CD technologies.
- CDK: CDK is an open-sourced container penetration toolkit, offering stable exploitation in different slimmed containers without any OS dependency.
- Deepce: Docker Enumeration, Escalation of Privileges and Container Escapes (DEEPCE)
- Dokcer-escape-tool: This tool will help identify if you're in a Docker container and try some quick escape techniques to help assess the security of your containers.
- PrivilegedDockerEscape: A bash script to create an interactive shell from a privileged docker container to the container host
- Introduction to Docker Hacking: by NahamSec
- AWS-IAM-Privilege-Escalation: A centralized source of all AWS IAM privilege escalation methods released by Rhino Security Labs.
- Pacu: The AWS exploitation framework, designed for testing the security of Amazon Web Services environments. By RhinoSecurityLabs.
- Tutorial on privilege escalation and post exploitation tactics in Google Cloud Platform environments: Very deep-dive into manual post-exploitation tactics and techniques for GCP.
- GCP-IAM-Privilege-Escalation: IAM Privilege Escalation in GCP by RhinoSecurity.
- GCPBucketBrute: A script to enumerate Google Storage buckets, determine what access you have to them, and determine if they can be privilege escalated. By RhinoSecurity.