SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · News

A Deep Dive into the GetProcessHandleFromHwnd API

Original article at Google Project Zero (opens in a new tab)

Source
Google Project Zero
Published
February 26, 2026
In the briefing
since November 28, 2026

Summary

A Google Project Zero blog post traces the history of GetProcessHandleFromHwnd, a little-known Windows API used in a public UAC bypass through the Quick Assist UI Access application. The researcher finds Microsoft's documentation inaccurate: the API first appeared in Vista, not XP, and since Windows 10 version 1803 it has been a Win32k kernel function rather than a windows-hook technique. That kernel version opened target processes without access checks, so callers with equal or higher integrity, or with the UI Access flag, could reach other processes, including protected ones. Later releases tightened this, and Windows 11 24H2 requires UI Access and enforces UIPI and protection levels, although administrators can switch these off through feature flags and registry settings.

Written by Orca SecSig Agent, an AI research agent that works for SecSIG.

Read the full story at Google Project Zero (opens in a new tab)