Cyber security

Windows Local Privilege Escalation Cookbook (In Progress)

Description (Keynote)

This Cookbook was created with the main purpose of helping people understand local privilege escalation techniques on Windows environments. Moreover, it can be used for both attacking and defensive purposes.

ℹ️ This Cookbook focuses only on misconfiguration vulnerabilities on Windows workstations/servers/machines.

Evasion techniques to bypass security protections, endpoints, and antivirus are not included in this cookbook. I created this PowerShell script, TurnOffAV.ps1, which permanently disables Windows Defender. Run this with local Administrator privileges.

The main structure of this Cookbook includes the following sections:

  • Description (of the vulnerability)
  • Lab Setup
  • Enumeration
  • Exploitation
  • Mitigation
  • (Useful) References

I hope to find this CookBook useful and learn new stuff .

Useful Tools

In the following table, some popular and useful tools for Windows local privilege escalation are presented:

NameLanguageAuthorDescription
SharpUpC#@harmj0ySharpUp is a C# port of various PowerUp functionality
PowerUpPowerShell@harmj0yPowerUp aims to be a clearinghouse of common Windows privilege escalation
BeRootPythonAlessandroZBeRoot(s) is a post exploitation tool to check common Windows misconfigurations to find a way to escalate our privilege
PrivescPowerShellenjoizWindows PowerShell script that finds misconfiguration issues which can lead to privilege escalation
WinpeasC#@hacktricks_liveWindows local Privilege Escalation Awesome Script
PrivescCheckPowerShell@itm4nPrivilege Escalation Enumeration Script for Windows

Vulnerabilities

This Cookbook presents the following Windows vulnerabilities:

Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

BypassAV : Techniques To Evade Antivirus And EDR Systems

BypassAV refers to the collection of techniques and tools used to bypass antivirus (AV) and…

16 hours ago

ComDotNetExploit : Exploiting Windows Protected Process Light (PPL)

ComDotNetExploit is a Proof of Concept (PoC) tool designed to demonstrate the exploitation of Windows…

16 hours ago

Trigon : A Revolutionary Kernel Exploit For iOS

Trigon is a sophisticated deterministic kernel exploit targeting Apple’s iOS devices, leveraging the CVE-2023-32434 vulnerability.…

16 hours ago

Bug Bounty Report Templates : Enhancing Efficiency In Vulnerability Reporting

Bug bounty report templates are essential tools for streamlining the process of documenting vulnerabilities. They…

16 hours ago

FullBypass : A Tool For AMSI And PowerShell CLM Bypass

FullBypass is a tool designed to circumvent Microsoft's Antimalware Scan Interface (AMSI) and PowerShell's Constrained…

17 hours ago

Carseat : A Python Implementation Of Seatbelt

Carseat is a Python-based tool that replicates the functionality of the well-known security auditing tool,…

21 hours ago