IBM Security QRadar suite is a Security Information and Event Management (SIEM) solution that generates prioritised, high-fidelity alerts in real time by correlating analytics, threat intelligence, and network and user behaviour anomalies to assist security analysts in remaining focused on investigating and remediating the appropriate threats.
SAP Business Technology Platform (BTP) is a comprehensive technical platform provided by SAP which offers a set of tools, services, and technologies to aid in the creation, integration, and operation of cloud-based applications and services. SAP BTP provides a wide range of capabilities that enable enterprises to create, expand, and integrate flexible and scalable applications.
This article will walk you through the process of integrating SAP BTP application logs with the QRadar SIEM solution. This integration is designed to improve your ability to detect and mitigate potential vulnerabilities within the SAP BTP application environment.
The high-level overview of this configuration:
Before you integrate SAP BTP application logs with QRadar, ensure you have the following prerequisites:
The SAP Audit Log service is a platform service that keeps all audit logs created by other platform services on your behalf. It allows you to access your subaccount’s audit logs using the audit log retrieval API or view them using the Audit Log Viewer.
In this case, we used the audit log retrieval API and SAP’s official documentation to get audit logs from the SAP BTP Cloud Foundry environment subaccount. This API gives audit log results in the form of a comprehensive collection of JSON entities in a seamless manner.
First login into SAP BTP account and navigate to “Instances and Subscriptions” under “Services” as suggested below.
Select the “Authorization and Trust Management Service” and click on “View” under “…” button as highlighted below. In case, the service key is not available, click on “Create” under “Service Keys” section to get the details.
The service key will be displayed as below which needs to be downloaded.
Download JSON file by clicking on “Download” button and parameters from this output will be used for:
Note: The key parameters you require from the previous output message are listed below. The values for these parameters will vary for each individual user. Sample values are included here to help you recognize your own values.
You will now create a custom DSM to convert SAP BTP raw logs to QRadar-friendly events.
The next steps are based on the following sample log:
{“uuid”:”e7198a67-cb37-47ca-abf1-3dba2f2bfabd”,”user”:”sb-40efab32-b4ce-421c-b3d9-5021d968d8ac!b14882|auditlog-management!b18″,”time”:”2023-07-04T08:03:09.703Z”,”object”:{“type”:”data read event”,”id”:{“tenant_id”:”2639b500-b753-491d-ba00-6ddb0421a01c”}},”data_subject”:{“type”:”account”,”role”:”account”,”id”:{“id”:”sb-40efab32-b4ce-421c-b3d9-5021d968d8ac!b14882|auditlog-management!b18″}},”data_subjects”:[],”attributes”:[{“name”:”data read event”,”successful”:true}],”attachments”:[],”id”:”5be03220-4324-4e9b-82c0-b323c7f903b8″,”category”:”audit.data-access”,”tenant”:”2639b500-b753-491d-ba00-6ddb0421a01c”,”customDetails”:{}}
Show more
Login into SAP BTP with your user-id and password. Once you are navigated to SAP BTP Cockpit as below:
Navigate to “Security” section on the left side panel and select “Role collection” where the change is required.
Select “Kyma” role from the role collection and click on “Edit” to remove one of the user from the users.
Click on delete button as highlighted below:
Confirm the deletion as we want to remove the user from this role collection and click on “Save”.
Click on “Audit log viewer” from the “Instances and Subscriptions” under “Services” section on the left hand side of the panel.
We’ll find the relevant log from “Auditlog Viewer 1.0”
The log details will be displayed as below:
Open IBM QRadar and navigate to respective log source. You will find the offense generated by IBM QRadar. In this case, it is “User Role Deleted by SAP Admin” and you will find more details once you double click on it.
Hence, integrating SAP BTP application audit logs with IBM QRadar SIEM provides a quick and effective way to improve cybersecurity. This integration takes advantage of both systems’ capabilities and creates a more robust environment for detecting and mitigating potential security threats.
Credit: Tushar Trivedi, Ankit Guria and IBM Security QRadar team.