Exposure of Remote Procedure Call Services to the Internet
Publicly accessible Remote Procedure Call (RPC) services on TCP port 135 facilitate initial access and backdoor establishment by threat actors.
Remote Procedure Call (RPC) is a fundamental protocol used for system administration and resource sharing within enterprise environments. When RPC services, specifically those listening on TCP port 135, are exposed directly to the public Internet, they provide a significant attack surface for threat actors. Attackers frequently scan for and target these exposed interfaces to gain initial access, execute arbitrary code, or establish persistent backdoors into internal network infrastructure. Because RPC is intended for local management, its presence on an internet-facing gateway is a primary indicator of misconfiguration or unauthorized access, necessitating immediate detection and remediation.
Impact
Successful exploitation of exposed RPC services can lead to full system compromise, unauthorized lateral movement within the internal network, and potential data exfiltration. The severity of this threat is high as it bypasses traditional perimeter defenses, granting attackers a foothold within the internal environment. Organizations are at risk of ransomware deployment, credential theft, and persistent monitoring if such services remain internet-accessible.
Recommendation
- Implement the provided detection logic to identify and alert on inbound TCP/135 traffic originating from non-RFC1918 (external) IP addresses.
- Isolate systems identified by this detection immediately from the Internet and perform a thorough security audit for signs of unauthorized access.
- Implement network segmentation and firewall rules to strictly deny any inbound traffic to TCP/135 from external sources.
- Audit all internal systems to ensure RPC is disabled on internet-facing network interfaces and rely on secure alternatives like VPNs for administrative access.
- Periodically scan the perimeter for exposed management ports to prevent accidental exposure of administrative services.
Immediate actions
Deploy RPC exposure detection rule
Mitigations
Block all inbound traffic to TCP/135 from external IP ranges at the network edge
RPC exposure
Detection coverage 1
Detect Inbound RPC Traffic from the Internet
highDetects TCP traffic on port 135 originating from outside the network and directed at internal IP address space.
Detection queries are available on the platform. Get full rules →