PhantomRPC: A New Privilege Escalation Flaw in Windows RPC
summary
New RPC architectural flaw lets processes with impersonation privileges elevate to SYSTEM by tricking high‑privilege clients into connecting to attacker‑owned endpoints. The research shows five exploitation paths (coercion, user interaction, background services, local service accounts, ghost endpoints), builds fake RPC servers that mimic termservapi ALPC port and named pipes (e.g. 132time), and captures RPC metadata using ETW + logman + Python to extract UUID/opnum/endpoint. Tested on Windows Server 2022 and 2025 and reproduces SYSTEM shells; Microsoft classifies it moderate and hasn’t patched.
AI-written summary · about
chapters (13)
- 0:00Introduction and background
- 2:15Windows RPC fundamentals
- 5:51Impersonation in RPC
- 8:45Debugging GPSVC exception
- 12:59Mimicking RDP RPC server
- 16:33Exploit demonstration
- 19:46Attack surface analysis
- 21:29Monitoring with ETW
- 25:28Privilege escalation cases
- 28:19Ghost RPC endpoints
- 30:50Microsoft response
- 31:31Detection and defense
- 32:59Conclusion and future work
