logo

A journey into the forgotten Null Session and MS-RPC interfaces

ID: 297bc6fb-55ae-43a6-9651-f1bd9b3e3576

STIX ID: report--297bc6fb-55ae-43a6-9651-f1bd9b3e3576

Threat Score

65/100

Uploaded: 2026-08-11

Published Date: 2024-05-22

Last Modified Date: 2024-05-22

Created by: dogesec

TLP:CLEAR
ADMIRALTY:B2
PAP:CLEAR
...
...
This Kaspersky research article demonstrates that certain MS-RPC interfaces on Windows domain controllers can be accessed with AUTHN_LEVEL_NONE (no authentication) over TCP endpoints, enabling remote enumeration of network interfaces and Active Directory data (user and computer existence via DsrGetDcNameEx2, trusted domains via NetrEnumerateTrustedDomainsEx). The author details a methodology using endpoint enumeration (epmapper, Nmap), Impacket tools (rpcdump/rpcmap), OPNUM brute-forcing, and RPCView/Wireshark traffic analysis to identify callable RPC methods (including IOObjectExporter ServerAlive2 and MS-NRPC functions) that return useful domain information even when null sessions and the 'Restrict Unauthenticated RPC Clients' policy are in place, discusses implications for reconnaissance, and points to a tool implementing these techniques.