Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-85884 — PowerShell proof-of-concept demonstrating CVE-2026-85884, a Windows whesvc/WinDiag Lua ETW privilege escalation from low-privileged or WPAD LPAC code to SYSTEM. | Kitploit
Tools/GitHubGitHub/beardhammer/cve-2026-85884
Privilege EscalationVulnerability AnalysisExploitationPapers & ResearchRed Teaming
GitHubbeardhammer/cve-2026-85884

CVE-2026-85884

PowerShell proof-of-concept demonstrating CVE-2026-85884, a Windows whesvc/WinDiag Lua ETW privilege escalation from low-privileged or WPAD LPAC code to SYSTEM.

View Repository
395161 month agoReviewed by Kitploit
Share

WPAD LPAC / WHESVC privilege escalation

https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-85884

This repository contains research and proof-of-concept material for a Windows privilege-boundary issue involving the Windows Health and Optimized Experiences service (whesvc) and the Windows Diagnostics Lua engine.

Code running with the relevant diagnostics capability can emit a trusted ETW workflow event containing an attacker-controlled Lua module path. The LocalSystem service consumes that event and executes the module through WinDiag without adequately authenticating the producer or restricting the module to a trusted location.

The complete demonstrated transition is:

low-privileged or WPAD LPAC code
  -> Microsoft.Windows.Diagnostics.Lua ETW event
  -> LocalSystem whesvc workflow
  -> attacker-controlled Lua module
  -> SYSTEM process canary

Status

The issue was reproduced on the exact Windows 11 x64 builds documented in the included reports, including builds 26200.8457 and 29617.1000.

Minimal demonstration

Invoke-WhesvcToSystem.ps1 is the simplest local-user demonstration. It does not require a DLL, compiler, or external payload and embeds or downloads nothing. The privileged Lua callback runs the inbox whoami.exe /user command through cmd.exe and redirects its output to a canary file.

From a standard, non-administrator PowerShell session:

powershell.exe -NoProfile -ExecutionPolicy Bypass `
  -File .\Invoke-WhesvcToSystem.ps1

A successful run produces whoami.exe /user output containing:

nt authority\system S-1-5-18

The canary is written to:

%LOCALAPPDATA%\WhesvcL2S\system-canary.txt

The workflow has a minimum tracing interval, so the demonstration normally takes at least 35 seconds.

Remove the canary and any matching temporary Lua modules with:

powershell.exe -NoProfile -ExecutionPolicy Bypass `
  -File .\Invoke-WhesvcToSystem.ps1 -Cleanup

Responsible use

This material is provided for defensive research, patch validation, and authorized security testing. Users are responsible for complying with applicable laws and for avoiding disruption to production systems.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    960
  • 2

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    754
  • 3

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    631
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    501
  • 5

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    456
  • 6

    mcp-reverse

    1llu50ry/mcp-reverse

    MCP server exposing 180+ reverse-engineering tools that aggregate Ghidra, IDA, x64dbg, Frida and 56 other backends with native binary parsers and a 4,200-skill knowledge base.

    343

Explore all tools

Browse our collection of tools

View all tools →