mirror of
https://github.com/m0nad/awesome-privilege-escalation.git
synced 2024-12-22 05:44:59 -05:00
A curated list of awesome privilege escalation
awesomeawesome-listctfdll-hijackingdockerhackinghack-the-boxhtblinux-enumerationnfsoscppentestpentestingprivilege-escalation
README.md |
Awesome Privilege Escalation
A curated list of awesome privilege escalation
Table of Contents
Linux
- 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
- Enumeration is the Key
- 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
- 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 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?
- Understanding Privilege Escalation: Some techniques malicious users employ to escalate their privileges on a Linux system.
Escape restricted shells
- 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.
SUDO and SUID
- 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.
Capabilities
- 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
Tools
- 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: Linux Privilege Escalation Check Script
- Linux Privilege Escalation Check Script: Originally forked from the linuxprivchecker.py (Mike Czumak), this script
- 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
- 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.
Find CVEs
- 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.
Chkrootkit
- 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.
NFS
- 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
Presentations
- 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.
Windows
- 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 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
- Windows Privilege Escalation
- Windows Privilege Escalations
DLL Hijacking
- DLL Hijacking: DLL Search Order Hijacking for privilege escalation, code execution, etc. by Red Teaming Experiments
- 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
Potato
- 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)
- Rotten Potato – Privilege Escalation from Service Accounts to SYSTEM
Unquoted services with spaces
- 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 – Unquoted Services
- Windows Privilege Escalation via Unquoted Service Paths
Groups.xml
- Finding Passwords in SYSVOL & Exploiting Group Policy Preferences
- gpp-decrypt Package Description: A simple ruby script that will decrypt a given GPP encrypted string.
Tools
- 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.
- 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.
- 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)
- 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-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.
Presentations
- 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
Linux and Windows
- 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
Docker
- Container security notes
- Escaping Docker container using waitid() – CVE-2017-5123
- Escaping the Whale: Things you probably shouldn’t do with Docker (Part 1)
- Hacking Docker the Easy way
Docker escape
- Dirty COW - (CVE-2016-5195) - Docker Container Escape
- Don't expose the Docker socket (not even to a container)
- Escaping Containers to Execute Commands on Play with Docker Servers
- Hack Allows Escape of Play-with-Docker Containers
Cloud
AWS
- AWS-IAM-Privilege-Escalation: A centralized source of all AWS IAM privilege escalation methods released by Rhino Security Labs.
GCP
- 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.