Guide to the Secure Configuration of Oracle Linux 7
with profile Security Profile of Oracle Linux 7 for SAPThis profile contains rules for Oracle Linux 7 Operating System in compliance with SAP note 2069760 and SAP Security Baseline v1.9 Item I-8 and section 4.1.2.2. Regardless of your system's workload all of these checks should pass.
https://www.open-scap.org/security-policies/scap-security-guide
Providing system administrators with such guidance informs them how to securely configure systems under their control in a variety of network roles. Policy makers and baseline creators can use this catalog of settings, with its associated references to higher-level security control catalogs, in order to assist them in security baseline creation. This guide is a italics="catalog, not a checklist," and satisfaction of every item is not likely to be possible or sensible in many operational scenarios. However, the XCCDF format enables granular selection and adjustment of settings, and their association with OVAL and OCIL content provides an automated checking capability. Transformations of this document, and its associated automated checking content, are capable of providing baselines that meet a diverse set of policy objectives. Some example XCCDF italics="Profiles", which are selections of items that form checklists and can be used as baselines, are available with this guide. They can be processed, in an automated fashion, with tools that support the Security Content Automation Protocol (SCAP). The DISA STIG for Oracle Linux 7, which provides required settings for US Department of Defense systems, is one example of a baseline created from this guidance.
Profile Title | Security Profile of Oracle Linux 7 for SAP |
---|---|
Profile ID | xccdf_org.ssgproject.content_profile_sap |
Revision History
Current version: 0.1.39
- draft (as of 2018-05-04)
Platforms
- cpe:/o:oracle:linux:7
Table of Contents
Checklist
contains 6 rules | ||||||||||||
Services [ref]groupThe best protection against vulnerable software is running less software. This section describes how to review
the software which Oracle Linux 7 installs on a system and disable software which is not needed. It
then enumerates the software packages installed on a default Oracle Linux 7 system and provides guidance about which
ones can be safely disabled.
| ||||||||||||
contains 3 rules | ||||||||||||
Obsolete Services [ref]groupThis section discusses a number of network-visible
services which have historically caused problems for system
security, and for which disabling or severely limiting the service
has been the best available guidance for some time. As a result of
this, many of these services are not installed as part of Red Hat Enterprise Linux 7
by default.
| ||||||||||||
contains 3 rules | ||||||||||||
Rlogin, Rsh, and Rexec [ref]groupThe Berkeley r-commands are legacy services which allow cleartext remote access and have an insecure trust model. | ||||||||||||
contains 3 rules | ||||||||||||
Disable rlogin Service [ref]ruleThe $ sudo systemctl disable rlogin.socketRationale: The rlogin service uses unencrypted network communications, which means that data from the login session, including passwords and all other information transmitted during the session, can be stolen by eavesdroppers on the network. Severity: high References: 2.2.17, 3.1.13, 3.4.7, CCI-001436, 164.308(a)(4)(i), 164.308(b)(1), 164.308(b)(3), 164.310(b), 164.312(e)(1), 164.312(e)(2)(ii), AC-17(8), CM-7, IA-5(1)(c)
| ||||||||||||
Disable rsh Service [ref]ruleThe $ sudo systemctl disable rsh.socketRationale: The rsh service uses unencrypted network communications, which means that data from the login session, including passwords and all other information transmitted during the session, can be stolen by eavesdroppers on the network. Severity: high References: 2.2.17, 3.1.13, 3.4.7, CCI-000068, CCI-001436, 164.308(a)(4)(i), 164.308(b)(1), 164.308(b)(3), 164.310(b), 164.312(e)(1), 164.312(e)(2)(ii), AC-17(8), CM-7, IA-5(1)(c)
| ||||||||||||
Remove Rsh Trust Files [ref]ruleThe files $ sudo rm /etc/hosts.equiv $ rm ~/.rhostsRationale: Trust files are convenient, but when used in conjunction with the R-services, they can allow unauthenticated access to a system. Severity: high References: 6.2.14, CCI-001436, 164.308(a)(4)(i), 164.308(b)(1), 164.308(b)(3), 164.310(b), 164.312(e)(1), 164.312(e)(2)(ii), AC-17(8), CM-7 | ||||||||||||
System Settings [ref]groupContains rules that check correct system settings. | ||||||||||||
contains 3 rules | ||||||||||||
Installing and Maintaining Software [ref]groupThe following sections contain information on security-relevant choices during the initial operating system installation process and the setup of software updates. | ||||||||||||
contains 2 rules | ||||||||||||
SAP Specific Requirement [ref]groupSAP (Systems, Applications and Products in Data Processing) is enterprise software to manage business operations and customer relations. The following section contains SAP specific requirement that is not part of standard or common OS setting. | ||||||||||||
contains 2 rules | ||||||||||||
Package uuidd Installed [ref]ruleThe package $ sudo yum install uuiddRationale: The Severity: medium
| ||||||||||||
Package glibc Installed [ref]ruleThe package $ sudo yum install glibcRationale: The Severity: medium
| ||||||||||||
File Permissions and Masks [ref]groupTraditional Unix security relies heavily on file and
directory permissions to prevent unauthorized users from reading or
modifying files to which they should not have access.
$ mount -t xfs | awk '{print $3}'For any systems that use a different local filesystem type, modify this command as appropriate. | ||||||||||||
contains 1 rule | ||||||||||||
Verify Permissions on Important Files and Directories [ref]groupPermissions for many files on a system must be set restrictively to ensure sensitive information is properly protected. This section discusses important permission restrictions which can be verified to ensure that no harmful discrepancies have arisen. | ||||||||||||
contains 1 rule | ||||||||||||
Verify Permissions on Files with Local Account Information and Credentials [ref]groupThe default restrictive permissions for files which act as
important security databases such as | ||||||||||||
contains 1 rule | ||||||||||||
Verify Permissions on shadow File [ref]rule
To properly set the permissions of $ sudo chmod 0000 /etc/shadowRationale: The Severity: medium |