Skip to main content
L Jyothendra
Projects
completedPrivilege Escalation

Windows Privilege Escalation Research

Lab research into Windows privilege escalation vectors, validated end to end and reported.

Repository link not configured

01 — Overview

Built a Windows lab environment to study privilege escalation and post-exploitation techniques, validating paths from standard user to local administrator.

02 — Problem

Misconfigurations rather than exploits are the common route to local administrator.

03 — Architecture

The research runs on a snapshot-driven Windows lab so every test starts from an identical baseline.

  • Baseline image: Windows 10 and Server 2019 VMs with a clean install, a low-privileged test user, and a snapshot taken before anything is touched.
  • Seeding scripts: PowerShell that introduces one misconfiguration at a time (unquoted service paths, writable service binaries, weak service ACLs, AlwaysInstallElevated, scheduled task abuse, token privileges).
  • Enumeration pass: winPEAS, PowerUp, accesschk and manual registry review, run in a fixed order so results stay comparable.
  • Telemetry: Sysmon plus Windows Security logging, so each successful escalation is paired with the events it generated.

After each run the VM is reverted, which keeps results reproducible instead of accumulating side effects.

04 — Architecture diagram

05 — Security features

  • Every technique is documented with its prerequisite, so it is clear when it does and does not apply.
  • Each escalation entry lists the detection signal and the hardening step that removes it.
  • No third-party or production systems are involved; the lab is offline and reverted after each run.
  • Failed attempts are recorded too, which prevents copy-paste exploitation without understanding.

06 — Implementation

  • Enumeration with WinPEAS, PowerUp and manual assessment
  • Identified weak service permissions, scheduled task misconfigurations, insecure registry settings and credential exposure
  • Validated attack paths from standard user to local administrator
  • Documented exploitation methods, impact and remediation

08 — Challenges

Reliability was the real problem. Several public techniques worked once and then failed after a reboot because they depended on service start order or a specific user session state. Rebuilding from a snapshot each time exposed how fragile some of those paths are.

Mapping telemetry was the second challenge: the same escalation can look completely different in the logs depending on whether it goes through a service, a scheduled task or a DLL load, so a single detection rule per technique was rarely enough.

09 — What I learned

  • Enumeration output is a hypothesis list, not an answer; manual verification is what separates a finding from a false positive.
  • Understanding why a technique works makes it far easier to spot the variant that automated tools miss.
  • Writing the defensive control next to the offensive step turned my notes into something a blue team can actually use.

10 — Future improvements

  • Extend the harness to Windows 11 and Server 2022 baselines.
  • Script the seed, test and revert cycle so a full technique sweep runs unattended.
  • Publish the technique to detection mapping as a companion table on the writeups page.

Technology stack

WindowsWinPEASPowerUpPowerShellPost-Exploitation