Skip links
Arpine Maghakyan

Arpine Maghakyan

Security Researcher of RedRays.

Threat Modeling in SAP Landscape

SAP servers are often connected to each other to facilitate communication and transfer of data between systems. This interconnectivity allows for the seamless exchange of information, making it easier to manage business processes and decision-making across the organization. For example, an SAP production server may be connected to a test server to allow for the transfer of data and testing of new updates and configurations. Additionally, a central SAP server may be connected to multiple satellite servers in different locations to allow for central management and coordination of operations.

However, these connections can also present security risks if not properly managed. Attackers can exploit these connections to move laterally within the network, potentially compromising additional systems without exploiting vulnerabilities (please read about the remote login functionality example). This highlights the importance of proper management and secure configuration of these connections, which is where the Threat Modeling module of the RedRays Security Platform V1 comes into play.

The Threat Modeling module of the RedRays Security Platform V1 is designed to help security administrators identify and manage internal connections between SAP systems. This feature is crucial in protecting against attackers who could exploit these connections to move laterally within a network and compromise additional systems.

The module extracts internal connections between SAP systems and generates an SAP Risk Map, which highlights potential areas of concern. The map allows users to take appropriate measures to manage or remove these connections or monitor for malicious activity.

The Threat Modeling module of the RedRays Security Platform V1 supports the following internal connections between SAP systems:

  1. Type_H = HTTP Connection to an SAP System
  2. Type_G = HTTP Connection to External Server
  3. Type_3 = ABAP_Connections
  4. Type_L = Logical Destination
  5. Type_W = Websocket RFC Destination

These different types of connections are analyzed and displayed on the SAP Risk Map.

Threat modeling in combination with the Vulnerability Assessment module is a powerful tool for SAP security specialists. The Vulnerability Assessment module provides a comprehensive analysis of the security posture of SAP systems, identifying potential vulnerabilities and areas of concern. The results of the security audit are then transferred to the Threat Modeling module, which builds an SAP Risk Map based on the internal connections and existing vulnerabilities between systems. This map highlights in red the connections that could potentially be compromised, providing a visual representation of the risk and allowing security administrators to quickly identify areas of concern.

This tool provides a powerful and effective way to assess and manage risk within SAP systems, making it an essential tool for SAP security specialists. The integration of the Vulnerability Assessment module and Threat Modeling module provides a comprehensive and holistic approach to SAP security, ensuring that organizations can effectively manage risk and maintain the security of their SAP systems.

 

Example:

On the map below, you can see that there are a few SAP servers that are connected to each other.

The red one is an SAP where RedRays Security Platform is identified as a high vulnerability. And compromising the server 44.200.59.176, an attacker could extract and decrypt passwords for the following sap servers, in particular, the password for 10.10.100.48

After jumping to the 10.10.100.48 server, an attacker could compromise the server for example, 44.200.59.175

More to explorer

SAP Cloud Connector Certificate Validation Issue

Date of Release: February 13, 2024 Advisory ID: CVE-2024-25642 Affected Software: SAP Cloud Connector Versions Affected: 2.15.0 to 2.16.1 Vulnerability Summary:A critical vulnerability,