Skip to content

Exploring Ancient Ruins to Find Modern Bugs: Auditing MS-RPC

Ben BarneaOphir Harpaz

Akamai researchers Ben Barnea and Ophir Harpaz explore Microsoft Remote Procedure Call (MS-RPC), discovering zero-day vulnerabilities in core Windows services.

Summary

The Ubiquitous and Complex World of MS-RPC

Microsoft Remote Procedure Call (MS-RPC) serves as the backbone communication protocol for nearly all internal Windows services, Domain Controllers, and enterprise servers.

Deconstructing RPC Interfaces, IDL, and NDR Engines

Ben Barnea and Ophir Harpaz dissect Network Data Representation (NDR) parsers and the complex type encoding mechanisms used across system services.

Discovering Zero-Days in Legacy RPC Handlers

The researchers demonstrate automated fuzzing and static analysis of undocumented RPC interfaces, uncovering critical memory corruption and privilege escalation bugs.

Hunting and Defending Against RPC-Based Exploitation

The authors release open-source RPC auditing tooling and provide detection engineers with RPC filter rules and telemetry hunting strategies.

Related talks