3 min read

Is SAP S/4HANA Truly ‘Secure by Default’?

SAP S/4HANA is not automatically secure after deployment. This article challenges the “secure by default” myth and explains why CISOs must enforce custom configuration, patching, audit logging, access control and continuous monitoring.
Is SAP S/4HANA Truly ‘Secure by Default’?
Image by Gerd Altmann from Pixabay

A Critical Examination


By Eckhart Mehler for CISOsCISO — a perspective on cybersecurity leadership, governance and the decisions that determine whether organizations retain control.


SAP S/4HANA is renowned for its advanced features and robust architecture, positioning it as a cornerstone for many enterprises’ digital transformations. However, a prevalent misconception persists: the belief that deploying SAP S/4HANA in its default state ensures comprehensive security. This article aims to debunk this myth, emphasizing the imperative of meticulous configuration and ongoing vigilance to safeguard your SAP environment effectively.


🛡️ Understanding ‘Secure by Default’

SAP has introduced the ‘Secure by Default’ (SbD) initiative to enhance the baseline security of SAP S/4HANA systems. This approach ensures that certain security settings are pre-configured during installation, providing a foundational layer of protection. However, it’s crucial to recognize that SbD serves as a starting point rather than a comprehensive security solution. Additional configurations, tailored to the specific needs of your organization, are essential to address unique security requirements and potential vulnerabilities.

https://community.sap.com/t5/technology-blogs-by-sap/another-chapter-of-secure-by-default-for-sap-s-4hana-2023/ba-p/13580212


⚠️ Risks Associated with Default Configurations

Relying solely on default settings can expose your system to several risks:

1. Inactive Security Features: Certain security mechanisms may be disabled by default to accommodate diverse operational scenarios. For instance, audit logging might not be active, leaving the system blind to unauthorized activities. https://community.sap.com/t5/technology-blogs-by-sap/security-by-default-hana-audit-policies-for-s-4hana/ba-p/13493003

2. Default User Accounts: Accounts such as SAP* and DDIC are standard in SAP installations. If not properly secured or deactivated, these accounts can become entry points for attackers. https://help.sap.com/doc/3cffa43c8e3843cdae23f9abfe47355e/2.0.05/en-US/SAP_HANA_Security_Checklists_and_Recommendations_en.pdf

3. Open Services and Ports: Unused services or open ports, if not appropriately managed, can be exploited to gain unauthorized access or disrupt system operations. https://help.sap.com/doc/d7c2c95f2ed2402c9efa2f58f7c233ec/2021/en-US/SEC_OP2021.pdf

🔧 The Importance of Custom Configuration

To elevate your SAP S/4HANA system’s security posture beyond the default settings, consider the following best practices:

Regular Patch Management: Stay informed about and promptly apply security patches released by SAP to mitigate known vulnerabilities. https://community.sap.com/t5/technology-blogs-by-members/sap-security-patch-day-december-2024/ba-p/13959582

Role-Based Access Control (RBAC): Define and enforce roles meticulously to ensure users have the minimum necessary access, reducing the risk of internal threats. https://community.sap.com/t5/sap-for-defense-and-security-blogs/how-to-enhance-your-sap-security-with-best-practices-and-tools/ba-p/13789510

Enable Audit Logging: Activate and regularly review audit logs to detect and respond to suspicious activities promptly. https://assets.dm.ux.sap.com/webinars/sap-user-groups-k4u/pdfs/221020_how_to_detect_and_prevent_attacks_on_sap_s4hana.pdf

Secure Communication Channels: Implement encryption protocols like TLS to protect data in transit between clients and servers. https://help.sap.com/doc/d7c2c95f2ed2402c9efa2f58f7c233ec/2021/en-US/SEC_OP2021.pdf

Conduct Security Audits: Perform periodic security assessments to identify and address potential vulnerabilities proactively. https://sapgurus.de/ensuring-robust-security-best-practices-for-sap-s-4hana-implementations/


📝 Case in Point: The Consequences of Neglecting Custom Security Measures

In 2016, a significant security breach was uncovered where attackers exploited default configurations in SAP systems, gaining unauthorized access to critical business data across multiple organizations. This incident underscores the dangers of relying solely on default settings without implementing additional security measures tailored to the organization’s specific environment.

https://kpmg.com/kpmg-us/content/dam/kpmg/pdf/2024/sap-s4hana-security-from-start.pdf


🚀 Conclusion

While SAP S/4HANA’s ‘Secure by Default’ settings provide a valuable foundation, they are not a substitute for comprehensive security strategies. Organizations must engage in diligent configuration, continuous monitoring, and regular updates to ensure their SAP environments remain resilient against evolving threats.


🔗 Useful Resources:

SAP S/4HANA Security Guide

SAP HANA Security Checklists and Recommendations

Security by Default - HANA Audit Policies for S/4HANA


Stay proactive, stay secure.

Publication Note & Disclaimer
This article was
originally published on LinkedIn on January 2, 2025 and may have been edited or updated for publication on this site.

It reflects my personal professional perspective and does not represent the official policy or position of my employer. Drafting and editorial refinement may have been supported by commercially available AI-assisted tools. The analysis, conclusions and final curation are entirely my own.

For information regarding image credits, copyrights, trademarks and other intellectual property rights, please refer to the Imprint.