Guide to the Secure Configuration of Oracle Linux 8
Rules, Groups, and Values defined within the XCCDF Benchmark
-
Don't target root user in the sudoers file
The targeted users of a user specification should be, as much as possible, non privileged users (i.e.: non-root). User specifications have to expl...Rule Medium Severity -
Ensure invoking users password for privilege escalation when using sudo
The sudoers security policy requires that users authenticate themselves before they can use sudo. When sudoers requires authentication, it validate...Rule Medium Severity -
System Tooling / Utilities
The following checks evaluate the system for recommended base packages -- both for installation and removal.Group -
Install binutils Package
Thebinutils
package can be installed with the following command:$ sudo yum install binutils
Rule Medium Severity -
Ensure gnutls-utils is installed
Thegnutls-utils
package can be installed with the following command:$ sudo yum install gnutls-utils
Rule Medium Severity -
Install libcap-ng-utils Package
Thelibcap-ng-utils
package can be installed with the following command:$ sudo yum install libcap-ng-utils
Rule Medium Severity -
Ensure nss-tools is installed
Thenss-tools
package can be installed with the following command:$ sudo yum install nss-tools
Rule Medium Severity -
Install openscap-scanner Package
Theopenscap-scanner
package can be installed with the following command:$ sudo yum install openscap-scanner
Rule Medium Severity -
Install rear Package
Therear
package can be installed with the following command:$ sudo yum install rear
Rule Medium Severity -
Install rng-tools Package
Therng-tools
package can be installed with the following command:$ sudo yum install rng-tools
Rule Low Severity -
Install scap-security-guide Package
Thescap-security-guide
package can be installed with the following command:$ sudo yum install scap-security-guide
Rule Medium Severity -
Install tar Package
Thetar
package can be installed with the following command:$ sudo yum install tar
Rule Medium Severity -
Uninstall abrt-addon-kerneloops Package
Theabrt-addon-kerneloops
package can be removed with the following command:$ sudo yum erase abrt-addon-kerneloops
Rule Low Severity -
Uninstall abrt-addon-python Package
Theabrt-addon-python
package can be removed with the following command:$ sudo yum erase abrt-addon-python
Rule Low Severity -
Uninstall abrt-cli Package
Theabrt-cli
package can be removed with the following command:$ sudo yum erase abrt-cli
Rule Low Severity -
Uninstall abrt-libs Package
Theabrt-libs
package can be removed with the following command:$ sudo yum erase abrt-libs
Rule Medium Severity -
Uninstall abrt-plugin-logger Package
Theabrt-plugin-logger
package can be removed with the following command:$ sudo yum erase abrt-plugin-logger
Rule Low Severity -
Uninstall abrt-plugin-rhtsupport Package
Theabrt-plugin-rhtsupport
package can be removed with the following command:$ sudo yum erase abrt-plugin-rhtsupport
Rule Low Severity -
Uninstall abrt-plugin-sosreport Package
Theabrt-plugin-sosreport
package can be removed with the following command:$ sudo yum erase abrt-plugin-sosreport
Rule Low Severity -
Uninstall abrt-server-info-page Package
Theabrt-server-info-page
package can be removed with the following command:$ sudo yum erase abrt-server-info-page
Rule Medium Severity -
Uninstall geolite2-city Package
Thegeolite2-city
package can be removed with the following command:$ sudo yum erase geolite2-city
Rule Low Severity -
Uninstall geolite2-country Package
Thegeolite2-country
package can be removed with the following command:$ sudo yum erase geolite2-country
Rule Low Severity -
Uninstall gssproxy Package
Thegssproxy
package can be removed with the following command:$ sudo yum erase gssproxy
Rule Medium Severity -
Uninstall iprutils Package
Theiprutils
package can be removed with the following command:$ sudo yum erase iprutils
Rule Medium Severity -
Uninstall krb5-workstation Package
Thekrb5-workstation
package can be removed with the following command:$ sudo yum erase krb5-workstation
Rule Medium Severity -
Uninstall libreport-plugin-logger Package
Thelibreport-plugin-logger
package can be removed with the following command:$ sudo yum erase libreport-plugin-logger
Rule Low Severity -
Uninstall libreport-plugin-rhtsupport Package
The <code>libreport-plugin-rhtsupport</code> package can be removed with the following command: <pre> $ sudo yum erase libreport-plugin-rhtsupport<...Rule Low Severity -
Uninstall pigz Package
Thepigz
package can be removed with the following command:$ sudo yum erase pigz
Rule Low Severity -
Uninstall tuned Package
Thetuned
package can be removed with the following command:$ sudo yum erase tuned
Rule Medium Severity -
Updating Software
The <code>yum</code> command line tool is used to install and update software packages. The system also provides a graphical software update tool i...Group -
Install dnf-automatic Package
Thednf-automatic
package can be installed with the following command:$ sudo yum install dnf-automatic
Rule Medium Severity -
Ensure yum Removes Previous Package Versions
<code>yum</code> should be configured to remove previous software components after new versions have been installed. To configure <code>yum</code> ...Rule Low Severity -
Configure dnf-automatic to Install Available Updates Automatically
To ensure that the packages comprising the available updates will be automatically installed by <code>dnf-automatic</code>, set <code>apply_updates...Rule Medium Severity -
Configure dnf-automatic to Install Only Security Updates
To configure <code>dnf-automatic</code> to install only security updates automatically, set <code>upgrade_type</code> to <code>security</code> unde...Rule Low Severity -
Ensure gpgcheck Enabled In Main yum Configuration
The <code>gpgcheck</code> option controls whether RPM packages' signatures are always checked prior to installation. To configure yum to check pack...Rule High Severity -
Ensure gpgcheck Enabled for Local Packages
<code>yum</code> should be configured to verify the signature(s) of local packages prior to installation. To configure <code>yum</code> to verify s...Rule High Severity -
Ensure gpgcheck Enabled for All yum Package Repositories
To ensure signature checking is not disabled for any repos, remove any lines from files in <code>/etc/yum.repos.d</code> of the form: <pre>gpgcheck...Rule High Severity -
Ensure Oracle Linux GPG Key Installed
To ensure the system can cryptographically verify base software packages come from Oracle (and to connect to the Unbreakable Linux Network to recei...Rule High Severity -
Verify permissions on System Login Banner
To properly set the permissions of/etc/issue
, run the command:$ sudo chmod 0644 /etc/issue
Rule Medium Severity -
Ensure Software Patches Installed
If the system is joined to the ULN or a yum server, run the following command to install updates: <pre>$ sudo yum update</pre> If the system is no...Rule Medium Severity -
Enable dnf-automatic Timer
Thednf-automatic
timer can be enabled with the following command:$ sudo systemctl enable dnf-automatic.timer
Rule Medium Severity -
Account and Access Control
In traditional Unix security, if an attacker gains shell access to a certain login account, they can perform any action or access any file to which...Group -
Authselect profile
Specify the authselect profile to selectValue -
Enable authselect
Configure user authentication setup to use the <code>authselect</code> tool. If authselect profile is selected, the rule will enable the <xccdf-1.2...Rule Medium Severity -
Warning Banners for System Accesses
Each system should expose as little information about itself as possible. <br><br> System banners, which are typically displayed just before a logi...Group -
Login Banner Verbiage
Enter an appropriate login banner for your organization. Please note that new lines must be expressed by the '\n' character and special characters ...Value -
MotD Banner Verbiage
Enter an appropriate login banner for your organization. Please note that new lines must be expressed by the '\n' character and special characters ...Value -
Remote Login Banner Verbiage
Enter an appropriate login banner for your organization. Please note that new lines must be expressed by the '\n' character and special characters ...Value -
Modify the System Login Banner
To configure the system login banner edit <code>/etc/issue</code>. Replace the default text with a message compliant with the local site policy or...Rule Medium Severity -
Verify permissions on System Login Banner for Remote Connections
To properly set the permissions of/etc/issue.net
, run the command:$ sudo chmod 0644 /etc/issue.net
Rule Medium Severity
Node 2
The content of the drawer really is up to you. It could have form fields, definition lists, text lists, labels, charts, progress bars, etc. Spacing recommendation is 24px margins. You can put tabs in here, and can also make the drawer scrollable.