Black Hat's Black Hat Asia 2026 | PhantomRPC: A New Privilege Escalation Flaw in Windows RPC: skim's analysis identifies 9 key moments. Kaspersky researcher Haidar Kabibo unveils PhantomRPC, an unpatched architectural flaw in Windows RPC that lets local or network services with SeImpersonatePrivilege escalate to SYSTEM.
Category: Tech. Format: Educational. YouTube video analyzed by skim.
skim AI Analysis
Credibility assessment: Primary Exploit Research. Haidar Kabibo presents original vulnerability research backed by live proof-of-concept demonstrations, debugger outputs, ETW telemetry, and disclosed correspondence with Microsoft. Claims stay grounded in observable Windows OS mechanics and reproducible steps.
Bias assessment: Offensive Researcher Lens. The presentation is technical and objective, though Haidar Kabibo explicitly disagrees with Microsoft's decision to classify SeImpersonatePrivilege escalation bugs as moderate rather than critical severity.
Originality: 92% — Novel RPC Attack Class. Instead of rehashing known Potato exploits, Haidar Kabibo introduces a distinct architectural flaw in Windows RPC endpoint hijacking and ghost named pipes, accompanied by a custom ETW discovery methodology.
Depth: 90% — Deep OS Internals Analysis. The briefing methodically dissects undocumented Windows APIs like NtAlpcConnectPort, Security Quality of Service structures, SID verification, and Event Tracing for Windows (ETW) correlation.
Key Points (9)
1. MS-RPC Architecture and ALPC Port Mechanics
Timestamp: 00:02:22 to 00:05:17
Haidar Kabibo explains how Microsoft Remote Procedure Call (MS-RPC) enables inter-process communication using a client-server model identified by 128-bit interface UUIDs, endpoints, and procedure numbers (opnums). Local calls rely on kernel-level ALPC ports that behave like files where clients send connection requests and security attributes. Understanding this transport layer establishes the foundation for how Windows processes locate and trust local RPC servers.
Significance (Medium): Clarifies the underlying transport mechanics that allow local processes to bind and expose functional interfaces across privilege boundaries.
Sources in support: Haidar Kabibo (Application Security Specialist, Kaspersky)
2. Security Quality of Service and Impersonation
Timestamp: 00:05:19 to 00:08:44
RPC servers can temporarily adopt a client's security context by calling RpcImpersonateClient, governed by two controls: the client's Security Quality of Service (SQOS) impersonation level and the server's SeImpersonatePrivilege token privilege. SQOS defines four levels ranging from Anonymous and Identification up to Impersonation and Delegation. These two controls dictate whether a hijacked RPC server can act on behalf of a connecting SYSTEM process.
Significance (Medium): Pinpoints the exact two conditions required for privilege escalation: a client granting Impersonation level and a server holding SeImpersonatePrivilege.
Sources in support: Haidar Kabibo (Application Security Specialist, Kaspersky)
3. Kabibo Uncovers Missing RDP Endpoint Exceptions
Timestamp: 00:08:47 to 00:14:44
While debugging the SYSTEM-level Group Policy Client Service (gpsvc) during a forced policy update, Haidar Kabibo encountered repeated RPC_S_SERVER_UNAVAILABLE exceptions raised by rpcrt4.dll after calling the undocumented NtAlpcConnectPort API. Inspecting the call parameters revealed that gpsvc was attempting to connect to the TermsrvApi ALPC port belonging to the Remote Desktop Services (TermService) with an Impersonation SQOS level and a required Network Service SID.
Significance (High): Exposes a default Windows behavior where a SYSTEM service actively attempts high-impersonation connections to a disabled Network Service endpoint.
Sources in support: Haidar Kabibo (Application Security Specialist, Kaspersky)
4. Hijacking TermsrvApi from IIS to Reach SYSTEM
Timestamp: 00:14:45 to 00:17:58
In his first exploitation path, Haidar Kabibo demonstrates that a compromised low-privilege IIS web server running as Network Service can register the exact TermsrvApi ALPC endpoint and UUID normally owned by Remote Desktop. When gpupdate /force is executed on Windows Server 2022, the SYSTEM-level Group Policy service connects to the fake RPC server and gets impersonated.
Significance (High): Demonstrates a working local privilege escalation from a standard IIS Network Service shell directly to SYSTEM without using Potato techniques.
Sources in support: Haidar Kabibo (Application Security Specialist, Kaspersky)
5. Architectural Flaw Across winsta.dll Callers
Timestamp: 00:17:59 to 00:21:01
Running the fake RDP server at boot spawned numerous SYSTEM command shells every minute, proving that many processes besides Group Policy connect to TermsrvApi. Haidar Kabibo traced these calls to winsta.dll, which acts as an RPC client under the hood whenever applications invoke certain Windows APIs.
Significance (High): Elevates the bug from an isolated Group Policy quirk to a systemic architectural flaw affecting any Windows API that relies on RPC under the hood.
Sources in support: Haidar Kabibo (Application Security Specialist, Kaspersky)
6. ETW Pipeline for Hunting Unavailable RPC Servers
Timestamp: 00:21:04 to 00:25:23
To systematically discover additional escalation vectors, Haidar Kabibo built an automated hunting pipeline using Event Tracing for Windows (ETW) and logman to capture kernel and user-mode RPC events in ETL files.
Significance (High): Gives vulnerability researchers and defenders a repeatable methodology to uncover new RPC hijacking paths across any Windows version or third-party app.
Sources in support: Haidar Kabibo (Application Security Specialist, Kaspersky)
7. Escalating via Edge, WdiSystemHost, and DHCP
Timestamp: 00:25:24 to 00:28:02
Using his ETW framework, Haidar Kabibo identified three additional exploitation vectors across Windows: when an administrator launches Microsoft Edge, it connects to the RDP endpoint with high impersonation; the background diagnostic service WdiSystemHost automatically calls RDP within 5 to 10 minutes of a reboot as SYSTEM without user interaction; and a Local Service account can hijack the DHCP Client service (if stopped) when an administrator runs ipconfig.
Significance (High): Proves that attackers do not need Group Policy updates or user interaction, as default background services like WdiSystemHost trigger the escalation automatically.
Sources in support: Haidar Kabibo (Application Security Specialist, Kaspersky)
8. Ghost Named Pipe Hijacking in Windows Time
Timestamp: 00:28:03 to 00:30:26
In his fifth case, Haidar Kabibo reveals that while the Windows Time service (Always Running under Local Service) exposes the named pipe w32time_alt, the administrative command-line utility w32tm.exe first attempts to connect to a non-existent legacy pipe named w32time before falling back to w32time_alt.
Significance (High): Eliminates the primary prerequisite of the attack—that the target service must be stopped—by exploiting legacy fallback endpoints in active services.
Sources in support: Haidar Kabibo (Application Security Specialist, Kaspersky)
9. Microsoft Declines Patch; Detection via Artifacts
Timestamp: 00:30:27 to 00:33:58
After receiving a 10-page disclosure report on September 28, 2025, Microsoft classified the flaw as moderate severity and declined an immediate fix because exploitation requires SeImpersonatePrivilege. Haidar Kabibo disputes this rationale, arguing that service account isolation between Network Service, Local Service, and SYSTEM becomes meaningless if escalation is ignored, and confirms the exploit still works unpatched on Windows Server 2022 and 2025.
Significance (High): Warns defenders that PhantomRPC remains an active, unpatched zero-day class across modern Windows versions requiring behavioral monitoring around SeImpersonatePrivilege.
Sources in support: Haidar Kabibo (Application Security Specialist, Kaspersky)
This analysis was generated by skim (skim.plus), an AI-powered content analysis platform by Credible AI. Scores and classifications represent the platform's AI-generated assessment and should be considered alongside other sources.