← Back to projects

PrivCheck

BatchSecurityWindowsKernel

A Windows privilege escalation auditor batch script that scans for 6 critical user privileges, executes dynamic risk evaluation, and generates structured HTML logs with actionable mitigation recipes.

Overview

PrivCheck audits a Windows machine for local privilege-escalation vectors — the same class of misconfiguration attackers look for once they have a foothold on a box.

Approach

Implemented as a Windows batch script so it runs on stock Windows with no extra runtime, it scans 6 critical user privileges (like SeImpersonatePrivilege and SeAssignPrimaryTokenPrivilege), checks registry paths such as AlwaysInstallElevated, and runs a dynamic risk evaluation over the findings before writing a structured HTML audit log with mitigation steps.

Stack

BatchWindows RegistryWindows Privilege APIs
View on GitHub ↗