A guide to Linux Privilege Escalation
by Rashid-Feroze
A curated list of awesome privilege escalation
This page lists names, links and short descriptions. The original list on GitHub is the source and belongs to its authors.
by Rashid-Feroze
This paper will examine Linux privilege escalation techniques used throughout 2016 in detail, highlighting how these techniques work and how adversaries are using them.
This article will cover one interesting old-school Unix hacking technique, that will still work in 2013.
by g0tmi1k
by Marcos Tolosa
Some random hacking hints, mainly from a Linux point of view.
Methodology from PayloadsAllTheThings
an introduction to Linux escalation techniques, mainly focusing on file/process permissions, but along with some other stuff too.
Linux Privilege Escalation by lamontns.
by HackTricks
by reboare.
by Offsec Journey.
by h4rithd.
by Steflan Security.
How RPATH and Weak File Permissions can lead to a system compromise.
a few Linux commands that may come in useful when trying to escalate privileges on a target system.
a few Linux commands that may come in useful when trying to escalate privileges on a target system.
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.
common Linux privilege escalation techniques.
Privilege escalation post category in Raj Chandel's Blog.
This cheasheet is aimed at the CTF Players and Beginners to help them understand the fundamentals of Privilege Escalation with examples.
An Information Security Reference That Doesn't Suck; https://rmusser.net/git/admin-2/Infosec_Reference for non-MS Git hosted version.
Some techniques malicious users employ to escalate their privileges on a Linux system.
Resource for penetration testers to assist them when confronted with a restricted shell.
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.
Some of the binary which helps you to escalate privilege using the sudo command.
How a MySQL User Defined Function (UDF) and a SETUID binary can be used to elevate user privilege to a root shell.
GTFOBins is a curated list of Unix binaries that can be exploited by an attacker to bypass local security restrictions.
Privilege Escalation from an LD_PRELOAD environment variable.
Parcel root power, the dark side of capabilities
Abusing TIOCSTI to manipulate process file descriptors and execute arbitrary commands. By Krystian Bajno
By Jonathan de Boyne Pollard.
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.
An automated script that download potential exploit for linux kernel from exploitdb, and compile them automatically.
BeRoot Project is a post exploitation tool to check common misconfigurations to find a way to escalate our privilege. exploits.
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,…
Automatic privilege escalation for misconfigured capabilities, sudo and suid binaries using GTFOBins.
kernelpop is a framework for performing automated kernel vulnerability enumeration and exploitation.
LES: Linux privilege escalation auditing tool
Scripted local Linux enumeration & privilege escalation checks
Linux Privilege Escalation Awesome Script
Next-generation exploit suggester based on Linux_Exploit_Suggester
Linux Exploit Suggester; based on operating system release number.
linux-kernel-exploits Linux平台提权漏洞集合
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.
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 enumeration tools for pentesting and CTFs
linux-soft-exploit-suggester finds exploits for all vulnerable software in a system helping with the privilege escalation.
A collection of Windows, Linux and MySQL privilege escalation scripts and exploits.
unprivileged Linux process snooping
A tool designed to exploit a privilege escalation vulnerability in the sudo program on Unix-like systems.
Automatically exploit low-hanging fruit to pop a root shell. Linux privilege escalation made easy!
Alice gets ROOT when ROOT does 'su alice'.
Shell script to check for simple privilege escalation vectors on Unix systems
Exploits for getting local root on Linux, BSD, AIX, HP-UX, Solaris, RHEL, SUSE etc.
Specialized privilege escalation checks for Linux systems.
Checks a list of packages against the "active" (not yet patched) CVE's as listed in the Ubuntu CVE Tracker.
A tool to check vulnerable packages in Arch Linux.
Original Automated CVE Checking Tool.
Linux Package Vulnerability Scanner for CentOS and Ubuntu.
How to exploit a misconfigured NFS share to gain root access to a remote host machine.
t Linux Privilege Escalation using weak NFS permissions in “/etc/exports”. by Haider Mahmood
Examine opportunities for privilege escalation that can vault you from zero to hero in a few easy steps.
Methodology for performing various privilege escalation techniques against Linux-based systems.
Demonstrate various privilege escalation techniques that are possible primarily due to misconfigurations.
Living Off The Land Binaries and Scripts (and also Libraries)
There are also various other (local) exploits that can be used to also escalate privileges.
by HackTricks
Windows Local Privilege Escalation Cookbook by nickvourd.
Metasploit offers a number of post exploitation modules that allow for further information gathering on your target network.
Step-by-step windows privlege escalation methodology.
Compilation of Resources from TCM's Windows Priv Esc Udemy Course. By Gr1mmie
Methodology from PayloadsAllTheThings
Linux Privilege Escalation by lamontns.
DLL Search Order Hijacking for privilege escalation, code execution, etc. by Red Teaming Experiments
by PentestLab
by MITRE
by GracefulSecurity
Crystal-clear view on one of the most used techniques for privilege escalation by the Threat Actors. by HacknPentest
Using ADCS to privesc from virtual and network service accounts to local system.
From Patate (LOCAL/NETWORK SERVICE) to SYSTEM by abusing SeImpersonatePrivilege on Windows 10, Windows 11 and Server 2022.
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…
Windows 7, 8, 10, Server 2008, Server 2012 Privilege Escalation in Metasploit & PowerShell.
Privilege Escalation on Windows 7, 8, 10, Server 2008, Server 2012 … and a new network attack.
by decoder_it and splinter_code/antonioCoco
Remote Potato – From Domain User to Enterprise Admin
A simple ruby script that will decrypt a given GPP encrypted string.
The Print Spooler is responsible to manage and process printer jobs. It runs as a service with SYSTEM level privileges on windows environments.
An evasive and undetected privilege escalation technique that abuses the Windows Filtering Platform (WFP).
Active Directory Assessment and Privilege Escalation Script by hausec
GodPotato enables privilege escalation in Windows 2012 - Windows 2022, now as long as you have "ImpersonatePrivilege" permission.
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.
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.
Tool for abusing the Windows Filtering Platform for privilege escalation. It can launch a new console as "NT AUTHORITY\SYSTEM" or as another user that is logged on to the machine.
Potato Privilege Escalation on Windows 7, 8, 10, Server 2008, Server 2012.
PowerSploit is a collection of Microsoft PowerShell modules that can be used to aid penetration testers during all phases of an assessment.
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.
Just another "Won't Fix" Windows Privilege Escalation from User to Domain Admin by antonioCoco.
Another Windows Local Privilege Escalation from Service Account to System by splinter_code/antonioCoco
RottenPotato local privilege escalation from service account to SYSTEM. (No longer maintained)
New version of RottenPotato as a C++ DLL and standalone C++ binary - no need for meterpreter or other tools.
Project that performs a number of security oriented host-survey "safety checks" relevant from both offensive and defensive security perspectives.
SessionGopher is a PowerShell tool that finds and decrypts saved session information for remote access tools.
PowerShell script to quickly find missing software patches for local privilege escalation vulnerabilities. (Deprecated)
Local Service to SYSTEM privilege escalation from Windows 7 to Windows 10 / Server 2019 by CCob
Tater is a PowerShell implementation of the Hot Potato Windows Privilege Escalation exploit.
Watson is a .NET tool designed to enumerate missing KBs and suggest exploits for Privilege Escalation vulnerabilities.
A Powershell Privilege Escalation Enumeration Script.
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
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.…
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).
Linux Privilege Escalation Awesome Script
UAC bypass, Elevate, Persistence and Execution methods. The goal of this repo is to study the Windows penetration techniques.
A collection of hacking / penetration testing resources to make you better!
Bruno Oliveira's top 5 favorite ways for accomplishing privilege escalation in the most practical ways possible.
Privilege Escalation category by pentestlab.blog
Your Cookbook for Privilege Escalation
The Privilege Escalation Workshop covers all known (at the time) attack vectors of local user privilege escalation on both Linux and Windows operating systems and includes slides, videos, test VMs.
by HackTricks
by Vickie Li
by Jordy/Oblivion/pwning.systems
by Trail of Bits
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 is an open-sourced container penetration toolkit, offering stable exploitation in different slimmed containers without any OS dependency.
Docker Enumeration, Escalation of Privileges and Container Escapes (DEEPCE)
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.
A bash script to create an interactive shell from a privileged docker container to the container host
by NahamSec
A centralized source of all AWS IAM privilege escalation methods released by Rhino Security Labs.
The AWS exploitation framework, designed for testing the security of Amazon Web Services environments. By RhinoSecurityLabs.
Very deep-dive into manual post-exploitation tactics and techniques for GCP.
IAM Privilege Escalation in GCP by RhinoSecurity.
A script to enumerate Google Storage buckets, determine what access you have to them, and determine if they can be privilege escalated. By RhinoSecurity.
jaywcjlove/awesome-mac
This project is dedicated to collecting high-quality macOS software and organizing them systematically by different categories for easy search and use.
serhii-londar/open-source-mac-os-apps
🚀 Awesome list of open source applications for macOS. https://t.me/s/opensourcemacosapps
ramitsurana/awesome-kubernetes
A curated list for awesome kubernetes sources :ship::tada:
sindresorhus/awesome-nodejs
:zap: Delightful Node.js packages and resources [BECAUSE OF TOO MUCH SPAM AND LOW-QUALITY SUBMISSIONS, SUBMISSIONS ARE PAUSED TEMPORARILY]
frenck/awesome-home-assistant
A curated list of amazingly awesome Home Assistant resources.
vsouza/awesome-ios
A curated list of awesome iOS ecosystem, including Objective-C and Swift Projects