Categories: Kali Linux

WinPwnage – Elevate, UAC Bypass, Privilege Escalation, dll Hijack Techniques

WinPwnage meaning is to study the techniques. Techniques are found online, on different blogs and repos here on GitHub. I do not take credit for any of the findings, thanks to all the researchers.

Rewrote them and ported it to Python 2.7. The code under todo folders are not tested, do not expect it to work.

Techniques Implemented In WinPwnage

  • UAC bypass using fodhelper
  • UAC bypass using computerdefaults
  • UAC bypass using slui
  • UAC bypass using silentcleanup
  • UAC bypass using compmgmtlauncher
  • UAC bypass using sdclt (isolatedcommand)
  • UAC bypass using sdclt (App Paths)
  • UAC bypass using perfmon
  • UAC bypass using eventviewer
  • UAC bypass using sysprep (dll payload supported)
  • UAC bypass using migwiz (dll payload supported)
  • UAC bypass using mcx2prov (dll payload supported)
  • UAC bypass using cliconfg (dll payload supported)
  • Persistence using userinit
  • Persistence using image file execution option
  • Persistence using hklm run
  • Persistence using hkcu run
  • Persistence using schtask (SYSTEM privileges)
  • Persistence using explorer dll hijack
  • Persistence using WMI (SYSTEM privileges)

Also Read Nemesis – A Command Line Network Packet Crafting & Injecting Utility

Installing Dependencies

pip install -r requirements.txt

Build

In order for a successful build, install the py2exe module and use the provided build.py script to compile all the scripts in to a portable executable. On Windows 10, Access Denied errors can accrue while compiling, rerun until success or elevate the prompt.

Screenshot

R K

Recent Posts

Understanding the Model Context Protocol (MCP) and How It Works

Introduction to the Model Context Protocol (MCP) The Model Context Protocol (MCP) is an open…

1 day ago

The file Command – Quickly Identify File Contents in Linux

While file extensions in Linux are optional and often misleading, the file command helps decode what a…

2 days ago

How to Use the touch Command in Linux

The touch command is one of the quickest ways to create new empty files or update timestamps…

2 days ago

How to Search Files and Folders in Linux Using the find Command

Handling large numbers of files is routine for Linux users, and that’s where the find command shines.…

2 days ago

How to Move and Rename Files in Linux with the mv Command

Managing files and directories is foundational for Linux workflows, and the mv (“move”) command makes it easy…

2 days ago

How to Create Directories in Linux with the mkdir Command

Creating directories is one of the earliest skills you'll use on a Linux system. The mkdir (make…

2 days ago