Skip to content
Threat Feed
medium advisory

Detection of Unauthorized Apache Thrift RPC Invocations from External Networks

Detection logic targeting unauthorized Apache Thrift RPC method invocations from external IP addresses to identify exposed internal microservices or potential exploitation of data platforms.

Apache Thrift is a common framework used to facilitate scalable cross-language service development, frequently deployed within internal environments for microservice communication and data ecosystem components such as Apache HBase, Hive, Spark, and Impala. Many of these deployments assume a trusted network architecture and lack robust application-level authentication.

The risk manifests when a Thrift listener, intended only for internal communication, is exposed to the public internet. Threat actors may exploit this exposure to perform reconnaissance, invoke unauthorized administrative methods, or execute arbitrary code via vulnerabilities such as CVE-2018-1320. This intelligence brief highlights the need to monitor for the first decoded RPC relationship between a public client address and an internal server. Defenders should treat any such connection as suspicious, as it indicates a violation of network segmentation and a potential vector for initial access or unauthorized data access.

Impact

Successful exploitation of exposed Thrift endpoints can lead to significant impact, including unauthorized access to sensitive data stores, modification of service configurations, and the execution of malicious jobs. Because Thrift services often operate with high-level service account privileges, an attacker can leverage this access to perform lateral movement or exfiltration across the Hadoop ecosystem or internal microservice mesh.

Recommendation

  • Implement the provided detection logic to surface the first observed connection between an external client and an internal Thrift service.
  • Audit existing Thrift service deployments; restrict listeners to authorized internal network segments and mandate authenticated, encrypted transport (e.g., TLS) for all RPC calls.
  • Validate identified connections against known partner integration and service inventories to distinguish legitimate traffic from potential reconnaissance or exploitation attempts.
  • Review service IDLs to determine if exposed methods permit configuration changes, resource deletion, or job execution, and prioritize these endpoints for immediate isolation.

Detection coverage 1

Detect Unauthorized Thrift RPC Method from External IP

medium

Identifies the first observed Apache Thrift RPC method invocation from a non-private (public) IP address to an internal server.

sigma tactics: initial_access techniques: T1190 sources: network_connection

Detection queries are available on the platform. Get full rules →