Guide to the Secure Configuration of Red Hat Enterprise Linux 10
with profile CIS Red Hat Enterprise Linux 10 Benchmark for Level 2 - ServerThis profile defines a baseline that aligns to the "Level 2 - Server" configuration from the Center for Internet Security® Red Hat Enterprise Linux 10 Benchmark™, v1.0.1, released 2025-09-30. This profile includes Center for Internet Security® Red Hat Enterprise Linux 10 CIS Benchmarks™ content.
The SCAP Security Guide Project
https://www.open-scap.org/security-policies/scap-security-guide
https://www.open-scap.org/security-policies/scap-security-guide
This guide presents a catalog of security-relevant
configuration settings for Red Hat Enterprise Linux 10. It is a rendering of
content structured in the eXtensible Configuration Checklist Description Format (XCCDF)
in order to support security automation. The SCAP content is
is available in the
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 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 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, which provides required settings for US Department of Defense systems, is one example of a baseline created from this guidance.
scap-security-guide package which is developed at
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 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 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, which provides required settings for US Department of Defense systems, is one example of a baseline created from this guidance.
This benchmark is a direct port of a SCAP Security Guide benchmark developed for Red Hat Enterprise Linux. It has been modified through an automated process to remove specific dependencies on Red Hat Enterprise Linux and to function with Rocky Linux. The result is a generally useful SCAP Security Guide benchmark with the following caveats:
- Rocky Linux is not an exact copy of Red Hat Enterprise Linux. There may be configuration differences that produce false positives and/or false negatives. If this occurs please file a bug report.
- Rocky Linux is a Linux distribution produced by the Rocky Enterprise Software Foundation. It is a free and open source operating system based on Red Hat Enterprise Linux with the goal "to be fully compatible" with its upstream commercial distribution. Rocky Linux has its own build system, compiler options, patchsets, and is a community supported, non-commercial operating system. Rocky Linux does not inherit certifications or evaluations from Red Hat Enterprise Linux. As such, some configuration rules (such as those requiring FIPS 140-2 encryption) will continue to fail on Rocky Linux.
Members of the Rocky Linux community are invited to participate in OpenSCAP and SCAP Security Guide development. Bug reports and patches can be sent to GitHub: https://github.com/ComplianceAsCode/content. The mailing list is at https://fedorahosted.org/mailman/listinfo/scap-security-guide.
Do not attempt to implement any of the settings in
this guide without first testing them in a non-operational environment. The
creators of this guidance assume no responsibility whatsoever for its use by
other parties, and makes no guarantees, expressed or implied, about its
quality, reliability, or any other characteristic.
Evaluation Characteristics
| Evaluation target | el10 |
|---|---|
| Benchmark URL | #scap_org.open-scap_comp_ssg-rhel10-xccdf.xml |
| Benchmark ID | xccdf_org.ssgproject.content_benchmark_RHEL-10 |
| Benchmark version | 0.1.82 |
| Profile ID | xccdf_org.ssgproject.content_profile_cis |
| Started at | 2026-10-29T22:30:41+00:00 |
| Finished at | 2026-10-29T22:30:41+00:00 |
| Performed by | root |
| Test system | cpe:/a:redhat:openscap:1.4.4 |
CPE Platforms
- cpe:/o:rocky:rocky:10
- cpe:/o:redhat:enterprise_linux:10
Addresses
- IPv4 127.0.0.1
- IPv4 172.17.0.3
- IPv6 0:0:0:0:0:0:0:1
- MAC 00:00:00:00:00:00
- MAC 06:3C:D2:34:77:0B
Compliance and Scoring
The target system did not satisfy the conditions of 1 rules!
Please review rule results and consider applying remediation.
Rule results
Severity of failed rules
Score
| Scoring system | Score | Maximum | Percent |
|---|---|---|---|
| urn:xccdf:scoring:default | 97.222214 | 100.000000 |
Rule Overview
Result Details
Install AIDExccdf_org.ssgproject.content_rule_package_aide_installed medium
Install AIDE
| Rule ID | xccdf_org.ssgproject.content_rule_package_aide_installed | ||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||
| Description | The aide package can be installed with the following command:
$ sudo dnf install aide | ||||||||||||||||||||||||||||||||||
| Rationale | The AIDE package must be installed if it is to be available for integrity checking. |
Build and Test AIDE Databasexccdf_org.ssgproject.content_rule_aide_build_database medium
Build and Test AIDE Database
| Rule ID | xccdf_org.ssgproject.content_rule_aide_build_database | ||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||
| Description | Run the following command to generate a new database:
$ sudo /usr/sbin/aide --initBy default, the database will be written to the file /var/lib/aide/aide.db.new.gz.
Storing the database, the configuration file /etc/aide.conf, and the binary
/usr/sbin/aide
(or hashes of these files), in a secure location (such as on read-only media) provides additional assurance about their integrity.
The newly-generated database can be installed as follows:
$ sudo cp /var/lib/aide/aide.db.new.gz /var/lib/aide/aide.db.gzTo initiate a manual check, run the following command: $ sudo /usr/sbin/aide --checkIf this check produces any unexpected output, investigate. | ||||||||||||||||||||||||||||||||
| Rationale | For AIDE to be effective, an initial database of "known-good" information about files
must be captured and it should be able to be verified against the installed files. | ||||||||||||||||||||||||||||||||
| Warnings | warning
In Red Hat Enterprise Linux 10 Image Mode (bootc) systems, the AIDE database must be regenerated after each system update.
Image Mode systems receive updates through new container images that may include modified files.
After applying system updates, run the following commands to regenerate the AIDE database:
$ sudo /usr/sbin/aide --initThen replace the existing database: $ sudo cp /var/lib/aide/aide.db.new.gz /var/lib/aide/aide.db.gzFailure to regenerate the AIDE database after updates will result in false positive alerts for legitimate system changes introduced by the update process. |
Configure AIDE to Verify the Audit Toolsxccdf_org.ssgproject.content_rule_aide_check_audit_tools medium
Configure AIDE to Verify the Audit Tools
| Rule ID | xccdf_org.ssgproject.content_rule_aide_check_audit_tools | ||||||||||
| Result | notapplicable | ||||||||||
| Multi-check rule | no | ||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||
| Severity | medium | ||||||||||
| References: |
| ||||||||||
| Description | The operating system file integrity tool must be configured to protect the integrity of the audit tools. | ||||||||||
| Rationale | Protecting the integrity of the tools used for auditing purposes is a
critical step toward ensuring the integrity of audit information. Audit
information includes all information (e.g., audit records, audit settings,
and audit reports) needed to successfully audit information system
activity.
Audit tools include but are not limited to vendor-provided and open-source
audit tools needed to successfully view and manipulate audit information
system activity and records. Audit tools include custom queries and report
generators.
It is not uncommon for attackers to replace the audit tools or inject code
into the existing tools to provide the capability to hide or erase system
activity from the audit logs.
To address this risk, audit tools must be cryptographically signed to
provide the capability to identify when the audit tools have been modified,
manipulated, or replaced. An example is a checksum hash of the file or
files. |
Configure Periodic Execution of AIDExccdf_org.ssgproject.content_rule_aide_periodic_cron_checking medium
Configure Periodic Execution of AIDE
| Rule ID | xccdf_org.ssgproject.content_rule_aide_periodic_cron_checking | ||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||
| Description | At a minimum, AIDE should be configured to run a weekly scan.
To implement a daily execution of AIDE at 4:05am using cron, add the following line to /etc/crontab:
05 4 * * * root /usr/sbin/aide --checkTo implement a weekly execution of AIDE at 4:05am using cron, add the following line to /etc/crontab:
05 4 * * 0 root /usr/sbin/aide --checkAIDE can be executed periodically through other means; this is merely one example. The usage of cron's special time codes, such as @daily and
@weekly is acceptable. | ||||||||||||||||||||||||||||
| Rationale | By default, AIDE does not install itself for periodic execution. Periodically
running AIDE is necessary to reveal unexpected changes in installed files.
Unauthorized changes to the baseline configuration could make the system vulnerable to various attacks or allow unauthorized access to the operating system. Changes to operating system configurations can have unintended side effects, some of which may be relevant to security. Detecting such changes and providing an automated response can help avoid unintended, negative consequences that could ultimately affect the security state of the operating system. The operating system's Information Management Officer (IMO)/Information System Security Officer (ISSO) and System Administrators (SAs) must be notified via email and/or monitoring system trap when there is an unauthorized modification of a configuration item. |
Implement Custom Crypto Policy Modules for CIS Benchmarkxccdf_org.ssgproject.content_rule_configure_custom_crypto_policy_cis medium
Implement Custom Crypto Policy Modules for CIS Benchmark
| Rule ID | xccdf_org.ssgproject.content_rule_configure_custom_crypto_policy_cis | ||
| Result | pass | ||
| Multi-check rule | no | ||
| OVAL Definition ID | oval:ssg-configure_custom_crypto_policy_cis:def:1 | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | Create a custom crypto policy module to enforce the use of strong ciphers and MACs in SSHD, disable CBC mode ciphers in SSHD and disable the use of weak MACs globally.
Add the following line to the file /etc/crypto-policies/policies/modules/NO-SSHCBC.pmod:
cipher@SSH = -*-CBCAdd the following line to the file /etc/crypto-policies/policies/modules/NO-SSHWEAKCIPHERS.pmod:
cipher@SSH = -3DES-CBC -AES-128-CBC -AES-192-CBC -AES-256-CBCAdd the following line to the file /etc/crypto-policies/policies/modules/NO-SSHWEAKMACS.pmod:
mac@SSH = -HMAC-MD5* -UMAC-64* -UMAC-128* -HMAC-SHA1*Add the following line to the file /etc/crypto-policies/policies/modules/NO-WEAKMAC.pmod:
mac = -*-128*Then, set the system wide crypto policy to use the custom policy. $ sudo update-crypto-policies --set DEFAULT:NO-SSHCBC:NO-SSHWEAKCIPHERS:NO-SSHWEAKMACS:NO-WEAKMAC | ||
| Rationale | CBC mode ciphers are vulnerable to certain attacks, such as the BEAST attack.
Disabling CBC mode ciphers helps protect against these attacks and ensures that only
strong, proven cryptographic algorithms are used to protect SSH communications.
Weak ciphers that are used for authentication to the cryptographic module cannot be
relied upon to provide confidentiality or integrity, and system data may be compromised.
Message Authentication Codes (MACs) are cryptographic mechanisms used to verify the
integrity and authenticity of data transmitted over SSH connections. Weak MACs that
are used for authentication to the cryptographic module cannot be relied upon to
provide integrity, and system data may be compromised. Implementing a custom crypto
policy that disables weak MAC algorithms helps ensure that only strong, proven
cryptographic algorithms are used to protect SSH communications. |
OVAL test results details
Tests that cipher@SSH is configured correctly. oval:ssg-test_configure_custom_crypto_policy_cis_NO-SSHCBC:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| not evaluated | /etc/crypto-policies/policies/modules/NO-SSHCBC.pmod | cipher@SSH = -*-CBC |
Tests that cipher@SSH is configured correctly. oval:ssg-test_configure_custom_crypto_policy_cis_NO-SSHWEAKCIPHERS:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| not evaluated | /etc/crypto-policies/policies/modules/NO-SSHWEAKCIPHERS.pmod | cipher@SSH = -3DES-CBC -AES-128-CBC -AES-192-CBC -AES-256-CBC |
Tests that mac@SSH is configured correctly. oval:ssg-test_configure_custom_crypto_policy_cis_NO-SSHWEAKMACS:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| not evaluated | /etc/crypto-policies/policies/modules/NO-SSHWEAKMACS.pmod | mac@SSH = -HMAC-MD5* -UMAC-64* -UMAC-128* -HMAC-SHA1* |
Tests that mac is configured correctly. oval:ssg-test_configure_custom_crypto_policy_cis_NO-WEAKMAC:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| not evaluated | /etc/crypto-policies/policies/modules/NO-WEAKMAC.pmod | mac = -*-128* |
Ensure /dev/shm is configuredxccdf_org.ssgproject.content_rule_partition_for_dev_shm low
Ensure /dev/shm is configured
| Rule ID | xccdf_org.ssgproject.content_rule_partition_for_dev_shm | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | low | ||
| References: |
| ||
| Description | The /dev/shm is a traditional shared memory concept.
One program will create a memory portion, which other processes
(if permitted) can access. If /dev/shm is not configured,
tmpfs will be mounted to /dev/shm by systemd. | ||
| Rationale | Any user can upload and execute files inside the /dev/shm similar to
the /tmp partition. Configuring /dev/shm allows an administrator
to set the noexec option on the mount, making /dev/shm useless for an attacker to
install executable code. It would also prevent an attacker from establishing a
hardlink to a system setuid program and wait for it to be updated. Once the program
was updated, the hardlink would be broken and the attacker would have his own copy
of the program. If the program happened to have a security vulnerability, the attacker
could continue to exploit the known flaw. | ||
| Warnings | warning
This rule does not have a remediation.
It is expected that this will be managed by systemd and will be a tmpfs partition. |
Ensure /home Located On Separate Partitionxccdf_org.ssgproject.content_rule_partition_for_home low
Ensure /home Located On Separate Partition
| Rule ID | xccdf_org.ssgproject.content_rule_partition_for_home | ||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||
| Severity | low | ||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||
| Description | If user home directories will be stored locally, create a separate partition
for /home at installation time (or migrate it later using LVM). If
/home will be mounted from another system such as an NFS server, then
creating a separate partition is not necessary at installation time, and the
mountpoint can instead be configured later. | ||||||||||||||||||||||||
| Rationale | Ensuring that /home is mounted on its own partition enables the
setting of more restrictive mount options, and also helps ensure that
users cannot trivially fill partitions used for log or audit data storage. |
Ensure /tmp Located On Separate Partitionxccdf_org.ssgproject.content_rule_partition_for_tmp low
Ensure /tmp Located On Separate Partition
| Rule ID | xccdf_org.ssgproject.content_rule_partition_for_tmp | ||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||
| Severity | low | ||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||
| Description | The /tmp directory is a world-writable directory used
for temporary file storage. Ensure it has its own partition or
logical volume at installation time, or migrate it using LVM. | ||||||||||||||||||||||
| Rationale | The /tmp partition is used as temporary storage by many programs.
Placing /tmp in its own partition enables the setting of more
restrictive mount options, which can help protect programs which use it. |
Ensure /var Located On Separate Partitionxccdf_org.ssgproject.content_rule_partition_for_var low
Ensure /var Located On Separate Partition
| Rule ID | xccdf_org.ssgproject.content_rule_partition_for_var | ||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||
| Severity | low | ||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||
| Description | The /var directory is used by daemons and other system
services to store frequently-changing data. Ensure that /var has its own partition
or logical volume at installation time, or migrate it using LVM. | ||||||||||||||||||||||||
| Rationale | Ensuring that /var is mounted on its own partition enables the
setting of more restrictive mount options. This helps protect
system services such as daemons or other programs which use it.
It is not uncommon for the /var directory to contain
world-writable directories installed by other software packages. |
Ensure /var/log Located On Separate Partitionxccdf_org.ssgproject.content_rule_partition_for_var_log low
Ensure /var/log Located On Separate Partition
| Rule ID | xccdf_org.ssgproject.content_rule_partition_for_var_log | ||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||
| Severity | low | ||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||
| Description | System logs are stored in the /var/log directory.
Ensure that /var/log has its own partition or logical
volume at installation time, or migrate it using LVM. | ||||||||||||||||||||||||||||
| Rationale | Placing /var/log in its own partition
enables better separation between log files
and other files in /var/. |
Ensure /var/log/audit Located On Separate Partitionxccdf_org.ssgproject.content_rule_partition_for_var_log_audit low
Ensure /var/log/audit Located On Separate Partition
| Rule ID | xccdf_org.ssgproject.content_rule_partition_for_var_log_audit | ||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||
| Severity | low | ||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||
| Description | Audit logs are stored in the /var/log/audit directory.
Ensure that /var/log/audit has its own partition or logical
volume at installation time, or migrate it using LVM.
Make absolutely certain that it is large enough to store all
audit logs that will be created by the auditing daemon. | ||||||||||||||||||||||||||||||||
| Rationale | Placing /var/log/audit in its own partition
enables better separation between audit files
and other files, and helps ensure that
auditing cannot be halted due to the partition running out
of space. |
Ensure /var/tmp Located On Separate Partitionxccdf_org.ssgproject.content_rule_partition_for_var_tmp medium
Ensure /var/tmp Located On Separate Partition
| Rule ID | xccdf_org.ssgproject.content_rule_partition_for_var_tmp | ||||||||||||
| Result | notapplicable | ||||||||||||
| Multi-check rule | no | ||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||
| Severity | medium | ||||||||||||
| References: |
| ||||||||||||
| Description | The /var/tmp directory is a world-writable directory used
for temporary file storage. Ensure it has its own partition or
logical volume at installation time, or migrate it using LVM. | ||||||||||||
| Rationale | The /var/tmp partition is used as temporary storage by many programs.
Placing /var/tmp in its own partition enables the setting of more
restrictive mount options, which can help protect programs which use it. |
Disable the GNOME3 Login User Listxccdf_org.ssgproject.content_rule_dconf_gnome_disable_user_list medium
Disable the GNOME3 Login User List
| Rule ID | xccdf_org.ssgproject.content_rule_dconf_gnome_disable_user_list | ||||||||||
| Result | notapplicable | ||||||||||
| Multi-check rule | no | ||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||
| Severity | medium | ||||||||||
| References: |
| ||||||||||
| Description | In the default graphical environment, users logging directly into the
system are greeted with a login screen that displays all known users.
This functionality should be disabled by setting disable-user-list
to true.
To disable, add or edit disable-user-list to
/etc/dconf/db/distro.d/00-security-settings. For example:
[org/gnome/login-screen] disable-user-list=trueOnce the setting has been added, add a lock to /etc/dconf/db/distro.d/locks/00-security-settings-lock to prevent
user modification. For example:
/org/gnome/login-screen/disable-user-listAfter the settings have been set, run dconf update. | ||||||||||
| Rationale | Leaving the user list enabled is a security risk since it allows anyone
with physical access to the system to quickly enumerate known user accounts
without logging in. |
Disable GNOME3 Automountingxccdf_org.ssgproject.content_rule_dconf_gnome_disable_automount medium
Disable GNOME3 Automounting
| Rule ID | xccdf_org.ssgproject.content_rule_dconf_gnome_disable_automount | ||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||
| Description | The system's default desktop environment, GNOME3, will mount
devices and removable media (such as DVDs, CDs and USB flash drives) whenever
they are inserted into the system. To disable automount within GNOME3, add or set
automount to false in /etc/dconf/db/distro.d/00-security-settings.
For example:
[org/gnome/desktop/media-handling] automount=falseOnce the settings have been added, add a lock to /etc/dconf/db/distro.d/locks/00-security-settings-lock to prevent user modification.
For example:
/org/gnome/desktop/media-handling/automountAfter the settings have been set, run dconf update. | ||||||||||||||||||||||
| Rationale | Disabling automatic mounting in GNOME3 can prevent
the introduction of malware via removable media.
It will, however, also prevent desktop users from legitimate use
of removable media. |
Disable GNOME3 Automount Openingxccdf_org.ssgproject.content_rule_dconf_gnome_disable_automount_open medium
Disable GNOME3 Automount Opening
| Rule ID | xccdf_org.ssgproject.content_rule_dconf_gnome_disable_automount_open | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | The system's default desktop environment, GNOME3, will mount
devices and removable media (such as DVDs, CDs and USB flash drives) whenever
they are inserted into the system. To disable automount-open within GNOME3, add or set
automount-open to false in /etc/dconf/db/distro.d/00-security-settings.
For example:
[org/gnome/desktop/media-handling] automount-open=falseOnce the settings have been added, add a lock to /etc/dconf/db/distro.d/locks/00-security-settings-lock to prevent user modification.
For example:
/org/gnome/desktop/media-handling/automount-openAfter the settings have been set, run dconf update. | ||||||||||||||||||||||||||
| Rationale | Automatically mounting file systems permits easy introduction of unknown devices, thereby facilitating malicious activity.
Disabling automatic mounting in GNOME3 can prevent
the introduction of malware via removable media.
It will, however, also prevent desktop users from legitimate use
of removable media. |
Disable GNOME3 Automount runningxccdf_org.ssgproject.content_rule_dconf_gnome_disable_autorun low
Disable GNOME3 Automount running
| Rule ID | xccdf_org.ssgproject.content_rule_dconf_gnome_disable_autorun | ||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||
| Severity | low | ||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||
| Description | The system's default desktop environment, GNOME3, will mount
devices and removable media (such as DVDs, CDs and USB flash drives) whenever
they are inserted into the system. To disable autorun-never within GNOME3, add or set
autorun-never to true in /etc/dconf/db/distro.d/00-security-settings.
For example:
[org/gnome/desktop/media-handling] autorun-never=trueOnce the settings have been added, add a lock to /etc/dconf/db/distro.d/locks/00-security-settings-lock to prevent user modification.
For example:
/org/gnome/desktop/media-handling/autorun-neverAfter the settings have been set, run dconf update. | ||||||||||||||||||||||||
| Rationale | Automatically mounting file systems permits easy introduction of unknown devices, thereby facilitating malicious activity.
Disabling automatic mount running in GNOME3 can prevent
the introduction of malware via removable media.
It will, however, also prevent desktop users from legitimate use
of removable media. |
Set GNOME3 Screensaver Inactivity Timeoutxccdf_org.ssgproject.content_rule_dconf_gnome_screensaver_idle_delay medium
Set GNOME3 Screensaver Inactivity Timeout
| Rule ID | xccdf_org.ssgproject.content_rule_dconf_gnome_screensaver_idle_delay | ||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||
| Description | The idle time-out value for inactivity in the GNOME3 desktop is configured via the idle-delay
setting must be set under an appropriate configuration file(s) in the /etc/dconf/db/distro.d directory
and locked in /etc/dconf/db/distro.d/locks directory to prevent user modification.
For example, to configure the system for a 15 minute delay, add the following to /etc/dconf/db/distro.d/00-security-settings:
[org/gnome/desktop/session] idle-delay=uint32 900 | ||||||||||||||||||||||||||||||
| Rationale | A session time-out lock is a temporary action taken when a user stops work and moves away from
the immediate physical vicinity of the information system but does not logout because of the
temporary nature of the absence. Rather than relying on the user to manually lock their operating
system session prior to vacating the vicinity, GNOME3 can be configured to identify when
a user's session has idled and take action to initiate a session lock. |
Set GNOME3 Screensaver Lock Delay After Activation Periodxccdf_org.ssgproject.content_rule_dconf_gnome_screensaver_lock_delay medium
Set GNOME3 Screensaver Lock Delay After Activation Period
| Rule ID | xccdf_org.ssgproject.content_rule_dconf_gnome_screensaver_lock_delay | ||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||
| Description | To activate the locking delay of the screensaver in the GNOME3 desktop when
the screensaver is activated, add or set lock-delay to uint32 5
in
/etc/dconf/db/distro.d/00-security-settings. For example:
[org/gnome/desktop/screensaver]
lock-delay=uint32 5
After the settings have been set, run dconf update. | ||||||||||||||||||||||||||||
| Rationale | A session lock is a temporary action taken when a user stops work and moves away from the immediate physical vicinity
of the information system but does not want to logout because of the temporary nature of the absence. |
Ensure Users Cannot Change GNOME3 Screensaver Settingsxccdf_org.ssgproject.content_rule_dconf_gnome_screensaver_user_locks medium
Ensure Users Cannot Change GNOME3 Screensaver Settings
| Rule ID | xccdf_org.ssgproject.content_rule_dconf_gnome_screensaver_user_locks | ||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||
| Description | If not already configured, ensure that users cannot change GNOME3 screensaver lock settings
by adding /org/gnome/desktop/screensaver/lock-delay
to /etc/dconf/db/distro.d/locks/00-security-settings-lock to prevent user modification.
For example:
/org/gnome/desktop/screensaver/lock-delayAfter the settings have been set, run dconf update. | ||||||||||||||||||||||||
| Rationale | A session time-out lock is a temporary action taken when a user stops work and moves away from the immediate
physical vicinity of the information system but does not logout because of the temporary nature of the absence.
Rather than relying on the user to manually lock their operating system session prior to vacating the vicinity,
GNOME desktops can be configured to identify when a user's session has idled and take action to initiate the
session lock. As such, users should not be allowed to change session settings. |
Ensure Users Cannot Change GNOME3 Session Idle Settingsxccdf_org.ssgproject.content_rule_dconf_gnome_session_idle_user_locks medium
Ensure Users Cannot Change GNOME3 Session Idle Settings
| Rule ID | xccdf_org.ssgproject.content_rule_dconf_gnome_session_idle_user_locks | ||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||
| Description | If not already configured, ensure that users cannot change GNOME3 session idle settings
by adding /org/gnome/desktop/session/idle-delay
to /etc/dconf/db/distro.d/locks/00-security-settings-lock to prevent user modification.
For example:
/org/gnome/desktop/session/idle-delayAfter the settings have been set, run dconf update. | ||||||||||||||||||||||||||||
| Rationale | A session time-out lock is a temporary action taken when a user stops work and moves away from the immediate
physical vicinity of the information system but does not logout because of the temporary nature of the absence.
Rather than relying on the user to manually lock their operating system session prior to vacating the vicinity,
GNOME desktops can be configured to identify when a user's session has idled and take action to initiate the
session lock. As such, users should not be allowed to change session settings. |
Remove the GDM Package Groupxccdf_org.ssgproject.content_rule_package_gdm_removed medium
Remove the GDM Package Group
| Rule ID | xccdf_org.ssgproject.content_rule_package_gdm_removed | ||||||||||
| Result | notapplicable | ||||||||||
| Multi-check rule | no | ||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||
| Severity | medium | ||||||||||
| References: |
| ||||||||||
| Description |
By removing the gdm package, the system no longer has GNOME installed.
If X Windows is not installed then the system cannot boot into graphical user mode.
This prevents the system from being accidentally or maliciously booted into a graphical.target
mode. To do so, run the following command:
$ sudo yum remove gdm | ||||||||||
| Rationale | Unnecessary service packages must not be installed to decrease the attack surface of the system.
A graphical environment is unnecessary for certain types of systems including a virtualization
hypervisor. |
Make sure that the dconf databases are up-to-date with regards to respective keyfilesxccdf_org.ssgproject.content_rule_dconf_db_up_to_date high
Make sure that the dconf databases are up-to-date with regards to respective keyfiles
| Rule ID | xccdf_org.ssgproject.content_rule_dconf_db_up_to_date | ||||||||||||||
| Result | notapplicable | ||||||||||||||
| Multi-check rule | no | ||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||
| Severity | high | ||||||||||||||
| References: |
| ||||||||||||||
| Description | By default, DConf uses a binary database as a data backend.
The system-level database is compiled from keyfiles in the /etc/dconf/db/
directory by the dconf updatecommand. More specifically, content present in the following directories: /etc/dconf/db/distro.d /etc/dconf/db/local.d | ||||||||||||||
| Rationale | Unlike text-based keyfiles, the binary database is impossible to check by OVAL.
Therefore, in order to evaluate dconf configuration, both have to be true at the same time -
configuration files have to be compliant, and the database needs to be more recent than those keyfiles,
which gives confidence that it reflects them. |
Disable XWaylandxccdf_org.ssgproject.content_rule_xwayland_disabled medium
Disable XWayland
| Rule ID | xccdf_org.ssgproject.content_rule_xwayland_disabled | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | Edit the file /etc/gdm/custom.conf and add or modify the following line in the
[daemon] block:
[daemon] WaylandEnable=false This will disable XWayland support in GDM. | ||
| Rationale | XWayland is a compatibility layer for running X11 applications on Wayland.
It is not secure and should be disabled. Wayland's security benefits from not relying on X11's network listener. Without X11,
there's no network listener, making it harder for malicious actors to exploit vulnerabilities
in X11. However, enabling Xwayland (running X11 applications on Wayland) introduces
X11's security concerns.
All X vulnerabilities apply to Xwayland, including keylogging, but they only affect X
windows and interactions with them.
Malware can potentially exploit Xwayland vulnerabilities to keylog or intercept other
input events. |
Install sudo Packagexccdf_org.ssgproject.content_rule_package_sudo_installed medium
Install sudo Package
| Rule ID | xccdf_org.ssgproject.content_rule_package_sudo_installed | ||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||
| Severity | medium | ||||||||||||||||||
| References: |
| ||||||||||||||||||
| Description | The sudo package can be installed with the following command:
$ sudo dnf install sudo | ||||||||||||||||||
| Rationale | sudo is a program designed to allow a system administrator to give
limited root privileges to users and log root activity. The basic philosophy
is to give as few privileges as possible but still allow system users to
get their work done. |
Ensure Only Users Logged In To Real tty Can Execute Sudo - sudo use_ptyxccdf_org.ssgproject.content_rule_sudo_add_use_pty medium
Ensure Only Users Logged In To Real tty Can Execute Sudo - sudo use_pty
| Rule ID | xccdf_org.ssgproject.content_rule_sudo_add_use_pty | ||||||||
| Result | notapplicable | ||||||||
| Multi-check rule | no | ||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||
| Severity | medium | ||||||||
| References: |
| ||||||||
| Description | The sudo use_pty tag, when specified, will only execute sudo
commands from users logged in to a real tty.
This should be enabled by making sure that the use_pty tag exists in
/etc/sudoers configuration file or any sudo configuration snippets
in /etc/sudoers.d/. | ||||||||
| Rationale | Requiring that sudo commands be run in a pseudo-terminal can prevent an attacker from retaining
access to the user's terminal after the main program has finished executing. |
Ensure Sudo Logfile Exists - sudo logfilexccdf_org.ssgproject.content_rule_sudo_custom_logfile low
Ensure Sudo Logfile Exists - sudo logfile
| Rule ID | xccdf_org.ssgproject.content_rule_sudo_custom_logfile | ||||||
| Result | notapplicable | ||||||
| Multi-check rule | no | ||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||
| Severity | low | ||||||
| References: |
| ||||||
| Description | A custom log sudo file can be configured with the 'logfile' tag. This rule configures
a sudo custom logfile at the default location suggested by CIS, which uses
/var/log/sudo.log. | ||||||
| Rationale | A sudo log file simplifies auditing of sudo commands. |
Ensure Users Re-Authenticate for Privilege Escalation - sudo !authenticatexccdf_org.ssgproject.content_rule_sudo_remove_no_authenticate medium
Ensure Users Re-Authenticate for Privilege Escalation - sudo !authenticate
| Rule ID | xccdf_org.ssgproject.content_rule_sudo_remove_no_authenticate | ||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||
| Description | The sudo !authenticate option, when specified, allows a user to execute commands using
sudo without having to authenticate. This should be disabled by making sure that the
!authenticate option does not exist in /etc/sudoers configuration file or
any sudo configuration snippets in /etc/sudoers.d/. | ||||||||||||||||||||||||
| Rationale | Without re-authentication, users may access resources or perform tasks for which they
do not have authorization.
When operating systems provide the capability to escalate a functional capability, it is critical that the user re-authenticate. |
Ensure Users Re-Authenticate for Privilege Escalation - sudo NOPASSWDxccdf_org.ssgproject.content_rule_sudo_remove_nopasswd medium
Ensure Users Re-Authenticate for Privilege Escalation - sudo NOPASSWD
| Rule ID | xccdf_org.ssgproject.content_rule_sudo_remove_nopasswd | ||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||
| Description | The sudo NOPASSWD tag, when specified, allows a user to execute
commands using sudo without having to authenticate. This should be disabled
by making sure that the NOPASSWD tag does not exist in
/etc/sudoers configuration file or any sudo configuration snippets
in /etc/sudoers.d/. | ||||||||||||||||||||||||
| Rationale | Without re-authentication, users may access resources or perform tasks for which they
do not have authorization.
When operating systems provide the capability to escalate a functional capability, it is critical that the user re-authenticate. |
Require Re-Authentication When Using the sudo Commandxccdf_org.ssgproject.content_rule_sudo_require_reauthentication medium
Require Re-Authentication When Using the sudo Command
| Rule ID | xccdf_org.ssgproject.content_rule_sudo_require_reauthentication | ||||||||||||
| Result | notapplicable | ||||||||||||
| Multi-check rule | no | ||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||
| Severity | medium | ||||||||||||
| References: |
| ||||||||||||
| Description | The sudo timestamp_timeout tag sets the amount of time sudo password prompt waits.
The default timestamp_timeout value is 5 minutes.
The timestamp_timeout should be configured by making sure that the
timestamp_timeout tag exists in
/etc/sudoers configuration file or any sudo configuration snippets
in /etc/sudoers.d/.
If the value is set to an integer less than 0, the user's time stamp will not expire
and the user will not have to re-authenticate for privileged actions until the user's session is terminated. | ||||||||||||
| Rationale | Without re-authentication, users may access resources or perform tasks for which they
do not have authorization.
When operating systems provide the capability to escalate a functional capability, it is critical that the user re-authenticate. |
Install sequoia-sq Packagexccdf_org.ssgproject.content_rule_package_sequoia-sq_installed low
Install sequoia-sq Package
| Rule ID | xccdf_org.ssgproject.content_rule_package_sequoia-sq_installed | ||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||
| Severity | low | ||||||||||||||||||
| References: |
| ||||||||||||||||||
| Description | The sequoia-sq package can be installed with the following command:
$ sudo dnf install sequoia-sq | ||||||||||||||||||
| Rationale | The sequoia-sq package provides the sq command-line tool,
which is used for OpenPGP operations including verification of GPG signatures.
This tool is required for cryptographic verification of software packages and
GPG keys using modern OpenPGP implementations. |
Disable Installation of Weak Dependencies in DNFxccdf_org.ssgproject.content_rule_disable_weak_deps medium
Disable Installation of Weak Dependencies in DNF
| Rule ID | xccdf_org.ssgproject.content_rule_disable_weak_deps | ||
| Result | pass | ||
| Multi-check rule | no | ||
| OVAL Definition ID | oval:ssg-disable_weak_deps:def:1 | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | To disable weak dependencies, set the install_weak_deps option to 0 in the /etc/dnf/dnf.conf file. | ||
| Rationale | Unless a system specifically requires the additional capabilities provides by the weak
dependencies, it is recommended that the packages are not installed to reduce the
potential attack surface. |
OVAL test results details
tests the value of install_weak_deps setting in the /etc/dnf/dnf.conf file oval:ssg-disable_weak_deps_test_disable_weak_deps:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| true | /etc/dnf/dnf.conf | [main] install_weak_deps=0 |
The configuration file /etc/dnf/dnf.conf exists for disable_weak_deps oval:ssg-disable_weak_deps_test_disable_weak_deps_config_file_exists:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Type | UID | GID | Size (B) | Permissions |
|---|---|---|---|---|---|---|
| not evaluated | /etc/dnf/dnf.conf | regular | 0 | 0 | 143 | rw-r--r-- |
Ensure gpgcheck Enabled In Main dnf Configurationxccdf_org.ssgproject.content_rule_ensure_gpgcheck_globally_activated high
Ensure gpgcheck Enabled In Main dnf Configuration
| Rule ID | xccdf_org.ssgproject.content_rule_ensure_gpgcheck_globally_activated | ||||||||||||||||||||||||||||||||||||||
| Result | pass | ||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||
| OVAL Definition ID | oval:ssg-ensure_gpgcheck_globally_activated:def:1 | ||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||
| Severity | high | ||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||
| Description | The gpgcheck option controls whether
RPM packages' signatures are always checked prior to installation.
To configure dnf to check package signatures before installing
them, ensure the following line appears in /etc/dnf/dnf.conf in
the [main] section:
gpgcheck=1 | ||||||||||||||||||||||||||||||||||||||
| Rationale | Changes to any software components can have significant effects on the
overall security of the operating system. This requirement ensures the
software has not been tampered with and that it has been provided by a
trusted vendor.
Accordingly, patches, service packs, device drivers, or operating system components must be signed with a certificate recognized and approved by the organization. Verifying the authenticity of the software prior to installation validates the integrity of the patch or upgrade received from a vendor. This ensures the software has not been tampered with and that it has been provided by a trusted vendor. Self-signed certificates are disallowed by this requirement. Certificates used to verify the software must be from an approved Certificate Authority (CA). |
OVAL test results details
check value of gpgcheck in /etc/dnf/dnf.conf oval:ssg-test_ensure_gpgcheck_globally_activated:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| not evaluated | /etc/dnf/dnf.conf | gpgcheck=1 |
Ensure Red Hat GPG Key Installedxccdf_org.ssgproject.content_rule_ensure_redhat_gpgkey_installed high
Ensure Red Hat GPG Key Installed
| Rule ID | xccdf_org.ssgproject.content_rule_ensure_redhat_gpgkey_installed | ||||||||||||||||||||||||||||||||||||||||
| Result | fail | ||||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||||
| OVAL Definition ID | oval:ssg-ensure_redhat_gpgkey_installed:def:1 | ||||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||||
| Severity | high | ||||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||||
| Description | To ensure the system can cryptographically verify base software packages
come from Red Hat (and to connect to the Red Hat Network to receive them),
the Red Hat GPG key must properly be installed.
To install the Red Hat GPG key, run:
$ sudo subscription-manager registerIf the system is not connected to the Internet or an RHN Satellite, then install the Red Hat GPG key from trusted media such as the Red Hat installation CD-ROM or DVD. Assuming the disc is mounted in /media/cdrom, use the following command as the root user to import
it into the keyring:
$ sudo rpm --import /media/cdrom/RPM-GPG-KEYAlternatively, the key may be pre-loaded during the RHEL installation. In such cases, the key can be installed by running the following command: sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release | ||||||||||||||||||||||||||||||||||||||||
| Rationale | Changes to software components can have significant effects on the overall
security of the operating system. This requirement ensures the software has
not been tampered with and that it has been provided by a trusted vendor.
The Red Hat GPG key is necessary to cryptographically verify packages are
from Red Hat. |
OVAL test results details
installed OS part of unix family oval:ssg-test_rhel10_unix_family:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Family |
|---|---|
| true | unix |
installed OS part of unix family oval:ssg-test_rhel10_unix_family:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Family |
|---|---|
| true | unix |
redhat-release is version 10 oval:ssg-test_rhel10:tst:1 false
No items have been found conforming to the following objects:
Object oval:ssg-obj_rhel10:obj:1 of type rpminfo_object
| Name |
|---|
| redhat-release |
redhat-release is version 10 oval:ssg-test_rhel10:tst:1 false
No items have been found conforming to the following objects:
Object oval:ssg-obj_rhel10:obj:1 of type rpminfo_object
| Name |
|---|
| redhat-release |
installed OS part of unix family oval:ssg-test_rhel10_unix_family:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Family |
|---|---|
| true | unix |
installed OS part of unix family oval:ssg-test_rhel10_unix_family:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Family |
|---|---|
| true | unix |
redhat-release is version 10 oval:ssg-test_rhel10:tst:1 false
No items have been found conforming to the following objects:
Object oval:ssg-obj_rhel10:obj:1 of type rpminfo_object
| Name |
|---|
| redhat-release |
redhat-release is version 10 oval:ssg-test_rhel10:tst:1 false
No items have been found conforming to the following objects:
Object oval:ssg-obj_rhel10:obj:1 of type rpminfo_object
| Name |
|---|
| redhat-release |
Red Hat release key package is installed oval:ssg-test_redhat_package_gpgkey-fd431d51-4ae0493b_installed:tst:1 false
Following items have been found on the system:
| Result of item-state comparison | Name | Arch | Epoch | Release | Version | Evr | Signature keyid | Extended name |
|---|---|---|---|---|---|---|---|---|
| false | gpg-pubkey | (none) | (none) | 682ae1a9 | 6fedfc85 | 0:6fedfc85-682ae1a9 | 0 | gpg-pubkey-0:6fedfc85-682ae1a9.(none) |
Red Hat auxiliary key package is installed oval:ssg-test_redhat_package_gpgkey-5a6340b3-6229229e_installed:tst:1 false
Following items have been found on the system:
| Result of item-state comparison | Name | Arch | Epoch | Release | Version | Evr | Signature keyid | Extended name |
|---|---|---|---|---|---|---|---|---|
| false | gpg-pubkey | (none) | (none) | 682ae1a9 | 6fedfc85 | 0:6fedfc85-682ae1a9 | 0 | gpg-pubkey-0:6fedfc85-682ae1a9.(none) |
VERSION_ID in os-release is greater than or equal 10.1 oval:ssg-test_ensure_redhat_gpgkey_installed_rhel_is_10_1_or_newer:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| true | /etc/os-release | VERSION_ID="10.2" |
VERSION_ID in os-release is greater than or equal 10.1 oval:ssg-test_ensure_redhat_gpgkey_installed_rhel_is_10_1_or_newer:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| true | /etc/os-release | VERSION_ID="10.2" |
Red Hat post quantum cryptography key package is installed oval:ssg-test_redhat_package_gpgkey-05707a62-68e6a1f3_installed:tst:1 false
Following items have been found on the system:
| Result of item-state comparison | Name | Arch | Epoch | Release | Version | Evr | Signature keyid | Extended name |
|---|---|---|---|---|---|---|---|---|
| false | gpg-pubkey | (none) | (none) | 682ae1a9 | 6fedfc85 | 0:6fedfc85-682ae1a9 | 0 | gpg-pubkey-0:6fedfc85-682ae1a9.(none) |
Test installed OS is part of the unix family oval:ssg-test_unix_family:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Family |
|---|---|
| true | unix |
Test installed OS is part of the unix family oval:ssg-test_unix_family:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Family |
|---|---|
| true | unix |
Test installed OS is part of the unix family oval:ssg-test_unix_family:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Family |
|---|---|
| true | unix |
Test installed OS is part of the unix family oval:ssg-test_unix_family:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Family |
|---|---|
| true | unix |
Check os-release ID oval:ssg-test_rl10_name:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| true | /etc/os-release | ID="rocky" |
Check os-release ID oval:ssg-test_rl10_name:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| true | /etc/os-release | ID="rocky" |
Check os-release VERSION_ID oval:ssg-test_rl10_version:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| true | /etc/os-release | VERSION_ID="10.2" |
Check os-release VERSION_ID oval:ssg-test_rl10_version:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| true | /etc/os-release | VERSION_ID="10.2" |
Test installed OS is part of the unix family oval:ssg-test_unix_family:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Family |
|---|---|
| true | unix |
Test installed OS is part of the unix family oval:ssg-test_unix_family:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Family |
|---|---|
| true | unix |
Test installed OS is part of the unix family oval:ssg-test_unix_family:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Family |
|---|---|
| true | unix |
Test installed OS is part of the unix family oval:ssg-test_unix_family:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Family |
|---|---|
| true | unix |
Check os-release ID oval:ssg-test_rl10_name:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| true | /etc/os-release | ID="rocky" |
Check os-release ID oval:ssg-test_rl10_name:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| true | /etc/os-release | ID="rocky" |
Check os-release VERSION_ID oval:ssg-test_rl10_version:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| true | /etc/os-release | VERSION_ID="10.2" |
Check os-release VERSION_ID oval:ssg-test_rl10_version:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| true | /etc/os-release | VERSION_ID="10.2" |
Rocky Linux 10 key package is installed oval:ssg-test_redhat_package_gpgkey-45a8b0f7-65d94130_installed:tst:1 false
Following items have been found on the system:
| Result of item-state comparison | Name | Arch | Epoch | Release | Version | Evr | Signature keyid | Extended name |
|---|---|---|---|---|---|---|---|---|
| false | gpg-pubkey | (none) | (none) | 682ae1a9 | 6fedfc85 | 0:6fedfc85-682ae1a9 | 0 | gpg-pubkey-0:6fedfc85-682ae1a9.(none) |
Verify Group Ownership of System Login Bannerxccdf_org.ssgproject.content_rule_file_groupowner_etc_issue medium
Verify Group Ownership of System Login Banner
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupowner_etc_issue | ||||
| Result | pass | ||||
| Multi-check rule | no | ||||
| OVAL Definition ID | oval:ssg-file_groupowner_etc_issue:def:1 | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | To properly set the group owner of /etc/issue, run the command:
$ sudo chgrp root /etc/issue | ||||
| Rationale | Display of a standardized and approved use notification before granting
access to the operating system ensures privacy and security notification
verbiage used is consistent with applicable federal laws, Executive Orders,
directives, policies, regulations, standards, and guidance. Proper group ownership will ensure that only root user can modify the banner. |
OVAL test results details
Testing group ownership of /etc/issue oval:ssg-test_file_groupowner_etc_issue_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_groupowner_etc_issue_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/issue | oval:ssg-symlink_file_groupowner:ste:1 | oval:ssg-state_file_groupowner_etc_issue_0_0:ste:1 |
Verify Group Ownership of System Login Banner for Remote Connectionsxccdf_org.ssgproject.content_rule_file_groupowner_etc_issue_net medium
Verify Group Ownership of System Login Banner for Remote Connections
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupowner_etc_issue_net | ||||||
| Result | pass | ||||||
| Multi-check rule | no | ||||||
| OVAL Definition ID | oval:ssg-file_groupowner_etc_issue_net:def:1 | ||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||
| Severity | medium | ||||||
| References: |
| ||||||
| Description | To properly set the group owner of /etc/issue.net, run the command:
$ sudo chgrp root /etc/issue.net | ||||||
| Rationale | Display of a standardized and approved use notification before granting
access to the operating system ensures privacy and security notification
verbiage used is consistent with applicable federal laws, Executive Orders,
directives, policies, regulations, standards, and guidance. Proper group ownership will ensure that only root user can modify the banner. |
OVAL test results details
Testing group ownership of /etc/issue.net oval:ssg-test_file_groupowner_etc_issue_net_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_groupowner_etc_issue_net_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/issue.net | oval:ssg-symlink_file_groupowner:ste:1 | oval:ssg-state_file_groupowner_etc_issue_net_0_0:ste:1 |
Verify Group Ownership of Message of the Day Bannerxccdf_org.ssgproject.content_rule_file_groupowner_etc_motd medium
Verify Group Ownership of Message of the Day Banner
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupowner_etc_motd | ||||
| Result | pass | ||||
| Multi-check rule | no | ||||
| OVAL Definition ID | oval:ssg-file_groupowner_etc_motd:def:1 | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | To properly set the group owner of /etc/motd, run the command:
$ sudo chgrp root /etc/motd | ||||
| Rationale | Display of a standardized and approved use notification before granting
access to the operating system ensures privacy and security notification
verbiage used is consistent with applicable federal laws, Executive Orders,
directives, policies, regulations, standards, and guidance. Proper group ownership will ensure that only root user can modify the banner. |
OVAL test results details
Testing group ownership of /etc/motd oval:ssg-test_file_groupowner_etc_motd_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_groupowner_etc_motd_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/motd | oval:ssg-symlink_file_groupowner:ste:1 | oval:ssg-state_file_groupowner_etc_motd_0_0:ste:1 |
Verify ownership of System Login Bannerxccdf_org.ssgproject.content_rule_file_owner_etc_issue medium
Verify ownership of System Login Banner
| Rule ID | xccdf_org.ssgproject.content_rule_file_owner_etc_issue | ||||
| Result | pass | ||||
| Multi-check rule | no | ||||
| OVAL Definition ID | oval:ssg-file_owner_etc_issue:def:1 | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | To properly set the owner of /etc/issue, run the command:
$ sudo chown root /etc/issue | ||||
| Rationale | Display of a standardized and approved use notification before granting
access to the operating system ensures privacy and security notification
verbiage used is consistent with applicable federal laws, Executive Orders,
directives, policies, regulations, standards, and guidance. Proper ownership will ensure that only root user can modify the banner. |
OVAL test results details
Testing user ownership of /etc/issue oval:ssg-test_file_owner_etc_issue_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_owner_etc_issue_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/issue | oval:ssg-symlink_file_owner:ste:1 | oval:ssg-state_file_owner_etc_issue_0_0:ste:1 |
Verify ownership of System Login Banner for Remote Connectionsxccdf_org.ssgproject.content_rule_file_owner_etc_issue_net medium
Verify ownership of System Login Banner for Remote Connections
| Rule ID | xccdf_org.ssgproject.content_rule_file_owner_etc_issue_net | ||||||
| Result | pass | ||||||
| Multi-check rule | no | ||||||
| OVAL Definition ID | oval:ssg-file_owner_etc_issue_net:def:1 | ||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||
| Severity | medium | ||||||
| References: |
| ||||||
| Description | To properly set the owner of /etc/issue.net, run the command:
$ sudo chown root /etc/issue.net | ||||||
| Rationale | Display of a standardized and approved use notification before granting
access to the operating system ensures privacy and security notification
verbiage used is consistent with applicable federal laws, Executive Orders,
directives, policies, regulations, standards, and guidance. Proper ownership will ensure that only root user can modify the banner. |
OVAL test results details
Testing user ownership of /etc/issue.net oval:ssg-test_file_owner_etc_issue_net_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_owner_etc_issue_net_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/issue.net | oval:ssg-symlink_file_owner:ste:1 | oval:ssg-state_file_owner_etc_issue_net_0_0:ste:1 |
Verify ownership of Message of the Day Bannerxccdf_org.ssgproject.content_rule_file_owner_etc_motd medium
Verify ownership of Message of the Day Banner
| Rule ID | xccdf_org.ssgproject.content_rule_file_owner_etc_motd | ||||
| Result | pass | ||||
| Multi-check rule | no | ||||
| OVAL Definition ID | oval:ssg-file_owner_etc_motd:def:1 | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | To properly set the owner of /etc/motd, run the command:
$ sudo chown root /etc/motd | ||||
| Rationale | Display of a standardized and approved use notification before granting
access to the operating system ensures privacy and security notification
verbiage used is consistent with applicable federal laws, Executive Orders,
directives, policies, regulations, standards, and guidance. Proper ownership will ensure that only root user can modify the banner. |
OVAL test results details
Testing user ownership of /etc/motd oval:ssg-test_file_owner_etc_motd_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_owner_etc_motd_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/motd | oval:ssg-symlink_file_owner:ste:1 | oval:ssg-state_file_owner_etc_motd_0_0:ste:1 |
Configure the Use of the pam_faillock.so Module in the /etc/pam.d/password-auth File.xccdf_org.ssgproject.content_rule_account_password_pam_faillock_password_auth medium
Configure the Use of the pam_faillock.so Module in the /etc/pam.d/password-auth File.
| Rule ID | xccdf_org.ssgproject.content_rule_account_password_pam_faillock_password_auth | ||||||||||
| Result | notapplicable | ||||||||||
| Multi-check rule | no | ||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||
| Severity | medium | ||||||||||
| References: |
| ||||||||||
| Description | The pam_faillock.so module must be loaded in preauth in /etc/pam.d/password-auth. | ||||||||||
| Rationale | If the pam_faillock.so module is not loaded the system will not correctly lockout accounts to prevent
password guessing attacks. |
Configure the Use of the pam_faillock.so Module in the /etc/pam.d/system-auth File.xccdf_org.ssgproject.content_rule_account_password_pam_faillock_system_auth medium
Configure the Use of the pam_faillock.so Module in the /etc/pam.d/system-auth File.
| Rule ID | xccdf_org.ssgproject.content_rule_account_password_pam_faillock_system_auth | ||||||||||
| Result | notapplicable | ||||||||||
| Multi-check rule | no | ||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||
| Severity | medium | ||||||||||
| References: |
| ||||||||||
| Description | The pam_faillock.so module must be loaded in preauth in /etc/pam.d/system-auth. | ||||||||||
| Rationale | If the pam_faillock.so module is not loaded the system will not correctly lockout accounts to prevent
password guessing attacks. |
Ensure Password History Is Enforced for the Root Userxccdf_org.ssgproject.content_rule_accounts_password_pam_pwhistory_enforce_for_root medium
Ensure Password History Is Enforced for the Root User
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_password_pam_pwhistory_enforce_for_root | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | The enforce_for_root option enforces password history for the root user.
Enable the enforce_for_root setting in /etc/security/pwhistory.conf
to require the root user to use a password that has not been used recently. | ||
| Rationale | Requiring users not to reuse their passwords make it less likely that an attacker will be
able to guess the password or use a compromised password. |
Limit Password Reuse: password-authxccdf_org.ssgproject.content_rule_accounts_password_pam_pwhistory_remember_password_auth medium
Limit Password Reuse: password-auth
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_password_pam_pwhistory_remember_password_auth | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | Do not allow users to reuse recent passwords. This can be accomplished by using the
remember option for the pam_pwhistory PAM module.
On systems with newer versions of authselect, the pam_pwhistory PAM module
can be enabled via authselect feature:
authselect enable-feature with-pwhistoryOtherwise, it should be enabled using an authselect custom profile. Newer systems also have the /etc/security/pwhistory.conf file for setting
pam_pwhistory module options. This file should be used whenever available.
Otherwise, the pam_pwhistory module options can be set in PAM files.
The value for remember option must be equal or greater than
24
| ||||||||||||||||||||||||||
| Rationale | Preventing reuse of previous passwords helps ensure that a compromised password is not
reused by a user. | ||||||||||||||||||||||||||
| Warnings | warning
If the system relies on authselect tool to manage PAM settings, the remediation
will also use authselect tool. However, if any manual modification was made in
PAM files, the authselect integrity check will fail and the remediation will be
aborted in order to preserve intentional changes. In this case, an informative message will
be shown in the remediation report.warning
Newer versions of authselect contain an authselect feature to easily and properly
enable pam_pwhistory.so module. If this feature is not yet available in your
system, an authselect custom profile must be used to avoid integrity issues in PAM files.
If a custom profile was created and used in the system before this authselect feature was
available, the new feature can't be used with this custom profile and the
remediation will fail. In this case, the custom profile should be recreated or manually
updated. |
Limit Password Reuse: system-authxccdf_org.ssgproject.content_rule_accounts_password_pam_pwhistory_remember_system_auth medium
Limit Password Reuse: system-auth
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_password_pam_pwhistory_remember_system_auth | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | Do not allow users to reuse recent passwords. This can be accomplished by using the
remember option for the pam_pwhistory PAM module.
On systems with newer versions of authselect, the pam_pwhistory PAM module
can be enabled via authselect feature:
authselect enable-feature with-pwhistoryOtherwise, it should be enabled using an authselect custom profile. Newer systems also have the /etc/security/pwhistory.conf file for setting
pam_pwhistory module options. This file should be used whenever available.
Otherwise, the pam_pwhistory module options can be set in PAM files.
The value for remember option must be equal or greater than
24
| ||||||||||||||||||||||||||
| Rationale | Preventing reuse of previous passwords helps ensure that a compromised password is not
reused by a user. | ||||||||||||||||||||||||||
| Warnings | warning
If the system relies on authselect tool to manage PAM settings, the remediation
will also use authselect tool. However, if any manual modification was made in
PAM files, the authselect integrity check will fail and the remediation will be
aborted in order to preserve intentional changes. In this case, an informative message will
be shown in the remediation report.warning
Newer versions of authselect contain an authselect feature to easily and properly
enable pam_pwhistory.so module. If this feature is not yet available in your
system, an authselect custom profile must be used to avoid integrity issues in PAM files. |
Enforce Password History with use_authtokxccdf_org.ssgproject.content_rule_accounts_password_pam_pwhistory_use_authtok medium
Enforce Password History with use_authtok
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_password_pam_pwhistory_use_authtok | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | The use_authtok option ensures the pam_pwhistory module uses the new
password provided by a previously stacked PAM module during password
changes, rather than prompting the user again. | ||
| Rationale | The use_authtok option allows multiple PAM modules to validate the new
password before it is accepted, ensuring it meets all security requirements
without requiring the user to re-enter it multiple times. |
Require use_authtok for pam_unix.soxccdf_org.ssgproject.content_rule_accounts_password_pam_unix_authtok medium
Require use_authtok for pam_unix.so
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_password_pam_unix_authtok | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | When password changing enforce the module to set the new password to the one
provided by a previously stacked password module | ||
| Rationale | Require use_authtok in pam_unix.so configuration |
Lock Accounts After Failed Password Attemptsxccdf_org.ssgproject.content_rule_accounts_passwords_pam_faillock_deny medium
Lock Accounts After Failed Password Attempts
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_passwords_pam_faillock_deny | ||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||
| Description | This rule configures the system to lock out accounts after a number of incorrect login attempts
using pam_faillock.so.
pam_faillock.so module requires multiple entries in pam files. These entries must be carefully
defined to work as expected.
Ensure that the file /etc/security/faillock.conf contains the following entry:
deny = <count>
Where count should be less than or equal to
5 and greater than 0.
In order to avoid errors when manually editing these files, it is
recommended to use the appropriate tools, such as authselect or authconfig,
depending on the OS version. | ||||||||||||||||||||||||||||||||||||
| Rationale | By limiting the number of failed logon attempts, the risk of unauthorized system access via
user password guessing, also known as brute-forcing, is reduced. Limits are imposed by locking
the account. | ||||||||||||||||||||||||||||||||||||
| Warnings | warning
If the system relies on authselect tool to manage PAM settings, the remediation
will also use authselect tool. However, if any manual modification was made in
PAM files, the authselect integrity check will fail and the remediation will be
aborted in order to preserve intentional changes. In this case, an informative message will
be shown in the remediation report.
If the system supports the /etc/security/faillock.conf file, the pam_faillock
parameters should be defined in faillock.conf file. |
Ensure Root Account Lockout on Failed Password Attemptsxccdf_org.ssgproject.content_rule_accounts_passwords_pam_faillock_even_deny_root_or_root_unlock_time medium
Ensure Root Account Lockout on Failed Password Attempts
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_passwords_pam_faillock_even_deny_root_or_root_unlock_time | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | This rule configures the system to include the root account in the account lockout policy using pam_faillock.so. The system must have either the even_deny_root option enabled or root_unlock_time set to 60 seconds or greater in /etc/security/faillock.conf.
pam_faillock.so module requires multiple entries in pam files. These entries must be carefully defined to work as expected. In order to avoid errors when manually editing these files, it is recommended to use the appropriate tools, such as authselect or authconfig, depending on the OS version. | ||
| Rationale | By limiting the number of failed logon attempts, the risk of unauthorized system access via user password guessing, also known as brute-forcing, is reduced. Limits are imposed by locking the account. | ||
| Warnings | warning
If the system relies on authselect tool to manage PAM settings, the remediation will also use authselect tool. However, if any manual modification was made in PAM files, the authselect integrity check will fail and the remediation will be aborted in order to preserve intentional changes. In this case, an informative message will be shown in the remediation report. If the system supports the /etc/security/faillock.conf file, the pam_faillock parameters should be defined in faillock.conf file. |
Set Lockout Time for Failed Password Attemptsxccdf_org.ssgproject.content_rule_accounts_passwords_pam_faillock_unlock_time_with_zero medium
Set Lockout Time for Failed Password Attempts
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_passwords_pam_faillock_unlock_time_with_zero | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | This rule configures the system to lock out accounts during a specified time period after a
number of incorrect login attempts using pam_faillock.so.
Ensure that the file /etc/security/faillock.conf contains the following entry:
unlock_time=<interval-in-seconds> where
interval-in-seconds is set to 0 or is set to
900 or greater.
pam_faillock.so module requires multiple entries in pam files. These entries must be carefully
defined to work as expected. In order to avoid any errors when manually editing these files,
it is recommended to use the appropriate tools, such as authselect or authconfig,
depending on the OS version.
If unlock_time is set to 0, manual intervention by an administrator is required
to unlock a user. This should be done using the faillock tool. | ||
| Rationale | By limiting the number of failed logon attempts the risk of unauthorized system
access via user password guessing, otherwise known as brute-forcing, is reduced.
Limits are imposed by locking the account. | ||
| Warnings | warning
If the system supports the new /etc/security/faillock.conf file but the
pam_faillock.so parameters are defined directly in /etc/pam.d/system-auth and
/etc/pam.d/password-auth, the remediation will migrate the unlock_time parameter
to /etc/security/faillock.conf to ensure compatibility with authselect tool.
The parameters deny and fail_interval, if used, also have to be migrated
by their respective remediation.warning
If the system relies on authselect tool to manage PAM settings, the remediation
will also use authselect tool. However, if any manual modification was made in
PAM files, the authselect integrity check will fail and the remediation will be
aborted in order to preserve intentional changes. In this case, an informative message will
be shown in the remediation report.
If the system supports the /etc/security/faillock.conf file, the pam_faillock
parameters should be defined in faillock.conf file. |
Ensure PAM Enforces Password Requirements - Prevent the Use of Dictionary Wordsxccdf_org.ssgproject.content_rule_accounts_password_pam_dictcheck medium
Ensure PAM Enforces Password Requirements - Prevent the Use of Dictionary Words
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_password_pam_dictcheck | ||||||||||
| Result | notapplicable | ||||||||||
| Multi-check rule | no | ||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||
| Severity | medium | ||||||||||
| References: |
| ||||||||||
| Description | The pam_pwquality module's dictcheck check if passwords contains dictionary words. When
dictcheck is set to 1 passwords will be checked for dictionary words. | ||||||||||
| Rationale | Use of a complex password helps to increase the time and resources required to compromise the password.
Password complexity, or strength, is a measure of the effectiveness of a password in resisting attempts at
guessing and brute-force attacks.
Password complexity is one factor of several that determines how long it takes to crack a password. The more complex the password, the greater the number of possible combinations that need to be tested before the password is compromised. Passwords with dictionary words may be more vulnerable to password-guessing attacks. |
Ensure PAM Enforces Password Requirements - Minimum Different Charactersxccdf_org.ssgproject.content_rule_accounts_password_pam_difok medium
Ensure PAM Enforces Password Requirements - Minimum Different Characters
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_password_pam_difok | ||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||
| Description | The pam_pwquality module's difok parameter sets the number of characters
in a password that must not be present in and old password during a password change.
Modify the difok setting in /etc/security/pwquality.conf
to equal 2 to require differing characters
when changing passwords. | ||||||||||||||||||||||||
| Rationale | Use of a complex password helps to increase the time and resources
required to compromise the password. Password complexity, or strength,
is a measure of the effectiveness of a password in resisting attempts
at guessing and brute–force attacks.
Password complexity is one factor of several that determines how long it takes to crack a password. The more complex the password, the greater the number of possible combinations that need to be tested before the password is compromised. Requiring a minimum number of different characters during password changes ensures that newly changed passwords should not resemble previously compromised ones. Note that passwords which are changed on compromised systems will still be compromised, however. |
Ensure PAM Enforces Password Requirements - Enforce for root Userxccdf_org.ssgproject.content_rule_accounts_password_pam_enforce_root medium
Ensure PAM Enforces Password Requirements - Enforce for root User
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_password_pam_enforce_root | ||||||||||
| Result | notapplicable | ||||||||||
| Multi-check rule | no | ||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||
| Severity | medium | ||||||||||
| References: |
| ||||||||||
| Description | The pam_pwquality module's enforce_for_root parameter controls requirements for
enforcing password complexity for the root user. Enable the enforce_for_root
setting in /etc/security/pwquality.conf to require the root user
to use complex passwords. | ||||||||||
| Rationale | Use of a complex password helps to increase the time and resources required to compromise
the password. Password complexity, or strength, is a measure of the effectiveness of a
password in resisting attempts at guessing and brute-force attacks.
Password complexity is one factor of several that determines how long it takes to crack a
password. The more complex the password, the greater the number of possible combinations
that need to be tested before the password is compromised. |
Set Password Maximum Consecutive Repeating Charactersxccdf_org.ssgproject.content_rule_accounts_password_pam_maxrepeat medium
Set Password Maximum Consecutive Repeating Characters
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_password_pam_maxrepeat | ||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||
| Description | The pam_pwquality module's maxrepeat parameter controls requirements for
consecutive repeating characters. When set to a positive number, it will reject passwords
which contain more than that number of consecutive characters. Modify the maxrepeat setting
in /etc/security/pwquality.conf to equal 3 to prevent a
run of (3 + 1) or more identical characters. | ||||||||||||||||||||||
| Rationale | Use of a complex password helps to increase the time and resources required to compromise the password.
Password complexity, or strength, is a measure of the effectiveness of a password in resisting attempts at
guessing and brute-force attacks.
Password complexity is one factor of several that determines how long it takes to crack a password. The more complex the password, the greater the number of possible combinations that need to be tested before the password is compromised. Passwords with excessive repeating characters may be more vulnerable to password-guessing attacks. |
Limit the maximum number of sequential characters in passwordsxccdf_org.ssgproject.content_rule_accounts_password_pam_maxsequence medium
Limit the maximum number of sequential characters in passwords
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_password_pam_maxsequence | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | The pwquality maxsequence setting defines the maximum allowable length for consecutive
character sequences in a new password. Such sequences can be, e.g., 123 or abc. If the value is
set to 0, this check will be turned off.
Note: Passwords that consist mainly of such sequences are unlikely to meet the simplicity criteria unless the sequence constitutes only a small portion of the overall password. | ||
| Rationale | Use of a strong password helps to increase the time and resources required to
compromise the password. Password complexity, or strength, is a measure of the
effectiveness of a password in resisting attempts at guessing and brute-force attacks.
Password complexity is one important factor that determines the duration required to crack it. A more intricate password results in a larger number of potential combinations that must be tested before successfully compromising the password. |
Ensure PAM Enforces Password Requirements - Minimum Different Categoriesxccdf_org.ssgproject.content_rule_accounts_password_pam_minclass medium
Ensure PAM Enforces Password Requirements - Minimum Different Categories
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_password_pam_minclass | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | The pam_pwquality module's minclass parameter controls
requirements for usage of different character classes, or types, of character
that must exist in a password before it is considered valid. For example,
setting this value to three (3) requires that any password must have characters
from at least three different categories in order to be approved. The default
value is zero (0), meaning there are no required classes. There are four
categories available:
* Upper-case characters * Lower-case characters * Digits * Special characters (for example, punctuation)Modify the minclass setting in /etc/security/pwquality.conf entry
to require 4
differing categories of characters when changing passwords. | ||||||||||||||||||||||||||
| Rationale | Use of a complex password helps to increase the time and resources required to compromise the password.
Password complexity, or strength, is a measure of the effectiveness of a password in resisting attempts
at guessing and brute-force attacks.
Password complexity is one factor of several that determines how long it takes to crack a password. The more complex the password, the greater the number of possible combinations that need to be tested before the password is compromised. Requiring a minimum number of character categories makes password guessing attacks more difficult by ensuring a larger search space. |
Ensure PAM Enforces Password Requirements - Minimum Lengthxccdf_org.ssgproject.content_rule_accounts_password_pam_minlen medium
Ensure PAM Enforces Password Requirements - Minimum Length
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_password_pam_minlen | ||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||
| Description | The pam_pwquality module's minlen parameter controls requirements for
minimum characters required in a password. Add minlen=14
after pam_pwquality to set minimum password length requirements. | ||||||||||||||||||||||||||||||||||
| Rationale | The shorter the password, the lower the number of possible combinations
that need to be tested before the password is compromised.
Password complexity, or strength, is a measure of the effectiveness of a password in resisting attempts at guessing and brute-force attacks. Password length is one factor of several that helps to determine strength and how long it takes to crack a password. Use of more characters in a password helps to exponentially increase the time and/or resources required to compromise the password. |
Ensure PAM password complexity module is enabled in password-authxccdf_org.ssgproject.content_rule_accounts_password_pam_pwquality_password_auth medium
Ensure PAM password complexity module is enabled in password-auth
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_password_pam_pwquality_password_auth | ||||||||
| Result | notapplicable | ||||||||
| Multi-check rule | no | ||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||
| Severity | medium | ||||||||
| References: |
| ||||||||
| Description | To enable PAM password complexity in password-auth file:
Edit the password section in
/etc/pam.d/password-auth to show
password requisite pam_pwquality.so.
The pam_pwquality module should be enabled using the authselect tool.
By default, authselect always configures pam_pwquality local_users_only as a part of local, sssd, and winbind profiles.
No additional authselect feature is needed to be enabled. | ||||||||
| Rationale | Enabling PAM password complexity permits to enforce strong passwords and consequently
makes the system less prone to dictionary attacks. |
Ensure PAM password complexity module is enabled in system-authxccdf_org.ssgproject.content_rule_accounts_password_pam_pwquality_system_auth medium
Ensure PAM password complexity module is enabled in system-auth
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_password_pam_pwquality_system_auth | ||||||||
| Result | notapplicable | ||||||||
| Multi-check rule | no | ||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||
| Severity | medium | ||||||||
| References: |
| ||||||||
| Description | To enable PAM password complexity in system-auth file:
Edit the password section in
/etc/pam.d/system-auth to show
password requisite pam_pwquality.so.
The pam_pwquality module should be enabled using the authselect tool.
By default, authselect always configures pam_pwquality local_users_only as a part of local, sssd, and winbind profiles.
No additional authselect feature is needed to be enabled. | ||||||||
| Rationale | Enabling PAM password complexity permits to enforce strong passwords and consequently
makes the system less prone to dictionary attacks. |
Set Password Hashing Algorithm in /etc/login.defsxccdf_org.ssgproject.content_rule_set_password_hashing_algorithm_logindefs medium
Set Password Hashing Algorithm in /etc/login.defs
| Rule ID | xccdf_org.ssgproject.content_rule_set_password_hashing_algorithm_logindefs | ||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||
| Description | In /etc/login.defs, add or update the following line to ensure the system will use
YESCRYPT|SHA512 as the hashing algorithm:
ENCRYPT_METHOD YESCRYPT|SHA512
| ||||||||||||||||||||||||||||||||
| Rationale | Passwords need to be protected at all times, and encryption is the standard method for
protecting passwords. If passwords are not encrypted, they can be plainly read
(i.e., clear text) and easily compromised. Passwords that are encrypted with a weak algorithm
are no more protected than if they are kept in plain text.
Using a stronger hashing algorithm makes password cracking attacks more difficult. |
Set PAM Password Hashing Algorithm - password-authxccdf_org.ssgproject.content_rule_set_password_hashing_algorithm_passwordauth medium
Set PAM Password Hashing Algorithm - password-auth
| Rule ID | xccdf_org.ssgproject.content_rule_set_password_hashing_algorithm_passwordauth | ||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||
| Description | The PAM system service can be configured to only store encrypted representations of passwords.
In /etc/pam.d/password-auth, the password section of the file controls which
PAM modules to execute during a password change.
Set the pam_unix.so module in the password section to include the option
yescrypt|sha512 and no other hashing
algorithms as shown below:
password sufficient pam_unix.so yescrypt|sha512
other arguments...
This will help ensure that new passwords for local users will be stored using the yescrypt|sha512 algorithm. | ||||||||||||||||||||||||||||||
| Rationale | Passwords need to be protected at all times, and encryption is the standard method for
protecting passwords. If passwords are not encrypted, they can be plainly read
(i.e., clear text) and easily compromised. Passwords that are encrypted with a weak algorithm
are no more protected than if they are kept in plain text.
This setting ensures user and group account administration utilities are configured to store only encrypted representations of passwords. Additionally, the crypt_style
configuration option in /etc/libuser.conf ensures the use of a strong hashing
algorithm that makes password cracking attacks more difficult. | ||||||||||||||||||||||||||||||
| Warnings | warning
The hashing algorithms to be used with pam_unix.so are defined with independent module
options. There are at least 7 possible algorithms and likely more algorithms will be
introduced along the time. Due the the number of options and its possible combinations,
the use of multiple hashing algorithm options may bring unexpected behaviors to the
system. For this reason the check will pass only when one hashing algorithm option is
defined and is aligned to the "var_password_hashing_algorithm_pam" variable. The
remediation will ensure the correct option and remove any other extra hashing algorithm
option. warning
The CIS Red Hat Enterprise Linux 10 Benchmark permits both "sha512" and "yescrypt" algorithms for password hashing.
This profile is configured to check for "yescrypt|sha512",
but a system using either algorithm is compliant with the CIS Benchmark requirements.
To use a different algorithm, create a tailored profile and select your preferred value for the var_password_hashing_algorithm_pam variable. |
Set PAM Password Hashing Algorithm - system-authxccdf_org.ssgproject.content_rule_set_password_hashing_algorithm_systemauth medium
Set PAM Password Hashing Algorithm - system-auth
| Rule ID | xccdf_org.ssgproject.content_rule_set_password_hashing_algorithm_systemauth | ||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||
| Description | The PAM system service can be configured to only store encrypted representations of passwords.
In "/etc/pam.d/system-auth", the password section of the file controls which
PAM modules to execute during a password change.
Set the pam_unix.so module in the password section to include the option
yescrypt|sha512 and no other hashing
algorithms as shown below:
password sufficient pam_unix.so yescrypt|sha512
other arguments...
This will help ensure that new passwords for local users will be stored using the yescrypt|sha512 algorithm. | ||||||||||||||||||||||||||||||||||
| Rationale | Passwords need to be protected at all times, and encryption is the standard method for
protecting passwords. If passwords are not encrypted, they can be plainly read
(i.e., clear text) and easily compromised. Passwords that are encrypted with a weak algorithm
are no more protected than if they are kept in plain text.
This setting ensures user and group account administration utilities are configured to store only encrypted representations of passwords. Additionally, the crypt_style
configuration option in /etc/libuser.conf ensures the use of a strong hashing
algorithm that makes password cracking attacks more difficult. | ||||||||||||||||||||||||||||||||||
| Warnings | warning
The hashing algorithms to be used with pam_unix.so are defined with independent module
options. There are at least 7 possible algorithms and likely more algorithms will be
introduced along the time. Due the the number of options and its possible combinations,
the use of multiple hashing algorithm options may bring unexpected behaviors to the
system. For this reason the check will pass only when one hashing algorithm option is
defined and is aligned to the "var_password_hashing_algorithm_pam" variable. The
remediation will ensure the correct option and remove any other extra hashing algorithm
option. warning
The CIS Red Hat Enterprise Linux 10 Benchmark permits both "sha512" and "yescrypt" algorithms for password hashing.
This profile is configured to check for "yescrypt|sha512",
but a system using either algorithm is compliant with the CIS Benchmark requirements.
To use a different algorithm, create a tailored profile and select your preferred value for the var_password_hashing_algorithm_pam variable. |
Install pam_pwquality Packagexccdf_org.ssgproject.content_rule_package_pam_pwquality_installed medium
Install pam_pwquality Package
| Rule ID | xccdf_org.ssgproject.content_rule_package_pam_pwquality_installed | ||||
| Result | pass | ||||
| Multi-check rule | no | ||||
| OVAL Definition ID | oval:ssg-package_pam_pwquality_installed:def:1 | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description |
The libpwquality package can be installed with the following command:
$ sudo dnf install libpwquality | ||||
| Rationale | Use of a complex password helps to increase the time and resources required
to compromise the password. Password complexity, or strength, is a measure
of the effectiveness of a password in resisting attempts at guessing and
brute-force attacks. "pwquality" enforces complex password construction
configuration and has the ability to limit brute-force attacks on the system. |
OVAL test results details
package libpwquality is installed oval:ssg-test_package_libpwquality_installed:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Name | Arch | Epoch | Release | Version | Evr | Signature keyid | Extended name |
|---|---|---|---|---|---|---|---|---|
| not evaluated | libpwquality | x86_64 | (none) | 12.el10 | 1.4.5 | 0:1.4.5-12.el10 | 5b106c736fedfc85 | libpwquality-0:1.4.5-12.el10.x86_64 |
Ensure Active Authselect Profile Includes PAM Modulesxccdf_org.ssgproject.content_rule_accounts_password_pam_modules_in_authselect_profile medium
Ensure Active Authselect Profile Includes PAM Modules
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_password_pam_modules_in_authselect_profile | ||
| Result | pass | ||
| Multi-check rule | no | ||
| OVAL Definition ID | oval:ssg-accounts_password_pam_modules_in_authselect_profile:def:1 | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | The active authselect profile must include the required PAM modules:
pam_pwquality.so, pam_pwhistory.so, pam_faillock.so, and pam_unix.so
in both system-auth and password-auth files.
A custom authselect profile can be created by copying and customizing one of the default profiles.
The default profiles include: local, sssd, and winbind. These profiles can be customized
to follow site specific requirements. | ||
| Rationale | A custom profile is required to customize many of the PAM options.
Modifications made to a default profile may be overwritten during an update.
When you deploy a profile, the profile is applied to every user logging into the given host. | ||
| Warnings | warning
If local site customizations have been made to the authselect template or files in
/etc/pam.d, these custom entries should be added to the newly created custom profile
before it's applied to the system. The order within the PAM stacks is important when
adding these entries. |
OVAL test results details
The 'fingerprint-auth' PAM config is a symlink to its authselect counterpart oval:ssg-test_pam_fingerprint_symlinked_to_authselect:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Filepath | Canonical path |
|---|---|---|
| true | /etc/pam.d/fingerprint-auth | /etc/authselect/fingerprint-auth |
The 'password-auth' PAM config is a symlink to its authselect counterpart oval:ssg-test_pam_password_symlinked_to_authselect:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Filepath | Canonical path |
|---|---|---|
| true | /etc/pam.d/password-auth | /etc/authselect/password-auth |
The 'postlogin' PAM config is a symlink to its authselect counterpart oval:ssg-test_pam_postlogin_symlinked_to_authselect:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Filepath | Canonical path |
|---|---|---|
| true | /etc/pam.d/postlogin | /etc/authselect/postlogin |
The 'smartcard-auth' PAM config is a symlink to its authselect counterpart oval:ssg-test_pam_smartcard_symlinked_to_authselect:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Filepath | Canonical path |
|---|---|---|
| true | /etc/pam.d/smartcard-auth | /etc/authselect/smartcard-auth |
The 'system-auth' PAM config is a symlink to its authselect counterpart oval:ssg-test_pam_system_symlinked_to_authselect:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Filepath | Canonical path |
|---|---|---|
| true | /etc/pam.d/system-auth | /etc/authselect/system-auth |
Check that pam_pwquality.so exists in system-auth oval:ssg-test_accounts_password_pam_modules_in_authselect_profile_pam_pwquality_system_auth:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| not evaluated | /etc/authselect/custom/hardening/system-auth | password requisite pam_pwquality.so |
Check that pam_pwhistory.so exists in system-auth oval:ssg-test_accounts_password_pam_modules_in_authselect_profile_pam_pwhistory_system_auth:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| not evaluated | /etc/authselect/custom/hardening/system-auth | password requisite pam_pwhistory.so |
Check that pam_faillock.so exists in system-auth oval:ssg-test_accounts_password_pam_modules_in_authselect_profile_pam_faillock_system_auth:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| not evaluated | /etc/authselect/custom/hardening/system-auth | auth required pam_faillock.so |
| not evaluated | /etc/authselect/custom/hardening/system-auth | auth required pam_faillock.so |
| not evaluated | /etc/authselect/custom/hardening/system-auth | account required pam_faillock.so |
Check that pam_unix.so exists in system-auth oval:ssg-test_accounts_password_pam_modules_in_authselect_profile_pam_unix_system_auth:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| not evaluated | /etc/authselect/custom/hardening/system-auth | auth sufficient pam_unix.so |
| not evaluated | /etc/authselect/custom/hardening/system-auth | account required pam_unix.so |
| not evaluated | /etc/authselect/custom/hardening/system-auth | password sufficient pam_unix.so |
| not evaluated | /etc/authselect/custom/hardening/system-auth | session required pam_unix.so |
Check that pam_pwquality.so exists in password-auth oval:ssg-test_accounts_password_pam_modules_in_authselect_profile_pam_pwquality_password_auth:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| not evaluated | /etc/authselect/custom/hardening/password-auth | password requisite pam_pwquality.so |
Check that pam_pwhistory.so exists in password-auth oval:ssg-test_accounts_password_pam_modules_in_authselect_profile_pam_pwhistory_password_auth:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| not evaluated | /etc/authselect/custom/hardening/password-auth | password requisite pam_pwhistory.so |
Check that pam_faillock.so exists in password-auth oval:ssg-test_accounts_password_pam_modules_in_authselect_profile_pam_faillock_password_auth:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| not evaluated | /etc/authselect/custom/hardening/password-auth | auth required pam_faillock.so |
| not evaluated | /etc/authselect/custom/hardening/password-auth | auth required pam_faillock.so |
| not evaluated | /etc/authselect/custom/hardening/password-auth | account required pam_faillock.so |
Check that pam_unix.so exists in password-auth oval:ssg-test_accounts_password_pam_modules_in_authselect_profile_pam_unix_password_auth:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| not evaluated | /etc/authselect/custom/hardening/password-auth | account required pam_unix.so |
| not evaluated | /etc/authselect/custom/hardening/password-auth | auth sufficient pam_unix.so |
| not evaluated | /etc/authselect/custom/hardening/password-auth | password sufficient pam_unix.so |
| not evaluated | /etc/authselect/custom/hardening/password-auth | session required pam_unix.so |
Verify pam_unix module is activatedxccdf_org.ssgproject.content_rule_accounts_password_pam_unix_enabled medium
Verify pam_unix module is activated
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_password_pam_unix_enabled | ||
| Result | pass | ||
| Multi-check rule | no | ||
| OVAL Definition ID | oval:ssg-accounts_password_pam_unix_enabled:def:1 | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | pam_unix is the standard Unix authentication module. It uses standard calls from the
system's libraries to retrieve and set account information as well as authentication.
Usually this is obtained from the /etc/passwd and if shadow is enabled, the
/etc/shadow file as well.
The account component performs the task of establishing the status of the user's account and password based on the following shadow elements: expire,
last_change, max_change, min_change, warn_change. In the case of the latter, it may
offer advice to the user on changing their password or, through the
PAM_AUTHTOKEN_REQD return, delay giving service to the user until they have
established a new password. The entries listed above are documented in the shadow(5)
manual page. Should the user's record not contain one or more of these entries, the
corresponding shadow check is not performed.
The authentication component performs the task of checking the users credentials (password). The default action of this module is to not permit the user access to a service if their official password is blank. | ||
| Rationale | The system should only provide access after performing authentication of a user. | ||
| Warnings | warning
Automated remediation of this rule isn't available, you should use authselect to manage PAM settings. |
OVAL test results details
No more than one pam_unix.so is expected in auth section of /etc/pam.d/password-auth oval:ssg-test_pam_unix_password-auth_auth:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| not evaluated | /etc/pam.d/password-auth | auth sufficient pam_unix.so nullok |
No more than one pam_unix.so is expected in account section of /etc/pam.d/password-auth oval:ssg-test_pam_unix_password-auth_account:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| not evaluated | /etc/pam.d/password-auth | account required pam_unix.so |
No more than one pam_unix.so is expected in password section of /etc/pam.d/password-auth oval:ssg-test_pam_unix_password-auth_password:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| not evaluated | /etc/pam.d/password-auth | password sufficient pam_unix.so yescrypt shadow nullok use_authtok |
No more than one pam_unix.so is expected in session section of /etc/pam.d/password-auth oval:ssg-test_pam_unix_password-auth_session:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| not evaluated | /etc/pam.d/password-auth | session required pam_unix.so |
No more than one pam_unix.so is expected in auth section of /etc/pam.d/system-auth oval:ssg-test_pam_unix_system-auth_auth:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| not evaluated | /etc/pam.d/system-auth | auth sufficient pam_unix.so nullok |
No more than one pam_unix.so is expected in account section of /etc/pam.d/system-auth oval:ssg-test_pam_unix_system-auth_account:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| not evaluated | /etc/pam.d/system-auth | account required pam_unix.so |
No more than one pam_unix.so is expected in password section of /etc/pam.d/system-auth oval:ssg-test_pam_unix_system-auth_password:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| not evaluated | /etc/pam.d/system-auth | password sufficient pam_unix.so yescrypt shadow nullok use_authtok |
No more than one pam_unix.so is expected in session section of /etc/pam.d/system-auth oval:ssg-test_pam_unix_system-auth_session:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| not evaluated | /etc/pam.d/system-auth | session required pam_unix.so |
Set Account Expiration Following Inactivityxccdf_org.ssgproject.content_rule_account_disable_post_pw_expiration medium
Set Account Expiration Following Inactivity
| Rule ID | xccdf_org.ssgproject.content_rule_account_disable_post_pw_expiration | ||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||
| Description | To specify the number of days after a password expires (which
signifies inactivity) until an account is permanently disabled, add or correct
the following line in /etc/default/useradd:
INACTIVE=45
If a password is currently on the verge of expiration, then
45
day(s) remain(s) until the account is automatically
disabled. However, if the password will not expire for another 60 days, then 60
days plus 45 day(s) could
elapse until the account would be automatically disabled. See the
useradd man page for more information. | ||||||||||||||||||||||||||||||||
| Rationale | Inactive identifiers pose a risk to systems and applications because attackers may exploit an inactive identifier and potentially obtain undetected access to the system.
Disabling inactive accounts ensures that accounts which may not have been responsibly removed are not available to attackers who may have compromised their credentials.
Owners of inactive accounts will not notice if unauthorized access to their user account has been obtained. |
Ensure All Accounts on the System Have Unique Namesxccdf_org.ssgproject.content_rule_account_unique_name medium
Ensure All Accounts on the System Have Unique Names
| Rule ID | xccdf_org.ssgproject.content_rule_account_unique_name | ||||||||||
| Result | notapplicable | ||||||||||
| Multi-check rule | no | ||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||
| Severity | medium | ||||||||||
| References: |
| ||||||||||
| Description | Ensure accounts on the system have unique names.
To ensure all accounts have unique names, run the following command:
$ sudo getent passwd | awk -F: '{ print $1}' | uniq -d
If a username is returned, change or delete the username. | ||||||||||
| Rationale | Unique usernames allow for accountability on the system. |
Set Password Maximum Agexccdf_org.ssgproject.content_rule_accounts_maximum_age_login_defs medium
Set Password Maximum Age
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_maximum_age_login_defs | ||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||
| Description | To specify password maximum age for new accounts,
edit the file /etc/login.defs
and add or correct the following line:
PASS_MAX_DAYS 365
The profile requirement is 365. | ||||||||||||||||||||||||||||||||
| Rationale | Any password, no matter how complex, can eventually be cracked. Therefore, passwords
need to be changed periodically. If the operating system does not limit the lifetime
of passwords and force users to change their passwords, there is the risk that the
operating system passwords could be compromised.
Setting the password maximum age ensures users are required to periodically change their passwords. Requiring shorter password lifetimes increases the risk of users writing down the password in a convenient location subject to physical compromise. |
Set Password Minimum Agexccdf_org.ssgproject.content_rule_accounts_minimum_age_login_defs medium
Set Password Minimum Age
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_minimum_age_login_defs | ||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||
| Description | To specify password minimum age for new accounts,
edit the file /etc/login.defs
and add or correct the following line:
PASS_MIN_DAYS 1
A value of 1 day is considered sufficient for many
environments.
The profile requirement is 1. | ||||||||||||||||||||||||||||
| Rationale | Enforcing a minimum password lifetime helps to prevent repeated password
changes to defeat the password reuse or history enforcement requirement. If
users are allowed to immediately and continually change their password,
then the password could be repeatedly changed in a short period of time to
defeat the organization's policy regarding password reuse.
Setting the minimum password age protects against users cycling back to a favorite password after satisfying the password reuse requirement. |
Set Existing Passwords Maximum Agexccdf_org.ssgproject.content_rule_accounts_password_set_max_life_existing medium
Set Existing Passwords Maximum Age
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_password_set_max_life_existing | ||||||||||||
| Result | notapplicable | ||||||||||||
| Multi-check rule | no | ||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||
| Severity | medium | ||||||||||||
| References: |
| ||||||||||||
| Description | Configure non-compliant accounts to enforce a 365-day maximum password lifetime
restriction by running the following command:
$ sudo chage -M 365
USER
| ||||||||||||
| Rationale | Any password, no matter how complex, can eventually be cracked. Therefore,
passwords need to be changed periodically. If the operating system does
not limit the lifetime of passwords and force users to change their
passwords, there is the risk that the operating system passwords could be
compromised. |
Set Existing Passwords Minimum Agexccdf_org.ssgproject.content_rule_accounts_password_set_min_life_existing medium
Set Existing Passwords Minimum Age
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_password_set_min_life_existing | ||||||||||
| Result | notapplicable | ||||||||||
| Multi-check rule | no | ||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||
| Severity | medium | ||||||||||
| References: |
| ||||||||||
| Description | Configure non-compliant accounts to enforce a 24 hours/1 day minimum password
lifetime by running the following command:
$ sudo chage -m 1 USER
| ||||||||||
| Rationale | Enforcing a minimum password lifetime helps to prevent repeated password
changes to defeat the password reuse or history enforcement requirement. If
users are allowed to immediately and continually change their password, the
password could be repeatedly changed in a short period of time to defeat the
organization's policy regarding password reuse. |
Set Existing Passwords Warning Agexccdf_org.ssgproject.content_rule_accounts_password_set_warn_age_existing medium
Set Existing Passwords Warning Age
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_password_set_warn_age_existing | ||||||
| Result | notapplicable | ||||||
| Multi-check rule | no | ||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||
| Severity | medium | ||||||
| References: |
| ||||||
| Description | To configure how many days prior to password expiration that a warning will be issued to
users, run the command:
$ sudo chage --warndays 7
USER
This profile requirement is 7. | ||||||
| Rationale | Providing an advance warning that a password will be expiring gives users
time to think of a secure password. Users caught unaware may choose a simple
password or write it down where it may be discovered. |
Set Password Warning Agexccdf_org.ssgproject.content_rule_accounts_password_warn_age_login_defs medium
Set Password Warning Age
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_password_warn_age_login_defs | ||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||
| Description | To specify how many days prior to password
expiration that a warning will be issued to users,
edit the file /etc/login.defs and add or correct
the following line:
PASS_WARN_AGE 7
The profile requirement is 7. | ||||||||||||||||||||||||
| Rationale | Setting the password warning age enables users to
make the change at a practical time. |
Set existing passwords a period of inactivity before they been lockedxccdf_org.ssgproject.content_rule_accounts_set_post_pw_existing medium
Set existing passwords a period of inactivity before they been locked
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_set_post_pw_existing | ||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||
| Description | Configure user accounts that have been inactive for over a given period of time
to be automatically disabled by running the following command:
$ sudo chage --inactive 30 USER | ||||||||||||||||||||||||
| Rationale | Inactive accounts pose a threat to system security since the users are not logging in to
notice failed login attempts or other anomalies. |
Verify All Account Password Hashes are Shadowedxccdf_org.ssgproject.content_rule_accounts_password_all_shadowed medium
Verify All Account Password Hashes are Shadowed
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_password_all_shadowed | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | If any password hashes are stored in /etc/passwd (in the second field,
instead of an x or *), the cause of this misconfiguration should be
investigated. The account should have its password reset and the hash should be
properly stored, or the account should be deleted entirely. | ||||||||||||||||||||||||||
| Rationale | The hashes for all user account passwords should be stored in
the file /etc/shadow and never in /etc/passwd,
which is readable by all users. |
Ensure all users last password change date is in the pastxccdf_org.ssgproject.content_rule_accounts_password_last_change_is_in_past medium
Ensure all users last password change date is in the past
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_password_last_change_is_in_past | ||||
| Result | notapplicable | ||||
| Multi-check rule | no | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | All users should have a password change date in the past. | ||||
| Rationale | If a user recorded password change date is in the future then they could
bypass any set password expiration. | ||||
| Warnings | warning
Automatic remediation is not available, in order to avoid any system disruption. |
Avoid using remember in pam_unix modulexccdf_org.ssgproject.content_rule_accounts_password_pam_unix_no_remember medium
Avoid using remember in pam_unix module
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_password_pam_unix_no_remember | ||
| Result | pass | ||
| Multi-check rule | no | ||
| OVAL Definition ID | oval:ssg-accounts_password_pam_unix_no_remember:def:1 | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | The remember option stores the last n passwords for each user in /etc/security/opasswd,
enforcing password history and preventing users from reusing the same passwords. However, this feature
relies on the MD5 password hash algorithm, which is less secure. Instead, the pam_pwhistory
module should be used. This module also stores the last n passwords in /etc/security/opasswd
and it uses the password hash algorithm configured in the pam_unix module, such as yescrypt or SHA512,
offering enhanced security.
The remember option should be removed from the PAM configuration
in /etc/pam.d/system-auth and /etc/pam.d/password-auth files. | ||
| Rationale | Removing the remember argument ensures the use of a stronger password hashing algorithm.
A more robust hash algorithm increases the difficulty for attackers to crack stored
passwords in /etc/security/opasswd, thereby improving system security and
protecting user credentials. | ||
| Warnings | warning
If the system relies on authselect tool to manage PAM settings, the remediation
will also use authselect tool. However, if any manual modification was made in
PAM files, the authselect integrity check will fail and the remediation will be
aborted in order to preserve intentional changes. In this case, an informative message will
be shown in the remediation report. |
OVAL test results details
make sure remember is not used in /etc/pam.d/common-auth oval:ssg-test_pam_unix_no_remember:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_pam_unix_no_remember:obj:1 of type textfilecontent54_object
| Filepath | Pattern | Instance |
|---|---|---|
| ^/etc/pam.d/(system|password)-auth$ | ^\s*password\s+(?:(?:sufficient)|(?:required)|(?:\[.*\]))\s+pam_unix\.so[^#]+\bremember=\d+\b.*$ | 1 |
All GIDs referenced in /etc/passwd must be defined in /etc/groupxccdf_org.ssgproject.content_rule_gid_passwd_group_same low
All GIDs referenced in /etc/passwd must be defined in /etc/group
| Rule ID | xccdf_org.ssgproject.content_rule_gid_passwd_group_same | ||||||||||||||||||||||||||||||||
| Result | pass | ||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||
| OVAL Definition ID | oval:ssg-gid_passwd_group_same:def:1 | ||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||
| Severity | low | ||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||
| Description | Add a group to the system for each GID referenced without a corresponding group. | ||||||||||||||||||||||||||||||||
| Rationale | If a user is assigned the Group Identifier (GID) of a group not existing on the system, and a group
with the Group Identifier (GID) is subsequently created, the user may have unintended rights to
any files associated with the group. |
OVAL test results details
Verify all GIDs referenced in /etc/passwd are defined in /etc/group oval:ssg-test_gid_passwd_group_same:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| true | /etc/passwd | root:x:0:0: |
| true | /etc/passwd | bin:x:1:1: |
| true | /etc/passwd | daemon:x:2:2: |
| true | /etc/passwd | adm:x:3:4: |
| true | /etc/passwd | lp:x:4:7: |
| true | /etc/passwd | sync:x:5:0: |
| true | /etc/passwd | shutdown:x:6:0: |
| true | /etc/passwd | halt:x:7:0: |
| true | /etc/passwd | mail:x:8:12: |
| true | /etc/passwd | operator:x:11:0: |
| true | /etc/passwd | games:x:12:100: |
| true | /etc/passwd | ftp:x:14:50: |
| true | /etc/passwd | nobody:x:65534:65534: |
| true | /etc/passwd | tss:x:59:59: |
| true | /etc/passwd | systemd-oom:x:999:999: |
| true | /etc/passwd | dbus:x:81:81: |
| true | /etc/passwd | systemd-coredump:x:998:998: |
| true | /etc/passwd | sshd:x:74:74: |
Prevent Login to Accounts With Empty Passwordxccdf_org.ssgproject.content_rule_no_empty_passwords high
Prevent Login to Accounts With Empty Password
| Rule ID | xccdf_org.ssgproject.content_rule_no_empty_passwords | ||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||
| Severity | high | ||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||
| Description | If an account is configured for password authentication
but does not have an assigned password, it may be possible to log
into the account without authentication. Remove any instances of the
nullok in
/etc/pam.d/system-auth and
/etc/pam.d/password-auth
to prevent logins with empty passwords. | ||||||||||||||||||||||||||||||||||||
| Rationale | If an account has an empty password, anyone could log in and
run commands with the privileges of that account. Accounts with
empty passwords should never be used in operational environments. | ||||||||||||||||||||||||||||||||||||
| Warnings | warning
If the system relies on authselect tool to manage PAM settings, the remediation
will also use authselect tool. However, if any manual modification was made in
PAM files, the authselect integrity check will fail and the remediation will be
aborted in order to preserve intentional changes. In this case, an informative message will
be shown in the remediation report.
Note that this rule is not applicable for systems running within a
container. Having user with empty password within a container is not
considered a risk, because it should not be possible to directly login into
a container anyway. |
Ensure There Are No Accounts With Blank or Null Passwordsxccdf_org.ssgproject.content_rule_no_empty_passwords_etc_shadow high
Ensure There Are No Accounts With Blank or Null Passwords
| Rule ID | xccdf_org.ssgproject.content_rule_no_empty_passwords_etc_shadow | ||||||||||||
| Result | notapplicable | ||||||||||||
| Multi-check rule | no | ||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||
| Severity | high | ||||||||||||
| References: |
| ||||||||||||
| Description | Check the "/etc/shadow" file for blank passwords with the
following command:
$ sudo awk -F: '!$2 {print $1}' /etc/shadow
If the command returns any results, this is a finding.
Configure all accounts on the system to have a password or lock
the account with the following commands:
Perform a password reset:
$ sudo passwd [username]Lock an account: $ sudo passwd -l [username] | ||||||||||||
| Rationale | If an account has an empty password, anyone could log in and
run commands with the privileges of that account. Accounts with
empty passwords should never be used in operational environments. | ||||||||||||
| Warnings | warning
Note that this rule is not applicable for systems running within a container. Having user with empty password within a container is not considered a risk, because it should not be possible to directly login into a container anyway. |
Verify No .forward Files Existxccdf_org.ssgproject.content_rule_no_forward_files medium
Verify No .forward Files Exist
| Rule ID | xccdf_org.ssgproject.content_rule_no_forward_files | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | The .forward file specifies an email address to forward the user's mail to. | ||
| Rationale | Use of the .forward file poses a security risk in that sensitive data may
be inadvertently transferred outside the organization. The .forward file
also poses a risk as it can be used to execute commands that may perform
unintended actions. |
Verify No netrc Files Existxccdf_org.ssgproject.content_rule_no_netrc_files medium
Verify No netrc Files Exist
| Rule ID | xccdf_org.ssgproject.content_rule_no_netrc_files | ||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||
| Severity | medium | ||||||||||||||||||
| References: |
| ||||||||||||||||||
| Description | The .netrc files contain login information
used to auto-login into FTP servers and reside in the user's home
directory. These files may contain unencrypted passwords to
remote FTP servers making them susceptible to access by unauthorized
users and should not be used. Any .netrc files should be removed. | ||||||||||||||||||
| Rationale | Unencrypted passwords for remote FTP servers may be stored in .netrc
files. |
Verify No .rhost Files Existxccdf_org.ssgproject.content_rule_no_rhost_files medium
Verify No .rhost Files Exist
| Rule ID | xccdf_org.ssgproject.content_rule_no_rhost_files | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | Local system users should not have a .rhost file in their home directory. | ||
| Rationale | User configuration files with excessive or incorrect access may enable malicious users
to steal or modify other users' data or to gain another user's system privileges.
The .rhost file provides the "remote authentication" database for the rcp, rlogin, and
rsh commands and the rcmd() function. These files bypass the standard
password-based user authentication mechanism. They specify remote hosts and
users that are considered trusted (i.e. are allowed to access the local system
without supplying a password). | ||
| Warnings | warning
Automatic remediation of this rule is not available due to the unique
requirements of each system. Any .rhost files should be investigated
and removed manually. |
Verify Only Root Has UID 0xccdf_org.ssgproject.content_rule_accounts_no_uid_except_zero high
Verify Only Root Has UID 0
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_no_uid_except_zero | ||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||
| Severity | high | ||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||
| Description | If any account other than root has a UID of 0, this misconfiguration should
be investigated and the accounts other than root should be removed, locked
or have their UID changed.
If the account is associated with system commands or applications the UID should be changed to one greater than "0" but less than "1000." Otherwise assign a UID greater than "1000" that has not already been assigned. | ||||||||||||||||||||||||||||||||
| Rationale | An account has root authority if it has a UID of 0. Multiple accounts
with a UID of 0 afford more opportunity for potential intruders to
guess a password for a privileged account. Proper configuration of
sudo is recommended to afford multiple system administrators
access to root privileges in an accountable manner. |
Verify Root Has A Primary GID 0xccdf_org.ssgproject.content_rule_accounts_root_gid_zero high
Verify Root Has A Primary GID 0
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_root_gid_zero | ||||||
| Result | notapplicable | ||||||
| Multi-check rule | no | ||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||
| Severity | high | ||||||
| References: |
| ||||||
| Description | The root user should have a primary group of 0. | ||||||
| Rationale | To help ensure that root-owned files are not inadvertently exposed to other users. |
Ensure the Group Used by pam_wheel.so Module Exists on System and is Emptyxccdf_org.ssgproject.content_rule_ensure_pam_wheel_group_empty medium
Ensure the Group Used by pam_wheel.so Module Exists on System and is Empty
| Rule ID | xccdf_org.ssgproject.content_rule_ensure_pam_wheel_group_empty | ||||
| Result | notapplicable | ||||
| Multi-check rule | no | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | Ensure that the group sugroup referenced by
var_pam_wheel_group_for_su variable and used as value for the pam_wheel.so
group option exists and has no members. This empty group used by
pam_wheel.so in /etc/pam.d/su ensures that no user can run commands with
altered privileges through the su command. | ||||
| Rationale | The su program allows to run commands with a substitute user and group ID.
It is commonly used to run commands as the root user.
Limiting access to such command is considered a good security practice. | ||||
| Warnings | warning
Note that this rule just ensures the group exists and has no members. This rule does not
configure pam_wheel.so module. The pam_wheel.so module configuration is
accomplished by use_pam_wheel_group_for_su rule. |
Ensure Authentication Required for Single User Modexccdf_org.ssgproject.content_rule_ensure_root_password_configured medium
Ensure Authentication Required for Single User Mode
| Rule ID | xccdf_org.ssgproject.content_rule_ensure_root_password_configured | ||||
| Result | notapplicable | ||||
| Multi-check rule | no | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | Single user mode is used for recovery when the system detects an
issue during boot or by manual selection from the bootloader. | ||||
| Rationale | Requiring authentication in single user mode prevents an unauthorized
user from rebooting the system into single user to gain root privileges
without credentials. |
Verify Only Group Root Has GID 0xccdf_org.ssgproject.content_rule_groups_no_zero_gid_except_root high
Verify Only Group Root Has GID 0
| Rule ID | xccdf_org.ssgproject.content_rule_groups_no_zero_gid_except_root | ||
| Result | pass | ||
| Multi-check rule | no | ||
| OVAL Definition ID | oval:ssg-groups_no_zero_gid_except_root:def:1 | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | high | ||
| References: |
| ||
| Description | If any group other than root has a GID of 0, this misconfiguration should
be investigated and the groups other than root should be removed or have
their GID changed. | ||
| Rationale | Ensuring that only the root group has a GID of 0 helps prevent
root group owned files from becoming accidentally accessible to
non-privileged users. | ||
| Warnings | warning
This rule doesn't come with a remediation. The removal of groups from a system
or reassigning the GID is considered too disruptive. |
OVAL test results details
no groups with GID 0 except root in the /etc/group file oval:ssg-test_groups_no_zero_gid_except_root:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-obj_groups_no_zero_gid_except_root:obj:1 of type textfilecontent54_object
| Filepath | Pattern | Instance |
|---|---|---|
| /etc/group | ^(?!root:)[^:]*:[^:]*:0 | 1 |
Verify Non-Interactive Accounts Are Lockedxccdf_org.ssgproject.content_rule_no_invalid_shell_accounts_unlocked medium
Verify Non-Interactive Accounts Are Locked
| Rule ID | xccdf_org.ssgproject.content_rule_no_invalid_shell_accounts_unlocked | ||
| Result | pass | ||
| Multi-check rule | no | ||
| OVAL Definition ID | oval:ssg-no_invalid_shell_accounts_unlocked:def:1 | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | Accounts meant for non-interactive purposes should be locked to prevent
unauthorized access. Accounts with non-standard shells (those not defined in
/etc/shells) should be locked using usermod -L. | ||
| Rationale | Locking non-interactive accounts improves security by preventing potential
misuse. While many systems configure these accounts with invalid strings,
setting the shell field to nologin is also suggested | ||
| Warnings | warning
Automatic remediation of this control is not recommended. Locking system accounts
could be highly disruptive. |
OVAL test results details
Verify there is no account with invalid shell which is not locked exists oval:ssg-test_no_invalid_shell_accounts_unlocked_no_invalid_shell_accounts:tst:1 false
No items have been found conforming to the following objects:
Object oval:ssg-obj_no_invalid_shell_accounts_unlocked_shells:obj:1 of type textfilecontent54_object
| Filepath | Pattern | Instance |
|---|---|---|
| /etc/passwd | Referenced variable has no values (oval:ssg-variable_no_invalid_shell_accounts_unlocked_regex:var:1 | 1 |
Ensure that System Accounts Are Lockedxccdf_org.ssgproject.content_rule_no_password_auth_for_systemaccounts medium
Ensure that System Accounts Are Locked
| Rule ID | xccdf_org.ssgproject.content_rule_no_password_auth_for_systemaccounts | ||||||||
| Result | notapplicable | ||||||||
| Multi-check rule | no | ||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||
| Severity | medium | ||||||||
| References: |
| ||||||||
| Description | Some accounts are not associated with a human user of the system, and exist to perform some
administrative functions. An attacker should not be able to log into these accounts.
System accounts are those user accounts with a user ID less than 1000.
If any system account other than root, halt, sync, shutdown
and nfsnobody has an unlocked password, disable it with the command:
$ sudo usermod -L account
| ||||||||
| Rationale | Disabling authentication for default system accounts makes it more difficult for attackers
to make use of them to compromise a system. |
Ensure that System Accounts Do Not Run a Shell Upon Loginxccdf_org.ssgproject.content_rule_no_shelllogin_for_systemaccounts medium
Ensure that System Accounts Do Not Run a Shell Upon Login
| Rule ID | xccdf_org.ssgproject.content_rule_no_shelllogin_for_systemaccounts | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | Some accounts are not associated with a human user of the system, and exist to perform some
administrative functions. Should an attacker be able to log into these accounts, they should
not be granted access to a shell.
The login shell for each local account is stored in the last field of each line in /etc/passwd. System accounts are those user accounts with a user ID less than
1000. The user ID is stored in the third field. If any system account
other than root has a login shell, disable it with the command:
$ sudo usermod -s /sbin/nologin account
| ||||||||||||||||||||||||||
| Rationale | Ensuring shells are not given to system accounts upon login makes it more difficult for
attackers to make use of system accounts. | ||||||||||||||||||||||||||
| Warnings | warning
Do not perform the steps in this section on the root account. Doing so might cause the
system to become inaccessible. |
Enforce Usage of pam_wheel with Group Parameter for su Authenticationxccdf_org.ssgproject.content_rule_use_pam_wheel_group_for_su medium
Enforce Usage of pam_wheel with Group Parameter for su Authentication
| Rule ID | xccdf_org.ssgproject.content_rule_use_pam_wheel_group_for_su | ||||
| Result | pass | ||||
| Multi-check rule | no | ||||
| OVAL Definition ID | oval:ssg-use_pam_wheel_group_for_su:def:1 | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | To ensure that only users who are members of the group set in the group option of
pam_wheel.so module can run commands with altered privileges through the su
command, make sure that the following line exists in the file /etc/pam.d/su:
auth required pam_wheel.so use_uid group=sugroup
| ||||
| Rationale | The su program allows to run commands with a substitute user and group ID.
It is commonly used to run commands as the root user.
Limiting access to such command is considered a good security practice. | ||||
| Warnings | warning
Note that ensure_pam_wheel_group_empty rule complements this requirement by
ensuring the referenced group exists and has no members. |
OVAL test results details
Verify group configuation of pam_wheel.so oval:ssg-test_pam_auth_pam_wheel_group:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| true | /etc/pam.d/su | auth required pam_wheel.so use_uid group=sugroup # Uncomment the following line to implicitly trust users in the "wheel" group. |
Verify use_uid configuation of pam_wheel.so oval:ssg-test_pam_auth_pam_wheel_use_uid:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| not evaluated | /etc/pam.d/su | auth required pam_wheel.so use_uid group=sugroup # Uncomment the following line to implicitly trust users in the "wheel" group. #auth sufficient pam_wheel.so trust use_uid # Uncomment the following line to require a user to be in the "wheel" group. #auth required pam_wheel.so use_uid auth substack system-auth auth include postlogin account sufficient pam_succeed_if.so uid = 0 use_uid quiet account include system-auth password include system-auth session include system-auth session include postlogin session optional pam_xauth.so |
Ensure All Accounts on the System Have Unique User IDsxccdf_org.ssgproject.content_rule_account_unique_id medium
Ensure All Accounts on the System Have Unique User IDs
| Rule ID | xccdf_org.ssgproject.content_rule_account_unique_id | ||||||||||||||
| Result | notapplicable | ||||||||||||||
| Multi-check rule | no | ||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||
| Severity | medium | ||||||||||||||
| References: |
| ||||||||||||||
| Description | Change user IDs (UIDs), or delete accounts, so each has a unique name. | ||||||||||||||
| Rationale | To assure accountability and prevent unauthenticated access, interactive users must be identified and authenticated to prevent potential misuse and compromise of the system. | ||||||||||||||
| Warnings | warning
Automatic remediation of this control is not available due to unique requirements of each
system. |
Ensure All Groups on the System Have Unique Group IDxccdf_org.ssgproject.content_rule_group_unique_id medium
Ensure All Groups on the System Have Unique Group ID
| Rule ID | xccdf_org.ssgproject.content_rule_group_unique_id | ||||||||||||
| Result | notapplicable | ||||||||||||
| Multi-check rule | no | ||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||
| Severity | medium | ||||||||||||
| References: |
| ||||||||||||
| Description | Change the group name or delete groups, so each has a unique id. | ||||||||||||
| Rationale | To assure accountability and prevent unauthenticated access, groups must be identified uniquely to prevent potential misuse and compromise of the system. | ||||||||||||
| Warnings | warning
Automatic remediation of this control is not available due to the unique requirements of each system. |
Ensure All Groups on the System Have Unique Group Namesxccdf_org.ssgproject.content_rule_group_unique_name medium
Ensure All Groups on the System Have Unique Group Names
| Rule ID | xccdf_org.ssgproject.content_rule_group_unique_name | ||||||
| Result | notapplicable | ||||||
| Multi-check rule | no | ||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||
| Severity | medium | ||||||
| References: |
| ||||||
| Description | Change the group name or delete groups, so each has a unique name. | ||||||
| Rationale | To assure accountability and prevent unauthenticated access, groups must be identified uniquely to prevent potential misuse and compromise of the system. | ||||||
| Warnings | warning
Automatic remediation of this control is not available due to the unique requirements of each system. |
Ensure nologin Shell is Not Listed in /etc/shellsxccdf_org.ssgproject.content_rule_no_nologin_in_shells medium
Ensure nologin Shell is Not Listed in /etc/shells
| Rule ID | xccdf_org.ssgproject.content_rule_no_nologin_in_shells | ||
| Result | pass | ||
| Multi-check rule | no | ||
| OVAL Definition ID | oval:ssg-no_nologin_in_shells:def:1 | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | The /sbin/nologin shell is used to restrict accounts from having login access
and should not be listed as a valid login shell in /etc/shells.
To verify that nologin is not listed in /etc/shells, run:
$ grep nologin /etc/shellsThe command should return no output. | ||
| Rationale | The /etc/shells is consulted by various programs to evaluate
whether the user is somehow restricted. For example, the chsh utility will
consult the file to determine if the user is allowed to change their shell. |
OVAL test results details
Check for nologin in /etc/shells oval:ssg-test_no_nologin_in_shells:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-obj_no_nologin_in_shells:obj:1 of type textfilecontent54_object
| Filepath | Pattern | Instance |
|---|---|---|
| /etc/shells | ^[^#]*/nologin\b.*$ | 1 |
Ensure that Root's Path Does Not Include World or Group-Writable Directoriesxccdf_org.ssgproject.content_rule_accounts_root_path_dirs_no_write medium
Ensure that Root's Path Does Not Include World or Group-Writable Directories
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_root_path_dirs_no_write | ||||||||||||||||
| Result | pass | ||||||||||||||||
| Multi-check rule | no | ||||||||||||||||
| OVAL Definition ID | oval:ssg-accounts_root_path_dirs_no_write:def:1 | ||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||
| Severity | medium | ||||||||||||||||
| References: |
| ||||||||||||||||
| Description | For each element in root's path, run:
# ls -ld DIR
and ensure that write permissions are disabled for group and
other. | ||||||||||||||||
| Rationale | Such entries increase the risk that root could
execute code provided by unprivileged users,
and potentially malicious code. |
OVAL test results details
Check if there aren't directories in root's path having write permission set for group or other oval:ssg-test_accounts_root_path_dirs_no_group_other_write:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_accounts_root_path_dirs_no_group_other_write:obj:1 of type file_object
| Path | Filename | Filter | Filter | ||||
|---|---|---|---|---|---|---|---|
| oval:ssg-state_accounts_root_path_dirs_wrong_perms:ste:1 | oval:ssg-state_accounts_root_path_dirs_symlink:ste:1 |
Ensure that Root's Path Does Not Include Relative Paths or Null Directoriesxccdf_org.ssgproject.content_rule_root_path_no_dot unknown
Ensure that Root's Path Does Not Include Relative Paths or Null Directories
| Rule ID | xccdf_org.ssgproject.content_rule_root_path_no_dot | ||||||||||||||||
| Result | pass | ||||||||||||||||
| Multi-check rule | no | ||||||||||||||||
| OVAL Definition ID | oval:ssg-root_path_no_dot:def:1 | ||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||
| Severity | unknown | ||||||||||||||||
| References: |
| ||||||||||||||||
| Description | Ensure that none of the directories in root's path is equal to a single
. character, or
that it contains any instances that lead to relative path traversal, such as
.. or beginning a path without the slash (/) character.
Also ensure that there are no "empty" elements in the path, such as in these examples:
PATH=:/bin PATH=/bin: PATH=/bin::/sbinThese empty elements have the same effect as a single . character. | ||||||||||||||||
| Rationale | Including these entries increases the risk that root could
execute code from an untrusted location. |
OVAL test results details
environment variable PATH starts with : or . oval:ssg-test_env_var_begins:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Pid | Name | Value |
|---|---|---|---|
| false | 10950 | PATH | /sbin:/bin:/usr/sbin:/usr/bin |
environment variable PATH doesn't contain : twice in a row oval:ssg-test_env_var_contains_doublecolon:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Pid | Name | Value |
|---|---|---|---|
| false | 10950 | PATH | /sbin:/bin:/usr/sbin:/usr/bin |
environment variable PATH doesn't contain . twice in a row oval:ssg-test_env_var_contains_doubleperiod:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Pid | Name | Value |
|---|---|---|---|
| false | 10950 | PATH | /sbin:/bin:/usr/sbin:/usr/bin |
environment variable PATH ends with : or . oval:ssg-test_env_var_ends:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Pid | Name | Value |
|---|---|---|---|
| false | 10950 | PATH | /sbin:/bin:/usr/sbin:/usr/bin |
environment variable PATH starts with an absolute path / oval:ssg-test_env_var_begins_slash:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Pid | Name | Value |
|---|---|---|---|
| false | 10950 | PATH | /sbin:/bin:/usr/sbin:/usr/bin |
environment variable PATH contains relative paths oval:ssg-test_env_var_contains_relative_path:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Pid | Name | Value |
|---|---|---|---|
| false | 10950 | PATH | /sbin:/bin:/usr/sbin:/usr/bin |
Ensure the Default Bash Umask is Set Correctlyxccdf_org.ssgproject.content_rule_accounts_umask_etc_bashrc medium
Ensure the Default Bash Umask is Set Correctly
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_umask_etc_bashrc | ||||||||||||||||||||||||
| Result | pass | ||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||
| OVAL Definition ID | oval:ssg-accounts_umask_etc_bashrc:def:1 | ||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||
| Description | To ensure the default umask for users of the Bash shell is set properly,
add or correct the umask setting in /etc/bashrc to read
as follows:
umask 027
| ||||||||||||||||||||||||
| Rationale | The umask value influences the permissions assigned to files when they are created.
A misconfigured umask value could result in files with excessive permissions that can be read or
written to by unauthorized users. |
OVAL test results details
Verify the existence of var_accounts_user_umask_as_number variable oval:ssg-test_existence_of_var_accounts_user_umask_as_number_variable:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Var ref | Value |
|---|---|---|
| not evaluated | oval:ssg-var_accounts_user_umask_umask_as_number:var:1 | 23 |
Test the retrieved /etc/bashrc umask value(s) match the var_accounts_user_umask requirement oval:ssg-tst_accounts_umask_etc_bashrc:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Var ref | Value |
|---|---|---|
| true | oval:ssg-var_etc_bashrc_umask_as_number:var:1 | 23 |
Ensure the Default Umask is Set Correctly in login.defsxccdf_org.ssgproject.content_rule_accounts_umask_etc_login_defs medium
Ensure the Default Umask is Set Correctly in login.defs
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_umask_etc_login_defs | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | To ensure the default umask controlled by /etc/login.defs is set properly,
add or correct the UMASK setting in /etc/login.defs to read as follows:
UMASK 027
| ||||||||||||||||||||||||||
| Rationale | The umask value influences the permissions assigned to files when they are created.
A misconfigured umask value could result in files with excessive permissions that can be read and
written to by unauthorized users. |
Ensure the Default Umask is Set Correctly in /etc/profilexccdf_org.ssgproject.content_rule_accounts_umask_etc_profile medium
Ensure the Default Umask is Set Correctly in /etc/profile
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_umask_etc_profile | ||||||||||||||||||||||||
| Result | pass | ||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||
| OVAL Definition ID | oval:ssg-accounts_umask_etc_profile:def:1 | ||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||
| Description | To ensure the default umask controlled by /etc/profile is set properly,
add or correct the umask setting in /etc/profile to read as follows:
umask 027
Note that /etc/profile also reads scripts within /etc/profile.d directory.
These scripts are also valid files to set umask value. Therefore, they should also be
considered during the check and properly remediated, if necessary. | ||||||||||||||||||||||||
| Rationale | The umask value influences the permissions assigned to files when they are created.
A misconfigured umask value could result in files with excessive permissions that can be read or
written to by unauthorized users. |
OVAL test results details
Verify the existence of var_accounts_user_umask_as_number variable oval:ssg-test_existence_of_var_accounts_user_umask_as_number_variable:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Var ref | Value |
|---|---|---|
| not evaluated | oval:ssg-var_accounts_user_umask_umask_as_number:var:1 | 23 |
umask value(s) from profile configuration files match the requirement oval:ssg-tst_accounts_umask_etc_profile:tst:1 true
Following items have been found on the system:
| Result of item-state comparison | Var ref | Value |
|---|---|---|
| true | oval:ssg-var_etc_profile_umask_as_number:var:1 | 23 |
Ensure the Root Bash Umask is Set Correctlyxccdf_org.ssgproject.content_rule_accounts_umask_root medium
Ensure the Root Bash Umask is Set Correctly
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_umask_root | ||
| Result | pass | ||
| Multi-check rule | no | ||
| OVAL Definition ID | oval:ssg-accounts_umask_root:def:1 | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | To ensure the root user's umask of the Bash shell is set properly,
add or correct the umask setting in /root/.bashrc
or /root/.profile to read as follows:
umask 0027 | ||
| Rationale | The umask value influences the permissions assigned to files when they are created.
A misconfigured umask value could result in files with excessive permissions that can be read or
written to by unauthorized users. |
OVAL test results details
Test that no umask with lenient permissions exists oval:ssg-tst_accounts_umask_root:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-obj_accounts_umask_root:obj:1 of type textfilecontent54_object
| Filepath | Pattern | Instance |
|---|---|---|
| ^(/root/.bashrc|/root/.profile)$ | ^[^#]*\bumask\s+[0-7]?[0-7]([0-1][0-7]|[0-7][0-6])\s*$ | 1 |
Set Interactive Session Timeoutxccdf_org.ssgproject.content_rule_accounts_tmout medium
Set Interactive Session Timeout
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_tmout | ||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||
| Description | Setting the TMOUT option in /etc/profile ensures that
all user sessions will terminate based on inactivity. A value of 0 (zero)
disables the automatic logout feature and is therefore not a compliant setting.
The value of TMOUT should be a positive integer, exported, and read only.
The TMOUT
setting in a file loaded by /etc/profile, e.g.
/etc/profile.d/tmout.sh should read as follows:
typeset -xr TMOUT=900
or
declare -xr TMOUT=900
Using the typeset keyword is preferred for wider compatibility with ksh and other shells. | ||||||||||||||||||||||||||||||
| Rationale | Terminating an idle session within a short time period reduces
the window of opportunity for unauthorized personnel to take control of a
management session enabled on the console or console port that has been
left unattended. |
User Initialization Files Must Be Group-Owned By The Primary Groupxccdf_org.ssgproject.content_rule_accounts_user_dot_group_ownership medium
User Initialization Files Must Be Group-Owned By The Primary Group
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_user_dot_group_ownership | ||||||
| Result | notapplicable | ||||||
| Multi-check rule | no | ||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||
| Severity | medium | ||||||
| References: |
| ||||||
| Description | Change the group owner of interactive users files to the group found
in /etc/passwdfor the user. To change the group owner of a local interactive user home directory, use the following command: $ sudo chgrp USER_GROUP /home/USER/.INIT_FILE
This rule ensures every initialization file related to an interactive user
is group-owned by an interactive user. | ||||||
| Rationale | Local initialization files for interactive users are used to configure the
user's shell environment upon logon. Malicious modification of these files could
compromise accounts upon logon. | ||||||
| Warnings | warning
Due to OVAL limitation, this rule can report a false negative in a
specific situation where two interactive users swap the group-ownership
of their respective initialization files. |
User Initialization Files Must Be Owned By the Primary Userxccdf_org.ssgproject.content_rule_accounts_user_dot_user_ownership medium
User Initialization Files Must Be Owned By the Primary User
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_user_dot_user_ownership | ||||||
| Result | notapplicable | ||||||
| Multi-check rule | no | ||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||
| Severity | medium | ||||||
| References: |
| ||||||
| Description | Set the owner of the user initialization files for interactive users to
the primary owner with the following command:
$ sudo chown USER /home/USER/.*This rule ensures every initialization file related to an interactive user is owned by an interactive user. | ||||||
| Rationale | Local initialization files are used to configure the user's shell environment
upon logon. Malicious modification of these files could compromise accounts upon
logon. | ||||||
| Warnings | warning
Due to OVAL limitation, this rule can report a false negative in a
specific situation where two interactive users swap the ownership of
their respective initialization files. |
All Interactive Users Home Directories Must Existxccdf_org.ssgproject.content_rule_accounts_user_interactive_home_directory_exists medium
All Interactive Users Home Directories Must Exist
| Rule ID | xccdf_org.ssgproject.content_rule_accounts_user_interactive_home_directory_exists | ||||||||
| Result | notapplicable | ||||||||
| Multi-check rule | no | ||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||
| Severity | medium | ||||||||
| References: |
| ||||||||
| Description | Create home directories to all local interactive users that currently do not
have a home directory assigned. Use the following commands to create the user
home directory assigned in /etc/passwd:
$ sudo mkdir /home/USER
| ||||||||
| Rationale | If a local interactive user has a home directory defined that does not exist,
the user may be given access to the / directory as the current working directory
upon logon. This could create a Denial of Service because the user would not be
able to access their logon configuration files, and it may give them visibility
to system files they normally would not be able to access. |
All Interactive User Home Directories Must Be Owned By The Primary Userxccdf_org.ssgproject.content_rule_file_ownership_home_directories medium
All Interactive User Home Directories Must Be Owned By The Primary User
| Rule ID | xccdf_org.ssgproject.content_rule_file_ownership_home_directories | ||||||
| Result | pass | ||||||
| Multi-check rule | no | ||||||
| OVAL Definition ID | oval:ssg-file_ownership_home_directories:def:1 | ||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||
| Severity | medium | ||||||
| References: |
| ||||||
| Description | Change the owner of interactive users home directories to that correct
owner. To change the owner of a interactive users home directory, use
the following command:
$ sudo chown USER /home/USER
This rule ensures every home directory related to an interactive user is
owned by an interactive user. It also ensures that interactive users are
owners of one and only one home directory. | ||||||
| Rationale | If a local interactive user does not own their home directory, unauthorized
users could access or modify the user's files, and the users may not be able to
access their own files. | ||||||
| Warnings | warning
Due to OVAL limitation, this rule can report a false negative in a
specific situation where two interactive users swap the ownership of
their respective home directories. |
OVAL test results details
All home directories are owned by a local interactive user oval:ssg-test_file_ownership_home_directories:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_ownership_home_directories_dirs:obj:1 of type file_object
| Path | Filename |
|---|---|
| Referenced variable has no values (oval:ssg-var_file_ownership_home_directories_dirs:var:1). |
It should not exist duplicated owners of home dirs oval:ssg-test_file_ownership_home_directories_duplicated:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_ownership_home_directories_uids_count:obj:1 of type variable_object
| Var ref |
|---|
| oval:ssg-var_file_ownership_home_directories_uids_count:var:1 |
Set Boot Loader Password in grub2xccdf_org.ssgproject.content_rule_grub2_password high
Set Boot Loader Password in grub2
| Rule ID | xccdf_org.ssgproject.content_rule_grub2_password | ||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||
| Severity | high | ||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||
| Description | The grub2 boot loader should have a superuser account and password
protection enabled to protect boot-time settings.
Since plaintext passwords are a security risk, generate a hash for the password by running the following command: # grub2-setpasswordWhen prompted, enter the password that was selected. | ||||||||||||||||||||||||||||||
| Rationale | Password protection on the boot loader configuration ensures
users with physical access cannot trivially alter
important bootloader settings. These include which kernel to use,
and whether to enter single-user mode. | ||||||||||||||||||||||||||||||
| Warnings | warning
To prevent hard-coded passwords, automatic remediation of this control is not available. Remediation
must be automated as a component of machine provisioning, or followed manually as outlined above.
Also, do NOT manually add the superuser account and password to the
grub.cfg file as the grub2-mkconfig command overwrites this file. |
All GRUB configuration files must be group-owned by rootxccdf_org.ssgproject.content_rule_file_groupowner_boot_grub2 medium
All GRUB configuration files must be group-owned by root
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupowner_boot_grub2 | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | The files in /boot/grub2 should
be group-owned by the root group to prevent
destruction or modification of the file.
To properly set the group owner of /boot/grub2, run the command:
$ sudo chgrp root /boot/grub2 | ||
| Rationale | The root group is a highly-privileged group. Furthermore, the group-owner of this
file should not have any access privileges anyway. |
All GRUB configuration files must be owned by rootxccdf_org.ssgproject.content_rule_file_owner_boot_grub2 medium
All GRUB configuration files must be owned by root
| Rule ID | xccdf_org.ssgproject.content_rule_file_owner_boot_grub2 | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | The files in /boot/grub2 should
be owned by the root user to prevent
destruction or modification of the file.
To properly set the owner of /boot/grub2, run the command:
$ sudo chown root /boot/grub2 | ||
| Rationale | To prevent unauthorized access and modifications to boot configuration. |
Ensure Log Files Are Owned By Appropriate Groupxccdf_org.ssgproject.content_rule_rsyslog_files_groupownership medium
Ensure Log Files Are Owned By Appropriate Group
| Rule ID | xccdf_org.ssgproject.content_rule_rsyslog_files_groupownership | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | The group-owner of all log files written by
rsyslog should be root.
These log files are determined by the second part of each Rule line in
/etc/rsyslog.conf and typically all appear in /var/log.
For each log file LOGFILE referenced in /etc/rsyslog.conf,
run the following command to inspect the file's group owner:
$ ls -l LOGFILE
If the owner is not root,
run the following command to
correct this:
$ sudo chgrp root LOGFILE
| ||||||||||||||||||||||||||
| Rationale | The log files generated by rsyslog contain valuable information regarding system
configuration, user authentication, and other such information. Log files should be
protected from unauthorized access. |
Ensure Log Files Are Owned By Appropriate Userxccdf_org.ssgproject.content_rule_rsyslog_files_ownership medium
Ensure Log Files Are Owned By Appropriate User
| Rule ID | xccdf_org.ssgproject.content_rule_rsyslog_files_ownership | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | The owner of all log files written by
rsyslog should be
root.
These log files are determined by the second part of each Rule line in
/etc/rsyslog.conf and typically all appear in /var/log.
For each log file LOGFILE referenced in /etc/rsyslog.conf,
run the following command to inspect the file's owner:
$ ls -l LOGFILE
If the owner is not
root,
run the following command to
correct this:
$ sudo chown root LOGFILE
| ||||||||||||||||||||||||||
| Rationale | The log files generated by rsyslog contain valuable information regarding system
configuration, user authentication, and other such information. Log files should be
protected from unauthorized access. |
Install systemd-journal-remote Packagexccdf_org.ssgproject.content_rule_package_systemd-journal-remote_installed medium
Install systemd-journal-remote Package
| Rule ID | xccdf_org.ssgproject.content_rule_package_systemd-journal-remote_installed | ||||
| Result | notapplicable | ||||
| Multi-check rule | no | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | Journald (via systemd-journal-remote ) supports the ability to send
log events it gathers to a remote log host or to receive messages
from remote hosts, thus enabling centralised log management. | ||||
| Rationale | Storing log data on a remote host protects log integrity from local
attacks. If an attacker gains root access on the local system, they
could tamper with or remove log data that is stored on the local system. |
Enable systemd-journal-upload Servicexccdf_org.ssgproject.content_rule_service_systemd-journal-upload_enabled medium
Enable systemd-journal-upload Service
| Rule ID | xccdf_org.ssgproject.content_rule_service_systemd-journal-upload_enabled | ||||
| Result | notapplicable | ||||
| Multi-check rule | no | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | The systemd-journal-upload service is part of the systemd-journal-remote package
and enables centralized logging by uploading local systemd journal entries to a remote log
server via HTTPS. This service acts as a client that pushes journal data to a remote host
running the systemd-journal-remote receiver service.
The systemd-journal-upload service can be enabled with the following command:
$ sudo systemctl enable systemd-journal-upload.service | ||||
| Rationale | Centralized logging through systemd-journal-upload is essential for security monitoring,
incident response, and compliance requirements. Storing log data on a remote host protects log
integrity from local attacks. If an attacker gains root access on the local system, they could
tamper with or remove log data stored locally to hide their activities. Remote logging ensures
that audit trails remain intact even if the local system is compromised. Additionally,
centralized logs facilitate correlation of events across multiple systems, enabling better
detection of distributed attacks and security incidents. | ||||
| Warnings | warning
The systemd-journal-upload service will fail to start if the remote server URL is not configured.
Edit /etc/systemd/journal-upload.conf to configure the remote server URL. |
Enable systemd-journald Servicexccdf_org.ssgproject.content_rule_service_systemd-journald_enabled medium
Enable systemd-journald Service
| Rule ID | xccdf_org.ssgproject.content_rule_service_systemd-journald_enabled | ||||||||||
| Result | notapplicable | ||||||||||
| Multi-check rule | no | ||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||
| Severity | medium | ||||||||||
| References: |
| ||||||||||
| Description | The systemd-journald service is an essential component of
systemd.
The systemd-journald service can be enabled with the following command:
$ sudo systemctl enable systemd-journald.service | ||||||||||
| Rationale | In the event of a system failure, Red Hat Enterprise Linux 10 must preserve any information necessary to determine cause of failure and any information necessary to return to operations with least disruption to system processes. |
Ensure journald is configured to compress large log filesxccdf_org.ssgproject.content_rule_journald_compress medium
Ensure journald is configured to compress large log files
| Rule ID | xccdf_org.ssgproject.content_rule_journald_compress | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | The journald system can compress large log files to avoid fill the system disk. | ||
| Rationale | Log files that are not properly compressed run the risk of growing so large that they fill up the log partition. Valuable logging information could be lost if the log partition becomes full. |
Ensure journald ForwardToSyslog is disabledxccdf_org.ssgproject.content_rule_journald_disable_forward_to_syslog medium
Ensure journald ForwardToSyslog is disabled
| Rule ID | xccdf_org.ssgproject.content_rule_journald_disable_forward_to_syslog | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | Data from journald should be kept in the confines of the service and not forwarded to other services. | ||
| Rationale | If journald is the method for capturing logs, all logs of the system should be handled by journald and not forwarded to other logging mechanisms. |
Ensure journald is configured to write log files to persistent diskxccdf_org.ssgproject.content_rule_journald_storage medium
Ensure journald is configured to write log files to persistent disk
| Rule ID | xccdf_org.ssgproject.content_rule_journald_storage | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | The journald system may store log files in volatile memory or locally on disk.
If the logs are only stored in volatile memory they will be lost upon reboot. | ||
| Rationale | Log files contain valuable data and need to be persistent to aid in possible investigations. |
Disable systemd-journal-remote Socketxccdf_org.ssgproject.content_rule_socket_systemd-journal-remote_disabled medium
Disable systemd-journal-remote Socket
| Rule ID | xccdf_org.ssgproject.content_rule_socket_systemd-journal-remote_disabled | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | Journald supports the ability to receive messages from remote hosts,
thus acting as a log server. Clients should not receive data from
other hosts.
NOTE:
The same package, systemd-journal-remote , is used for both sending
logs to remote hosts and receiving incoming logs.
With regards to receiving logs, there are two Systemd unit files;
systemd-journal-remote.socket and systemd-journal-remote.service. | ||
| Rationale | If a client is configured to also receive data, thus turning it into
a server, the client system is acting outside it's operational boundary. |
Ensure journald and rsyslog Are Not Active Togetherxccdf_org.ssgproject.content_rule_ensure_journald_and_rsyslog_not_active_together medium
Ensure journald and rsyslog Are Not Active Together
| Rule ID | xccdf_org.ssgproject.content_rule_ensure_journald_and_rsyslog_not_active_together | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | Ensure that exactly one logging system is active. Running both rsyslog and
systemd-journald simultaneously can lead to duplicate logging, resource
contention, and configuration conflicts. Running neither service means no
logging is occurring, which is also a violation.
systemctl is-active rsyslog systemd-journaldThe command should return exactly one active service. Both services
should not be active at the same time, and at least one must be active. | ||
| Rationale | Running multiple logging systems concurrently can cause conflicts, resource
contention, and inconsistent logging behavior. Systems should use either
rsyslog or systemd-journald, but not both simultaneously. This ensures
predictable logging behavior and prevents potential issues with log
duplication or loss. | ||
| Warnings | warning
This rule does not come with a remediation. The choice of logging
system (rsyslog vs systemd-journald) is an architectural decision
that should be made based on organizational requirements. Use
service_rsyslog_enabled/disabled or service_systemd-journald_enabled
rules to configure the desired logging system. |
Ensure rsyslog Default File Permissions Configuredxccdf_org.ssgproject.content_rule_rsyslog_filecreatemode medium
Ensure rsyslog Default File Permissions Configured
| Rule ID | xccdf_org.ssgproject.content_rule_rsyslog_filecreatemode | ||||
| Result | notapplicable | ||||
| Multi-check rule | no | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | rsyslog will create logfiles that do not already exist on the system.
This settings controls what permissions will be applied to these newly
created files. | ||||
| Rationale | It is important to ensure that log files have the correct permissions
to ensure that sensitive data is archived and protected. |
Install firewalld Packagexccdf_org.ssgproject.content_rule_package_firewalld_installed medium
Install firewalld Package
| Rule ID | xccdf_org.ssgproject.content_rule_package_firewalld_installed | ||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||
| Severity | medium | ||||||||||||||||||
| References: |
| ||||||||||||||||||
| Description | The firewalld package can be installed with the following command:
$ sudo dnf install firewalld | ||||||||||||||||||
| Rationale | "Firewalld" provides an easy and effective way to block/limit remote access to the system via ports, services, and protocols.
Remote access services, such as those providing remote access to network devices and information systems, which lack automated control capabilities, increase risk and make remote user access management difficult at best.
Remote access is access to nonpublic information systems by an authorized user (or an information system) communicating through an external, non-organization-controlled network. Remote access methods include, for example, dial-up, broadband, and wireless.
Red Hat Enterprise Linux 10 functionality (e.g., SSH) must be capable of taking enforcement action if the audit reveals unauthorized activity.
Automated control of remote access sessions allows organizations to ensure ongoing compliance with remote access policies by enforcing connection rules of remote access applications on a variety of information system components (e.g., servers, workstations, notebook computers, smartphones, and tablets)." |
Verify firewalld Enabledxccdf_org.ssgproject.content_rule_service_firewalld_enabled medium
Verify firewalld Enabled
| Rule ID | xccdf_org.ssgproject.content_rule_service_firewalld_enabled | ||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||
| Description |
The firewalld service can be enabled with the following command:
$ sudo systemctl enable firewalld.service | ||||||||||||||||||||||||||||||||||
| Rationale | Access control methods provide the ability to enhance system security posture
by restricting services and known good IP addresses and address ranges. This
prevents connections from unknown hosts and protocols. |
Configure Firewalld to Trust Loopback Trafficxccdf_org.ssgproject.content_rule_firewalld_loopback_traffic_trusted medium
Configure Firewalld to Trust Loopback Traffic
| Rule ID | xccdf_org.ssgproject.content_rule_firewalld_loopback_traffic_trusted | ||||
| Result | notapplicable | ||||
| Multi-check rule | no | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | Assign loopback interface to the firewalld
trusted zone in order to
explicitly allow the loopback traffic in the system.
To configure firewalld to trust loopback traffic, run the following command:
sudo firewall-cmd --permanent --zone=trusted --add-interface=loTo ensure firewalld settings are applied in runtime, run the following command:
firewall-cmd --reload | ||||
| Rationale | Loopback traffic is generated between processes on machine and is typically critical to
operation of the system. The loopback interface is the only place that loopback network
traffic should be seen, all other interfaces should ignore traffic on this network as an
anti-spoofing measure. |
Configure Firewalld to Use the Nftables Backendxccdf_org.ssgproject.content_rule_firewalld-backend medium
Configure Firewalld to Use the Nftables Backend
| Rule ID | xccdf_org.ssgproject.content_rule_firewalld-backend | ||||||||||
| Result | notapplicable | ||||||||||
| Multi-check rule | no | ||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||
| Severity | medium | ||||||||||
| References: |
| ||||||||||
| Description | Firewalld can be configured with many backends, such as nftables. | ||||||||||
| Rationale | Nftables is modern kernel module for controlling network connections coming into a system.
Utilizing the limit statement in "nftables" can help to mitigate DoS attacks. | ||||||||||
| Warnings | warning
Establish rate-limiting rules based on organization-defined types of DoS attacks on impacted network interfaces. You can use firewalld rich rules or advanced per-ip limiting in nftables configuration to rate-limit incoming connections to specific services. The rule doesn't configure any rate-limiting, this has to be configured individually. |
Configure Accepting Router Advertisements on All IPv6 Interfacesxccdf_org.ssgproject.content_rule_sysctl_net_ipv6_conf_all_accept_ra medium
Configure Accepting Router Advertisements on All IPv6 Interfaces
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_net_ipv6_conf_all_accept_ra | ||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||
| Description | To set the runtime status of the net.ipv6.conf.all.accept_ra kernel parameter, run the following command: $ sudo sysctl -w net.ipv6.conf.all.accept_ra=0To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: net.ipv6.conf.all.accept_ra = 0 | ||||||||||||||||||||||||
| Rationale | An illicit router advertisement message could result in a man-in-the-middle attack. |
Disable Accepting ICMP Redirects for All IPv6 Interfacesxccdf_org.ssgproject.content_rule_sysctl_net_ipv6_conf_all_accept_redirects medium
Disable Accepting ICMP Redirects for All IPv6 Interfaces
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_net_ipv6_conf_all_accept_redirects | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | To set the runtime status of the net.ipv6.conf.all.accept_redirects kernel parameter, run the following command: $ sudo sysctl -w net.ipv6.conf.all.accept_redirects=0To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: net.ipv6.conf.all.accept_redirects = 0 | ||||||||||||||||||||||||||
| Rationale | An illicit ICMP redirect message could result in a man-in-the-middle attack. |
Disable Kernel Parameter for Accepting Source-Routed Packets on all IPv6 Interfacesxccdf_org.ssgproject.content_rule_sysctl_net_ipv6_conf_all_accept_source_route medium
Disable Kernel Parameter for Accepting Source-Routed Packets on all IPv6 Interfaces
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_net_ipv6_conf_all_accept_source_route | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | To set the runtime status of the net.ipv6.conf.all.accept_source_route kernel parameter, run the following command: $ sudo sysctl -w net.ipv6.conf.all.accept_source_route=0To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: net.ipv6.conf.all.accept_source_route = 0 | ||||||||||||||||||||||||||
| Rationale | Source-routed packets allow the source of the packet to suggest routers
forward the packet along a different path than configured on the router, which can
be used to bypass network security measures. This requirement applies only to the
forwarding of source-routerd traffic, such as when IPv6 forwarding is enabled and
the system is functioning as a router.
Accepting source-routed packets in the IPv6 protocol has few legitimate uses. It should be disabled unless it is absolutely required. |
Disable Kernel Parameter for IPv6 Forwardingxccdf_org.ssgproject.content_rule_sysctl_net_ipv6_conf_all_forwarding medium
Disable Kernel Parameter for IPv6 Forwarding
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_net_ipv6_conf_all_forwarding | ||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||
| Description | To set the runtime status of the net.ipv6.conf.all.forwarding kernel parameter, run the following command: $ sudo sysctl -w net.ipv6.conf.all.forwarding=0To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: net.ipv6.conf.all.forwarding = 0 | ||||||||||||||||||||||
| Rationale | IP forwarding permits the kernel to forward packets from one network
interface to another. The ability to forward packets between two networks is
only appropriate for systems acting as routers. |
Disable Accepting Router Advertisements on all IPv6 Interfaces by Defaultxccdf_org.ssgproject.content_rule_sysctl_net_ipv6_conf_default_accept_ra medium
Disable Accepting Router Advertisements on all IPv6 Interfaces by Default
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_net_ipv6_conf_default_accept_ra | ||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||
| Description | To set the runtime status of the net.ipv6.conf.default.accept_ra kernel parameter, run the following command: $ sudo sysctl -w net.ipv6.conf.default.accept_ra=0To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: net.ipv6.conf.default.accept_ra = 0 | ||||||||||||||||||||||||
| Rationale | An illicit router advertisement message could result in a man-in-the-middle attack. |
Disable Kernel Parameter for Accepting ICMP Redirects by Default on IPv6 Interfacesxccdf_org.ssgproject.content_rule_sysctl_net_ipv6_conf_default_accept_redirects medium
Disable Kernel Parameter for Accepting ICMP Redirects by Default on IPv6 Interfaces
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_net_ipv6_conf_default_accept_redirects | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | To set the runtime status of the net.ipv6.conf.default.accept_redirects kernel parameter, run the following command: $ sudo sysctl -w net.ipv6.conf.default.accept_redirects=0To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: net.ipv6.conf.default.accept_redirects = 0 | ||||||||||||||||||||||||||
| Rationale | An illicit ICMP redirect message could result in a man-in-the-middle attack. |
Disable Kernel Parameter for Accepting Source-Routed Packets on IPv6 Interfaces by Defaultxccdf_org.ssgproject.content_rule_sysctl_net_ipv6_conf_default_accept_source_route medium
Disable Kernel Parameter for Accepting Source-Routed Packets on IPv6 Interfaces by Default
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_net_ipv6_conf_default_accept_source_route | ||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||
| Description | To set the runtime status of the net.ipv6.conf.default.accept_source_route kernel parameter, run the following command: $ sudo sysctl -w net.ipv6.conf.default.accept_source_route=0To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: net.ipv6.conf.default.accept_source_route = 0 | ||||||||||||||||||||||||||||||
| Rationale | Source-routed packets allow the source of the packet to suggest routers
forward the packet along a different path than configured on the router, which can
be used to bypass network security measures. This requirement applies only to the
forwarding of source-routerd traffic, such as when IPv6 forwarding is enabled and
the system is functioning as a router.
Accepting source-routed packets in the IPv6 protocol has few legitimate
uses. It should be disabled unless it is absolutely required. |
Disable Kernel Parameter for IPv6 Forwarding by defaultxccdf_org.ssgproject.content_rule_sysctl_net_ipv6_conf_default_forwarding medium
Disable Kernel Parameter for IPv6 Forwarding by default
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_net_ipv6_conf_default_forwarding | ||||||
| Result | notapplicable | ||||||
| Multi-check rule | no | ||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||
| Severity | medium | ||||||
| References: |
| ||||||
| Description | To set the runtime status of the net.ipv6.conf.default.forwarding kernel parameter, run the following command: $ sudo sysctl -w net.ipv6.conf.default.forwarding=0To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: net.ipv6.conf.default.forwarding = 0 | ||||||
| Rationale | IP forwarding permits the kernel to forward packets from one network
interface to another. The ability to forward packets between two networks is
only appropriate for systems acting as routers. |
Disable Accepting ICMP Redirects for All IPv4 Interfacesxccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_all_accept_redirects medium
Disable Accepting ICMP Redirects for All IPv4 Interfaces
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_all_accept_redirects | ||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||
| Description | To set the runtime status of the net.ipv4.conf.all.accept_redirects kernel parameter, run the following command: $ sudo sysctl -w net.ipv4.conf.all.accept_redirects=0To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: net.ipv4.conf.all.accept_redirects = 0 | ||||||||||||||||||||||||||||
| Rationale | ICMP redirect messages are used by routers to inform hosts that a more
direct route exists for a particular destination. These messages modify the
host's route table and are unauthenticated. An illicit ICMP redirect
message could result in a man-in-the-middle attack.
This feature of the IPv4 protocol has few legitimate uses. It should be disabled unless absolutely required." |
Disable Kernel Parameter for Accepting Source-Routed Packets on all IPv4 Interfacesxccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_all_accept_source_route medium
Disable Kernel Parameter for Accepting Source-Routed Packets on all IPv4 Interfaces
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_all_accept_source_route | ||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||
| Description | To set the runtime status of the net.ipv4.conf.all.accept_source_route kernel parameter, run the following command: $ sudo sysctl -w net.ipv4.conf.all.accept_source_route=0To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: net.ipv4.conf.all.accept_source_route = 0 | ||||||||||||||||||||||||||||
| Rationale | Source-routed packets allow the source of the packet to suggest routers
forward the packet along a different path than configured on the router,
which can be used to bypass network security measures. This requirement
applies only to the forwarding of source-routerd traffic, such as when IPv4
forwarding is enabled and the system is functioning as a router.
Accepting source-routed packets in the IPv4 protocol has few legitimate uses. It should be disabled unless it is absolutely required. |
Disable Kernel Parameter for IPv4 Forwarding on all IPv4 Interfacesxccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_all_forwarding medium
Disable Kernel Parameter for IPv4 Forwarding on all IPv4 Interfaces
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_all_forwarding | ||||||||||
| Result | notapplicable | ||||||||||
| Multi-check rule | no | ||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||
| Severity | medium | ||||||||||
| References: |
| ||||||||||
| Description | To set the runtime status of the net.ipv4.conf.all.forwarding kernel parameter, run the following command: $ sudo sysctl -w net.ipv4.conf.all.forwarding=0To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: net.ipv4.conf.all.forwarding = 0 | ||||||||||
| Rationale | IP forwarding permits the kernel to forward packets from one network
interface to another. The ability to forward packets between two networks is
only appropriate for systems acting as routers. | ||||||||||
| Warnings | warning
There might be cases when certain applications can systematically override this option.
One such case is Libvirt; a toolkit for managing of virtualization platforms.
By default, Libvirt requires IP forwarding to be enabled to facilitate
network communication between the virtualization host and guest
machines. It enables IP forwarding after every reboot. |
Enable Kernel Parameter to Log Martian Packets on all IPv4 Interfacesxccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_all_log_martians unknown
Enable Kernel Parameter to Log Martian Packets on all IPv4 Interfaces
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_all_log_martians | ||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||
| Severity | unknown | ||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||
| Description | To set the runtime status of the net.ipv4.conf.all.log_martians kernel parameter, run the following command: $ sudo sysctl -w net.ipv4.conf.all.log_martians=1To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: net.ipv4.conf.all.log_martians = 1 | ||||||||||||||||||||||||
| Rationale | The presence of "martian" packets (which have impossible addresses)
as well as spoofed packets, source-routed packets, and redirects could be a
sign of nefarious network activity. Logging these packets enables this activity
to be detected. |
Enable Kernel Parameter to Use Reverse Path Filtering on all IPv4 Interfacesxccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_all_rp_filter medium
Enable Kernel Parameter to Use Reverse Path Filtering on all IPv4 Interfaces
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_all_rp_filter | ||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||
| Description | To set the runtime status of the net.ipv4.conf.all.rp_filter kernel parameter, run the following command: $ sudo sysctl -w net.ipv4.conf.all.rp_filter=1To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: net.ipv4.conf.all.rp_filter = 1 | ||||||||||||||||||||||||||||||
| Rationale | Enabling reverse path filtering drops packets with source addresses
that should not have been able to be received on the interface they were
received on. It should not be used on systems which are routers for
complicated networks, but is helpful for end hosts and routers serving small
networks. |
Disable Kernel Parameter for Accepting Secure ICMP Redirects on all IPv4 Interfacesxccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_all_secure_redirects medium
Disable Kernel Parameter for Accepting Secure ICMP Redirects on all IPv4 Interfaces
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_all_secure_redirects | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | To set the runtime status of the net.ipv4.conf.all.secure_redirects kernel parameter, run the following command: $ sudo sysctl -w net.ipv4.conf.all.secure_redirects=0To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: net.ipv4.conf.all.secure_redirects = 0 | ||||||||||||||||||||||||||
| Rationale | Accepting "secure" ICMP redirects (from those gateways listed as
default gateways) has few legitimate uses. It should be disabled unless it is
absolutely required. |
Disable Kernel Parameter for Accepting ICMP Redirects by Default on IPv4 Interfacesxccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_default_accept_redirects medium
Disable Kernel Parameter for Accepting ICMP Redirects by Default on IPv4 Interfaces
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_default_accept_redirects | ||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||
| Description | To set the runtime status of the net.ipv4.conf.default.accept_redirects kernel parameter, run the following command: $ sudo sysctl -w net.ipv4.conf.default.accept_redirects=0To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: net.ipv4.conf.default.accept_redirects = 0 | ||||||||||||||||||||||||||||||||
| Rationale | ICMP redirect messages are used by routers to inform hosts that a more
direct route exists for a particular destination. These messages modify the
host's route table and are unauthenticated. An illicit ICMP redirect
message could result in a man-in-the-middle attack.
This feature of the IPv4 protocol has few legitimate uses. It should be disabled unless absolutely required. |
Disable Kernel Parameter for Accepting Source-Routed Packets on IPv4 Interfaces by Defaultxccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_default_accept_source_route medium
Disable Kernel Parameter for Accepting Source-Routed Packets on IPv4 Interfaces by Default
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_default_accept_source_route | ||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||
| Description | To set the runtime status of the net.ipv4.conf.default.accept_source_route kernel parameter, run the following command: $ sudo sysctl -w net.ipv4.conf.default.accept_source_route=0To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: net.ipv4.conf.default.accept_source_route = 0 | ||||||||||||||||||||||||||||||
| Rationale | Source-routed packets allow the source of the packet to suggest routers
forward the packet along a different path than configured on the router,
which can be used to bypass network security measures.
Accepting source-routed packets in the IPv4 protocol has few legitimate uses. It should be disabled unless it is absolutely required, such as when IPv4 forwarding is enabled and the system is legitimately functioning as a router. |
Disable Kernel Parameter for IPv4 Forwarding By Defaultxccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_default_forwarding medium
Disable Kernel Parameter for IPv4 Forwarding By Default
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_default_forwarding | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | To set the runtime status of the net.ipv4.conf.default.forwarding kernel parameter, run the following command: $ sudo sysctl -w net.ipv4.conf.default.forwarding=0To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: net.ipv4.conf.default.forwarding = 0 | ||
| Rationale | IP forwarding permits the kernel to forward packets from one network
interface to another. The ability to forward packets between two networks is
only appropriate for systems acting as routers. | ||
| Warnings | warning
There might be cases when certain applications can systematically override this option.
One such case is Libvirt; a toolkit for managing of virtualization platforms.
By default, Libvirt requires IP forwarding to be enabled to facilitate
network communication between the virtualization host and guest
machines. It enables IP forwarding after every reboot. |
Enable Kernel Parameter to Log Martian Packets on all IPv4 Interfaces by Defaultxccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_default_log_martians unknown
Enable Kernel Parameter to Log Martian Packets on all IPv4 Interfaces by Default
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_default_log_martians | ||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||
| Severity | unknown | ||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||
| Description | To set the runtime status of the net.ipv4.conf.default.log_martians kernel parameter, run the following command: $ sudo sysctl -w net.ipv4.conf.default.log_martians=1To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: net.ipv4.conf.default.log_martians = 1 | ||||||||||||||||||||||||
| Rationale | The presence of "martian" packets (which have impossible addresses)
as well as spoofed packets, source-routed packets, and redirects could be a
sign of nefarious network activity. Logging these packets enables this activity
to be detected. |
Enable Kernel Parameter to Use Reverse Path Filtering on all IPv4 Interfaces by Defaultxccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_default_rp_filter medium
Enable Kernel Parameter to Use Reverse Path Filtering on all IPv4 Interfaces by Default
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_default_rp_filter | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | To set the runtime status of the net.ipv4.conf.default.rp_filter kernel parameter, run the following command: $ sudo sysctl -w net.ipv4.conf.default.rp_filter=1To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: net.ipv4.conf.default.rp_filter = 1 | ||||||||||||||||||||||||||
| Rationale | Enabling reverse path filtering drops packets with source addresses
that should not have been able to be received on the interface they were
received on. It should not be used on systems which are routers for
complicated networks, but is helpful for end hosts and routers serving small
networks. |
Configure Kernel Parameter for Accepting Secure Redirects By Defaultxccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_default_secure_redirects medium
Configure Kernel Parameter for Accepting Secure Redirects By Default
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_default_secure_redirects | ||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||
| Description | To set the runtime status of the net.ipv4.conf.default.secure_redirects kernel parameter, run the following command: $ sudo sysctl -w net.ipv4.conf.default.secure_redirects=0To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: net.ipv4.conf.default.secure_redirects = 0 | ||||||||||||||||||||||||
| Rationale | Accepting "secure" ICMP redirects (from those gateways listed as
default gateways) has few legitimate uses. It should be disabled unless it is
absolutely required. |
Enable Kernel Parameter to Ignore ICMP Broadcast Echo Requests on IPv4 Interfacesxccdf_org.ssgproject.content_rule_sysctl_net_ipv4_icmp_echo_ignore_broadcasts medium
Enable Kernel Parameter to Ignore ICMP Broadcast Echo Requests on IPv4 Interfaces
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_net_ipv4_icmp_echo_ignore_broadcasts | ||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||
| Description | To set the runtime status of the net.ipv4.icmp_echo_ignore_broadcasts kernel parameter, run the following command: $ sudo sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: net.ipv4.icmp_echo_ignore_broadcasts = 1 | ||||||||||||||||||||||||||||||||
| Rationale | Responding to broadcast (ICMP) echoes facilitates network mapping
and provides a vector for amplification attacks.
Ignoring ICMP echo requests (pings) sent to broadcast or multicast addresses makes the system slightly more difficult to enumerate on the network. |
Enable Kernel Parameter to Ignore Bogus ICMP Error Responses on IPv4 Interfacesxccdf_org.ssgproject.content_rule_sysctl_net_ipv4_icmp_ignore_bogus_error_responses unknown
Enable Kernel Parameter to Ignore Bogus ICMP Error Responses on IPv4 Interfaces
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_net_ipv4_icmp_ignore_bogus_error_responses | ||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||
| Severity | unknown | ||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||
| Description | To set the runtime status of the net.ipv4.icmp_ignore_bogus_error_responses kernel parameter, run the following command: $ sudo sysctl -w net.ipv4.icmp_ignore_bogus_error_responses=1To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: net.ipv4.icmp_ignore_bogus_error_responses = 1 | ||||||||||||||||||||||||||||||||
| Rationale | Ignoring bogus ICMP error responses reduces
log size, although some activity would not be logged. |
Disable Kernel Parameter for Sending ICMP Redirects on all IPv4 Interfacesxccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_all_send_redirects medium
Disable Kernel Parameter for Sending ICMP Redirects on all IPv4 Interfaces
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_all_send_redirects | ||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||
| Description | To set the runtime status of the net.ipv4.conf.all.send_redirects kernel parameter, run the following command: $ sudo sysctl -w net.ipv4.conf.all.send_redirects=0To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: net.ipv4.conf.all.send_redirects = 0 | ||||||||||||||||||||||||||||||||
| Rationale | ICMP redirect messages are used by routers to inform hosts that a more
direct route exists for a particular destination. These messages contain information
from the system's route table possibly revealing portions of the network topology.
The ability to send ICMP redirects is only appropriate for systems acting as routers. |
Disable Kernel Parameter for Sending ICMP Redirects on all IPv4 Interfaces by Defaultxccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_default_send_redirects medium
Disable Kernel Parameter for Sending ICMP Redirects on all IPv4 Interfaces by Default
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_net_ipv4_conf_default_send_redirects | ||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||
| Description | To set the runtime status of the net.ipv4.conf.default.send_redirects kernel parameter, run the following command: $ sudo sysctl -w net.ipv4.conf.default.send_redirects=0To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: net.ipv4.conf.default.send_redirects = 0 | ||||||||||||||||||||||||||||||||
| Rationale | ICMP redirect messages are used by routers to inform hosts that a more
direct route exists for a particular destination. These messages contain information
from the system's route table possibly revealing portions of the network topology.
The ability to send ICMP redirects is only appropriate for systems acting as routers. |
Disable Kernel Parameter for IP Forwarding on IPv4 Interfacesxccdf_org.ssgproject.content_rule_sysctl_net_ipv4_ip_forward medium
Disable Kernel Parameter for IP Forwarding on IPv4 Interfaces
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_net_ipv4_ip_forward | ||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||
| Description | To set the runtime status of the net.ipv4.ip_forward kernel parameter, run the following command: $ sudo sysctl -w net.ipv4.ip_forward=0To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: net.ipv4.ip_forward = 0 | ||||||||||||||||||||||||||||
| Rationale | Routing protocol daemons are typically used on routers to exchange
network topology information with other routers. If this capability is used when
not required, system network information may be unnecessarily transmitted across
the network. | ||||||||||||||||||||||||||||
| Warnings | warning
Certain technologies such as virtual machines, containers, etc. rely on IPv4 forwarding to enable and use networking.
Disabling IPv4 forwarding would cause those technologies to stop working. Therefore, this rule should not be used in
profiles or benchmarks that target usage of IPv4 forwarding. |
Disable ATM Supportxccdf_org.ssgproject.content_rule_kernel_module_atm_disabled medium
Disable ATM Support
| Rule ID | xccdf_org.ssgproject.content_rule_kernel_module_atm_disabled | ||||||
| Result | notapplicable | ||||||
| Multi-check rule | no | ||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||
| Severity | medium | ||||||
| References: |
| ||||||
| Description | The Asynchronous Transfer Mode (ATM) is a protocol operating on
network, data link, and physical layers, based on virtual circuits
and virtual paths.
To configure the system to prevent the atm
kernel module from being loaded, add the following line to the file /etc/modprobe.d/atm.conf:
install atm /bin/falseThis entry will cause a non-zero return value during a atm module installation
and additionally convey the meaning of the entry to the user in form of an error message.
If you would like to omit a non-zero return value and an error message, you may want to add a different line instead
(both /bin/true and /bin/false are allowed by OVAL and will be accepted by the scan):
install atm /bin/true | ||||||
| Rationale | Disabling ATM protects the system against exploitation of any
flaws in its implementation. |
Disable CAN Supportxccdf_org.ssgproject.content_rule_kernel_module_can_disabled medium
Disable CAN Support
| Rule ID | xccdf_org.ssgproject.content_rule_kernel_module_can_disabled | ||||||||||||
| Result | notapplicable | ||||||||||||
| Multi-check rule | no | ||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||
| Severity | medium | ||||||||||||
| References: |
| ||||||||||||
| Description | The Controller Area Network (CAN) is a serial communications
protocol which was initially developed for automotive and
is now also used in marine, industrial, and medical applications.
To configure the system to prevent the can
kernel module from being loaded, add the following line to the file /etc/modprobe.d/can.conf:
install can /bin/falseThis entry will cause a non-zero return value during a can module installation
and additionally convey the meaning of the entry to the user in form of an error message.
If you would like to omit a non-zero return value and an error message, you may want to add a different line instead
(both /bin/true and /bin/false are allowed by OVAL and will be accepted by the scan):
install can /bin/true | ||||||||||||
| Rationale | Disabling CAN protects the system against exploitation of any
flaws in its implementation. |
Disable DCCP Supportxccdf_org.ssgproject.content_rule_kernel_module_dccp_disabled medium
Disable DCCP Support
| Rule ID | xccdf_org.ssgproject.content_rule_kernel_module_dccp_disabled | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | The Datagram Congestion Control Protocol (DCCP) is a
relatively new transport layer protocol, designed to support
streaming media and telephony.
To configure the system to prevent the dccp
kernel module from being loaded, add the following line to the file /etc/modprobe.d/dccp.conf:
install dccp /bin/falseThis entry will cause a non-zero return value during a dccp module installation
and additionally convey the meaning of the entry to the user in form of an error message.
If you would like to omit a non-zero return value and an error message, you may want to add a different line instead
(both /bin/true and /bin/false are allowed by OVAL and will be accepted by the scan):
install dccp /bin/true | ||||||||||||||||||||||||||
| Rationale | Disabling DCCP protects
the system against exploitation of any flaws in its implementation. |
Disable IEEE 1394 (FireWire) Supportxccdf_org.ssgproject.content_rule_kernel_module_firewire-core_disabled low
Disable IEEE 1394 (FireWire) Support
| Rule ID | xccdf_org.ssgproject.content_rule_kernel_module_firewire-core_disabled | ||||||||
| Result | notapplicable | ||||||||
| Multi-check rule | no | ||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||
| Severity | low | ||||||||
| References: |
| ||||||||
| Description | The IEEE 1394 (FireWire) is a serial bus standard for
high-speed real-time communication.
To configure the system to prevent the firewire-core
kernel module from being loaded, add the following line to the file /etc/modprobe.d/firewire-core.conf:
install firewire-core /bin/falseThis entry will cause a non-zero return value during a firewire-core module installation
and additionally convey the meaning of the entry to the user in form of an error message.
If you would like to omit a non-zero return value and an error message, you may want to add a different line instead
(both /bin/true and /bin/false are allowed by OVAL and will be accepted by the scan):
install firewire-core /bin/true | ||||||||
| Rationale | Disabling FireWire protects the system against exploitation of any
flaws in its implementation. |
Disable RDS Supportxccdf_org.ssgproject.content_rule_kernel_module_rds_disabled low
Disable RDS Support
| Rule ID | xccdf_org.ssgproject.content_rule_kernel_module_rds_disabled | ||||||||||||||||
| Result | notapplicable | ||||||||||||||||
| Multi-check rule | no | ||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||
| Severity | low | ||||||||||||||||
| References: |
| ||||||||||||||||
| Description | The Reliable Datagram Sockets (RDS) protocol is a transport
layer protocol designed to provide reliable high-bandwidth,
low-latency communications between nodes in a cluster.
To configure the system to prevent the rds
kernel module from being loaded, add the following line to the file /etc/modprobe.d/rds.conf:
install rds /bin/falseThis entry will cause a non-zero return value during a rds module installation
and additionally convey the meaning of the entry to the user in form of an error message.
If you would like to omit a non-zero return value and an error message, you may want to add a different line instead
(both /bin/true and /bin/false are allowed by OVAL and will be accepted by the scan):
install rds /bin/true | ||||||||||||||||
| Rationale | Disabling RDS protects
the system against exploitation of any flaws in its implementation. |
Disable SCTP Supportxccdf_org.ssgproject.content_rule_kernel_module_sctp_disabled medium
Disable SCTP Support
| Rule ID | xccdf_org.ssgproject.content_rule_kernel_module_sctp_disabled | ||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||
| Description | The Stream Control Transmission Protocol (SCTP) is a
transport layer protocol, designed to support the idea of
message-oriented communication, with several streams of messages
within one connection.
To configure the system to prevent the sctp
kernel module from being loaded, add the following line to the file /etc/modprobe.d/sctp.conf:
install sctp /bin/falseThis entry will cause a non-zero return value during a sctp module installation
and additionally convey the meaning of the entry to the user in form of an error message.
If you would like to omit a non-zero return value and an error message, you may want to add a different line instead
(both /bin/true and /bin/false are allowed by OVAL and will be accepted by the scan):
install sctp /bin/true | ||||||||||||||||||||||||||||||||
| Rationale | Disabling SCTP protects
the system against exploitation of any flaws in its implementation. |
Disable TIPC Supportxccdf_org.ssgproject.content_rule_kernel_module_tipc_disabled low
Disable TIPC Support
| Rule ID | xccdf_org.ssgproject.content_rule_kernel_module_tipc_disabled | ||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||
| Severity | low | ||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||
| Description | The Transparent Inter-Process Communication (TIPC) protocol
is designed to provide communications between nodes in a
cluster.
To configure the system to prevent the tipc
kernel module from being loaded, add the following line to the file /etc/modprobe.d/tipc.conf:
install tipc /bin/falseThis entry will cause a non-zero return value during a tipc module installation
and additionally convey the meaning of the entry to the user in form of an error message.
If you would like to omit a non-zero return value and an error message, you may want to add a different line instead
(both /bin/true and /bin/false are allowed by OVAL and will be accepted by the scan):
install tipc /bin/true | ||||||||||||||||||||||||
| Rationale | Disabling TIPC protects
the system against exploitation of any flaws in its implementation. | ||||||||||||||||||||||||
| Warnings | warning
This configuration baseline was created to deploy the base operating system for general purpose
workloads. When the operating system is configured for certain purposes, such as
a node in High Performance Computing cluster, it is expected that
the tipc kernel module will be loaded. |
Disable Bluetooth Servicexccdf_org.ssgproject.content_rule_service_bluetooth_disabled medium
Disable Bluetooth Service
| Rule ID | xccdf_org.ssgproject.content_rule_service_bluetooth_disabled | ||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||
| References: |
| ||||||||||||||||||||
| Description |
The bluetooth service can be disabled with the following command:
$ sudo systemctl mask --now bluetooth.service $ sudo service bluetooth stop | ||||||||||||||||||||
| Rationale | Disabling the bluetooth service prevents the system from attempting
connections to Bluetooth devices, which entails some security risk.
Nevertheless, variation in this risk decision may be expected due to the
utility of Bluetooth connectivity and its limited range. |
Deactivate Wireless Network Interfacesxccdf_org.ssgproject.content_rule_wireless_disable_interfaces medium
Deactivate Wireless Network Interfaces
| Rule ID | xccdf_org.ssgproject.content_rule_wireless_disable_interfaces | ||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||
| Description | Deactivating wireless network interfaces should prevent normal usage of the wireless
capability.
Configure the system to disable all wireless network interfaces with the following command: $ sudo nmcli radio all off | ||||||||||||||||||||||||||||||||
| Rationale | The use of wireless networking can introduce many different attack vectors into
the organization's network. Common attack vectors such as malicious association
and ad hoc networks will allow an attacker to spoof a wireless access point
(AP), allowing validated systems to connect to the malicious AP and enabling the
attacker to monitor and record network traffic. These malicious APs can also
serve to create a man-in-the-middle attack or be used to create a denial of
service to valid network resources. |
Verify Group Who Owns Backup group Filexccdf_org.ssgproject.content_rule_file_groupowner_backup_etc_group medium
Verify Group Who Owns Backup group File
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupowner_backup_etc_group | ||||||||||||||||
| Result | pass | ||||||||||||||||
| Multi-check rule | no | ||||||||||||||||
| OVAL Definition ID | oval:ssg-file_groupowner_backup_etc_group:def:1 | ||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||
| Severity | medium | ||||||||||||||||
| References: |
| ||||||||||||||||
| Description | To properly set the group owner of /etc/group-, run the command:
$ sudo chgrp root /etc/group- | ||||||||||||||||
| Rationale | The /etc/group- file is a backup file of /etc/group, and as such,
it contains information regarding groups that are configured on the system.
Protection of this file is important for system security. |
OVAL test results details
Testing group ownership of /etc/group- oval:ssg-test_file_groupowner_backup_etc_group_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_groupowner_backup_etc_group_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/group- | oval:ssg-symlink_file_groupowner:ste:1 | oval:ssg-state_file_groupowner_backup_etc_group_0_0:ste:1 |
Verify Group Who Owns Backup gshadow Filexccdf_org.ssgproject.content_rule_file_groupowner_backup_etc_gshadow medium
Verify Group Who Owns Backup gshadow File
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupowner_backup_etc_gshadow | ||||||||||||||
| Result | pass | ||||||||||||||
| Multi-check rule | no | ||||||||||||||
| OVAL Definition ID | oval:ssg-file_groupowner_backup_etc_gshadow:def:1 | ||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||
| Severity | medium | ||||||||||||||
| References: |
| ||||||||||||||
| Description | To properly set the group owner of /etc/gshadow-, run the command:
$ sudo chgrp root /etc/gshadow- | ||||||||||||||
| Rationale | The /etc/gshadow- file is a backup of /etc/gshadow, and as such,
it contains group password hashes. Protection of this file is critical for system security. |
OVAL test results details
Testing group ownership of /etc/gshadow- oval:ssg-test_file_groupowner_backup_etc_gshadow_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_groupowner_backup_etc_gshadow_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/gshadow- | oval:ssg-symlink_file_groupowner:ste:1 | oval:ssg-state_file_groupowner_backup_etc_gshadow_0_0:ste:1 |
Verify Group Who Owns Backup passwd Filexccdf_org.ssgproject.content_rule_file_groupowner_backup_etc_passwd medium
Verify Group Who Owns Backup passwd File
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupowner_backup_etc_passwd | ||||||||||||||||
| Result | pass | ||||||||||||||||
| Multi-check rule | no | ||||||||||||||||
| OVAL Definition ID | oval:ssg-file_groupowner_backup_etc_passwd:def:1 | ||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||
| Severity | medium | ||||||||||||||||
| References: |
| ||||||||||||||||
| Description | To properly set the group owner of /etc/passwd-, run the command:
$ sudo chgrp root /etc/passwd- | ||||||||||||||||
| Rationale | The /etc/passwd- file is a backup file of /etc/passwd, and as such,
it contains information about the users that are configured on the system.
Protection of this file is critical for system security. |
OVAL test results details
Testing group ownership of /etc/passwd- oval:ssg-test_file_groupowner_backup_etc_passwd_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_groupowner_backup_etc_passwd_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/passwd- | oval:ssg-symlink_file_groupowner:ste:1 | oval:ssg-state_file_groupowner_backup_etc_passwd_0_0:ste:1 |
Verify User Who Owns Backup shadow Filexccdf_org.ssgproject.content_rule_file_groupowner_backup_etc_shadow medium
Verify User Who Owns Backup shadow File
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupowner_backup_etc_shadow | ||||||||||||||
| Result | pass | ||||||||||||||
| Multi-check rule | no | ||||||||||||||
| OVAL Definition ID | oval:ssg-file_groupowner_backup_etc_shadow:def:1 | ||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||
| Severity | medium | ||||||||||||||
| References: |
| ||||||||||||||
| Description | To properly set the group owner of /etc/shadow-, run the command:
$ sudo chgrp root /etc/shadow- | ||||||||||||||
| Rationale | The /etc/shadow- file is a backup file of /etc/shadow, and as such,
it contains the list of local system accounts and password hashes.
Protection of this file is critical for system security. |
OVAL test results details
Testing group ownership of /etc/shadow- oval:ssg-test_file_groupowner_backup_etc_shadow_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_groupowner_backup_etc_shadow_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/shadow- | oval:ssg-symlink_file_groupowner:ste:1 | oval:ssg-state_file_groupowner_backup_etc_shadow_0_0:ste:1 |
Verify Group Who Owns group Filexccdf_org.ssgproject.content_rule_file_groupowner_etc_group medium
Verify Group Who Owns group File
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupowner_etc_group | ||||||||||||||||||||||||||||||||||
| Result | pass | ||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||
| OVAL Definition ID | oval:ssg-file_groupowner_etc_group:def:1 | ||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||
| Description | To properly set the group owner of /etc/group, run the command:
$ sudo chgrp root /etc/group | ||||||||||||||||||||||||||||||||||
| Rationale | The /etc/group file contains information regarding groups that are configured
on the system. Protection of this file is important for system security. |
OVAL test results details
Testing group ownership of /etc/group oval:ssg-test_file_groupowner_etc_group_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_groupowner_etc_group_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/group | oval:ssg-symlink_file_groupowner:ste:1 | oval:ssg-state_file_groupowner_etc_group_0_0:ste:1 |
Verify Group Who Owns gshadow Filexccdf_org.ssgproject.content_rule_file_groupowner_etc_gshadow medium
Verify Group Who Owns gshadow File
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupowner_etc_gshadow | ||||||||||||||||||||||||||||
| Result | pass | ||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||
| OVAL Definition ID | oval:ssg-file_groupowner_etc_gshadow:def:1 | ||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||
| Description | To properly set the group owner of /etc/gshadow, run the command:
$ sudo chgrp root /etc/gshadow | ||||||||||||||||||||||||||||
| Rationale | The /etc/gshadow file contains group password hashes. Protection of this file
is critical for system security. |
OVAL test results details
Testing group ownership of /etc/gshadow oval:ssg-test_file_groupowner_etc_gshadow_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_groupowner_etc_gshadow_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/gshadow | oval:ssg-symlink_file_groupowner:ste:1 | oval:ssg-state_file_groupowner_etc_gshadow_0_0:ste:1 |
Verify Group Who Owns passwd Filexccdf_org.ssgproject.content_rule_file_groupowner_etc_passwd medium
Verify Group Who Owns passwd File
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupowner_etc_passwd | ||||||||||||||||||||||||||||||||||
| Result | pass | ||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||
| OVAL Definition ID | oval:ssg-file_groupowner_etc_passwd:def:1 | ||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||
| Description | To properly set the group owner of /etc/passwd, run the command:
$ sudo chgrp root /etc/passwd | ||||||||||||||||||||||||||||||||||
| Rationale | The /etc/passwd file contains information about the users that are configured on
the system. Protection of this file is critical for system security. |
OVAL test results details
Testing group ownership of /etc/passwd oval:ssg-test_file_groupowner_etc_passwd_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_groupowner_etc_passwd_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/passwd | oval:ssg-symlink_file_groupowner:ste:1 | oval:ssg-state_file_groupowner_etc_passwd_0_0:ste:1 |
Verify Group Who Owns /etc/security/opasswd Filexccdf_org.ssgproject.content_rule_file_groupowner_etc_security_opasswd medium
Verify Group Who Owns /etc/security/opasswd File
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupowner_etc_security_opasswd | ||||
| Result | pass | ||||
| Multi-check rule | no | ||||
| OVAL Definition ID | oval:ssg-file_groupowner_etc_security_opasswd:def:1 | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | To properly set the group owner of /etc/security/opasswd, run the command:
$ sudo chgrp root /etc/security/opasswd | ||||
| Rationale | The /etc/security/opasswd file stores old passwords to prevent
password reuse. Protection of this file is critical for system security. |
OVAL test results details
Testing group ownership of /etc/security/opasswd oval:ssg-test_file_groupowner_etc_security_opasswd_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_groupowner_etc_security_opasswd_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/security/opasswd | oval:ssg-symlink_file_groupowner:ste:1 | oval:ssg-state_file_groupowner_etc_security_opasswd_0_0:ste:1 |
Verify Group Who Owns /etc/security/opasswd.old Filexccdf_org.ssgproject.content_rule_file_groupowner_etc_security_opasswd_old medium
Verify Group Who Owns /etc/security/opasswd.old File
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupowner_etc_security_opasswd_old | ||||
| Result | pass | ||||
| Multi-check rule | no | ||||
| OVAL Definition ID | oval:ssg-file_groupowner_etc_security_opasswd_old:def:1 | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | To properly set the group owner of /etc/security/opasswd.old, run the command:
$ sudo chgrp root /etc/security/opasswd.old | ||||
| Rationale | The /etc/security/opasswd.old file stores backups of old passwords to prevent
password reuse. Protection of this file is critical for system security. |
OVAL test results details
Testing group ownership of /etc/security/opasswd.old oval:ssg-test_file_groupowner_etc_security_opasswd_old_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_groupowner_etc_security_opasswd_old_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/security/opasswd.old | oval:ssg-symlink_file_groupowner:ste:1 | oval:ssg-state_file_groupowner_etc_security_opasswd_old_0_0:ste:1 |
Verify Group Who Owns shadow Filexccdf_org.ssgproject.content_rule_file_groupowner_etc_shadow medium
Verify Group Who Owns shadow File
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupowner_etc_shadow | ||||||||||||||||||||||||||||||||||
| Result | pass | ||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||
| OVAL Definition ID | oval:ssg-file_groupowner_etc_shadow:def:1 | ||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||
| Description | To properly set the group owner of /etc/shadow, run the command:
$ sudo chgrp root /etc/shadow | ||||||||||||||||||||||||||||||||||
| Rationale | The /etc/shadow file stores password hashes. Protection of this file is
critical for system security. |
OVAL test results details
Testing group ownership of /etc/shadow oval:ssg-test_file_groupowner_etc_shadow_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_groupowner_etc_shadow_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/shadow | oval:ssg-symlink_file_groupowner:ste:1 | oval:ssg-state_file_groupowner_etc_shadow_0_0:ste:1 |
Verify Group Who Owns /etc/shells Filexccdf_org.ssgproject.content_rule_file_groupowner_etc_shells medium
Verify Group Who Owns /etc/shells File
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupowner_etc_shells | ||||||||
| Result | pass | ||||||||
| Multi-check rule | no | ||||||||
| OVAL Definition ID | oval:ssg-file_groupowner_etc_shells:def:1 | ||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||
| Severity | medium | ||||||||
| References: |
| ||||||||
| Description | To properly set the group owner of /etc/shells, run the command:
$ sudo chgrp root /etc/shells | ||||||||
| Rationale | The /etc/shells file contains the list of full pathnames to shells on the system.
Since this file is used by many system programs this file should be protected. |
OVAL test results details
Testing group ownership of /etc/shells oval:ssg-test_file_groupowner_etc_shells_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_groupowner_etc_shells_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/shells | oval:ssg-symlink_file_groupowner:ste:1 | oval:ssg-state_file_groupowner_etc_shells_0_0:ste:1 |
Verify User Who Owns Backup group Filexccdf_org.ssgproject.content_rule_file_owner_backup_etc_group medium
Verify User Who Owns Backup group File
| Rule ID | xccdf_org.ssgproject.content_rule_file_owner_backup_etc_group | ||||||||||||||||
| Result | pass | ||||||||||||||||
| Multi-check rule | no | ||||||||||||||||
| OVAL Definition ID | oval:ssg-file_owner_backup_etc_group:def:1 | ||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||
| Severity | medium | ||||||||||||||||
| References: |
| ||||||||||||||||
| Description | To properly set the owner of /etc/group-, run the command:
$ sudo chown root /etc/group- | ||||||||||||||||
| Rationale | The /etc/group- file is a backup file of /etc/group, and as such,
it contains information regarding groups that are configured on the system.
Protection of this file is important for system security. |
OVAL test results details
Testing user ownership of /etc/group- oval:ssg-test_file_owner_backup_etc_group_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_owner_backup_etc_group_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/group- | oval:ssg-symlink_file_owner:ste:1 | oval:ssg-state_file_owner_backup_etc_group_0_0:ste:1 |
Verify User Who Owns Backup gshadow Filexccdf_org.ssgproject.content_rule_file_owner_backup_etc_gshadow medium
Verify User Who Owns Backup gshadow File
| Rule ID | xccdf_org.ssgproject.content_rule_file_owner_backup_etc_gshadow | ||||||||||||||
| Result | pass | ||||||||||||||
| Multi-check rule | no | ||||||||||||||
| OVAL Definition ID | oval:ssg-file_owner_backup_etc_gshadow:def:1 | ||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||
| Severity | medium | ||||||||||||||
| References: |
| ||||||||||||||
| Description | To properly set the owner of /etc/gshadow-, run the command:
$ sudo chown root /etc/gshadow- | ||||||||||||||
| Rationale | The /etc/gshadow- file is a backup of /etc/gshadow, and as such,
it contains group password hashes. Protection of this file is critical for system security. |
OVAL test results details
Testing user ownership of /etc/gshadow- oval:ssg-test_file_owner_backup_etc_gshadow_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_owner_backup_etc_gshadow_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/gshadow- | oval:ssg-symlink_file_owner:ste:1 | oval:ssg-state_file_owner_backup_etc_gshadow_0_0:ste:1 |
Verify User Who Owns Backup passwd Filexccdf_org.ssgproject.content_rule_file_owner_backup_etc_passwd medium
Verify User Who Owns Backup passwd File
| Rule ID | xccdf_org.ssgproject.content_rule_file_owner_backup_etc_passwd | ||||||||||||||||
| Result | pass | ||||||||||||||||
| Multi-check rule | no | ||||||||||||||||
| OVAL Definition ID | oval:ssg-file_owner_backup_etc_passwd:def:1 | ||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||
| Severity | medium | ||||||||||||||||
| References: |
| ||||||||||||||||
| Description | To properly set the owner of /etc/passwd-, run the command:
$ sudo chown root /etc/passwd- | ||||||||||||||||
| Rationale | The /etc/passwd- file is a backup file of /etc/passwd, and as such,
it contains information about the users that are configured on the system.
Protection of this file is critical for system security. |
OVAL test results details
Testing user ownership of /etc/passwd- oval:ssg-test_file_owner_backup_etc_passwd_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_owner_backup_etc_passwd_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/passwd- | oval:ssg-symlink_file_owner:ste:1 | oval:ssg-state_file_owner_backup_etc_passwd_0_0:ste:1 |
Verify Group Who Owns Backup shadow Filexccdf_org.ssgproject.content_rule_file_owner_backup_etc_shadow medium
Verify Group Who Owns Backup shadow File
| Rule ID | xccdf_org.ssgproject.content_rule_file_owner_backup_etc_shadow | ||||||||||||||||
| Result | pass | ||||||||||||||||
| Multi-check rule | no | ||||||||||||||||
| OVAL Definition ID | oval:ssg-file_owner_backup_etc_shadow:def:1 | ||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||
| Severity | medium | ||||||||||||||||
| References: |
| ||||||||||||||||
| Description | To properly set the owner of /etc/shadow-, run the command:
$ sudo chown root /etc/shadow- | ||||||||||||||||
| Rationale | The /etc/shadow- file is a backup file of /etc/shadow, and as such,
it contains the list of local system accounts and password hashes.
Protection of this file is critical for system security. |
OVAL test results details
Testing user ownership of /etc/shadow- oval:ssg-test_file_owner_backup_etc_shadow_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_owner_backup_etc_shadow_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/shadow- | oval:ssg-symlink_file_owner:ste:1 | oval:ssg-state_file_owner_backup_etc_shadow_0_0:ste:1 |
Verify User Who Owns group Filexccdf_org.ssgproject.content_rule_file_owner_etc_group medium
Verify User Who Owns group File
| Rule ID | xccdf_org.ssgproject.content_rule_file_owner_etc_group | ||||||||||||||||||||||||||||||||||
| Result | pass | ||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||
| OVAL Definition ID | oval:ssg-file_owner_etc_group:def:1 | ||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||
| Description | To properly set the owner of /etc/group, run the command:
$ sudo chown root /etc/group | ||||||||||||||||||||||||||||||||||
| Rationale | The /etc/group file contains information regarding groups that are configured
on the system. Protection of this file is important for system security. |
OVAL test results details
Testing user ownership of /etc/group oval:ssg-test_file_owner_etc_group_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_owner_etc_group_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/group | oval:ssg-symlink_file_owner:ste:1 | oval:ssg-state_file_owner_etc_group_0_0:ste:1 |
Verify User Who Owns gshadow Filexccdf_org.ssgproject.content_rule_file_owner_etc_gshadow medium
Verify User Who Owns gshadow File
| Rule ID | xccdf_org.ssgproject.content_rule_file_owner_etc_gshadow | ||||||||||||||||||||||||||||
| Result | pass | ||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||
| OVAL Definition ID | oval:ssg-file_owner_etc_gshadow:def:1 | ||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||
| Description | To properly set the owner of /etc/gshadow, run the command:
$ sudo chown root /etc/gshadow | ||||||||||||||||||||||||||||
| Rationale | The /etc/gshadow file contains group password hashes. Protection of this file
is critical for system security. |
OVAL test results details
Testing user ownership of /etc/gshadow oval:ssg-test_file_owner_etc_gshadow_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_owner_etc_gshadow_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/gshadow | oval:ssg-symlink_file_owner:ste:1 | oval:ssg-state_file_owner_etc_gshadow_0_0:ste:1 |
Verify User Who Owns passwd Filexccdf_org.ssgproject.content_rule_file_owner_etc_passwd medium
Verify User Who Owns passwd File
| Rule ID | xccdf_org.ssgproject.content_rule_file_owner_etc_passwd | ||||||||||||||||||||||||||||||||||
| Result | pass | ||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||
| OVAL Definition ID | oval:ssg-file_owner_etc_passwd:def:1 | ||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||
| Description | To properly set the owner of /etc/passwd, run the command:
$ sudo chown root /etc/passwd | ||||||||||||||||||||||||||||||||||
| Rationale | The /etc/passwd file contains information about the users that are configured on
the system. Protection of this file is critical for system security. |
OVAL test results details
Testing user ownership of /etc/passwd oval:ssg-test_file_owner_etc_passwd_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_owner_etc_passwd_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/passwd | oval:ssg-symlink_file_owner:ste:1 | oval:ssg-state_file_owner_etc_passwd_0_0:ste:1 |
Verify User Who Owns /etc/security/opasswd Filexccdf_org.ssgproject.content_rule_file_owner_etc_security_opasswd medium
Verify User Who Owns /etc/security/opasswd File
| Rule ID | xccdf_org.ssgproject.content_rule_file_owner_etc_security_opasswd | ||||
| Result | pass | ||||
| Multi-check rule | no | ||||
| OVAL Definition ID | oval:ssg-file_owner_etc_security_opasswd:def:1 | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | To properly set the owner of /etc/security/opasswd, run the command:
$ sudo chown root /etc/security/opasswd | ||||
| Rationale | The /etc/security/opasswd file stores old passwords to prevent
password reuse. Protection of this file is critical for system security. |
OVAL test results details
Testing user ownership of /etc/security/opasswd oval:ssg-test_file_owner_etc_security_opasswd_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_owner_etc_security_opasswd_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/security/opasswd | oval:ssg-symlink_file_owner:ste:1 | oval:ssg-state_file_owner_etc_security_opasswd_0_0:ste:1 |
Verify User Who Owns /etc/security/opasswd.old Filexccdf_org.ssgproject.content_rule_file_owner_etc_security_opasswd_old medium
Verify User Who Owns /etc/security/opasswd.old File
| Rule ID | xccdf_org.ssgproject.content_rule_file_owner_etc_security_opasswd_old | ||||
| Result | pass | ||||
| Multi-check rule | no | ||||
| OVAL Definition ID | oval:ssg-file_owner_etc_security_opasswd_old:def:1 | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | To properly set the owner of /etc/security/opasswd.old, run the command:
$ sudo chown root /etc/security/opasswd.old | ||||
| Rationale | The /etc/security/opasswd.old file stores backups of old passwords to prevent
password reuse. Protection of this file is critical for system security. |
OVAL test results details
Testing user ownership of /etc/security/opasswd.old oval:ssg-test_file_owner_etc_security_opasswd_old_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_owner_etc_security_opasswd_old_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/security/opasswd.old | oval:ssg-symlink_file_owner:ste:1 | oval:ssg-state_file_owner_etc_security_opasswd_old_0_0:ste:1 |
Verify User Who Owns shadow Filexccdf_org.ssgproject.content_rule_file_owner_etc_shadow medium
Verify User Who Owns shadow File
| Rule ID | xccdf_org.ssgproject.content_rule_file_owner_etc_shadow | ||||||||||||||||||||||||||||||||||
| Result | pass | ||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||
| OVAL Definition ID | oval:ssg-file_owner_etc_shadow:def:1 | ||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||
| Description | To properly set the owner of /etc/shadow, run the command:
$ sudo chown root /etc/shadow | ||||||||||||||||||||||||||||||||||
| Rationale | The /etc/shadow file contains the list of local
system accounts and stores password hashes. Protection of this file is
critical for system security. Failure to give ownership of this file
to root provides the designated owner with access to sensitive information
which could weaken the system security posture. |
OVAL test results details
Testing user ownership of /etc/shadow oval:ssg-test_file_owner_etc_shadow_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_owner_etc_shadow_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/shadow | oval:ssg-symlink_file_owner:ste:1 | oval:ssg-state_file_owner_etc_shadow_0_0:ste:1 |
Verify Who Owns /etc/shells Filexccdf_org.ssgproject.content_rule_file_owner_etc_shells medium
Verify Who Owns /etc/shells File
| Rule ID | xccdf_org.ssgproject.content_rule_file_owner_etc_shells | ||||||||
| Result | pass | ||||||||
| Multi-check rule | no | ||||||||
| OVAL Definition ID | oval:ssg-file_owner_etc_shells:def:1 | ||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||
| Severity | medium | ||||||||
| References: |
| ||||||||
| Description | To properly set the owner of /etc/shells, run the command:
$ sudo chown root /etc/shells | ||||||||
| Rationale | The /etc/shells file contains the list of full pathnames to shells on the system.
Since this file is used by many system programs this file should be protected. |
OVAL test results details
Testing user ownership of /etc/shells oval:ssg-test_file_owner_etc_shells_0:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_file_owner_etc_shells_0:obj:1 of type file_object
| Filepath | Filter | Filter |
|---|---|---|
| /etc/shells | oval:ssg-symlink_file_owner:ste:1 | oval:ssg-state_file_owner_etc_shells_0_0:ste:1 |
Verify that All World-Writable Directories Have Sticky Bits Setxccdf_org.ssgproject.content_rule_dir_perms_world_writable_sticky_bits medium
Verify that All World-Writable Directories Have Sticky Bits Set
| Rule ID | xccdf_org.ssgproject.content_rule_dir_perms_world_writable_sticky_bits | ||||||||||||||||||||||||||||||
| Result | pass | ||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||
| OVAL Definition ID | oval:ssg-dir_perms_world_writable_sticky_bits:def:1 | ||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||
| Description | When the so-called 'sticky bit' is set on a directory, only the owner of a given file may
remove that file from the directory. Without the sticky bit, any user with write access to a
directory may remove any file in the directory. Setting the sticky bit prevents users from
removing each other's files. In cases where there is no reason for a directory to be
world-writable, a better solution is to remove that permission rather than to set the sticky
bit. However, if a directory is used by a particular application, consult that application's
documentation instead of blindly changing modes.
To set the sticky bit on a world-writable directory DIR, run the following command: $ sudo chmod +t DIR
| ||||||||||||||||||||||||||||||
| Rationale | Failing to set the sticky bit on public directories allows unauthorized users to delete files
in the directory structure.
The only authorized public directories are those temporary directories supplied with the system, or those designed to be temporary file repositories. The setting is normally reserved for directories used by the system, by users for temporary file storage (such as /tmp),
and for directories requiring global read/write access. | ||||||||||||||||||||||||||||||
| Warnings | warning
This rule can take a long time to perform the check and might consume a considerable
amount of resources depending on the number of directories present on the system. It is
not a problem in most cases, but especially systems with a large number of directories can
be affected. See https://access.redhat.com/articles/6999111.warning
Please note that there might be cases where the rule remediation cannot fix directory permissions.
This can happen for example when running on a system with some immutable parts.
These immutable parts cannot be remediated because they are read-only.
Example of such directories can be OStree deployments located at /sysroot/ostree/deploy.
In such case, it is needed to make modifications to the underlying ostree snapshot and this is out of scope of regular rule remediation. |
OVAL test results details
Check the existence of world-writable directories without sticky bits oval:ssg-test_dir_perms_world_writable_sticky_bits:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_dir_perms_world_writable_sticky_bits:obj:1 of type file_object
| Behaviors | Path | Filename | Filter | |||
|---|---|---|---|---|---|---|
| oval:ssg-state_dir_perms_world_writable_sticky_bits:ste:1 |
Ensure All Files And Directories Are Owned by a Groupxccdf_org.ssgproject.content_rule_no_files_or_dirs_ungroupowned medium
Ensure All Files And Directories Are Owned by a Group
| Rule ID | xccdf_org.ssgproject.content_rule_no_files_or_dirs_ungroupowned | ||||
| Result | pass | ||||
| Multi-check rule | no | ||||
| OVAL Definition ID | oval:ssg-no_files_or_dirs_ungroupowned:def:1 | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | If any files or directories are not group-owned by a valid defined group, the cause of the lack of
group-ownership must be investigated. Following this, those files should be deleted or
assigned to an appropriate group. The groups need to be defined in /etc/group
or in /usr/lib/group if nss-altfiles are configured to be used
in /etc/nsswitch.conf.
Locate the mount points related to local devices by the following command:
$ findmnt -n -l -k -it $(awk '/nodev/ { print $2 }' /proc/filesystems | paste -sd,)
For all mount points listed by the previous command, it is necessary to search for files and directories which
do not belong to a valid group using the following command:
$ sudo find MOUNTPOINT -xdev -nogroup 2>/dev/null | ||||
| Rationale | Unowned files and directories do not directly imply a security problem, but they are generally a sign that
something is amiss. They may be caused by an intruder, by incorrect software installation or
draft software removal, or by failure to remove all files belonging to a deleted account, or
other similar cases. The files and directories should be repaired so they will not cause problems when
accounts are created in the future, and the cause should be discovered and addressed. | ||||
| Warnings | warning
This rule only considers local groups as valid groups.
If you have your groups defined outside /etc/group or /usr/lib/group, the rule won't consider those.warning
This rule can take a long time to perform the check and might consume a considerable
amount of resources depending on the number of files present on the system. It is not a
problem in most cases, but especially systems with a large number of files can be affected.
See https://access.redhat.com/articles/6999111. |
OVAL test results details
Test if /etc/nssswitch.conf contains 'altfiles' in 'group' key oval:ssg-test_no_files_or_dirs_ungroupowned_nsswitch_uses_altfiles:tst:1 false
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| false | /etc/nsswitch.conf | group: files [SUCCESS=merge] sss [SUCCESS=merge] systemd |
package nss-altfiles is installed oval:ssg-test_no_files_or_dirs_ungroupowned_package_nss-altfiles_installed:tst:1 false
No items have been found conforming to the following objects:
Object oval:ssg-obj_test_no_files_or_dirs_ungroupowned_package_nss-altfiles_installed:obj:1 of type rpminfo_object
| Name |
|---|
| nss-altfiles |
there are no files with group owner different than local groups oval:ssg-test_no_files_or_dirs_ungroupowned:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_no_files_or_dirs_ungroupowned_all:obj:1 of type file_object
| Set |
|---|
| oval:ssg-object_no_files_or_dirs_ungroupowned_files:obj:1 oval:ssg-object_no_files_or_dirs_ungroupowned_directories:obj:1 |
Test if /etc/nssswitch.conf contains 'altfiles' in 'group' key oval:ssg-test_no_files_or_dirs_ungroupowned_nsswitch_uses_altfiles:tst:1 false
Following items have been found on the system:
| Result of item-state comparison | Path | Content |
|---|---|---|
| false | /etc/nsswitch.conf | group: files [SUCCESS=merge] sss [SUCCESS=merge] systemd |
package nss-altfiles is installed oval:ssg-test_no_files_or_dirs_ungroupowned_package_nss-altfiles_installed:tst:1 false
No items have been found conforming to the following objects:
Object oval:ssg-obj_test_no_files_or_dirs_ungroupowned_package_nss-altfiles_installed:obj:1 of type rpminfo_object
| Name |
|---|
| nss-altfiles |
there are no files with group owner different than local groups oval:ssg-test_no_files_or_dirs_ungroupowned_with_usrlib:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-object_no_files_or_dirs_ungroupowned_all_with_usrlib:obj:1 of type file_object
| Set |
|---|
| oval:ssg-object_no_files_or_dirs_ungroupowned_files_with_usrlib:obj:1 oval:ssg-object_no_files_or_dirs_ungroupowned_directories_with_usrlib:obj:1 |
Ensure All Files And Directories Are Owned by a Userxccdf_org.ssgproject.content_rule_no_files_or_dirs_unowned_by_user medium
Ensure All Files And Directories Are Owned by a User
| Rule ID | xccdf_org.ssgproject.content_rule_no_files_or_dirs_unowned_by_user | ||||
| Result | notapplicable | ||||
| Multi-check rule | no | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | If any files or directories are not owned by a user, then the cause of their lack of ownership should be
investigated. Following this, the files should be deleted or assigned to an appropriate user.
Locate the mount points related to local devices by the following command:
$ findmnt -n -l -k -it $(awk '/nodev/ { print $2 }' /proc/filesystems | paste -sd,)
For all mount points listed by the previous command, it is necessary to search for files and directories which
do not belong to a valid user using the following command:
$ sudo find MOUNTPOINT -xdev -nouser 2>/dev/null | ||||
| Rationale | Unowned files and directories do not directly imply a security problem, but they are generally a sign that
something is amiss. They may be caused by an intruder, by incorrect software installation or
draft software removal, or by failure to remove all files belonging to a deleted account, or
other similar cases. The files and directories should be repaired so they will not cause problems when
accounts are created in the future, and the cause should be discovered and addressed. | ||||
| Warnings | warning
For this rule to evaluate centralized user accounts, getent must be working properly
so that running the command getent passwdreturns a list of all users in your organization. If using the System Security Services Daemon (SSSD), enumerate = truemust be configured in your organization's domain to return a complete list of users warning
This rule can take a long time to perform the check and might consume a considerable
amount of resources depending on the number of files present on the system. It is not a
problem in most cases, but especially systems with a large number of files can be affected.
See https://access.redhat.com/articles/6999111. |
Enable Kernel Parameter to Enforce DAC on Hardlinksxccdf_org.ssgproject.content_rule_sysctl_fs_protected_hardlinks medium
Enable Kernel Parameter to Enforce DAC on Hardlinks
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_fs_protected_hardlinks | ||||||||||||||
| Result | notapplicable | ||||||||||||||
| Multi-check rule | no | ||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||
| Severity | medium | ||||||||||||||
| References: |
| ||||||||||||||
| Description | To set the runtime status of the fs.protected_hardlinks kernel parameter, run the following command: $ sudo sysctl -w fs.protected_hardlinks=1To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: fs.protected_hardlinks = 1 | ||||||||||||||
| Rationale | By enabling this kernel parameter, users can no longer create soft or hard links to
files which they do not own. Disallowing such hardlinks mitigate vulnerabilities
based on insecure file system accessed by privileged programs, avoiding an
exploitation vector exploiting unsafe use of open() or creat(). |
Enable Kernel Parameter to Enforce DAC on Symlinksxccdf_org.ssgproject.content_rule_sysctl_fs_protected_symlinks medium
Enable Kernel Parameter to Enforce DAC on Symlinks
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_fs_protected_symlinks | ||||||||||||||
| Result | notapplicable | ||||||||||||||
| Multi-check rule | no | ||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||
| Severity | medium | ||||||||||||||
| References: |
| ||||||||||||||
| Description | To set the runtime status of the fs.protected_symlinks kernel parameter, run the following command: $ sudo sysctl -w fs.protected_symlinks=1To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: fs.protected_symlinks = 1 | ||||||||||||||
| Rationale | By enabling this kernel parameter, symbolic links are permitted to be followed
only when outside a sticky world-writable directory, or when the UID of the
link and follower match, or when the directory owner matches the symlink's owner.
Disallowing such symlinks helps mitigate vulnerabilities based on insecure file system
accessed by privileged programs, avoiding an exploitation vector exploiting unsafe use of
open() or creat(). |
Disable the Automounterxccdf_org.ssgproject.content_rule_service_autofs_disabled medium
Disable the Automounter
| Rule ID | xccdf_org.ssgproject.content_rule_service_autofs_disabled | ||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||
| Description | The autofs daemon mounts and unmounts filesystems, such as user
home directories shared via NFS, on demand. In addition, autofs can be used to handle
removable media, and the default configuration provides the cdrom device as /misc/cd.
However, this method of providing access to removable media is not common, so autofs
can almost always be disabled if NFS is not in use. Even if NFS is required, it may be
possible to configure filesystem mounts statically by editing /etc/fstab
rather than relying on the automounter.
The autofs service can be disabled with the following command:
$ sudo systemctl mask --now autofs.service | ||||||||||||||||||||||||||||
| Rationale | Disabling the automounter permits the administrator to
statically control filesystem mounting through /etc/fstab.
Additionally, automatically mounting filesystems permits easy introduction of unknown devices, thereby facilitating malicious activity. |
Disable Mounting of cramfsxccdf_org.ssgproject.content_rule_kernel_module_cramfs_disabled low
Disable Mounting of cramfs
| Rule ID | xccdf_org.ssgproject.content_rule_kernel_module_cramfs_disabled | ||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||
| Severity | low | ||||||||||||||||||||
| References: |
| ||||||||||||||||||||
| Description |
To configure the system to prevent the cramfs
kernel module from being loaded, add the following line to the file /etc/modprobe.d/cramfs.conf:
install cramfs /bin/falseThis entry will cause a non-zero return value during a cramfs module installation
and additionally convey the meaning of the entry to the user in form of an error message.
If you would like to omit a non-zero return value and an error message, you may want to add a different line instead
(both /bin/true and /bin/false are allowed by OVAL and will be accepted by the scan):
install cramfs /bin/trueThis effectively prevents usage of this uncommon filesystem. The cramfs filesystem type is a compressed read-only
Linux filesystem embedded in small footprint systems. A
cramfs image can be used without having to first
decompress the image. | ||||||||||||||||||||
| Rationale | Removing support for unneeded filesystem types reduces the local attack surface
of the server. |
Disable Mounting of freevxfsxccdf_org.ssgproject.content_rule_kernel_module_freevxfs_disabled low
Disable Mounting of freevxfs
| Rule ID | xccdf_org.ssgproject.content_rule_kernel_module_freevxfs_disabled | ||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||
| Severity | low | ||||||||||||||||||
| References: |
| ||||||||||||||||||
| Description |
To configure the system to prevent the freevxfs
kernel module from being loaded, add the following line to the file /etc/modprobe.d/freevxfs.conf:
install freevxfs /bin/falseThis entry will cause a non-zero return value during a freevxfs module installation
and additionally convey the meaning of the entry to the user in form of an error message.
If you would like to omit a non-zero return value and an error message, you may want to add a different line instead
(both /bin/true and /bin/false are allowed by OVAL and will be accepted by the scan):
install freevxfs /bin/trueThis effectively prevents usage of this uncommon filesystem. | ||||||||||||||||||
| Rationale | Linux kernel modules which implement filesystems that are not needed by the
local system should be disabled. |
Disable Mounting of hfsxccdf_org.ssgproject.content_rule_kernel_module_hfs_disabled low
Disable Mounting of hfs
| Rule ID | xccdf_org.ssgproject.content_rule_kernel_module_hfs_disabled | ||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||
| Severity | low | ||||||||||||||||||
| References: |
| ||||||||||||||||||
| Description |
To configure the system to prevent the hfs
kernel module from being loaded, add the following line to the file /etc/modprobe.d/hfs.conf:
install hfs /bin/falseThis entry will cause a non-zero return value during a hfs module installation
and additionally convey the meaning of the entry to the user in form of an error message.
If you would like to omit a non-zero return value and an error message, you may want to add a different line instead
(both /bin/true and /bin/false are allowed by OVAL and will be accepted by the scan):
install hfs /bin/trueThis effectively prevents usage of this uncommon filesystem. | ||||||||||||||||||
| Rationale | Linux kernel modules which implement filesystems that are not needed by the
local system should be disabled. |
Disable Mounting of hfsplusxccdf_org.ssgproject.content_rule_kernel_module_hfsplus_disabled low
Disable Mounting of hfsplus
| Rule ID | xccdf_org.ssgproject.content_rule_kernel_module_hfsplus_disabled | ||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||
| Severity | low | ||||||||||||||||||
| References: |
| ||||||||||||||||||
| Description |
To configure the system to prevent the hfsplus
kernel module from being loaded, add the following line to the file /etc/modprobe.d/hfsplus.conf:
install hfsplus /bin/falseThis entry will cause a non-zero return value during a hfsplus module installation
and additionally convey the meaning of the entry to the user in form of an error message.
If you would like to omit a non-zero return value and an error message, you may want to add a different line instead
(both /bin/true and /bin/false are allowed by OVAL and will be accepted by the scan):
install hfsplus /bin/trueThis effectively prevents usage of this uncommon filesystem. | ||||||||||||||||||
| Rationale | Linux kernel modules which implement filesystems that are not needed by the
local system should be disabled. |
Disable Mounting of jffs2xccdf_org.ssgproject.content_rule_kernel_module_jffs2_disabled low
Disable Mounting of jffs2
| Rule ID | xccdf_org.ssgproject.content_rule_kernel_module_jffs2_disabled | ||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||
| Severity | low | ||||||||||||||||||
| References: |
| ||||||||||||||||||
| Description |
To configure the system to prevent the jffs2
kernel module from being loaded, add the following line to the file /etc/modprobe.d/jffs2.conf:
install jffs2 /bin/falseThis entry will cause a non-zero return value during a jffs2 module installation
and additionally convey the meaning of the entry to the user in form of an error message.
If you would like to omit a non-zero return value and an error message, you may want to add a different line instead
(both /bin/true and /bin/false are allowed by OVAL and will be accepted by the scan):
install jffs2 /bin/trueThis effectively prevents usage of this uncommon filesystem. | ||||||||||||||||||
| Rationale | Linux kernel modules which implement filesystems that are not needed by the
local system should be disabled. |
Disable Mounting of squashfsxccdf_org.ssgproject.content_rule_kernel_module_squashfs_disabled low
Disable Mounting of squashfs
| Rule ID | xccdf_org.ssgproject.content_rule_kernel_module_squashfs_disabled | ||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||
| Severity | low | ||||||||||||||||||
| References: |
| ||||||||||||||||||
| Description |
To configure the system to prevent the squashfs
kernel module from being loaded, add the following line to the file /etc/modprobe.d/squashfs.conf:
install squashfs /bin/falseThis entry will cause a non-zero return value during a squashfs module installation
and additionally convey the meaning of the entry to the user in form of an error message.
If you would like to omit a non-zero return value and an error message, you may want to add a different line instead
(both /bin/true and /bin/false are allowed by OVAL and will be accepted by the scan):
install squashfs /bin/trueThis effectively prevents usage of this uncommon filesystem. The squashfs filesystem type is a compressed read-only Linux
filesystem embedded in small footprint systems (similar to
cramfs). A squashfs image can be used without having
to first decompress the image. | ||||||||||||||||||
| Rationale | Removing support for unneeded filesystem types reduces the local attack
surface of the system. |
Disable Mounting of udfxccdf_org.ssgproject.content_rule_kernel_module_udf_disabled low
Disable Mounting of udf
| Rule ID | xccdf_org.ssgproject.content_rule_kernel_module_udf_disabled | ||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||
| Severity | low | ||||||||||||||||||
| References: |
| ||||||||||||||||||
| Description |
To configure the system to prevent the udf
kernel module from being loaded, add the following line to the file /etc/modprobe.d/udf.conf:
install udf /bin/falseThis entry will cause a non-zero return value during a udf module installation
and additionally convey the meaning of the entry to the user in form of an error message.
If you would like to omit a non-zero return value and an error message, you may want to add a different line instead
(both /bin/true and /bin/false are allowed by OVAL and will be accepted by the scan):
install udf /bin/trueThis effectively prevents usage of this uncommon filesystem. The udf filesystem type is the universal disk format
used to implement the ISO/IEC 13346 and ECMA-167 specifications.
This is an open vendor filesystem type for data storage on a broad
range of media. This filesystem type is necessary to support
writing DVDs and newer optical disc formats. | ||||||||||||||||||
| Rationale | Removing support for unneeded filesystem types reduces the local
attack surface of the system. |
Disable Modprobe Loading of USB Storage Driverxccdf_org.ssgproject.content_rule_kernel_module_usb-storage_disabled medium
Disable Modprobe Loading of USB Storage Driver
| Rule ID | xccdf_org.ssgproject.content_rule_kernel_module_usb-storage_disabled | ||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||
| Description | To prevent USB storage devices from being used, configure the kernel module loading system
to prevent automatic loading of the USB storage driver.
To configure the system to prevent the usb-storage
kernel module from being loaded, add the following line to the file /etc/modprobe.d/usb-storage.conf:
install usb-storage /bin/falseThis entry will cause a non-zero return value during a usb-storage module installation
and additionally convey the meaning of the entry to the user in form of an error message.
If you would like to omit a non-zero return value and an error message, you may want to add a different line instead
(both /bin/true and /bin/false are allowed by OVAL and will be accepted by the scan):
install usb-storage /bin/trueThis will prevent the modprobe program from loading the usb-storage
module, but will not prevent an administrator (or another program) from using the
insmod program to load the module manually. | ||||||||||||||||||||||||||||||||
| Rationale | USB storage devices such as thumb drives can be used to introduce
malicious software. |
Add nodev Option to /dev/shmxccdf_org.ssgproject.content_rule_mount_option_dev_shm_nodev medium
Add nodev Option to /dev/shm
| Rule ID | xccdf_org.ssgproject.content_rule_mount_option_dev_shm_nodev | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | The nodev mount option can be used to prevent creation of device
files in /dev/shm. Legitimate character and block devices should
not exist within temporary directories like /dev/shm.
Add the nodev option to the fourth column of
/etc/fstab for the line which controls mounting of
/dev/shm. | ||||||||||||||||||||||||||
| Rationale | The only legitimate location for device files is the /dev directory
located on the root partition. The only exception to this is chroot jails. |
Add noexec Option to /dev/shmxccdf_org.ssgproject.content_rule_mount_option_dev_shm_noexec medium
Add noexec Option to /dev/shm
| Rule ID | xccdf_org.ssgproject.content_rule_mount_option_dev_shm_noexec | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | The noexec mount option can be used to prevent binaries
from being executed out of /dev/shm.
It can be dangerous to allow the execution of binaries
from world-writable temporary storage directories such as /dev/shm.
Add the noexec option to the fourth column of
/etc/fstab for the line which controls mounting of
/dev/shm. | ||||||||||||||||||||||||||
| Rationale | Allowing users to execute binaries from world-writable directories
such as /dev/shm can expose the system to potential compromise. |
Add nosuid Option to /dev/shmxccdf_org.ssgproject.content_rule_mount_option_dev_shm_nosuid medium
Add nosuid Option to /dev/shm
| Rule ID | xccdf_org.ssgproject.content_rule_mount_option_dev_shm_nosuid | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | The nosuid mount option can be used to prevent execution
of setuid programs in /dev/shm. The SUID and SGID permissions should not
be required in these world-writable directories.
Add the nosuid option to the fourth column of
/etc/fstab for the line which controls mounting of
/dev/shm. | ||||||||||||||||||||||||||
| Rationale | The presence of SUID and SGID executables should be tightly controlled. Users
should not be able to execute SUID or SGID binaries from temporary storage partitions. |
Add nodev Option to /homexccdf_org.ssgproject.content_rule_mount_option_home_nodev unknown
Add nodev Option to /home
| Rule ID | xccdf_org.ssgproject.content_rule_mount_option_home_nodev | ||||||||
| Result | notapplicable | ||||||||
| Multi-check rule | no | ||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||
| Severity | unknown | ||||||||
| References: |
| ||||||||
| Description | The nodev mount option can be used to prevent device files from
being created in /home.
Legitimate character and block devices should exist only in
the /dev directory on the root partition or within chroot
jails built for system services.
Add the nodev option to the fourth column of
/etc/fstab for the line which controls mounting of
/home. | ||||||||
| Rationale | The only legitimate location for device files is the /dev directory
located on the root partition. The only exception to this is chroot jails. |
Add nosuid Option to /homexccdf_org.ssgproject.content_rule_mount_option_home_nosuid medium
Add nosuid Option to /home
| Rule ID | xccdf_org.ssgproject.content_rule_mount_option_home_nosuid | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | The nosuid mount option can be used to prevent
execution of setuid programs in /home. The SUID and SGID permissions
should not be required in these user data directories.
Add the nosuid option to the fourth column of
/etc/fstab for the line which controls mounting of
/home. | ||||||||||||||||||||||||||
| Rationale | The presence of SUID and SGID executables should be tightly controlled. Users
should not be able to execute SUID or SGID binaries from user home directory partitions. |
Add nodev Option to /tmpxccdf_org.ssgproject.content_rule_mount_option_tmp_nodev medium
Add nodev Option to /tmp
| Rule ID | xccdf_org.ssgproject.content_rule_mount_option_tmp_nodev | ||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||
| Description | The nodev mount option can be used to prevent device files from
being created in /tmp. Legitimate character and block devices
should not exist within temporary directories like /tmp.
Add the nodev option to the fourth column of
/etc/fstab for the line which controls mounting of
/tmp. | ||||||||||||||||||||||||
| Rationale | The only legitimate location for device files is the /dev directory
located on the root partition. The only exception to this is chroot jails. |
Add noexec Option to /tmpxccdf_org.ssgproject.content_rule_mount_option_tmp_noexec medium
Add noexec Option to /tmp
| Rule ID | xccdf_org.ssgproject.content_rule_mount_option_tmp_noexec | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | The noexec mount option can be used to prevent binaries
from being executed out of /tmp.
Add the noexec option to the fourth column of
/etc/fstab for the line which controls mounting of
/tmp. | ||||||||||||||||||||||||||
| Rationale | Allowing users to execute binaries from world-writable directories
such as /tmp should never be necessary in normal operation and
can expose the system to potential compromise. |
Add nosuid Option to /tmpxccdf_org.ssgproject.content_rule_mount_option_tmp_nosuid medium
Add nosuid Option to /tmp
| Rule ID | xccdf_org.ssgproject.content_rule_mount_option_tmp_nosuid | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | The nosuid mount option can be used to prevent
execution of setuid programs in /tmp. The SUID and SGID permissions
should not be required in these world-writable directories.
Add the nosuid option to the fourth column of
/etc/fstab for the line which controls mounting of
/tmp. | ||||||||||||||||||||||||||
| Rationale | The presence of SUID and SGID executables should be tightly controlled. Users
should not be able to execute SUID or SGID binaries from temporary storage partitions. |
Add nodev Option to /var/log/auditxccdf_org.ssgproject.content_rule_mount_option_var_log_audit_nodev medium
Add nodev Option to /var/log/audit
| Rule ID | xccdf_org.ssgproject.content_rule_mount_option_var_log_audit_nodev | ||||||||||||||||
| Result | notapplicable | ||||||||||||||||
| Multi-check rule | no | ||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||
| Severity | medium | ||||||||||||||||
| References: |
| ||||||||||||||||
| Description | The nodev mount option can be used to prevent device files from
being created in /var/log/audit.
Legitimate character and block devices should exist only in
the /dev directory on the root partition or within chroot
jails built for system services.
Add the nodev option to the fourth column of
/etc/fstab for the line which controls mounting of
/var/log/audit. | ||||||||||||||||
| Rationale | The only legitimate location for device files is the /dev directory
located on the root partition. The only exception to this is chroot jails. |
Add noexec Option to /var/log/auditxccdf_org.ssgproject.content_rule_mount_option_var_log_audit_noexec medium
Add noexec Option to /var/log/audit
| Rule ID | xccdf_org.ssgproject.content_rule_mount_option_var_log_audit_noexec | ||||||||||||||||
| Result | notapplicable | ||||||||||||||||
| Multi-check rule | no | ||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||
| Severity | medium | ||||||||||||||||
| References: |
| ||||||||||||||||
| Description | The noexec mount option can be used to prevent binaries
from being executed out of /var/log/audit.
Add the noexec option to the fourth column of
/etc/fstab for the line which controls mounting of
/var/log/audit. | ||||||||||||||||
| Rationale | Allowing users to execute binaries from directories containing audit log files
such as /var/log/audit should never be necessary in normal operation and
can expose the system to potential compromise. |
Add nosuid Option to /var/log/auditxccdf_org.ssgproject.content_rule_mount_option_var_log_audit_nosuid medium
Add nosuid Option to /var/log/audit
| Rule ID | xccdf_org.ssgproject.content_rule_mount_option_var_log_audit_nosuid | ||||||||||||||||
| Result | notapplicable | ||||||||||||||||
| Multi-check rule | no | ||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||
| Severity | medium | ||||||||||||||||
| References: |
| ||||||||||||||||
| Description | The nosuid mount option can be used to prevent
execution of setuid programs in /var/log/audit. The SUID and SGID permissions
should not be required in directories containing audit log files.
Add the nosuid option to the fourth column of
/etc/fstab for the line which controls mounting of
/var/log/audit. | ||||||||||||||||
| Rationale | The presence of SUID and SGID executables should be tightly controlled. Users
should not be able to execute SUID or SGID binaries from partitions
designated for audit log files. |
Add nodev Option to /var/logxccdf_org.ssgproject.content_rule_mount_option_var_log_nodev medium
Add nodev Option to /var/log
| Rule ID | xccdf_org.ssgproject.content_rule_mount_option_var_log_nodev | ||||||||||||||
| Result | notapplicable | ||||||||||||||
| Multi-check rule | no | ||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||
| Severity | medium | ||||||||||||||
| References: |
| ||||||||||||||
| Description | The nodev mount option can be used to prevent device files from
being created in /var/log.
Legitimate character and block devices should exist only in
the /dev directory on the root partition or within chroot
jails built for system services.
Add the nodev option to the fourth column of
/etc/fstab for the line which controls mounting of
/var/log. | ||||||||||||||
| Rationale | The only legitimate location for device files is the /dev directory
located on the root partition. The only exception to this is chroot jails. |
Add noexec Option to /var/logxccdf_org.ssgproject.content_rule_mount_option_var_log_noexec medium
Add noexec Option to /var/log
| Rule ID | xccdf_org.ssgproject.content_rule_mount_option_var_log_noexec | ||||||||||||||||
| Result | notapplicable | ||||||||||||||||
| Multi-check rule | no | ||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||
| Severity | medium | ||||||||||||||||
| References: |
| ||||||||||||||||
| Description | The noexec mount option can be used to prevent binaries
from being executed out of /var/log.
Add the noexec option to the fourth column of
/etc/fstab for the line which controls mounting of
/var/log. | ||||||||||||||||
| Rationale | Allowing users to execute binaries from directories containing log files
such as /var/log should never be necessary in normal operation and
can expose the system to potential compromise. |
Add nosuid Option to /var/logxccdf_org.ssgproject.content_rule_mount_option_var_log_nosuid medium
Add nosuid Option to /var/log
| Rule ID | xccdf_org.ssgproject.content_rule_mount_option_var_log_nosuid | ||||||||||||||||
| Result | notapplicable | ||||||||||||||||
| Multi-check rule | no | ||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||
| Severity | medium | ||||||||||||||||
| References: |
| ||||||||||||||||
| Description | The nosuid mount option can be used to prevent
execution of setuid programs in /var/log. The SUID and SGID permissions
should not be required in directories containing log files.
Add the nosuid option to the fourth column of
/etc/fstab for the line which controls mounting of
/var/log. | ||||||||||||||||
| Rationale | The presence of SUID and SGID executables should be tightly controlled. Users
should not be able to execute SUID or SGID binaries from partitions
designated for log files. |
Add nodev Option to /varxccdf_org.ssgproject.content_rule_mount_option_var_nodev medium
Add nodev Option to /var
| Rule ID | xccdf_org.ssgproject.content_rule_mount_option_var_nodev | ||||||||||||||
| Result | notapplicable | ||||||||||||||
| Multi-check rule | no | ||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||
| Severity | medium | ||||||||||||||
| References: |
| ||||||||||||||
| Description | The nodev mount option can be used to prevent device files from
being created in /var.
Legitimate character and block devices should exist only in
the /dev directory on the root partition or within chroot
jails built for system services.
Add the nodev option to the fourth column of
/etc/fstab for the line which controls mounting of
/var. | ||||||||||||||
| Rationale | The only legitimate location for device files is the /dev directory
located on the root partition. The only exception to this is chroot jails. |
Add nosuid Option to /varxccdf_org.ssgproject.content_rule_mount_option_var_nosuid medium
Add nosuid Option to /var
| Rule ID | xccdf_org.ssgproject.content_rule_mount_option_var_nosuid | ||||
| Result | notapplicable | ||||
| Multi-check rule | no | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | The nosuid mount option can be used to prevent
execution of setuid programs in /var. The SUID and SGID permissions
should not be required for this directory.
Add the nosuid option to the fourth column of
/etc/fstab for the line which controls mounting of
/var. | ||||
| Rationale | The presence of SUID and SGID executables should be tightly controlled. |
Add nodev Option to /var/tmpxccdf_org.ssgproject.content_rule_mount_option_var_tmp_nodev medium
Add nodev Option to /var/tmp
| Rule ID | xccdf_org.ssgproject.content_rule_mount_option_var_tmp_nodev | ||||||||
| Result | notapplicable | ||||||||
| Multi-check rule | no | ||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||
| Severity | medium | ||||||||
| References: |
| ||||||||
| Description | The nodev mount option can be used to prevent device files from
being created in /var/tmp. Legitimate character and block devices
should not exist within temporary directories like /var/tmp.
Add the nodev option to the fourth column of
/etc/fstab for the line which controls mounting of
/var/tmp. | ||||||||
| Rationale | The only legitimate location for device files is the /dev directory
located on the root partition. The only exception to this is chroot jails. |
Add noexec Option to /var/tmpxccdf_org.ssgproject.content_rule_mount_option_var_tmp_noexec medium
Add noexec Option to /var/tmp
| Rule ID | xccdf_org.ssgproject.content_rule_mount_option_var_tmp_noexec | ||||||||||
| Result | notapplicable | ||||||||||
| Multi-check rule | no | ||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||
| Severity | medium | ||||||||||
| References: |
| ||||||||||
| Description | The noexec mount option can be used to prevent binaries
from being executed out of /var/tmp.
Add the noexec option to the fourth column of
/etc/fstab for the line which controls mounting of
/var/tmp. | ||||||||||
| Rationale | Allowing users to execute binaries from world-writable directories
such as /var/tmp should never be necessary in normal operation and
can expose the system to potential compromise. |
Add nosuid Option to /var/tmpxccdf_org.ssgproject.content_rule_mount_option_var_tmp_nosuid medium
Add nosuid Option to /var/tmp
| Rule ID | xccdf_org.ssgproject.content_rule_mount_option_var_tmp_nosuid | ||||||||||
| Result | notapplicable | ||||||||||
| Multi-check rule | no | ||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||
| Severity | medium | ||||||||||
| References: |
| ||||||||||
| Description | The nosuid mount option can be used to prevent
execution of setuid programs in /var/tmp. The SUID and SGID permissions
should not be required in these world-writable directories.
Add the nosuid option to the fourth column of
/etc/fstab for the line which controls mounting of
/var/tmp. | ||||||||||
| Rationale | The presence of SUID and SGID executables should be tightly controlled. Users
should not be able to execute SUID or SGID binaries from temporary storage partitions. |
Disable core dump backtracesxccdf_org.ssgproject.content_rule_coredump_disable_backtraces medium
Disable core dump backtraces
| Rule ID | xccdf_org.ssgproject.content_rule_coredump_disable_backtraces | ||||||||||||||
| Result | notapplicable | ||||||||||||||
| Multi-check rule | no | ||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||
| Severity | medium | ||||||||||||||
| References: |
| ||||||||||||||
| Description | The ProcessSizeMax option in [Coredump] section
of /etc/systemd/coredump.conf or in a drop-in file under
/etc/systemd/coredump.conf.d/ specifies the maximum size in bytes
of a core which will be processed. Core dumps exceeding this size may be
stored, but the backtrace will not be generated. | ||||||||||||||
| Rationale | A core dump includes a memory image taken at the time the operating system
terminates an application. The memory image could contain sensitive data
and is generally useful only for developers or system operators trying to
debug problems.
Enabling core dumps on production systems is not recommended,
however there may be overriding operational requirements to enable advanced
debugging. Permitting temporary enablement of core dumps during such situations
should be reviewed through local needs and policy. | ||||||||||||||
| Warnings | warning
If the /etc/systemd/coredump.conf file or a drop-in file under /etc/systemd/coredump.conf.d/
does not already contain the [Coredump] section,
the value will not be configured correctly. |
Disable storing core dumpxccdf_org.ssgproject.content_rule_coredump_disable_storage medium
Disable storing core dump
| Rule ID | xccdf_org.ssgproject.content_rule_coredump_disable_storage | ||||||||||||||
| Result | notapplicable | ||||||||||||||
| Multi-check rule | no | ||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||
| Severity | medium | ||||||||||||||
| References: |
| ||||||||||||||
| Description | The Storage option in [Coredump] section
of /etc/systemd/coredump.conf or a drop-in file in
/etc/systemd/coredump.conf.d/*.conf
can be set to none to disable storing core dumps permanently. | ||||||||||||||
| Rationale | A core dump includes a memory image taken at the time the operating system
terminates an application. The memory image could contain sensitive data
and is generally useful only for developers or system operators trying to
debug problems. Enabling core dumps on production systems is not recommended,
however there may be overriding operational requirements to enable advanced
debugging. Permitting temporary enablement of core dumps during such situations
should be reviewed through local needs and policy. | ||||||||||||||
| Warnings | warning
If the /etc/systemd/coredump.conf file or a drop-in file under /etc/systemd/coredump.conf.d/
does not already contain the [Coredump] section,
the value will not be configured correctly. |
Disable Core Dumps for All Usersxccdf_org.ssgproject.content_rule_disable_users_coredumps medium
Disable Core Dumps for All Users
| Rule ID | xccdf_org.ssgproject.content_rule_disable_users_coredumps | ||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||
| Description | To disable core dumps for all users, add the following line to
/etc/security/limits.conf, or to a file within the
/etc/security/limits.d/ directory:
* hard core 0 | ||||||||||||||||||||||
| Rationale | A core dump includes a memory image taken at the time the operating system
terminates an application. The memory image could contain sensitive data and is generally useful
only for developers trying to debug problems. |
Disable Core Dumps for SUID programsxccdf_org.ssgproject.content_rule_sysctl_fs_suid_dumpable medium
Disable Core Dumps for SUID programs
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_fs_suid_dumpable | ||||||||||
| Result | notapplicable | ||||||||||
| Multi-check rule | no | ||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||
| Severity | medium | ||||||||||
| References: |
| ||||||||||
| Description | To set the runtime status of the fs.suid_dumpable kernel parameter, run the following command: $ sudo sysctl -w fs.suid_dumpable=0To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: fs.suid_dumpable = 0 | ||||||||||
| Rationale | The core dump of a setuid program is more likely to contain
sensitive data, as the program itself runs with greater privileges than the
user who initiated execution of the program. Disabling the ability for any
setuid program to write a core file decreases the risk of unauthorized access
of such data. |
Restrict Exposed Kernel Pointer Addresses Accessxccdf_org.ssgproject.content_rule_sysctl_kernel_kptr_restrict medium
Restrict Exposed Kernel Pointer Addresses Access
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_kernel_kptr_restrict | ||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||
| Severity | medium | ||||||||||||||||||
| References: |
| ||||||||||||||||||
| Description | To set the runtime status of the kernel.kptr_restrict kernel parameter, run the following command: $ sudo sysctl -w kernel.kptr_restrict=1
To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: kernel.kptr_restrict = 1
| ||||||||||||||||||
| Rationale | Exposing kernel pointers (through procfs or seq_printf()) exposes kernel
writeable structures which may contain functions pointers. If a write vulnerability
occurs in the kernel, allowing write access to any of this structure, the kernel can
be compromised. This option disallow any program without the CAP_SYSLOG capability
to get the addresses of kernel pointers by replacing them with 0. |
Enable Randomized Layout of Virtual Address Spacexccdf_org.ssgproject.content_rule_sysctl_kernel_randomize_va_space medium
Enable Randomized Layout of Virtual Address Space
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_kernel_randomize_va_space | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | To set the runtime status of the kernel.randomize_va_space kernel parameter, run the following command: $ sudo sysctl -w kernel.randomize_va_space=2To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: kernel.randomize_va_space = 2 | ||||||||||||||||||||||||||
| Rationale | Address space layout randomization (ASLR) makes it more difficult for an
attacker to predict the location of attack code they have introduced into a
process's address space during an attempt at exploitation. Additionally,
ASLR makes it more difficult for an attacker to know the location of
existing code in order to re-purpose it using return oriented programming
(ROP) techniques. |
Restrict Access to Kernel Message Bufferxccdf_org.ssgproject.content_rule_sysctl_kernel_dmesg_restrict low
Restrict Access to Kernel Message Buffer
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_kernel_dmesg_restrict | ||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||
| Severity | low | ||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||
| Description | To set the runtime status of the kernel.dmesg_restrict kernel parameter, run the following command: $ sudo sysctl -w kernel.dmesg_restrict=1To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: kernel.dmesg_restrict = 1 | ||||||||||||||||||||||
| Rationale | Unprivileged access to the kernel syslog can expose sensitive kernel
address information. |
Restrict usage of ptrace to descendant processesxccdf_org.ssgproject.content_rule_sysctl_kernel_yama_ptrace_scope medium
Restrict usage of ptrace to descendant processes
| Rule ID | xccdf_org.ssgproject.content_rule_sysctl_kernel_yama_ptrace_scope | ||||||||||||||||
| Result | notapplicable | ||||||||||||||||
| Multi-check rule | no | ||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||
| Severity | medium | ||||||||||||||||
| References: |
| ||||||||||||||||
| Description | To set the runtime status of the kernel.yama.ptrace_scope kernel parameter, run the following command: $ sudo sysctl -w kernel.yama.ptrace_scope=1To make sure that the setting is persistent, add the following line to a file in the directory /etc/sysctl.d: kernel.yama.ptrace_scope = 1 | ||||||||||||||||
| Rationale | Unrestricted usage of ptrace allows compromised binaries to run ptrace
on another processes of the user. Like this, the attacker can steal
sensitive information from the target processes (e.g. SSH sessions, web browser, ...)
without any additional assistance from the user (i.e. without resorting to phishing).
|
Install libselinux Packagexccdf_org.ssgproject.content_rule_package_libselinux_installed high
Install libselinux Package
| Rule ID | xccdf_org.ssgproject.content_rule_package_libselinux_installed | ||||||
| Result | notapplicable | ||||||
| Multi-check rule | no | ||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||
| Severity | high | ||||||
| References: |
| ||||||
| Description | The libselinux package can be installed with the following command:
$ sudo dnf install libselinux | ||||||
| Rationale | Security-enhanced Linux is a feature of the Linux kernel and a number of utilities
with enhanced security functionality designed to add mandatory access controls to Linux.
The libselinux package contains the core library of the Security-enhanced Linux system. |
Uninstall mcstrans Packagexccdf_org.ssgproject.content_rule_package_mcstrans_removed low
Uninstall mcstrans Package
| Rule ID | xccdf_org.ssgproject.content_rule_package_mcstrans_removed | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | low | ||
| References: |
| ||
| Description | The mcstransd daemon provides category label information
to client processes requesting information. The label translations are defined
in /etc/selinux/targeted/setrans.conf.
The mcstrans package can be removed with the following command:
$ sudo dnf remove mcstrans | ||
| Rationale | Since this service is not used very often, disable it to reduce the
amount of potentially vulnerable code running on the system. |
Uninstall setroubleshoot Packagexccdf_org.ssgproject.content_rule_package_setroubleshoot_removed low
Uninstall setroubleshoot Package
| Rule ID | xccdf_org.ssgproject.content_rule_package_setroubleshoot_removed | ||||
| Result | notapplicable | ||||
| Multi-check rule | no | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | low | ||||
| References: |
| ||||
| Description | The SETroubleshoot service notifies desktop users of SELinux
denials. The service provides information around configuration errors,
unauthorized intrusions, and other potential errors.
The setroubleshoot package can be removed with the following command:
$ sudo dnf remove setroubleshoot | ||||
| Rationale | The SETroubleshoot service is an unnecessary daemon to
have running on a server, especially if
X Windows is removed or disabled. |
Ensure SELinux Not Disabled in /etc/default/grubxccdf_org.ssgproject.content_rule_grub2_enable_selinux medium
Ensure SELinux Not Disabled in /etc/default/grub
| Rule ID | xccdf_org.ssgproject.content_rule_grub2_enable_selinux | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | SELinux can be disabled at boot time by an argument in
/etc/default/grub.
Remove any instances of selinux=0 from the kernel arguments in that
file to prevent SELinux from being disabled at boot. | ||||||||||||||||||||||||||
| Rationale | Disabling a major host protection feature, such as SELinux, at boot time prevents
it from confining system services at boot time. Further, it increases
the chances that it will remain off during system operation. |
Ensure SELinux is Not Disabledxccdf_org.ssgproject.content_rule_selinux_not_disabled high
Ensure SELinux is Not Disabled
| Rule ID | xccdf_org.ssgproject.content_rule_selinux_not_disabled | ||||
| Result | notapplicable | ||||
| Multi-check rule | no | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | high | ||||
| References: |
| ||||
| Description | The SELinux state should be set to enforcing or permissive at system boot
time. In the file /etc/selinux/config, add or correct the following line to configure
the system to boot into enforcing or permissive mode:
SELINUX=enforcingOR SELINUX=permissiveIf SELinux is currently disabled or not configured, ensure that all files have correct SELinux labels by running: fixfiles onbootThen reboot the system. | ||||
| Rationale | Running SELinux in disabled mode is strongly discouraged. It prevents enforcing the SELinux
controls without a system reboot. It also avoids labeling any persistent objects such as
files, making it difficult to enable SELinux in the future. | ||||
| Warnings | warning
The automated remediation checks the SELinux configuration in /etc/selinux/config.
If SELinux is already set to "enforcing" or "permissive", the current state is preserved
and no changes are made. If SELinux is "disabled" or not configured, the remediation will
adopt a conservative approach and set it to "permissive" in order to avoid any system
disruption and give the administrator the opportunity to assess the impact and necessary
efforts before setting it to "enforcing", which is strongly recommended. |
Configure SELinux Policyxccdf_org.ssgproject.content_rule_selinux_policytype medium
Configure SELinux Policy
| Rule ID | xccdf_org.ssgproject.content_rule_selinux_policytype | ||||||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||||
| Description | The SELinux targeted policy is appropriate for
general-purpose desktops and servers, as well as systems in many other roles.
To configure the system to use this policy, add or correct the following line
in /etc/selinux/config:
SELINUXTYPE=targeted
Other policies, such as mls, provide additional security labeling
and greater confinement but are not compatible with many general-purpose
use cases. | ||||||||||||||||||||||||||||||||||||||||
| Rationale | Setting the SELinux policy to targeted or a more specialized policy
ensures the system will confine processes that are likely to be
targeted for exploitation, such as network or system services.
Note: During the development or debugging of SELinux modules, it is common to temporarily place non-production systems in permissive mode. In such
temporary cases, SELinux policies should be developed, and once work
is completed, the system should be reconfigured to
targeted. |
Ensure SELinux State is Enforcingxccdf_org.ssgproject.content_rule_selinux_state high
Ensure SELinux State is Enforcing
| Rule ID | xccdf_org.ssgproject.content_rule_selinux_state | ||||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||
| Severity | high | ||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||
| Description | The SELinux state should be set to enforcing at
system boot time. In the file /etc/selinux/config, add or correct the
following line to configure the system to boot into enforcing mode:
SELINUX=enforcing
Ensure that all files have correct SELinux labels by running:
fixfiles onbootThen reboot the system. | ||||||||||||||||||||||||||||||||||||||
| Rationale | Setting the SELinux state to enforcing ensures SELinux is able to confine
potentially compromised processes to the security policy, which is designed to
prevent them from causing damage to the system or further elevating their
privileges. |
Disable Avahi Server Softwarexccdf_org.ssgproject.content_rule_service_avahi-daemon_disabled medium
Disable Avahi Server Software
| Rule ID | xccdf_org.ssgproject.content_rule_service_avahi-daemon_disabled | ||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||
| References: |
| ||||||||||||||||||||
| Description |
The avahi-daemon service can be disabled with the following command:
$ sudo systemctl mask --now avahi-daemon.service | ||||||||||||||||||||
| Rationale | Because the Avahi daemon service keeps an open network
port, it is subject to network attacks. Its functionality
is convenient but is only appropriate if the local network
can be trusted. |
Disable Cockpit Management Serverxccdf_org.ssgproject.content_rule_service_cockpit_disabled medium
Disable Cockpit Management Server
| Rule ID | xccdf_org.ssgproject.content_rule_service_cockpit_disabled | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | The Cockpit Management Server ( cockpit) provides a web based
login and management framework.
The cockpit service can be disabled with the following command:
$ sudo systemctl mask --now cockpit.service | ||
| Rationale | Cockpit provides a form of remote login. |
Ensure that /etc/at.allow existsxccdf_org.ssgproject.content_rule_file_at_allow_exists medium
Ensure that /etc/at.allow exists
| Rule ID | xccdf_org.ssgproject.content_rule_file_at_allow_exists | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | The file /etc/at.allow should exist and should be used instead
of /etc/at.deny. | ||
| Rationale | Using the at.allow file to control who can run at jobs enforces this who can schedule jobs.
It is easier to manage an allow list than a deny list. |
Ensure that /etc/at.deny does not existxccdf_org.ssgproject.content_rule_file_at_deny_not_exist medium
Ensure that /etc/at.deny does not exist
| Rule ID | xccdf_org.ssgproject.content_rule_file_at_deny_not_exist | ||||
| Result | notapplicable | ||||
| Multi-check rule | no | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | The file /etc/at.deny should not exist.
Use /etc/at.allow instead. | ||||
| Rationale | Access to at should be restricted.
It is easier to manage an allow list than a deny list. |
Ensure that /etc/cron.allow existsxccdf_org.ssgproject.content_rule_file_cron_allow_exists medium
Ensure that /etc/cron.allow exists
| Rule ID | xccdf_org.ssgproject.content_rule_file_cron_allow_exists | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | The file /etc/cron.allow should exist and should be used instead
of /etc/cron.deny. | ||
| Rationale | Access to crontab should be restricted.
It is easier to manage an allow list than a deny list.
Therefore, /etc/cron.allow needs to be created and used instead of /etc/cron.deny.
Regardless of the existence of any of these files, the root administrative user is always allowed to setup a crontab. |
Ensure that /etc/cron.deny does not existxccdf_org.ssgproject.content_rule_file_cron_deny_not_exist medium
Ensure that /etc/cron.deny does not exist
| Rule ID | xccdf_org.ssgproject.content_rule_file_cron_deny_not_exist | ||||
| Result | notapplicable | ||||
| Multi-check rule | no | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | The file /etc/cron.deny should not exist.
Use /etc/cron.allow instead. | ||||
| Rationale | Access to cron should be restricted.
It is easier to manage an allow list than a deny list. |
Verify Group Who Owns /etc/at.allow filexccdf_org.ssgproject.content_rule_file_groupowner_at_allow medium
Verify Group Who Owns /etc/at.allow file
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupowner_at_allow | ||||||
| Result | notapplicable | ||||||
| Multi-check rule | no | ||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||
| Severity | medium | ||||||
| References: |
| ||||||
| Description | If /etc/at.allow exists, it must be group-owned by root.
To properly set the group owner of /etc/at.allow, run the command:
$ sudo chgrp root /etc/at.allow | ||||||
| Rationale | If the owner of the at.allow file is not set to root, the possibility exists for an
unauthorized user to view or edit sensitive information. |
Verify Group Who Owns /etc/cron.allow filexccdf_org.ssgproject.content_rule_file_groupowner_cron_allow medium
Verify Group Who Owns /etc/cron.allow file
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupowner_cron_allow | ||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||
| Description | If /etc/cron.allow exists, it must be group-owned by root.
To properly set the group owner of /etc/cron.allow, run the command:
$ sudo chgrp root /etc/cron.allow | ||||||||||||||||||||||
| Rationale | If the owner of the cron.allow file is not set to root, the possibility exists for an
unauthorized user to view or edit sensitive information. |
Verify User Who Owns /etc/at.allow filexccdf_org.ssgproject.content_rule_file_owner_at_allow medium
Verify User Who Owns /etc/at.allow file
| Rule ID | xccdf_org.ssgproject.content_rule_file_owner_at_allow | ||||||
| Result | notapplicable | ||||||
| Multi-check rule | no | ||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||
| Severity | medium | ||||||
| References: |
| ||||||
| Description | If /etc/at.allow exists, it must be owned by root.
To properly set the owner of /etc/at.allow, run the command:
$ sudo chown root /etc/at.allow | ||||||
| Rationale | If the owner of the at.allow file is not set to root, the possibility exists for an
unauthorized user to view or edit sensitive information. |
Verify User Who Owns /etc/cron.allow filexccdf_org.ssgproject.content_rule_file_owner_cron_allow medium
Verify User Who Owns /etc/cron.allow file
| Rule ID | xccdf_org.ssgproject.content_rule_file_owner_cron_allow | ||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||
| Description | If /etc/cron.allow exists, it must be owned by root.
To properly set the owner of /etc/cron.allow, run the command:
$ sudo chown root /etc/cron.allow | ||||||||||||||||||||||
| Rationale | If the owner of the cron.allow file is not set to root, the possibility exists for an
unauthorized user to view or edit sensitive information. |
Install the cron servicexccdf_org.ssgproject.content_rule_package_cron_installed medium
Install the cron service
| Rule ID | xccdf_org.ssgproject.content_rule_package_cron_installed | ||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||
| Description | The Cron service should be installed. | ||||||||||||||||||||||||||||
| Rationale | The cron service allow periodic job execution, needed for almost all administrative tasks and services (software update, log rotating, etc.). Access to cron service should be restricted to administrative accounts only. |
Enable cron Servicexccdf_org.ssgproject.content_rule_service_crond_enabled medium
Enable cron Service
| Rule ID | xccdf_org.ssgproject.content_rule_service_crond_enabled | ||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||
| Severity | medium | ||||||||||||||||||
| References: |
| ||||||||||||||||||
| Description | The crond service is used to execute commands at
preconfigured times. It is required by almost all systems to perform necessary
maintenance tasks, such as notifying root of system activity.
The crond service can be enabled with the following command:
$ sudo systemctl enable crond.service | ||||||||||||||||||
| Rationale | Due to its usage for maintenance and security-supporting tasks,
enabling the cron daemon is essential. |
Verify Group Who Owns cron.dxccdf_org.ssgproject.content_rule_file_groupowner_cron_d medium
Verify Group Who Owns cron.d
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupowner_cron_d | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | To properly set the group owner of /etc/cron.d, run the command:
$ sudo chgrp root /etc/cron.d | ||||||||||||||||||||||||||
| Rationale | Service configuration files enable or disable features of their respective services that if configured incorrectly
can lead to insecure and vulnerable configurations. Therefore, service configuration files should be owned by the
correct group to prevent unauthorized changes. |
Verify Group Who Owns cron.dailyxccdf_org.ssgproject.content_rule_file_groupowner_cron_daily medium
Verify Group Who Owns cron.daily
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupowner_cron_daily | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | To properly set the group owner of /etc/cron.daily, run the command:
$ sudo chgrp root /etc/cron.daily | ||||||||||||||||||||||||||
| Rationale | Service configuration files enable or disable features of their respective services that if configured incorrectly
can lead to insecure and vulnerable configurations. Therefore, service configuration files should be owned by the
correct group to prevent unauthorized changes. |
Verify Group Who Owns cron.hourlyxccdf_org.ssgproject.content_rule_file_groupowner_cron_hourly medium
Verify Group Who Owns cron.hourly
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupowner_cron_hourly | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | To properly set the group owner of /etc/cron.hourly, run the command:
$ sudo chgrp root /etc/cron.hourly | ||||||||||||||||||||||||||
| Rationale | Service configuration files enable or disable features of their respective services that if configured incorrectly
can lead to insecure and vulnerable configurations. Therefore, service configuration files should be owned by the
correct group to prevent unauthorized changes. |
Verify Group Who Owns cron.monthlyxccdf_org.ssgproject.content_rule_file_groupowner_cron_monthly medium
Verify Group Who Owns cron.monthly
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupowner_cron_monthly | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | To properly set the group owner of /etc/cron.monthly, run the command:
$ sudo chgrp root /etc/cron.monthly | ||||||||||||||||||||||||||
| Rationale | Service configuration files enable or disable features of their respective services that if configured incorrectly
can lead to insecure and vulnerable configurations. Therefore, service configuration files should be owned by the
correct group to prevent unauthorized changes. |
Verify Group Who Owns cron.weeklyxccdf_org.ssgproject.content_rule_file_groupowner_cron_weekly medium
Verify Group Who Owns cron.weekly
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupowner_cron_weekly | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | To properly set the group owner of /etc/cron.weekly, run the command:
$ sudo chgrp root /etc/cron.weekly | ||||||||||||||||||||||||||
| Rationale | Service configuration files enable or disable features of their respective services that if configured incorrectly
can lead to insecure and vulnerable configurations. Therefore, service configuration files should be owned by the
correct group to prevent unauthorized changes. |
Verify Group Who Owns cron.yearlyxccdf_org.ssgproject.content_rule_file_groupowner_cron_yearly medium
Verify Group Who Owns cron.yearly
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupowner_cron_yearly | ||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||
| References: |
| ||||||||||||||||||||
| Description | To properly set the group owner of /etc/cron.yearly, run the command:
$ sudo chgrp root /etc/cron.yearly | ||||||||||||||||||||
| Rationale | Service configuration files enable or disable features of their respective services that if configured incorrectly
can lead to insecure and vulnerable configurations. Therefore, service configuration files should be owned by the
correct group to prevent unauthorized changes. |
Verify Group Who Owns Crontabxccdf_org.ssgproject.content_rule_file_groupowner_crontab medium
Verify Group Who Owns Crontab
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupowner_crontab | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | To properly set the group owner of /etc/crontab, run the command:
$ sudo chgrp root /etc/crontab | ||||||||||||||||||||||||||
| Rationale | Service configuration files enable or disable features of their respective services that if configured incorrectly
can lead to insecure and vulnerable configurations. Therefore, service configuration files should be owned by the
correct group to prevent unauthorized changes. |
Verify Owner on cron.dxccdf_org.ssgproject.content_rule_file_owner_cron_d medium
Verify Owner on cron.d
| Rule ID | xccdf_org.ssgproject.content_rule_file_owner_cron_d | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | To properly set the owner of /etc/cron.d, run the command:
$ sudo chown root /etc/cron.d | ||||||||||||||||||||||||||
| Rationale | Service configuration files enable or disable features of their respective services that if configured incorrectly
can lead to insecure and vulnerable configurations. Therefore, service configuration files should be owned by the
correct user to prevent unauthorized changes. |
Verify Owner on cron.dailyxccdf_org.ssgproject.content_rule_file_owner_cron_daily medium
Verify Owner on cron.daily
| Rule ID | xccdf_org.ssgproject.content_rule_file_owner_cron_daily | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | To properly set the owner of /etc/cron.daily, run the command:
$ sudo chown root /etc/cron.daily | ||||||||||||||||||||||||||
| Rationale | Service configuration files enable or disable features of their respective services that if configured incorrectly
can lead to insecure and vulnerable configurations. Therefore, service configuration files should be owned by the
correct user to prevent unauthorized changes. |
Verify Owner on cron.hourlyxccdf_org.ssgproject.content_rule_file_owner_cron_hourly medium
Verify Owner on cron.hourly
| Rule ID | xccdf_org.ssgproject.content_rule_file_owner_cron_hourly | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | To properly set the owner of /etc/cron.hourly, run the command:
$ sudo chown root /etc/cron.hourly | ||||||||||||||||||||||||||
| Rationale | Service configuration files enable or disable features of their respective services that if configured incorrectly
can lead to insecure and vulnerable configurations. Therefore, service configuration files should be owned by the
correct user to prevent unauthorized changes. |
Verify Owner on cron.monthlyxccdf_org.ssgproject.content_rule_file_owner_cron_monthly medium
Verify Owner on cron.monthly
| Rule ID | xccdf_org.ssgproject.content_rule_file_owner_cron_monthly | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | To properly set the owner of /etc/cron.monthly, run the command:
$ sudo chown root /etc/cron.monthly | ||||||||||||||||||||||||||
| Rationale | Service configuration files enable or disable features of their respective services that if configured incorrectly
can lead to insecure and vulnerable configurations. Therefore, service configuration files should be owned by the
correct user to prevent unauthorized changes. |
Verify Owner on cron.weeklyxccdf_org.ssgproject.content_rule_file_owner_cron_weekly medium
Verify Owner on cron.weekly
| Rule ID | xccdf_org.ssgproject.content_rule_file_owner_cron_weekly | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | To properly set the owner of /etc/cron.weekly, run the command:
$ sudo chown root /etc/cron.weekly | ||||||||||||||||||||||||||
| Rationale | Service configuration files enable or disable features of their respective services that if configured incorrectly
can lead to insecure and vulnerable configurations. Therefore, service configuration files should be owned by the
correct user to prevent unauthorized changes. |
Verify Owner on cron.yearlyxccdf_org.ssgproject.content_rule_file_owner_cron_yearly medium
Verify Owner on cron.yearly
| Rule ID | xccdf_org.ssgproject.content_rule_file_owner_cron_yearly | ||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||
| References: |
| ||||||||||||||||||||
| Description | To properly set the owner of /etc/cron.yearly, run the command:
$ sudo chown root /etc/cron.yearly | ||||||||||||||||||||
| Rationale | Service configuration files enable or disable features of their respective services that if configured incorrectly
can lead to insecure and vulnerable configurations. Therefore, service configuration files should be owned by the
correct user to prevent unauthorized changes. |
Verify Owner on crontabxccdf_org.ssgproject.content_rule_file_owner_crontab medium
Verify Owner on crontab
| Rule ID | xccdf_org.ssgproject.content_rule_file_owner_crontab | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | To properly set the owner of /etc/crontab, run the command:
$ sudo chown root /etc/crontab | ||||||||||||||||||||||||||
| Rationale | Service configuration files enable or disable features of their respective services that if configured incorrectly
can lead to insecure and vulnerable configurations. Therefore, service configuration files should be owned by the
correct user to prevent unauthorized changes. |
Uninstall kea Packagexccdf_org.ssgproject.content_rule_package_kea_removed medium
Uninstall kea Package
| Rule ID | xccdf_org.ssgproject.content_rule_package_kea_removed | ||||
| Result | pass | ||||
| Multi-check rule | no | ||||
| OVAL Definition ID | oval:ssg-package_kea_removed:def:1 | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | If the system does not need to act as a DHCP server,
the kea package can be uninstalled. | ||||
| Rationale | Removing the DHCP server ensures that it cannot be easily or
accidentally reactivated and disrupt network operation. |
OVAL test results details
package kea is removed oval:ssg-test_package_kea_removed:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-obj_test_package_kea_removed:obj:1 of type rpminfo_object
| Name |
|---|
| kea |
Uninstall bind Packagexccdf_org.ssgproject.content_rule_package_bind_removed low
Uninstall bind Package
| Rule ID | xccdf_org.ssgproject.content_rule_package_bind_removed | ||||||||||||||||
| Result | pass | ||||||||||||||||
| Multi-check rule | no | ||||||||||||||||
| OVAL Definition ID | oval:ssg-package_bind_removed:def:1 | ||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||
| Severity | low | ||||||||||||||||
| References: |
| ||||||||||||||||
| Description | The named service is provided by the bind package.
The bind package can be removed with the following command:
$ sudo dnf remove bind | ||||||||||||||||
| Rationale | If there is no need to make DNS server software available,
removing it provides a safeguard against its activation. |
OVAL test results details
package bind is removed oval:ssg-test_package_bind_removed:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-obj_test_package_bind_removed:obj:1 of type rpminfo_object
| Name |
|---|
| bind |
Disable dnsmasq Servicexccdf_org.ssgproject.content_rule_service_dnsmasq_disabled medium
Disable dnsmasq Service
| Rule ID | xccdf_org.ssgproject.content_rule_service_dnsmasq_disabled | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description |
The dnsmasq service can be disabled with the following command:
$ sudo systemctl mask --now dnsmasq.service | ||
| Rationale | Unless a system is specifically designated to act as a DNS
caching, DNS forwarding and/or DHCP server, it is recommended
that the package be removed to reduce the potential attack surface. |
Uninstall vsftpd Packagexccdf_org.ssgproject.content_rule_package_vsftpd_removed high
Uninstall vsftpd Package
| Rule ID | xccdf_org.ssgproject.content_rule_package_vsftpd_removed | ||||||||||||||||||||||
| Result | pass | ||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||
| OVAL Definition ID | oval:ssg-package_vsftpd_removed:def:1 | ||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||
| Severity | high | ||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||
| Description | The vsftpd package can be removed with the following command: $ sudo dnf remove vsftpd | ||||||||||||||||||||||
| Rationale | Removing the vsftpd package decreases the risk of its
accidental activation. |
OVAL test results details
package vsftpd is removed oval:ssg-test_package_vsftpd_removed:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-obj_test_package_vsftpd_removed:obj:1 of type rpminfo_object
| Name |
|---|
| vsftpd |
Remove ftp Packagexccdf_org.ssgproject.content_rule_package_ftp_removed low
Remove ftp Package
| Rule ID | xccdf_org.ssgproject.content_rule_package_ftp_removed | ||||
| Result | pass | ||||
| Multi-check rule | no | ||||
| OVAL Definition ID | oval:ssg-package_ftp_removed:def:1 | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | low | ||||
| References: |
| ||||
| Description | FTP (File Transfer Protocol) is a traditional and widely used standard tool for
transferring files between a server and clients over a network, especially where no
authentication is necessary (permits anonymous users to connect to a server).
The ftp package can be removed with the following command:
$ sudo dnf remove ftp | ||||
| Rationale | FTP does not protect the confidentiality of data or authentication credentials. It
is recommended SFTP be used if file transfer is required. Unless there is a need
to run the system as a FTP server (for example, to allow anonymous downloads), it is
recommended that the package be removed to reduce the potential attack surface. |
OVAL test results details
package ftp is removed oval:ssg-test_package_ftp_removed:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-obj_test_package_ftp_removed:obj:1 of type rpminfo_object
| Name |
|---|
| ftp |
Uninstall httpd Packagexccdf_org.ssgproject.content_rule_package_httpd_removed unknown
Uninstall httpd Package
| Rule ID | xccdf_org.ssgproject.content_rule_package_httpd_removed | ||||||||||||||||
| Result | pass | ||||||||||||||||
| Multi-check rule | no | ||||||||||||||||
| OVAL Definition ID | oval:ssg-package_httpd_removed:def:1 | ||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||
| Severity | unknown | ||||||||||||||||
| References: |
| ||||||||||||||||
| Description | The httpd package can be removed with the following command:
$ sudo dnf remove httpd | ||||||||||||||||
| Rationale | If there is no need to make the web server software available,
removing it provides a safeguard against its activation. |
OVAL test results details
package httpd is removed oval:ssg-test_package_httpd_removed:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-obj_test_package_httpd_removed:obj:1 of type rpminfo_object
| Name |
|---|
| httpd |
Uninstall nginx Packagexccdf_org.ssgproject.content_rule_package_nginx_removed unknown
Uninstall nginx Package
| Rule ID | xccdf_org.ssgproject.content_rule_package_nginx_removed | ||||||||||||||
| Result | pass | ||||||||||||||
| Multi-check rule | no | ||||||||||||||
| OVAL Definition ID | oval:ssg-package_nginx_removed:def:1 | ||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||
| Severity | unknown | ||||||||||||||
| References: |
| ||||||||||||||
| Description | The nginx package can be removed with the following command:
$ sudo dnf remove nginx | ||||||||||||||
| Rationale | If there is no need to make the web server software available,
removing it provides a safeguard against its activation. |
OVAL test results details
package nginx is removed oval:ssg-test_package_nginx_removed:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-obj_test_package_nginx_removed:obj:1 of type rpminfo_object
| Name |
|---|
| nginx |
Uninstall cyrus-imapd Packagexccdf_org.ssgproject.content_rule_package_cyrus-imapd_removed unknown
Uninstall cyrus-imapd Package
| Rule ID | xccdf_org.ssgproject.content_rule_package_cyrus-imapd_removed | ||
| Result | pass | ||
| Multi-check rule | no | ||
| OVAL Definition ID | oval:ssg-package_cyrus-imapd_removed:def:1 | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | unknown | ||
| References: |
| ||
| Description | The cyrus-imapd package can be removed with the following command:
$ sudo dnf remove cyrus-imapd | ||
| Rationale | If there is no need to make the cyrus-imapd software available,
removing it provides a safeguard against its activation. |
OVAL test results details
package cyrus-imapd is removed oval:ssg-test_package_cyrus-imapd_removed:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-obj_test_package_cyrus-imapd_removed:obj:1 of type rpminfo_object
| Name |
|---|
| cyrus-imapd |
Uninstall dovecot Packagexccdf_org.ssgproject.content_rule_package_dovecot_removed unknown
Uninstall dovecot Package
| Rule ID | xccdf_org.ssgproject.content_rule_package_dovecot_removed | ||
| Result | pass | ||
| Multi-check rule | no | ||
| OVAL Definition ID | oval:ssg-package_dovecot_removed:def:1 | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | unknown | ||
| References: |
| ||
| Description | The dovecot package can be removed with the following command:
$ sudo dnf remove dovecot | ||
| Rationale | If there is no need to make the Dovecot software available,
removing it provides a safeguard against its activation. |
OVAL test results details
package dovecot is removed oval:ssg-test_package_dovecot_removed:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-obj_test_package_dovecot_removed:obj:1 of type rpminfo_object
| Name |
|---|
| dovecot |
Ensure LDAP client is not installedxccdf_org.ssgproject.content_rule_package_openldap-clients_removed low
Ensure LDAP client is not installed
| Rule ID | xccdf_org.ssgproject.content_rule_package_openldap-clients_removed | ||
| Result | pass | ||
| Multi-check rule | no | ||
| OVAL Definition ID | oval:ssg-package_openldap-clients_removed:def:1 | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | low | ||
| References: |
| ||
| Description | The Lightweight Directory Access Protocol (LDAP) is a service that provides
a method for looking up information from a central database.
The openldap-clients package can be removed with the following command:
$ sudo dnf remove openldap-clients | ||
| Rationale | If the system does not need to act as an LDAP client, it is recommended that the software is removed to reduce the potential attack surface. |
OVAL test results details
package openldap-clients is removed oval:ssg-test_package_openldap-clients_removed:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-obj_test_package_openldap-clients_removed:obj:1 of type rpminfo_object
| Name |
|---|
| openldap-clients |
Disable Postfix Network Listeningxccdf_org.ssgproject.content_rule_postfix_network_listening_disabled medium
Disable Postfix Network Listening
| Rule ID | xccdf_org.ssgproject.content_rule_postfix_network_listening_disabled | ||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||
| References: |
| ||||||||||||||||||||
| Description | Edit the file /etc/postfix/main.cf to ensure that only the following
inet_interfaces line appears:
inet_interfaces = loopback-only
| ||||||||||||||||||||
| Rationale | This ensures postfix accepts mail messages
(such as cron job reports) from the local system only,
and not from the network, which protects it from network attack. |
The Postfix package is installedxccdf_org.ssgproject.content_rule_package_postfix_installed medium
The Postfix package is installed
| Rule ID | xccdf_org.ssgproject.content_rule_package_postfix_installed | ||||||||||||
| Result | notapplicable | ||||||||||||
| Multi-check rule | no | ||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||
| Severity | medium | ||||||||||||
| References: |
| ||||||||||||
| Description | A mail server is required for sending emails.
The postfix package can be installed with the following command:
$ sudo dnf install postfix | ||||||||||||
| Rationale | Emails can be used to notify designated personnel about important
system events such as failures or warnings. |
Ensure Mail Transfer Agent is not Listening on any non-loopback Addressxccdf_org.ssgproject.content_rule_has_nonlocal_mta medium
Ensure Mail Transfer Agent is not Listening on any non-loopback Address
| Rule ID | xccdf_org.ssgproject.content_rule_has_nonlocal_mta | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | Mail Transfer Agents (MTA), such as sendmail and Postfix, are used to
listen for incoming mail and transfer the messages to the appropriate
user or mail server. If the system is not intended to be a mail server,
it is recommended that the MTA be configured to only process local mail. | ||
| Rationale | The software for all Mail Transfer Agents is complex and most have a
long history of security issues. While it is important to ensure that
the system can process local mail messages, it is not necessary to have
the MTA's daemon listening on a port unless the server is intended to
be a mail server that receives and processes mail from other systems. |
Disable rpcbind Servicexccdf_org.ssgproject.content_rule_service_rpcbind_disabled low
Disable rpcbind Service
| Rule ID | xccdf_org.ssgproject.content_rule_service_rpcbind_disabled | ||||
| Result | notapplicable | ||||
| Multi-check rule | no | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | low | ||||
| References: |
| ||||
| Description | The rpcbind utility maps RPC services to the ports on which they listen.
RPC processes notify rpcbind when they start, registering the ports they
are listening on and the RPC program numbers they expect to serve. The
rpcbind service redirects the client to the proper port number so it can
communicate with the requested service. If the system does not require RPC
(such as for NFS servers) then this service should be disabled.
The rpcbind service can be disabled with the following command:
$ sudo systemctl mask --now rpcbind.service | ||||
| Rationale | If the system does not require rpc based services, it is recommended that
rpcbind be disabled to reduce the attack surface. |
Disable Network File System (nfs)xccdf_org.ssgproject.content_rule_service_nfs_disabled unknown
Disable Network File System (nfs)
| Rule ID | xccdf_org.ssgproject.content_rule_service_nfs_disabled | ||||||||||||||||
| Result | notapplicable | ||||||||||||||||
| Multi-check rule | no | ||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||
| Severity | unknown | ||||||||||||||||
| References: |
| ||||||||||||||||
| Description | The Network File System (NFS) service allows remote hosts to mount
and interact with shared filesystems on the local system. If the local system
is not designated as a NFS server then this service should be disabled.
The nfs-server service can be disabled with the following command:
$ sudo systemctl mask --now nfs-server.service | ||||||||||||||||
| Rationale | Unnecessary services should be disabled to decrease the attack surface of the system. |
A remote time server for Chrony is configuredxccdf_org.ssgproject.content_rule_chronyd_specify_remote_server medium
A remote time server for Chrony is configured
| Rule ID | xccdf_org.ssgproject.content_rule_chronyd_specify_remote_server | ||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||
| Severity | medium | ||||||||||||||||||
| References: |
| ||||||||||||||||||
| Description | Chrony is a daemon which implements the Network Time Protocol (NTP). It is designed
to synchronize system clocks across a variety of systems and use a source that is highly
accurate. More information on chrony can be found at
https://chrony-project.org/.
Chrony can be configured to be a client and/or a server.
Add or edit server or pool lines to /etc/chrony.conf as appropriate:
server <remote-server>Alternatively, server or pool directives can be specified in files included via sourcedir or confdir directives in /etc/chrony.conf.
When using sourcedir, create .sources files in the specified directory:
# In /etc/chrony.conf: sourcedir /etc/chrony/sources.d # In /etc/chrony/sources.d/ntp.sources: server 0.pool.ntp.orgWhen using confdir, create .conf files in the specified directory:
# In /etc/chrony.conf: confdir /etc/chrony/conf.d # In /etc/chrony/conf.d/ntp-servers.conf: pool 1.pool.ntp.orgMultiple servers may be configured. | ||||||||||||||||||
| Rationale | If chrony is in use on the system proper configuration is vital to ensuring time
synchronization is working properly. |
Ensure that chronyd is running under chrony user accountxccdf_org.ssgproject.content_rule_chronyd_run_as_chrony_user medium
Ensure that chronyd is running under chrony user account
| Rule ID | xccdf_org.ssgproject.content_rule_chronyd_run_as_chrony_user | ||||
| Result | notapplicable | ||||
| Multi-check rule | no | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | chrony is a daemon which implements the Network Time Protocol (NTP). It is designed to
synchronize system clocks across a variety of systems and use a source that is highly
accurate. More information on chrony can be found at
https://chrony-project.org/.
Chrony can be configured to be a client and/or a server.
To ensure that chronyd is running under chrony user account,
remove any -u ... option from OPTIONS other than -u chrony,
as chrony is run under its own user by default.
This recommendation only applies if chrony is in use on the system. | ||||
| Rationale | If chrony is in use on the system proper configuration is vital to ensuring time synchronization
is working properly. |
Uninstall telnet-server Packagexccdf_org.ssgproject.content_rule_package_telnet-server_removed high
Uninstall telnet-server Package
| Rule ID | xccdf_org.ssgproject.content_rule_package_telnet-server_removed | ||||||||||||||||||||||||||||||||||
| Result | pass | ||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||
| OVAL Definition ID | oval:ssg-package_telnet-server_removed:def:1 | ||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||
| Severity | high | ||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||
| Description | The telnet-server package can be removed with the following command:
$ sudo dnf remove telnet-server | ||||||||||||||||||||||||||||||||||
| Rationale | It is detrimental for operating systems to provide, or install by default,
functionality exceeding requirements or mission objectives. These
unnecessary capabilities are often overlooked and therefore may remain
insecure. They increase the risk to the platform by providing additional
attack vectors.
The telnet service provides an unencrypted remote access service which does not provide for the confidentiality and integrity of user passwords or the remote session. If a privileged user were to login using this service, the privileged user password could be compromised. Removing the telnet-server package decreases the risk of the
telnet service's accidental (or intentional) activation. |
OVAL test results details
package telnet-server is removed oval:ssg-test_package_telnet-server_removed:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-obj_test_package_telnet-server_removed:obj:1 of type rpminfo_object
| Name |
|---|
| telnet-server |
Remove telnet Clientsxccdf_org.ssgproject.content_rule_package_telnet_removed low
Remove telnet Clients
| Rule ID | xccdf_org.ssgproject.content_rule_package_telnet_removed | ||||||||||||||||
| Result | pass | ||||||||||||||||
| Multi-check rule | no | ||||||||||||||||
| OVAL Definition ID | oval:ssg-package_telnet_removed:def:1 | ||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||
| Severity | low | ||||||||||||||||
| References: |
| ||||||||||||||||
| Description | The telnet client allows users to start connections to other systems via
the telnet protocol. | ||||||||||||||||
| Rationale | The telnet protocol is insecure and unencrypted. The use
of an unencrypted transmission medium could allow an unauthorized user
to steal credentials. The ssh package provides an
encrypted session and stronger security and is included in Red Hat Enterprise Linux 10. |
OVAL test results details
package telnet is removed oval:ssg-test_package_telnet_removed:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-obj_test_package_telnet_removed:obj:1 of type rpminfo_object
| Name |
|---|
| telnet |
Uninstall tftp-server Packagexccdf_org.ssgproject.content_rule_package_tftp-server_removed high
Uninstall tftp-server Package
| Rule ID | xccdf_org.ssgproject.content_rule_package_tftp-server_removed | ||||||||||||||||||||||||||
| Result | pass | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| OVAL Definition ID | oval:ssg-package_tftp-server_removed:def:1 | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | high | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | The tftp-server package can be removed with the following command: $ sudo dnf remove tftp-server | ||||||||||||||||||||||||||
| Rationale | Removing the tftp-server package decreases the risk of the accidental
(or intentional) activation of tftp services.
If TFTP is required for operational support (such as transmission of router configurations), its use must be documented with the Information Systems Security Manager (ISSM), restricted to only authorized personnel, and have access control rules established. |
OVAL test results details
package tftp-server is removed oval:ssg-test_package_tftp-server_removed:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-obj_test_package_tftp-server_removed:obj:1 of type rpminfo_object
| Name |
|---|
| tftp-server |
Remove tftp Daemonxccdf_org.ssgproject.content_rule_package_tftp_removed low
Remove tftp Daemon
| Rule ID | xccdf_org.ssgproject.content_rule_package_tftp_removed | ||||||||||||
| Result | pass | ||||||||||||
| Multi-check rule | no | ||||||||||||
| OVAL Definition ID | oval:ssg-package_tftp_removed:def:1 | ||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||
| Severity | low | ||||||||||||
| References: |
| ||||||||||||
| Description | Trivial File Transfer Protocol (TFTP) is a simple file transfer protocol,
typically used to automatically transfer configuration or boot files between systems.
TFTP does not support authentication and can be easily hacked. The package
tftp is a client program that allows for connections to a tftp server. | ||||||||||||
| Rationale | It is recommended that TFTP be removed, unless there is a specific need
for TFTP (such as a boot server). In that case, use extreme caution when configuring
the services. |
OVAL test results details
package tftp is removed oval:ssg-test_package_tftp_removed:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-obj_test_package_tftp_removed:obj:1 of type rpminfo_object
| Name |
|---|
| tftp |
Uninstall rsync Packagexccdf_org.ssgproject.content_rule_package_rsync_removed medium
Uninstall rsync Package
| Rule ID | xccdf_org.ssgproject.content_rule_package_rsync_removed | ||
| Result | pass | ||
| Multi-check rule | no | ||
| OVAL Definition ID | oval:ssg-package_rsync_removed:def:1 | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | The rsyncd service can be used to synchronize files between systems over network links.
The rsync-daemon package can be removed with the following command:
$ sudo dnf remove rsync-daemon | ||
| Rationale | The rsyncd service presents a security risk as it uses unencrypted protocols for
communication. |
OVAL test results details
package rsync-daemon is removed oval:ssg-test_package_rsync-daemon_removed:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-obj_test_package_rsync-daemon_removed:obj:1 of type rpminfo_object
| Name |
|---|
| rsync-daemon |
Disable the CUPS Servicexccdf_org.ssgproject.content_rule_service_cups_disabled unknown
Disable the CUPS Service
| Rule ID | xccdf_org.ssgproject.content_rule_service_cups_disabled | ||||||||||||||||
| Result | notapplicable | ||||||||||||||||
| Multi-check rule | no | ||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||
| Severity | unknown | ||||||||||||||||
| References: |
| ||||||||||||||||
| Description |
The cups service can be disabled with the following command:
$ sudo systemctl mask --now cups.service | ||||||||||||||||
| Rationale | Turn off unneeded services to reduce attack surface. |
Uninstall squid Packagexccdf_org.ssgproject.content_rule_package_squid_removed unknown
Uninstall squid Package
| Rule ID | xccdf_org.ssgproject.content_rule_package_squid_removed | ||||
| Result | pass | ||||
| Multi-check rule | no | ||||
| OVAL Definition ID | oval:ssg-package_squid_removed:def:1 | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | unknown | ||||
| References: |
| ||||
| Description | The squid package can be removed with the following command: $ sudo dnf remove squid | ||||
| Rationale | If there is no need to make the proxy server software available,
removing it provides a safeguard against its activation. |
OVAL test results details
package squid is removed oval:ssg-test_package_squid_removed:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-obj_test_package_squid_removed:obj:1 of type rpminfo_object
| Name |
|---|
| squid |
Uninstall Samba Packagexccdf_org.ssgproject.content_rule_package_samba_removed unknown
Uninstall Samba Package
| Rule ID | xccdf_org.ssgproject.content_rule_package_samba_removed | ||
| Result | pass | ||
| Multi-check rule | no | ||
| OVAL Definition ID | oval:ssg-package_samba_removed:def:1 | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | unknown | ||
| References: |
| ||
| Description | The samba package can be removed with the following command: $ sudo dnf remove samba | ||
| Rationale | If there is no need to make the Samba software available,
removing it provides a safeguard against its activation. |
OVAL test results details
package samba is removed oval:ssg-test_package_samba_removed:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-obj_test_package_samba_removed:obj:1 of type rpminfo_object
| Name |
|---|
| samba |
Uninstall net-snmp Packagexccdf_org.ssgproject.content_rule_package_net-snmp_removed unknown
Uninstall net-snmp Package
| Rule ID | xccdf_org.ssgproject.content_rule_package_net-snmp_removed | ||||
| Result | pass | ||||
| Multi-check rule | no | ||||
| OVAL Definition ID | oval:ssg-package_net-snmp_removed:def:1 | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | unknown | ||||
| References: |
| ||||
| Description |
The net-snmp package provides the snmpd service.
The net-snmp package can be removed with the following command:
$ sudo dnf remove net-snmp | ||||
| Rationale | If there is no need to run SNMP server software,
removing the package provides a safeguard against its
activation. |
OVAL test results details
package net-snmp is removed oval:ssg-test_package_net-snmp_removed:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-obj_test_package_net-snmp_removed:obj:1 of type rpminfo_object
| Name |
|---|
| net-snmp |
Set SSH Client Alive Count Maxxccdf_org.ssgproject.content_rule_sshd_set_keepalive medium
Set SSH Client Alive Count Max
| Rule ID | xccdf_org.ssgproject.content_rule_sshd_set_keepalive | ||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||
| Description | The SSH server sends at most ClientAliveCountMax messages
during a SSH session and waits for a response from the SSH client.
The option ClientAliveInterval configures timeout after
each ClientAliveCountMax message. If the SSH server does not
receive a response from the client, then the connection is considered unresponsive
and terminated.
For SSH earlier than v8.2, a ClientAliveCountMax value of 0
causes a timeout precisely when the ClientAliveInterval is set.
Starting with v8.2, a value of 0 disables the timeout functionality
completely. If the option is set to a number greater than 0, then
the session will be disconnected after
ClientAliveInterval * ClientAliveCountMax seconds without receiving
a keep alive message. | ||||||||||||||||||||||||||||||||||
| Rationale | This ensures a user login will be terminated as soon as the ClientAliveInterval
is reached. |
Set SSH Client Alive Intervalxccdf_org.ssgproject.content_rule_sshd_set_idle_timeout medium
Set SSH Client Alive Interval
| Rule ID | xccdf_org.ssgproject.content_rule_sshd_set_idle_timeout | ||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||
| Description | SSH allows administrators to set a network responsiveness timeout interval.
After this interval has passed, the unresponsive client will be automatically logged out.
To set this timeout interval, edit the following line in /etc/ssh/sshd_config as
follows:
ClientAliveInterval 300
The timeout interval is given in seconds. For example, have a timeout of 10 minutes, set interval to 600. If a shorter timeout has already been set for the login shell, that value will preempt any SSH setting made in /etc/ssh/sshd_config. Keep in mind that
some processes may stop SSH from correctly detecting that the user is idle. | ||||||||||||||||||||||||||||||||
| Rationale | Terminating an idle ssh session within a short time period reduces the window of
opportunity for unauthorized personnel to take control of a management session
enabled on the console or console port that has been let unattended. | ||||||||||||||||||||||||||||||||
| Warnings | warning
SSH disconnecting unresponsive clients will not have desired effect without also
configuring ClientAliveCountMax in the SSH service configuration. warning
Following conditions may prevent the SSH session to time out:
|
Disable Host-Based Authenticationxccdf_org.ssgproject.content_rule_disable_host_auth medium
Disable Host-Based Authentication
| Rule ID | xccdf_org.ssgproject.content_rule_disable_host_auth | ||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||
| Description | SSH's cryptographic host-based authentication is
more secure than .rhosts authentication. However, it is
not recommended that hosts unilaterally trust one another, even
within an organization.
The default SSH configuration disables host-based authentication. The appropriate configuration is used if no value is set for HostbasedAuthentication.
To explicitly disable host-based authentication, add or correct the following line in /etc/ssh/sshd_config.d/00-complianceascode-hardening.conf:
HostbasedAuthentication no | ||||||||||||||||||||||||||||||||||||
| Rationale | SSH trust relationships mean a compromise on one host
can allow an attacker to move trivially to other hosts. |
Disable SSH Access via Empty Passwordsxccdf_org.ssgproject.content_rule_sshd_disable_empty_passwords high
Disable SSH Access via Empty Passwords
| Rule ID | xccdf_org.ssgproject.content_rule_sshd_disable_empty_passwords | ||||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||
| Severity | high | ||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||
| Description | Disallow SSH login with empty passwords.
The default SSH configuration disables logins with empty passwords. The appropriate
configuration is used if no value is set for PermitEmptyPasswords.
To explicitly disallow SSH login from accounts with empty passwords, add or correct the following line in /etc/ssh/sshd_config.d/00-complianceascode-hardening.conf:
PermitEmptyPasswords noAny accounts with empty passwords should be disabled immediately, and PAM configuration should prevent users from being able to assign themselves empty passwords. | ||||||||||||||||||||||||||||||||||||||
| Rationale | Configuring this setting for the SSH daemon provides additional assurance
that remote login via SSH will require a password, even in the event of
misconfiguration elsewhere. |
Disable SSH Forwardingxccdf_org.ssgproject.content_rule_sshd_disable_forwarding medium
Disable SSH Forwarding
| Rule ID | xccdf_org.ssgproject.content_rule_sshd_disable_forwarding | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | The DisableForwarding parameter disables all forwarding features, including X11,
ssh-agent(1), TCP and StreamLocal. This option overrides all other forwarding-related
options and may simplify restricted configurations.
To explicitly disable SSHD forwarding, add or correct the following line in /etc/ssh/sshd_config.d/00-complianceascode-hardening.conf:
DisableForwarding yes | ||
| Rationale | Disable ssh forwarding unless there is an operational requirement to use it.
Leaving port forwarding enabled can expose the organization to security risks. |
Disable GSSAPI Authenticationxccdf_org.ssgproject.content_rule_sshd_disable_gssapi_auth medium
Disable GSSAPI Authentication
| Rule ID | xccdf_org.ssgproject.content_rule_sshd_disable_gssapi_auth | ||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||
| Description | Unless needed, SSH should not permit extraneous or unnecessary
authentication mechanisms like GSSAPI.
The default SSH configuration disallows authentications based on GSSAPI. The appropriate configuration is used if no value is set for GSSAPIAuthentication.
To explicitly disable GSSAPI authentication, add or correct the following line in /etc/ssh/sshd_config.d/00-complianceascode-hardening.conf:
GSSAPIAuthentication no | ||||||||||||||||||||||||||||||
| Rationale | GSSAPI authentication is used to provide additional authentication mechanisms to
applications. Allowing GSSAPI authentication through SSH exposes the system's
GSSAPI to remote hosts, increasing the attack surface of the system. |
Disable SSH Support for .rhosts Filesxccdf_org.ssgproject.content_rule_sshd_disable_rhosts medium
Disable SSH Support for .rhosts Files
| Rule ID | xccdf_org.ssgproject.content_rule_sshd_disable_rhosts | ||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||
| Description | SSH can emulate the behavior of the obsolete rsh
command in allowing users to enable insecure access to their
accounts via .rhosts files.
The default SSH configuration disables support for .rhosts. The appropriate
configuration is used if no value is set for IgnoreRhosts.
To explicitly disable support for .rhosts files, add or correct the following line in /etc/ssh/sshd_config.d/00-complianceascode-hardening.conf:
IgnoreRhosts yes | ||||||||||||||||||||||||||||||
| Rationale | SSH trust relationships mean a compromise on one host
can allow an attacker to move trivially to other hosts. |
Disable SSH Root Loginxccdf_org.ssgproject.content_rule_sshd_disable_root_login medium
Disable SSH Root Login
| Rule ID | xccdf_org.ssgproject.content_rule_sshd_disable_root_login | ||||||||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||||||
| Description | The root user should never be allowed to login to a
system directly over a network.
To disable root login via SSH, add or correct the following line in
/etc/ssh/sshd_config.d/00-complianceascode-hardening.conf:
PermitRootLogin no | ||||||||||||||||||||||||||||||||||||||||||
| Rationale | Even though the communications channel may be encrypted, an additional layer of
security is gained by extending the policy of not logging directly on as root.
In addition, logging in with a user-specific account provides individual
accountability of actions performed on the system and also helps to minimize
direct attack attempts on root's password. |
Do Not Allow SSH Environment Optionsxccdf_org.ssgproject.content_rule_sshd_do_not_permit_user_env medium
Do Not Allow SSH Environment Options
| Rule ID | xccdf_org.ssgproject.content_rule_sshd_do_not_permit_user_env | ||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||
| Description | Ensure that users are not able to override environment variables of the SSH daemon.
The default SSH configuration disables environment processing. The appropriate configuration is used if no value is set for PermitUserEnvironment.
To explicitly disable Environment options, add or correct the following /etc/ssh/sshd_config.d/00-complianceascode-hardening.conf:
PermitUserEnvironment no | ||||||||||||||||||||||||||||||||||
| Rationale | SSH environment options potentially allow users to bypass
access restriction in some configurations. |
Enable PAMxccdf_org.ssgproject.content_rule_sshd_enable_pam medium
Enable PAM
| Rule ID | xccdf_org.ssgproject.content_rule_sshd_enable_pam | ||||||||||
| Result | notapplicable | ||||||||||
| Multi-check rule | no | ||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||
| Severity | medium | ||||||||||
| References: |
| ||||||||||
| Description | UsePAM Enables the Pluggable Authentication Module interface. If set to “yes” this will
enable PAM authentication using ChallengeResponseAuthentication and
PasswordAuthentication in addition to PAM account and session module processing for all
authentication types.
To enable PAM authentication, add or correct the following line in
/etc/ssh/sshd_config.d/00-complianceascode-hardening.conf:
UsePAM yes | ||||||||||
| Rationale | When UsePAM is set to yes, PAM runs through account and session types properly. This is
important if you want to restrict access to services based off of IP, time or other factors of
the account. Additionally, you can make sure users inherit certain environment variables
on login or disallow access to the server. |
Limit Users' SSH Accessxccdf_org.ssgproject.content_rule_sshd_limit_user_access unknown
Limit Users' SSH Access
| Rule ID | xccdf_org.ssgproject.content_rule_sshd_limit_user_access | ||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||
| Severity | unknown | ||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||
| Description | By default, the SSH configuration allows any user with an account
to access the system. There are several options available to limit
which users and group can access the system via SSH. It is
recommended that at least one of the following options be leveraged:
- AllowUsers variable gives the system administrator the option of
allowing specific users to ssh into the system. The list consists of
space separated user names. Numeric user IDs are not recognized with
this variable. If a system administrator wants to restrict user
access further by specifically allowing a user's access only from a
particular host, the entry can be specified in the form of user@host.
- AllowGroups variable gives the system administrator the option of
allowing specific groups of users to ssh into the system. The list
consists of space separated group names. Numeric group IDs are not
recognized with this variable.
- DenyUsers variable gives the system administrator the option of
denying specific users to ssh into the system. The list consists of
space separated user names. Numeric user IDs are not recognized with
this variable. If a system administrator wants to restrict user
access further by specifically denying a user's access from a
particular host, the entry can be specified in the form of user@host.
- DenyGroups variable gives the system administrator the option of
denying specific groups of users to ssh into the system. The list
consists of space separated group names. Numeric group IDs are not
recognized with this variable. | ||||||||||||||||||||||||
| Rationale | Specifying which accounts are allowed SSH access into the system reduces the
possibility of unauthorized access to the system. | ||||||||||||||||||||||||
| Warnings | warning
Automated remediation is not available for this configuration check
because each system has unique user names and group names. |
Ensure SSH LoginGraceTime is configuredxccdf_org.ssgproject.content_rule_sshd_set_login_grace_time medium
Ensure SSH LoginGraceTime is configured
| Rule ID | xccdf_org.ssgproject.content_rule_sshd_set_login_grace_time | ||||
| Result | notapplicable | ||||
| Multi-check rule | no | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | The LoginGraceTime parameter to the SSH server specifies the time allowed for successful authentication to
the SSH server. The longer the Grace period is the more open unauthenticated connections
can exist. Like other session controls in this session the Grace Period should be limited to
appropriate limits to ensure the service is available for needed access. | ||||
| Rationale | Setting the LoginGraceTime parameter to a low number will minimize the risk of successful
brute force attacks to the SSH server. It will also limit the number of concurrent
unauthenticated connections. |
Set SSH Daemon LogLevel to VERBOSExccdf_org.ssgproject.content_rule_sshd_set_loglevel_verbose medium
Set SSH Daemon LogLevel to VERBOSE
| Rule ID | xccdf_org.ssgproject.content_rule_sshd_set_loglevel_verbose | ||||||||||||||||
| Result | notapplicable | ||||||||||||||||
| Multi-check rule | no | ||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||
| Severity | medium | ||||||||||||||||
| References: |
| ||||||||||||||||
| Description | The VERBOSE parameter configures the SSH daemon to record login and logout activity.
To specify the log level in
SSH, add or correct the following line in
/etc/ssh/sshd_config.d/00-complianceascode-hardening.conf:
LogLevel VERBOSE | ||||||||||||||||
| Rationale | SSH provides several logging levels with varying amounts of verbosity. DEBUG is specifically
not recommended other than strictly for debugging SSH communications since it provides
so much data that it is difficult to identify important security information. INFO or
VERBOSE level is the basic level that only records login activity of SSH users. In many
situations, such as Incident Response, it is important to determine when a particular user was active
on a system. The logout record can eliminate those users who disconnected, which helps narrow the
field. |
Set SSH authentication attempt limitxccdf_org.ssgproject.content_rule_sshd_set_max_auth_tries medium
Set SSH authentication attempt limit
| Rule ID | xccdf_org.ssgproject.content_rule_sshd_set_max_auth_tries | ||||||
| Result | notapplicable | ||||||
| Multi-check rule | no | ||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||
| Severity | medium | ||||||
| References: |
| ||||||
| Description | The MaxAuthTries parameter specifies the maximum number of authentication attempts
permitted per connection. Once the number of failures reaches half this value, additional failures are logged.
to set MaxAUthTries edit /etc/ssh/sshd_config as follows:
MaxAuthTries 4
| ||||||
| Rationale | Setting the MaxAuthTries parameter to a low number will minimize the risk of successful
brute force attacks to the SSH server. |
Set SSH MaxSessions limitxccdf_org.ssgproject.content_rule_sshd_set_max_sessions medium
Set SSH MaxSessions limit
| Rule ID | xccdf_org.ssgproject.content_rule_sshd_set_max_sessions | ||||
| Result | notapplicable | ||||
| Multi-check rule | no | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | The MaxSessions parameter specifies the maximum number of open sessions permitted
from a given connection. To set MaxSessions edit
/etc/ssh/sshd_config as follows: MaxSessions 10
| ||||
| Rationale | To protect a system from denial of service due to a large number of concurrent
sessions, use the rate limiting function of MaxSessions to protect availability
of sshd logins and prevent overwhelming the daemon. |
Ensure SSH MaxStartups is configuredxccdf_org.ssgproject.content_rule_sshd_set_maxstartups medium
Ensure SSH MaxStartups is configured
| Rule ID | xccdf_org.ssgproject.content_rule_sshd_set_maxstartups | ||||
| Result | notapplicable | ||||
| Multi-check rule | no | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | The MaxStartups parameter specifies the maximum number of concurrent unauthenticated
connections to the SSH daemon. Additional connections will be dropped until authentication
succeeds or the LoginGraceTime expires for a connection. To configure MaxStartups, you should
add or edit the following line in the /etc/ssh/sshd_config file:
MaxStartups 10:30:60
| ||||
| Rationale | To protect a system from denial of service due to a large number of pending authentication
connection attempts, use the rate limiting function of MaxStartups to protect availability of
sshd logins and prevent overwhelming the daemon. |
Verify Group Who Owns SSH Server Configuration Filesxccdf_org.ssgproject.content_rule_directory_groupowner_sshd_config_d medium
Verify Group Who Owns SSH Server Configuration Files
| Rule ID | xccdf_org.ssgproject.content_rule_directory_groupowner_sshd_config_d | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description |
To properly set the group owner of /etc/ssh/sshd_config.d, run the command:
$ sudo chgrp root /etc/ssh/sshd_config.d | ||||||||||||||||||||||||||
| Rationale | Service configuration files enable or disable features of their respective
services that if configured incorrectly can lead to insecure and vulnerable
configurations. Therefore, service configuration files should be owned by the
correct group to prevent unauthorized changes. |
Verify Owner on SSH Server Configuration Filesxccdf_org.ssgproject.content_rule_directory_owner_sshd_config_d medium
Verify Owner on SSH Server Configuration Files
| Rule ID | xccdf_org.ssgproject.content_rule_directory_owner_sshd_config_d | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description |
To properly set the owner of /etc/ssh/sshd_config.d, run the command:
$ sudo chown root /etc/ssh/sshd_config.d | ||||||||||||||||||||||||||
| Rationale | Service configuration files enable or disable features of their respective
services that if configured incorrectly can lead to insecure and vulnerable
configurations. Therefore, service configuration files should be owned by the
correct group to prevent unauthorized changes. |
Verify Group Who Owns SSH Server config filexccdf_org.ssgproject.content_rule_file_groupowner_sshd_config medium
Verify Group Who Owns SSH Server config file
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupowner_sshd_config | ||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||
| Description | To properly set the group owner of /etc/ssh/sshd_config, run the command:
$ sudo chgrp root /etc/ssh/sshd_config | ||||||||||||||||||||||||||||
| Rationale | Service configuration files enable or disable features of their respective
services that if configured incorrectly can lead to insecure and vulnerable
configurations. Therefore, service configuration files should be owned by the
correct group to prevent unauthorized changes. |
Verify Group Who Owns SSH Server Configuration Filesxccdf_org.ssgproject.content_rule_file_groupowner_sshd_drop_in_config medium
Verify Group Who Owns SSH Server Configuration Files
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupowner_sshd_drop_in_config | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description |
To properly set the group owner of files in /etc/ssh/sshd_config.d, run the command:
find -H /etc/ssh/sshd_config.d -type d -exec chgrp -L root {} \;
| ||||||||||||||||||||||||||
| Rationale | Service configuration files enable or disable features of their respective
services that if configured incorrectly can lead to insecure and vulnerable
configurations. Therefore, service configuration files should be owned by the
correct group to prevent unauthorized changes. |
Verify Group Ownership on SSH Server Private *_key Key Filesxccdf_org.ssgproject.content_rule_file_groupownership_sshd_private_key medium
Verify Group Ownership on SSH Server Private *_key Key Files
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupownership_sshd_private_key | ||||||
| Result | notapplicable | ||||||
| Multi-check rule | no | ||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||
| Severity | medium | ||||||
| References: |
| ||||||
| Description | SSH server private keys, files that match the /etc/ssh/*_key glob, must be
group-owned by root group. | ||||||
| Rationale | If an unauthorized user obtains the private SSH host key file, the host could be impersonated. | ||||||
| Warnings | warning
Remediation is not possible at bootable container build time because SSH host
keys are generated post-deployment. |
Verify Group Ownership on SSH Server Public *.pub Key Filesxccdf_org.ssgproject.content_rule_file_groupownership_sshd_pub_key medium
Verify Group Ownership on SSH Server Public *.pub Key Files
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupownership_sshd_pub_key | ||||||
| Result | notapplicable | ||||||
| Multi-check rule | no | ||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||
| Severity | medium | ||||||
| References: |
| ||||||
| Description | SSH server public keys, files that match the /etc/ssh/*.pub glob, must be
group-owned by root group. | ||||||
| Rationale | If a public host key file is modified by an unauthorized user, the SSH service
may be compromised. | ||||||
| Warnings | warning
Remediation is not possible at bootable container build time because SSH host
keys are generated post-deployment. |
Verify Owner on SSH Server config filexccdf_org.ssgproject.content_rule_file_owner_sshd_config medium
Verify Owner on SSH Server config file
| Rule ID | xccdf_org.ssgproject.content_rule_file_owner_sshd_config | ||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||
| Description | To properly set the owner of /etc/ssh/sshd_config, run the command:
$ sudo chown root /etc/ssh/sshd_config | ||||||||||||||||||||||||||||
| Rationale | Service configuration files enable or disable features of their respective
services that if configured incorrectly can lead to insecure and vulnerable
configurations. Therefore, service configuration files should be owned by the
correct group to prevent unauthorized changes. |
Verify Owner on SSH Server Configuration Filesxccdf_org.ssgproject.content_rule_file_owner_sshd_drop_in_config medium
Verify Owner on SSH Server Configuration Files
| Rule ID | xccdf_org.ssgproject.content_rule_file_owner_sshd_drop_in_config | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description |
To properly set the owner of files in /etc/ssh/sshd_config.d, run the command:
find -H /etc/ssh/sshd_config.d -type d -exec chown -L root {} \;
| ||||||||||||||||||||||||||
| Rationale | Service configuration files enable or disable features of their respective
services that if configured incorrectly can lead to insecure and vulnerable
configurations. Therefore, service configuration files should be owned by the
correct group to prevent unauthorized changes. |
Verify Ownership on SSH Server Private *_key Key Filesxccdf_org.ssgproject.content_rule_file_ownership_sshd_private_key medium
Verify Ownership on SSH Server Private *_key Key Files
| Rule ID | xccdf_org.ssgproject.content_rule_file_ownership_sshd_private_key | ||||||
| Result | notapplicable | ||||||
| Multi-check rule | no | ||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||
| Severity | medium | ||||||
| References: |
| ||||||
| Description | SSH server private keys, files that match the /etc/ssh/*_key glob, must be owned
by root user. | ||||||
| Rationale | If an unauthorized user obtains the private SSH host key file, the host could be impersonated. | ||||||
| Warnings | warning
Remediation is not possible at bootable container build time because SSH host
keys are generated post-deployment. |
Verify Ownership on SSH Server Public *.pub Key Filesxccdf_org.ssgproject.content_rule_file_ownership_sshd_pub_key medium
Verify Ownership on SSH Server Public *.pub Key Files
| Rule ID | xccdf_org.ssgproject.content_rule_file_ownership_sshd_pub_key | ||||||
| Result | notapplicable | ||||||
| Multi-check rule | no | ||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||
| Severity | medium | ||||||
| References: |
| ||||||
| Description | SSH server public keys, files that match the /etc/ssh/*.pub glob, must be owned
by root user. | ||||||
| Rationale | If a public host key file is modified by an unauthorized user, the SSH service
may be compromised. | ||||||
| Warnings | warning
Remediation is not possible at bootable container build time because SSH host
keys are generated post-deployment. |
Remove the X Windows Xwayland Packagexccdf_org.ssgproject.content_rule_package_xorg-x11-server-Xwayland_removed medium
Remove the X Windows Xwayland Package
| Rule ID | xccdf_org.ssgproject.content_rule_package_xorg-x11-server-Xwayland_removed | ||
| Result | pass | ||
| Multi-check rule | no | ||
| OVAL Definition ID | oval:ssg-package_xorg-x11-server-Xwayland_removed:def:1 | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | The xorg-x11-server-Xwayland package can be removed with the following command:
$ sudo dnf remove xorg-x11-server-Xwayland | ||
| Rationale | Unnecessary service packages must not be installed to decrease the attack
surface of the system. X Windows has a long history of security
vulnerabilities and should not be installed unless approved and documented.
Unless your organization specifically requires graphical login access via
X Windows, remove it to reduce the potential attack surface. |
OVAL test results details
package xorg-x11-server-Xwayland is removed oval:ssg-test_package_xorg-x11-server-Xwayland_removed:tst:1 true
No items have been found conforming to the following objects:
Object oval:ssg-obj_test_package_xorg-x11-server-Xwayland_removed:obj:1 of type rpminfo_object
| Name |
|---|
| xorg-x11-server-Xwayland |
Record Events that Modify the System's Discretionary Access Controls - chmodxccdf_org.ssgproject.content_rule_audit_rules_dac_modification_chmod medium
Record Events that Modify the System's Discretionary Access Controls - chmod
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_chmod | ||||||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||||
| Description | At a minimum, the audit system should collect file permission
changes for all users and root. If the auditd daemon is configured to
use the augenrules program to read audit rules during daemon startup
(the default), add the following line to a file with suffix .rules in
the directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -S chmod -F auid>=1000 -F auid!=unset -F key=perm_modIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S chmod -F auid>=1000 -F auid!=unset -F key=perm_modIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following line to
/etc/audit/audit.rules file:
-a always,exit -F arch=b32 -S chmod -F auid>=1000 -F auid!=unset -F key=perm_modIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S chmod -F auid>=1000 -F auid!=unset -F key=perm_mod | ||||||||||||||||||||||||||||||||||||||||
| Rationale | The changing of file permissions could indicate that a user is attempting to
gain access to information that would otherwise be disallowed. Auditing DAC modifications
can facilitate the identification of patterns of abuse among both authorized and
unauthorized users. | ||||||||||||||||||||||||||||||||||||||||
| Warnings | warning
Note that these rules can be configured in a
number of ways while still achieving the desired effect. Here the system calls
have been placed independent of other system calls. Grouping these system
calls with others as identifying earlier in this guide is more efficient. |
Record Events that Modify the System's Discretionary Access Controls - chownxccdf_org.ssgproject.content_rule_audit_rules_dac_modification_chown medium
Record Events that Modify the System's Discretionary Access Controls - chown
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_chown | ||||||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||||
| Description | At a minimum, the audit system should collect file permission
changes for all users and root. If the auditd daemon is configured to
use the augenrules program to read audit rules during daemon startup
(the default), add the following line to a file with suffix .rules in
the directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -S chown -F auid>=1000 -F auid!=unset -F key=perm_modIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S chown -F auid>=1000 -F auid!=unset -F key=perm_modIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following line to
/etc/audit/audit.rules file:
-a always,exit -F arch=b32 -S chown -F auid>=1000 -F auid!=unset -F key=perm_modIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S chown -F auid>=1000 -F auid!=unset -F key=perm_mod | ||||||||||||||||||||||||||||||||||||||||
| Rationale | The changing of file permissions could indicate that a user is attempting to
gain access to information that would otherwise be disallowed. Auditing DAC modifications
can facilitate the identification of patterns of abuse among both authorized and
unauthorized users. | ||||||||||||||||||||||||||||||||||||||||
| Warnings | warning
Note that these rules can be configured in a
number of ways while still achieving the desired effect. Here the system calls
have been placed independent of other system calls. Grouping these system
calls with others as identifying earlier in this guide is more efficient. |
Record Events that Modify the System's Discretionary Access Controls - fchmodxccdf_org.ssgproject.content_rule_audit_rules_dac_modification_fchmod medium
Record Events that Modify the System's Discretionary Access Controls - fchmod
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_fchmod | ||||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||
| Description | At a minimum, the audit system should collect file permission
changes for all users and root. If the auditd daemon is configured to
use the augenrules program to read audit rules during daemon startup
(the default), add the following line to a file with suffix .rules in
the directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -S fchmod -F auid>=1000 -F auid!=unset -F key=perm_modIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S fchmod -F auid>=1000 -F auid!=unset -F key=perm_modIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following line to
/etc/audit/audit.rules file:
-a always,exit -F arch=b32 -S fchmod -F auid>=1000 -F auid!=unset -F key=perm_modIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S fchmod -F auid>=1000 -F auid!=unset -F key=perm_mod | ||||||||||||||||||||||||||||||||||||||
| Rationale | The changing of file permissions could indicate that a user is attempting to
gain access to information that would otherwise be disallowed. Auditing DAC modifications
can facilitate the identification of patterns of abuse among both authorized and
unauthorized users. | ||||||||||||||||||||||||||||||||||||||
| Warnings | warning
Note that these rules can be configured in a
number of ways while still achieving the desired effect. Here the system calls
have been placed independent of other system calls. Grouping these system
calls with others as identifying earlier in this guide is more efficient. |
Record Events that Modify the System's Discretionary Access Controls - fchmodatxccdf_org.ssgproject.content_rule_audit_rules_dac_modification_fchmodat medium
Record Events that Modify the System's Discretionary Access Controls - fchmodat
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_fchmodat | ||||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||
| Description | At a minimum, the audit system should collect file permission
changes for all users and root. If the auditd daemon is configured to
use the augenrules program to read audit rules during daemon startup
(the default), add the following line to a file with suffix .rules in
the directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -S fchmodat -F auid>=1000 -F auid!=unset -F key=perm_modIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S fchmodat -F auid>=1000 -F auid!=unset -F key=perm_modIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following line to
/etc/audit/audit.rules file:
-a always,exit -F arch=b32 -S fchmodat -F auid>=1000 -F auid!=unset -F key=perm_modIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S fchmodat -F auid>=1000 -F auid!=unset -F key=perm_mod | ||||||||||||||||||||||||||||||||||||||
| Rationale | The changing of file permissions could indicate that a user is attempting to
gain access to information that would otherwise be disallowed. Auditing DAC modifications
can facilitate the identification of patterns of abuse among both authorized and
unauthorized users. | ||||||||||||||||||||||||||||||||||||||
| Warnings | warning
Note that these rules can be configured in a
number of ways while still achieving the desired effect. Here the system calls
have been placed independent of other system calls. Grouping these system
calls with others as identifying earlier in this guide is more efficient. |
Record Events that Modify the System's Discretionary Access Controls - fchmodat2xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_fchmodat2 medium
Record Events that Modify the System's Discretionary Access Controls - fchmodat2
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_fchmodat2 | ||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||
| Severity | medium | ||||||||||||||||||
| References: |
| ||||||||||||||||||
| Description | At a minimum, the audit system should collect file permission
changes for all users and root. If the auditd daemon is configured to
use the augenrules program to read audit rules during daemon startup
(the default), add the following line to a file with suffix .rules in
the directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -S fchmodat2 -F auid>=1000 -F auid!=unset -F key=perm_modIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S fchmodat2 -F auid>=1000 -F auid!=unset -F key=perm_modIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following line to
/etc/audit/audit.rules file:
-a always,exit -F arch=b32 -S fchmodat2 -F auid>=1000 -F auid!=unset -F key=perm_modIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S fchmodat2 -F auid>=1000 -F auid!=unset -F key=perm_mod | ||||||||||||||||||
| Rationale | The changing of file permissions could indicate that a user is attempting to
gain access to information that would otherwise be disallowed. Auditing DAC modifications
can facilitate the identification of patterns of abuse among both authorized and
unauthorized users. | ||||||||||||||||||
| Warnings | warning
Note that these rules can be configured in a
number of ways while still achieving the desired effect. Here the system calls
have been placed independent of other system calls. Grouping these system
calls with others as identifying earlier in this guide is more efficient. |
Record Events that Modify the System's Discretionary Access Controls - fchownxccdf_org.ssgproject.content_rule_audit_rules_dac_modification_fchown medium
Record Events that Modify the System's Discretionary Access Controls - fchown
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_fchown | ||||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||
| Description | At a minimum, the audit system should collect file permission
changes for all users and root. If the auditd daemon is configured
to use the augenrules program to read audit rules during daemon
startup (the default), add the following line to a file with suffix
.rules in the directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -S fchown -F auid>=1000 -F auid!=unset -F key=perm_modIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S fchown -F auid>=1000 -F auid!=unset -F key=perm_modIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following line to
/etc/audit/audit.rules file:
-a always,exit -F arch=b32 -S fchown -F auid>=1000 -F auid!=unset -F key=perm_modIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S fchown -F auid>=1000 -F auid!=unset -F key=perm_mod | ||||||||||||||||||||||||||||||||||||||
| Rationale | The changing of file permissions could indicate that a user is attempting to
gain access to information that would otherwise be disallowed. Auditing DAC modifications
can facilitate the identification of patterns of abuse among both authorized and
unauthorized users. | ||||||||||||||||||||||||||||||||||||||
| Warnings | warning
Note that these rules can be configured in a
number of ways while still achieving the desired effect. Here the system calls
have been placed independent of other system calls. Grouping these system
calls with others as identifying earlier in this guide is more efficient. |
Record Events that Modify the System's Discretionary Access Controls - fchownatxccdf_org.ssgproject.content_rule_audit_rules_dac_modification_fchownat medium
Record Events that Modify the System's Discretionary Access Controls - fchownat
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_fchownat | ||||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||
| Description | At a minimum, the audit system should collect file permission
changes for all users and root. If the auditd daemon is configured
to use the augenrules program to read audit rules during daemon
startup (the default), add the following line to a file with suffix
.rules in the directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -S fchownat -F auid>=1000 -F auid!=unset -F key=perm_modIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S fchownat -F auid>=1000 -F auid!=unset -F key=perm_modIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following line to
/etc/audit/audit.rules file:
-a always,exit -F arch=b32 -S fchownat -F auid>=1000 -F auid!=unset -F key=perm_modIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S fchownat -F auid>=1000 -F auid!=unset -F key=perm_mod | ||||||||||||||||||||||||||||||||||||||
| Rationale | The changing of file permissions could indicate that a user is attempting to
gain access to information that would otherwise be disallowed. Auditing DAC modifications
can facilitate the identification of patterns of abuse among both authorized and
unauthorized users. | ||||||||||||||||||||||||||||||||||||||
| Warnings | warning
Note that these rules can be configured in a
number of ways while still achieving the desired effect. Here the system calls
have been placed independent of other system calls. Grouping these system
calls with others as identifying earlier in this guide is more efficient. |
Record Events that Modify the System's Discretionary Access Controls - fremovexattrxccdf_org.ssgproject.content_rule_audit_rules_dac_modification_fremovexattr medium
Record Events that Modify the System's Discretionary Access Controls - fremovexattr
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_fremovexattr | ||||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||
| Description | At a minimum, the audit system should collect file permission
changes for all users and root.
If the auditd daemon is configured
to use the augenrules program to read audit rules during daemon
startup (the default), add the following line to a file with suffix
.rules in the directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -S fremovexattr -F auid>=1000 -F auid!=unset -F key=perm_mod -a always,exit -F arch=b32 -S fremovexattr -F auid=0 -F key=perm_mod If the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S fremovexattr -F auid>=1000 -F auid!=unset -F key=perm_mod -a always,exit -F arch=b64 -S fremovexattr -F auid=0 -F key=perm_mod If the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following line to
/etc/audit/audit.rules file:
-a always,exit -F arch=b32 -S fremovexattr -F auid>=1000 -F auid!=unset -F key=perm_mod -a always,exit -F arch=b32 -S fremovexattr -F auid=0 -F key=perm_mod If the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S fremovexattr -F auid>=1000 -F auid!=unset -F key=perm_mod -a always,exit -F arch=b64 -S fremovexattr -F auid=0 -F key=perm_mod | ||||||||||||||||||||||||||||||||||||||
| Rationale | The changing of file permissions could indicate that a user is attempting to
gain access to information that would otherwise be disallowed. Auditing DAC modifications
can facilitate the identification of patterns of abuse among both authorized and
unauthorized users. | ||||||||||||||||||||||||||||||||||||||
| Warnings | warning
Note that these rules can be configured in a
number of ways while still achieving the desired effect. Here the system calls
have been placed independent of other system calls. Grouping these system
calls with others as identifying earlier in this guide is more efficient. |
Record Events that Modify the System's Discretionary Access Controls - fsetxattrxccdf_org.ssgproject.content_rule_audit_rules_dac_modification_fsetxattr medium
Record Events that Modify the System's Discretionary Access Controls - fsetxattr
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_fsetxattr | ||||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||
| Description | At a minimum, the audit system should collect file permission
changes for all users and root. If the auditd daemon is configured
to use the augenrules program to read audit rules during daemon
startup (the default), add the following line to a file with suffix
.rules in the directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -S fsetxattr -F auid>=1000 -F auid!=unset -F key=perm_mod -a always,exit -F arch=b32 -S fsetxattr -F auid=0 -F key=perm_modIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S fsetxattr -F auid>=1000 -F auid!=unset -F key=perm_mod -a always,exit -F arch=b64 -S fsetxattr -F auid=0 -F key=perm_modIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following line to
/etc/audit/audit.rules file:
-a always,exit -F arch=b32 -S fsetxattr -F auid>=1000 -F auid!=unset -F key=perm_mod -a always,exit -F arch=b32 -S fsetxattr -F auid=0 -F key=perm_modIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S fsetxattr -F auid>=1000 -F auid!=unset -F key=perm_mod -a always,exit -F arch=b64 -S fsetxattr -F auid=0 -F key=perm_mod | ||||||||||||||||||||||||||||||||||||||
| Rationale | The changing of file permissions could indicate that a user is attempting to
gain access to information that would otherwise be disallowed. Auditing DAC modifications
can facilitate the identification of patterns of abuse among both authorized and
unauthorized users. | ||||||||||||||||||||||||||||||||||||||
| Warnings | warning
Note that these rules can be configured in a
number of ways while still achieving the desired effect. Here the system calls
have been placed independent of other system calls. Grouping these system
calls with others as identifying earlier in this guide is more efficient. |
Record Events that Modify the System's Discretionary Access Controls - lchownxccdf_org.ssgproject.content_rule_audit_rules_dac_modification_lchown medium
Record Events that Modify the System's Discretionary Access Controls - lchown
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_lchown | ||||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||
| Description | At a minimum, the audit system should collect file permission
changes for all users and root. If the auditd daemon is configured
to use the augenrules program to read audit rules during daemon
startup (the default), add the following line to a file with suffix
.rules in the directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -S lchown -F auid>=1000 -F auid!=unset -F key=perm_modIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S lchown -F auid>=1000 -F auid!=unset -F key=perm_modIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following line to
/etc/audit/audit.rules file:
-a always,exit -F arch=b32 -S lchown -F auid>=1000 -F auid!=unset -F key=perm_modIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S lchown -F auid>=1000 -F auid!=unset -F key=perm_mod | ||||||||||||||||||||||||||||||||||||||
| Rationale | The changing of file permissions could indicate that a user is attempting to
gain access to information that would otherwise be disallowed. Auditing DAC modifications
can facilitate the identification of patterns of abuse among both authorized and
unauthorized users. | ||||||||||||||||||||||||||||||||||||||
| Warnings | warning
Note that these rules can be configured in a
number of ways while still achieving the desired effect. Here the system calls
have been placed independent of other system calls. Grouping these system
calls with others as identifying earlier in this guide is more efficient. |
Record Events that Modify the System's Discretionary Access Controls - lremovexattrxccdf_org.ssgproject.content_rule_audit_rules_dac_modification_lremovexattr medium
Record Events that Modify the System's Discretionary Access Controls - lremovexattr
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_lremovexattr | ||||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||
| Description | At a minimum, the audit system should collect file permission
changes for all users and root.
If the auditd daemon is configured
to use the augenrules program to read audit rules during daemon
startup (the default), add the following line to a file with suffix
.rules in the directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -S lremovexattr -F auid>=1000 -F auid!=unset -F key=perm_mod -a always,exit -F arch=b32 -S lremovexattr -F auid=0 -F key=perm_mod If the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S lremovexattr -F auid>=1000 -F auid!=unset -F key=perm_mod -a always,exit -F arch=b64 -S lremovexattr -F auid=0 -F key=perm_mod If the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following line to
/etc/audit/audit.rules file:
-a always,exit -F arch=b32 -S lremovexattr -F auid>=1000 -F auid!=unset -F key=perm_mod -a always,exit -F arch=b32 -S lremovexattr -F auid=0 -F key=perm_mod If the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S lremovexattr -F auid>=1000 -F auid!=unset -F key=perm_mod -a always,exit -F arch=b64 -S lremovexattr -F auid=0 -F key=perm_mod | ||||||||||||||||||||||||||||||||||||||
| Rationale | The changing of file permissions could indicate that a user is attempting to
gain access to information that would otherwise be disallowed. Auditing DAC modifications
can facilitate the identification of patterns of abuse among both authorized and
unauthorized users. | ||||||||||||||||||||||||||||||||||||||
| Warnings | warning
Note that these rules can be configured in a
number of ways while still achieving the desired effect. Here the system calls
have been placed independent of other system calls. Grouping these system
calls with others as identifying earlier in this guide is more efficient. |
Record Events that Modify the System's Discretionary Access Controls - lsetxattrxccdf_org.ssgproject.content_rule_audit_rules_dac_modification_lsetxattr medium
Record Events that Modify the System's Discretionary Access Controls - lsetxattr
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_lsetxattr | ||||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||
| Description | At a minimum, the audit system should collect file permission
changes for all users and root. If the auditd daemon is configured
to use the augenrules program to read audit rules during daemon
startup (the default), add the following line to a file with suffix
.rules in the directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -S lsetxattr -F auid>=1000 -F auid!=unset -F key=perm_mod -a always,exit -F arch=b32 -S lsetxattr -F auid=0 -F key=perm_modIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S lsetxattr -F auid>=1000 -F auid!=unset -F key=perm_mod -a always,exit -F arch=b64 -S lsetxattr -F auid=0 -F key=perm_modIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following line to
/etc/audit/audit.rules file:
-a always,exit -F arch=b32 -S lsetxattr -F auid>=1000 -F auid!=unset -F key=perm_mod -a always,exit -F arch=b32 -S lsetxattr -F auid=0 -F key=perm_modIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S lsetxattr -F auid>=1000 -F auid!=unset -F key=perm_mod -a always,exit -F arch=b64 -S lsetxattr -F auid=0 -F key=perm_mod | ||||||||||||||||||||||||||||||||||||||
| Rationale | The changing of file permissions could indicate that a user is attempting to
gain access to information that would otherwise be disallowed. Auditing DAC modifications
can facilitate the identification of patterns of abuse among both authorized and
unauthorized users. | ||||||||||||||||||||||||||||||||||||||
| Warnings | warning
Note that these rules can be configured in a
number of ways while still achieving the desired effect. Here the system calls
have been placed independent of other system calls. Grouping these system
calls with others as identifying earlier in this guide is more efficient. |
Record Events that Modify the System's Discretionary Access Controls - removexattrxccdf_org.ssgproject.content_rule_audit_rules_dac_modification_removexattr medium
Record Events that Modify the System's Discretionary Access Controls - removexattr
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_removexattr | ||||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||
| Description | At a minimum, the audit system should collect file permission
changes for all users and root.
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following line to a file with suffix .rules in the directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -S removexattr -F auid>=1000 -F auid!=unset -F key=perm_mod -a always,exit -F arch=b32 -S removexattr -F auid=0 -F key=perm_mod If the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S removexattr -F auid>=1000 -F auid!=unset -F key=perm_mod -a always,exit -F arch=b64 -S removexattr -F auid=0 -F key=perm_mod If the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following line to
/etc/audit/audit.rules file:
-a always,exit -F arch=b32 -S removexattr -F auid>=1000 -F auid!=unset -F key=perm_mod -a always,exit -F arch=b32 -S removexattr -F auid=0 -F key=perm_mod If the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S removexattr -F auid>=1000 -F auid!=unset -F key=perm_mod -a always,exit -F arch=b64 -S removexattr -F auid=0 -F key=perm_mod | ||||||||||||||||||||||||||||||||||||||
| Rationale | The changing of file permissions could indicate that a user is attempting to
gain access to information that would otherwise be disallowed. Auditing DAC modifications
can facilitate the identification of patterns of abuse among both authorized and
unauthorized users. | ||||||||||||||||||||||||||||||||||||||
| Warnings | warning
Note that these rules can be configured in a
number of ways while still achieving the desired effect. Here the system calls
have been placed independent of other system calls. Grouping these system
calls with others as identifying earlier in this guide is more efficient. |
Record Events that Modify the System's Discretionary Access Controls - setxattrxccdf_org.ssgproject.content_rule_audit_rules_dac_modification_setxattr medium
Record Events that Modify the System's Discretionary Access Controls - setxattr
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_dac_modification_setxattr | ||||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||
| Description | At a minimum, the audit system should collect file permission
changes for all users and root. If the auditd daemon is configured
to use the augenrules program to read audit rules during daemon
startup (the default), add the following line to a file with suffix
.rules in the directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -S setxattr -F auid>=1000 -F auid!=unset -F key=perm_mod -a always,exit -F arch=b32 -S setxattr -F auid=0 -F key=perm_modIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S setxattr -F auid>=1000 -F auid!=unset -F key=perm_mod -a always,exit -F arch=b64 -S setxattr -F auid=0 -F key=perm_modIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following line to
/etc/audit/audit.rules file:
-a always,exit -F arch=b32 -S setxattr -F auid>=1000 -F auid!=unset -F key=perm_mod -a always,exit -F arch=b32 -S setxattr -F auid=0 -F key=perm_modIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S setxattr -F auid>=1000 -F auid!=unset -F key=perm_mod -a always,exit -F arch=b64 -S setxattr -F auid=0 -F key=perm_mod | ||||||||||||||||||||||||||||||||||||||
| Rationale | The changing of file permissions could indicate that a user is attempting to
gain access to information that would otherwise be disallowed. Auditing DAC modifications
can facilitate the identification of patterns of abuse among both authorized and
unauthorized users. | ||||||||||||||||||||||||||||||||||||||
| Warnings | warning
Note that these rules can be configured in a
number of ways while still achieving the desired effect. Here the system calls
have been placed independent of other system calls. Grouping these system
calls with others as identifying earlier in this guide is more efficient. |
Record Any Attempts to Run chaclxccdf_org.ssgproject.content_rule_audit_rules_execution_chacl medium
Record Any Attempts to Run chacl
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_execution_chacl | ||||||||||
| Result | notapplicable | ||||||||||
| Multi-check rule | no | ||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||
| Severity | medium | ||||||||||
| References: |
| ||||||||||
| Description |
At a minimum, the audit system should collect the execution of privileged
commands for all users and root.
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add
a line of the following form to a file with suffix .rules
in the directory /etc/audit/rules.d, setting ARCH to either b32 for 32-bit system, or having two lines for both b32 and b64 in case your system is 64-bit:
-a always,exit -F arch=ARCH -F path=/usr/bin/chacl -F perm=x -F auid>=1000 -F auid!=unset -F key=privilegedIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add a line of the
following form to /etc/audit/audit.rules, setting ARCH to either b32 for 32-bit system, or having two lines for both b32 and b64 in case your system is 64-bit:
-a always,exit -F arch=ARCH -F path=/usr/bin/chacl -F perm=x -F auid>=1000 -F auid!=unset -F key=privileged | ||||||||||
| Rationale | Without generating audit records that are specific to the security and
mission needs of the organization, it would be difficult to establish,
correlate, and investigate the events relating to an incident or identify
those responsible for one.
Audit records can be generated from various components within the
information system (e.g., module or policy filter). |
Record Any Attempts to Run setfaclxccdf_org.ssgproject.content_rule_audit_rules_execution_setfacl medium
Record Any Attempts to Run setfacl
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_execution_setfacl | ||||||||||||
| Result | notapplicable | ||||||||||||
| Multi-check rule | no | ||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||
| Severity | medium | ||||||||||||
| References: |
| ||||||||||||
| Description |
At a minimum, the audit system should collect the execution of privileged
commands for all users and root.
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add
a line of the following form to a file with suffix .rules
in the directory /etc/audit/rules.d, setting ARCH to either b32 for 32-bit system, or having two lines for both b32 and b64 in case your system is 64-bit:
-a always,exit -F arch=ARCH -F path=/usr/bin/setfacl -F perm=x -F auid>=1000 -F auid!=unset -F key=privilegedIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add a line of the
following form to /etc/audit/audit.rules, setting ARCH to either b32 for 32-bit system, or having two lines for both b32 and b64 in case your system is 64-bit:
-a always,exit -F arch=ARCH -F path=/usr/bin/setfacl -F perm=x -F auid>=1000 -F auid!=unset -F key=privileged | ||||||||||||
| Rationale | Without generating audit records that are specific to the security and
mission needs of the organization, it would be difficult to establish,
correlate, and investigate the events relating to an incident or identify
those responsible for one.
Audit records can be generated from various components within the
information system (e.g., module or policy filter). |
Record Any Attempts to Run chconxccdf_org.ssgproject.content_rule_audit_rules_execution_chcon medium
Record Any Attempts to Run chcon
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_execution_chcon | ||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||
| Description |
At a minimum, the audit system should collect the execution of privileged
commands for all users and root.
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add
a line of the following form to a file with suffix .rules
in the directory /etc/audit/rules.d, setting ARCH to either b32 for 32-bit system, or having two lines for both b32 and b64 in case your system is 64-bit:
-a always,exit -F arch=ARCH -F path=/usr/bin/chcon -F perm=x -F auid>=1000 -F auid!=unset -F key=privilegedIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add a line of the
following form to /etc/audit/audit.rules, setting ARCH to either b32 for 32-bit system, or having two lines for both b32 and b64 in case your system is 64-bit:
-a always,exit -F arch=ARCH -F path=/usr/bin/chcon -F perm=x -F auid>=1000 -F auid!=unset -F key=privileged | ||||||||||||||||||||||||||||||||
| Rationale | Misuse of privileged functions, either intentionally or unintentionally by
authorized users, or by unauthorized external entities that have compromised system accounts,
is a serious and ongoing concern and can have significant adverse impacts on organizations.
Auditing the use of privileged functions is one way to detect such misuse and identify
the risk from insider and advanced persistent threats.
Privileged programs are subject to escalation-of-privilege attacks, which attempt to subvert their normal role of providing some necessary but limited capability. As such, motivation exists to monitor these programs for unusual activity. |
Ensure auditd Collects File Deletion Events by User - renamexccdf_org.ssgproject.content_rule_audit_rules_file_deletion_events_rename medium
Ensure auditd Collects File Deletion Events by User - rename
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_file_deletion_events_rename | ||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||
| Description | At a minimum, the audit system should collect file deletion events
for all users and root. If the auditd daemon is configured to use the
augenrules program to read audit rules during daemon startup (the
default), add the following line to a file with suffix .rules in the
directory /etc/audit/rules.d, setting ARCH to either b32 for 32-bit
system, or having two lines for both b32 and b64 in case your system is 64-bit:
-a always,exit -F arch=ARCH -S rename -F auid>=1000 -F auid!=unset -F key=deleteIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following line to
/etc/audit/audit.rules file, setting ARCH to either b32 for 32-bit
system, or having two lines for both b32 and b64 in case your system is 64-bit:
-a always,exit -F arch=ARCH -S rename -F auid>=1000 -F auid!=unset -F key=delete | ||||||||||||||||||||||||||||||||||
| Rationale | Auditing file deletions will create an audit trail for files that are removed
from the system. The audit trail could aid in system troubleshooting, as well as, detecting
malicious processes that attempt to delete log files to conceal their presence. |
Ensure auditd Collects File Deletion Events by User - renameatxccdf_org.ssgproject.content_rule_audit_rules_file_deletion_events_renameat medium
Ensure auditd Collects File Deletion Events by User - renameat
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_file_deletion_events_renameat | ||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||
| Description | At a minimum, the audit system should collect file deletion events
for all users and root. If the auditd daemon is configured to use the
augenrules program to read audit rules during daemon startup (the
default), add the following line to a file with suffix .rules in the
directory /etc/audit/rules.d, setting ARCH to either b32 for 32-bit
system, or having two lines for both b32 and b64 in case your system is 64-bit:
-a always,exit -F arch=ARCH -S renameat -F auid>=1000 -F auid!=unset -F key=deleteIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following line to
/etc/audit/audit.rules file, setting ARCH to either b32 for 32-bit
system, or having two lines for both b32 and b64 in case your system is 64-bit:
-a always,exit -F arch=ARCH -S renameat -F auid>=1000 -F auid!=unset -F key=delete | ||||||||||||||||||||||||||||||||||
| Rationale | Auditing file deletions will create an audit trail for files that are removed
from the system. The audit trail could aid in system troubleshooting, as well as, detecting
malicious processes that attempt to delete log files to conceal their presence. |
Ensure auditd Collects File Deletion Events by User - renameat2xccdf_org.ssgproject.content_rule_audit_rules_file_deletion_events_renameat2 medium
Ensure auditd Collects File Deletion Events by User - renameat2
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_file_deletion_events_renameat2 | ||||||||||||||||
| Result | notapplicable | ||||||||||||||||
| Multi-check rule | no | ||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||
| Severity | medium | ||||||||||||||||
| References: |
| ||||||||||||||||
| Description | At a minimum, the audit system should collect file deletion events
for all users and root. If the auditd daemon is configured to use the
augenrules program to read audit rules during daemon startup (the
default), add the following line to a file with suffix .rules in the
directory /etc/audit/rules.d, setting ARCH to either b32 for 32-bit
system, or having two lines for both b32 and b64 in case your system is 64-bit:
-a always,exit -F arch=ARCH -S renameat2 -F auid>=1000 -F auid!=unset -F key=deleteIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following line to
/etc/audit/audit.rules file, setting ARCH to either b32 for 32-bit
system, or having two lines for both b32 and b64 in case your system is 64-bit:
-a always,exit -F arch=ARCH -S renameat2 -F auid>=1000 -F auid!=unset -F key=delete | ||||||||||||||||
| Rationale | Auditing file deletions will create an audit trail for files that are removed
from the system. The audit trail could aid in system troubleshooting, as well as, detecting
malicious processes that attempt to delete log files to conceal their presence. |
Ensure auditd Collects File Deletion Events by User - unlinkxccdf_org.ssgproject.content_rule_audit_rules_file_deletion_events_unlink medium
Ensure auditd Collects File Deletion Events by User - unlink
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_file_deletion_events_unlink | ||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||
| Description | At a minimum, the audit system should collect file deletion events
for all users and root. If the auditd daemon is configured to use the
augenrules program to read audit rules during daemon startup (the
default), add the following line to a file with suffix .rules in the
directory /etc/audit/rules.d, setting ARCH to either b32 for 32-bit
system, or having two lines for both b32 and b64 in case your system is 64-bit:
-a always,exit -F arch=ARCH -S unlink -F auid>=1000 -F auid!=unset -F key=deleteIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following line to
/etc/audit/audit.rules file, setting ARCH to either b32 for 32-bit
system, or having two lines for both b32 and b64 in case your system is 64-bit:
-a always,exit -F arch=ARCH -S unlink -F auid>=1000 -F auid!=unset -F key=delete | ||||||||||||||||||||||||||||||||||
| Rationale | Auditing file deletions will create an audit trail for files that are removed
from the system. The audit trail could aid in system troubleshooting, as well as, detecting
malicious processes that attempt to delete log files to conceal their presence. |
Ensure auditd Collects File Deletion Events by User - unlinkatxccdf_org.ssgproject.content_rule_audit_rules_file_deletion_events_unlinkat medium
Ensure auditd Collects File Deletion Events by User - unlinkat
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_file_deletion_events_unlinkat | ||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||
| Description | At a minimum, the audit system should collect file deletion events
for all users and root. If the auditd daemon is configured to use the
augenrules program to read audit rules during daemon startup (the
default), add the following line to a file with suffix .rules in the
directory /etc/audit/rules.d, setting ARCH to either b32 for 32-bit
system, or having two lines for both b32 and b64 in case your system is 64-bit:
-a always,exit -F arch=ARCH -S unlinkat -F auid>=1000 -F auid!=unset -F key=deleteIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following line to
/etc/audit/audit.rules file, setting ARCH to either b32 for 32-bit
system, or having two lines for both b32 and b64 in case your system is 64-bit:
-a always,exit -F arch=ARCH -S unlinkat -F auid>=1000 -F auid!=unset -F key=delete | ||||||||||||||||||||||||||||||||||
| Rationale | Auditing file deletions will create an audit trail for files that are removed
from the system. The audit trail could aid in system troubleshooting, as well as, detecting
malicious processes that attempt to delete log files to conceal their presence. |
Record Unsuccessful Access Attempts to Files - creatxccdf_org.ssgproject.content_rule_audit_rules_unsuccessful_file_modification_creat medium
Record Unsuccessful Access Attempts to Files - creat
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_unsuccessful_file_modification_creat | ||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||
| Description | At a minimum, the audit system should collect unauthorized file
accesses for all users and root. If the auditd daemon is configured
to use the augenrules program to read audit rules during daemon
startup (the default), add the following lines to a file with suffix
.rules in the directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -S creat -F exit=-EACCES -F auid>=1000 -F auid!=unset -F key=access -a always,exit -F arch=b32 -S creat -F exit=-EPERM -F auid>=1000 -F auid!=unset -F key=accessIf the system is 64 bit then also add the following lines: -a always,exit -F arch=b64 -S creat -F exit=-EACCES -F auid>=1000 -F auid!=unset -F key=access -a always,exit -F arch=b64 -S creat -F exit=-EPERM -F auid>=1000 -F auid!=unset -F key=accessIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules file:
-a always,exit -F arch=b32 -S creat -F exit=-EACCES -F auid>=1000 -F auid!=unset -F key=access -a always,exit -F arch=b32 -S creat -F exit=-EPERM -F auid>=1000 -F auid!=unset -F key=accessIf the system is 64 bit then also add the following lines: -a always,exit -F arch=b64 -S creat -F exit=-EACCES -F auid>=1000 -F auid!=unset -F key=access -a always,exit -F arch=b64 -S creat -F exit=-EPERM -F auid>=1000 -F auid!=unset -F key=access | ||||||||||||||||||||||||||||||||||
| Rationale | Unsuccessful attempts to access files could be an indicator of malicious activity on a system. Auditing
these events could serve as evidence of potential system compromise. | ||||||||||||||||||||||||||||||||||
| Warnings | warning
Note that these rules can be configured in a
number of ways while still achieving the desired effect. Here the system calls
have been placed independent of other system calls. Grouping these system
calls with others as identifying earlier in this guide is more efficient. |
Record Unsuccessful Access Attempts to Files - ftruncatexccdf_org.ssgproject.content_rule_audit_rules_unsuccessful_file_modification_ftruncate medium
Record Unsuccessful Access Attempts to Files - ftruncate
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_unsuccessful_file_modification_ftruncate | ||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||
| Description | At a minimum, the audit system should collect unauthorized file
accesses for all users and root. If the auditd daemon is configured
to use the augenrules program to read audit rules during daemon
startup (the default), add the following lines to a file with suffix
.rules in the directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -S ftruncate -F exit=-EACCES -F auid>=1000 -F auid!=unset -F key=access -a always,exit -F arch=b32 -S ftruncate -F exit=-EPERM -F auid>=1000 -F auid!=unset -F key=accessIf the system is 64 bit then also add the following lines: -a always,exit -F arch=b64 -S ftruncate -F exit=-EACCES -F auid>=1000 -F auid!=unset -F key=access -a always,exit -F arch=b64 -S ftruncate -F exit=-EPERM -F auid>=1000 -F auid!=unset -F key=accessIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules file:
-a always,exit -F arch=b32 -S ftruncate -F exit=-EACCES -F auid>=1000 -F auid!=unset -F key=access -a always,exit -F arch=b32 -S ftruncate -F exit=-EPERM -F auid>=1000 -F auid!=unset -F key=accessIf the system is 64 bit then also add the following lines: -a always,exit -F arch=b64 -S ftruncate -F exit=-EACCES -F auid>=1000 -F auid!=unset -F key=access -a always,exit -F arch=b64 -S ftruncate -F exit=-EPERM -F auid>=1000 -F auid!=unset -F key=access | ||||||||||||||||||||||||||||||||||
| Rationale | Unsuccessful attempts to access files could be an indicator of malicious activity on a system. Auditing
these events could serve as evidence of potential system compromise. | ||||||||||||||||||||||||||||||||||
| Warnings | warning
Note that these rules can be configured in a
number of ways while still achieving the desired effect. Here the system calls
have been placed independent of other system calls. Grouping these system
calls with others as identifying earlier in this guide is more efficient. |
Record Unsuccessful Access Attempts to Files - openxccdf_org.ssgproject.content_rule_audit_rules_unsuccessful_file_modification_open medium
Record Unsuccessful Access Attempts to Files - open
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_unsuccessful_file_modification_open | ||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||
| Description | At a minimum, the audit system should collect unauthorized file
accesses for all users and root. If the auditd daemon is configured
to use the augenrules program to read audit rules during daemon
startup (the default), add the following lines to a file with suffix
.rules in the directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -S open -F exit=-EACCES -F auid>=1000 -F auid!=unset -F key=access -a always,exit -F arch=b32 -S open -F exit=-EPERM -F auid>=1000 -F auid!=unset -F key=accessIf the system is 64 bit then also add the following lines: -a always,exit -F arch=b64 -S open -F exit=-EACCES -F auid>=1000 -F auid!=unset -F key=access -a always,exit -F arch=b64 -S open -F exit=-EPERM -F auid>=1000 -F auid!=unset -F key=accessIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules file:
-a always,exit -F arch=b32 -S open -F exit=-EACCES -F auid>=1000 -F auid!=unset -F key=access -a always,exit -F arch=b32 -S open -F exit=-EPERM -F auid>=1000 -F auid!=unset -F key=accessIf the system is 64 bit then also add the following lines: -a always,exit -F arch=b64 -S open -F exit=-EACCES -F auid>=1000 -F auid!=unset -F key=access -a always,exit -F arch=b64 -S open -F exit=-EPERM -F auid>=1000 -F auid!=unset -F key=access | ||||||||||||||||||||||||||||||||||
| Rationale | Unsuccessful attempts to access files could be an indicator of malicious activity on a system. Auditing
these events could serve as evidence of potential system compromise. | ||||||||||||||||||||||||||||||||||
| Warnings | warning
Note that these rules can be configured in a
number of ways while still achieving the desired effect. Here the system calls
have been placed independent of other system calls. Grouping these system
calls with others as identifying earlier in this guide is more efficient. |
Record Unsuccessful Access Attempts to Files - openatxccdf_org.ssgproject.content_rule_audit_rules_unsuccessful_file_modification_openat medium
Record Unsuccessful Access Attempts to Files - openat
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_unsuccessful_file_modification_openat | ||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||
| Description | At a minimum, the audit system should collect unauthorized file
accesses for all users and root. If the auditd daemon is configured
to use the augenrules program to read audit rules during daemon
startup (the default), add the following lines to a file with suffix
.rules in the directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -S openat -F exit=-EACCES -F auid>=1000 -F auid!=unset -F key=access -a always,exit -F arch=b32 -S openat -F exit=-EPERM -F auid>=1000 -F auid!=unset -F key=accessIf the system is 64 bit then also add the following lines: -a always,exit -F arch=b64 -S openat -F exit=-EACCES -F auid>=1000 -F auid!=unset -F key=access -a always,exit -F arch=b64 -S openat -F exit=-EPERM -F auid>=1000 -F auid!=unset -F key=accessIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules file:
-a always,exit -F arch=b32 -S openat -F exit=-EACCES -F auid>=1000 -F auid!=unset -F key=access -a always,exit -F arch=b32 -S openat -F exit=-EPERM -F auid>=1000 -F auid!=unset -F key=accessIf the system is 64 bit then also add the following lines: -a always,exit -F arch=b64 -S openat -F exit=-EACCES -F auid>=1000 -F auid!=unset -F key=access -a always,exit -F arch=b64 -S openat -F exit=-EPERM -F auid>=1000 -F auid!=unset -F key=access | ||||||||||||||||||||||||||||||||||
| Rationale | Unsuccessful attempts to access files could be an indicator of malicious activity on a system. Auditing
these events could serve as evidence of potential system compromise. | ||||||||||||||||||||||||||||||||||
| Warnings | warning
Note that these rules can be configured in a
number of ways while still achieving the desired effect. Here the system calls
have been placed independent of other system calls. Grouping these system
calls with others as identifying earlier in this guide is more efficient. |
Record Unsuccessful Access Attempts to Files - truncatexccdf_org.ssgproject.content_rule_audit_rules_unsuccessful_file_modification_truncate medium
Record Unsuccessful Access Attempts to Files - truncate
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_unsuccessful_file_modification_truncate | ||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||
| Description | At a minimum, the audit system should collect unauthorized file
accesses for all users and root. If the auditd daemon is configured
to use the augenrules program to read audit rules during daemon
startup (the default), add the following lines to a file with suffix
.rules in the directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -S truncate -F exit=-EACCES -F auid>=1000 -F auid!=unset -F key=access -a always,exit -F arch=b32 -S truncate -F exit=-EPERM -F auid>=1000 -F auid!=unset -F key=accessIf the system is 64 bit then also add the following lines: -a always,exit -F arch=b64 -S truncate -F exit=-EACCES -F auid>=1000 -F auid!=unset -F key=access -a always,exit -F arch=b64 -S truncate -F exit=-EPERM -F auid>=1000 -F auid!=unset -F key=accessIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules file:
-a always,exit -F arch=b32 -S truncate -F exit=-EACCES -F auid>=1000 -F auid!=unset -F key=access -a always,exit -F arch=b32 -S truncate -F exit=-EPERM -F auid>=1000 -F auid!=unset -F key=accessIf the system is 64 bit then also add the following lines: -a always,exit -F arch=b64 -S truncate -F exit=-EACCES -F auid>=1000 -F auid!=unset -F key=access -a always,exit -F arch=b64 -S truncate -F exit=-EPERM -F auid>=1000 -F auid!=unset -F key=access | ||||||||||||||||||||||||||||||||||
| Rationale | Unsuccessful attempts to access files could be an indicator of malicious activity on a system. Auditing
these events could serve as evidence of potential system compromise. | ||||||||||||||||||||||||||||||||||
| Warnings | warning
Note that these rules can be configured in a
number of ways while still achieving the desired effect. Here the system calls
have been placed independent of other system calls. Grouping these system
calls with others as identifying earlier in this guide is more efficient. |
Ensure auditd Collects Information on Kernel Module Unloading - delete_modulexccdf_org.ssgproject.content_rule_audit_rules_kernel_module_loading_delete medium
Ensure auditd Collects Information on Kernel Module Unloading - delete_module
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_kernel_module_loading_delete | ||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||
| Description |
To capture kernel module loading and unloading events, use the following line, setting ARCH to
either b32 for 32-bit system, or having two lines for both b32 and b64 in case your system is 64-bit:
-a always,exit -F arch=ARCH -S delete_module -F auid>=1000 -F auid!=unset -F key=modulesPlace to add the line depends on a way auditd daemon is configured. If it is configured
to use the augenrules program (the default), add the line to a file with suffix
.rules in the directory /etc/audit/rules.d.
If the auditd daemon is configured to use the auditctl utility,
add the line to file /etc/audit/audit.rules. | ||||||||||||||||||||||||||||||||
| Rationale | The removal of kernel modules can be used to alter the behavior of
the kernel and potentially introduce malicious code into kernel space. It is important
to have an audit trail of modules that have been introduced into the kernel. |
Ensure auditd Collects Information on Kernel Module Loading and Unloading - finit_modulexccdf_org.ssgproject.content_rule_audit_rules_kernel_module_loading_finit medium
Ensure auditd Collects Information on Kernel Module Loading and Unloading - finit_module
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_kernel_module_loading_finit | ||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||
| Description |
To capture kernel module loading and unloading events, use the following line, setting ARCH to
either b32 for 32-bit system, or having two lines for both b32 and b64 in case your system is 64-bit:
-a always,exit -F arch=ARCH -S finit_module -F auid>=1000 -F auid!=unset -F key=modulesPlace to add the line depends on a way auditd daemon is configured. If it is configured
to use the augenrules program (the default), add the line to a file with suffix
.rules in the directory /etc/audit/rules.d.
If the auditd daemon is configured to use the auditctl utility,
add the line to file /etc/audit/audit.rules. | ||||||||||||||||||||||||||||||||
| Rationale | The addition/removal of kernel modules can be used to alter the behavior of
the kernel and potentially introduce malicious code into kernel space. It is important
to have an audit trail of modules that have been introduced into the kernel. |
Ensure auditd Collects Information on Kernel Module Loading - init_modulexccdf_org.ssgproject.content_rule_audit_rules_kernel_module_loading_init medium
Ensure auditd Collects Information on Kernel Module Loading - init_module
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_kernel_module_loading_init | ||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||
| Description |
To capture kernel module loading and unloading events, use the following line, setting ARCH to
either b32 for 32-bit system, or having two lines for both b32 and b64 in case your system is 64-bit:
-a always,exit -F arch=ARCH -S init_module -F auid>=1000 -F auid!=unset -F key=modulesPlace to add the line depends on a way auditd daemon is configured. If it is configured
to use the augenrules program (the default), add the line to a file with suffix
.rules in the directory /etc/audit/rules.d.
If the auditd daemon is configured to use the auditctl utility,
add the line to file /etc/audit/audit.rules. | ||||||||||||||||||||||||||||||||
| Rationale | The addition of kernel modules can be used to alter the behavior of
the kernel and potentially introduce malicious code into kernel space. It is important
to have an audit trail of modules that have been introduced into the kernel. |
Ensure auditd Collects Information on Kernel Module Loading and Unloading - query_modulexccdf_org.ssgproject.content_rule_audit_rules_kernel_module_loading_query medium
Ensure auditd Collects Information on Kernel Module Loading and Unloading - query_module
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_kernel_module_loading_query | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description |
To capture kernel module loading and unloading events, use the following line, setting ARCH to
either b32 for 32-bit system, or having two lines for both b32 and b64 in case your system is 64-bit:
-a always,exit -F arch=ARCH -S query_module -F auid>=1000 -F auid!=unset -F key=modulesPlace to add the line depends on a way auditd daemon is configured. If it is configured
to use the augenrules program (the default), add the line to a file with suffix
.rules in the directory /etc/audit/rules.d.
If the auditd daemon is configured to use the auditctl utility,
add the line to file /etc/audit/audit.rules. | ||
| Rationale | The addition/removal of kernel modules can be used to alter the behavior of
the kernel and potentially introduce malicious code into kernel space. It is important
to have an audit trail of modules that have been introduced into the kernel. |
Record Attempts to Alter Logon and Logout Events - faillockxccdf_org.ssgproject.content_rule_audit_rules_login_events_faillock medium
Record Attempts to Alter Logon and Logout Events - faillock
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_login_events_faillock | ||||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||
| Description | The audit system already collects login information for all users
and root.
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following lines to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -F path=/var/run/faillock -F perm=wa -F key=logins -a always,exit -F arch=b64 -F path=/var/run/faillock -F perm=wa -F key=loginsIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules:
-a always,exit -F arch=b32 -F path=/var/run/faillock -F perm=wa -F key=logins -a always,exit -F arch=b64 -F path=/var/run/faillock -F perm=wa -F key=logins | ||||||||||||||||||||||||||||||||||||||
| Rationale | Manual editing of these files may indicate nefarious activity, such
as an attacker attempting to remove evidence of an intrusion. |
Record Attempts to Alter Logon and Logout Events - lastlogxccdf_org.ssgproject.content_rule_audit_rules_login_events_lastlog medium
Record Attempts to Alter Logon and Logout Events - lastlog
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_login_events_lastlog | ||||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||
| Description | The audit system already collects login information for all users
and root.
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following lines to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -F path=/var/log/lastlog -F perm=wa -F key=logins -a always,exit -F arch=b64 -F path=/var/log/lastlog -F perm=wa -F key=loginsIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules:
-a always,exit -F arch=b32 -F path=/var/log/lastlog -F perm=wa -F key=logins -a always,exit -F arch=b64 -F path=/var/log/lastlog -F perm=wa -F key=logins | ||||||||||||||||||||||||||||||||||||||
| Rationale | Manual editing of these files may indicate nefarious activity, such
as an attacker attempting to remove evidence of an intrusion. |
Ensure auditd Collects Information on the Use of Privileged Commandsxccdf_org.ssgproject.content_rule_audit_rules_privileged_commands medium
Ensure auditd Collects Information on the Use of Privileged Commands
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_privileged_commands | ||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||
| Description | The audit system should collect information about usage of privileged commands for all users.
These are commands with suid or sgid bits on and they are specially risky in local block
device partitions not mounted with noexec and nosuid options. Therefore, these partitions
should be first identified by the following command:
findmnt -n -l -k -it $(awk '/nodev/ { print $2 }' /proc/filesystems | paste -sd,) | grep -Pv "noexec|nosuid"
For all partitions listed by the previous command, it is necessary to search for
setuid / setgid programs using the following command:
$ sudo find PARTITION -xdev -perm /6000 -type f 2>/dev/nullFor each setuid / setgid program identified by the previous command, an audit rule must be present in the appropriate place using the following line structure, setting ARCH to either b32 for 32-bit system, or having two lines for both b32 and b64 in case your system is 64-bit: -a always,exit -F arch=ARCH -F path=PROG_PATH -F perm=x -F auid>=1000 -F auid!=unset -F key=privilegedIf the auditd daemon is configured to use the augenrules program to read
audit rules during daemon startup, add the line to a file with suffix .rules in the
/etc/audit/rules.d directory, replacing the PROG_PATH part with the full path
of that setuid / setgid identified program.
If the auditd daemon is configured to use the auditctl utility instead, add
the line to the /etc/audit/audit.rules file, also replacing the PROG_PATH part
with the full path of that setuid / setgid identified program. | ||||||||||||||||||||||||||||||||
| Rationale | Misuse of privileged functions, either intentionally or unintentionally by authorized users,
or by unauthorized external entities that have compromised system accounts, is a serious and
ongoing concern that can have significant adverse impacts on organizations.
Auditing the use of privileged functions is one way to detect such misuse and identify the
risk from insider and advanced persistent threats.
Privileged programs are subject to escalation-of-privilege attacks, which attempt to subvert their normal role of providing some necessary but limited capability. As such, motivation exists to monitor these programs for unusual activity. | ||||||||||||||||||||||||||||||||
| Warnings | warning
This rule checks for multiple syscalls related to privileged commands. If needed to check
specific privileged commands, other more specific rules should be considered. For example:
warning
Note that OVAL check and Bash / Ansible remediation of this rule
explicitly excludes file systems mounted at /proc directory
and its subdirectories. It is a virtual file system and it doesn't
contain executable applications. At the same time, interacting with this
file system during check or remediation caused undesirable errors. |
Ensure auditd Collects Information on the Use of Privileged Commands - kmodxccdf_org.ssgproject.content_rule_audit_rules_privileged_commands_kmod medium
Ensure auditd Collects Information on the Use of Privileged Commands - kmod
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_privileged_commands_kmod | ||||||||||||||
| Result | notapplicable | ||||||||||||||
| Multi-check rule | no | ||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||
| Severity | medium | ||||||||||||||
| References: |
| ||||||||||||||
| Description |
At a minimum, the audit system should collect the execution of privileged
commands for all users and root.
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add
a line of the following form to a file with suffix .rules
in the directory /etc/audit/rules.d, setting ARCH to either b32 for 32-bit system, or having two lines for both b32 and b64 in case your system is 64-bit:
-a always,exit -F arch=ARCH -F path=/usr/bin/kmod -F perm=x -F auid>=1000 -F auid!=unset -F key=privilegedIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add a line of the
following form to /etc/audit/audit.rules, setting ARCH to either b32 for 32-bit system, or having two lines for both b32 and b64 in case your system is 64-bit:
-a always,exit -F arch=ARCH -F path=/usr/bin/kmod -F perm=x -F auid>=1000 -F auid!=unset -F key=privileged | ||||||||||||||
| Rationale | Without generating audit records that are specific to the security and
mission needs of the organization, it would be difficult to establish,
correlate, and investigate the events relating to an incident or identify
those responsible for one.
Audit records can be generated from various components within the
information system (e.g., module or policy filter). |
Ensure auditd Collects Information on the Use of Privileged Commands - usermodxccdf_org.ssgproject.content_rule_audit_rules_privileged_commands_usermod medium
Ensure auditd Collects Information on the Use of Privileged Commands - usermod
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_privileged_commands_usermod | ||||||||||||
| Result | notapplicable | ||||||||||||
| Multi-check rule | no | ||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||
| Severity | medium | ||||||||||||
| References: |
| ||||||||||||
| Description |
At a minimum, the audit system should collect the execution of privileged
commands for all users and root.
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add
a line of the following form to a file with suffix .rules
in the directory /etc/audit/rules.d, setting ARCH to either b32 for 32-bit system, or having two lines for both b32 and b64 in case your system is 64-bit:
-a always,exit -F arch=ARCH -F path=/usr/sbin/usermod -F perm=x -F auid>=1000 -F auid!=unset -F key=privilegedIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add a line of the
following form to /etc/audit/audit.rules, setting ARCH to either b32 for 32-bit system, or having two lines for both b32 and b64 in case your system is 64-bit:
-a always,exit -F arch=ARCH -F path=/usr/sbin/usermod -F perm=x -F auid>=1000 -F auid!=unset -F key=privileged | ||||||||||||
| Rationale | Misuse of privileged functions, either intentionally or unintentionally by
authorized users, or by unauthorized external entities that have compromised system accounts,
is a serious and ongoing concern and can have significant adverse impacts on organizations.
Auditing the use of privileged functions is one way to detect such misuse and identify
the risk from insider and advanced persistent threats.
Privileged programs are subject to escalation-of-privilege attacks, which attempt to subvert their normal role of providing some necessary but limited capability. As such, motivation exists to monitor these programs for unusual activity. |
Record attempts to alter time through adjtimexxccdf_org.ssgproject.content_rule_audit_rules_time_adjtimex medium
Record attempts to alter time through adjtimex
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_time_adjtimex | ||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||
| Description | If the auditd daemon is configured to use the
augenrules program to read audit rules during daemon startup (the
default), add the following line to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -S adjtimex -F key=audit_time_rulesIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S adjtimex -F key=audit_time_rulesIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following line to
/etc/audit/audit.rules file:
-a always,exit -F arch=b32 -S adjtimex -F key=audit_time_rulesIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S adjtimex -F key=audit_time_rulesThe -k option allows for the specification of a key in string form that can be used for better reporting capability through ausearch and aureport. Multiple system calls can be defined on the same line to save space if desired, but is not required. See an example of multiple combined syscalls: -a always,exit -F arch=b64 -S adjtimex,settimeofday -F key=audit_time_rules | ||||||||||||||||||||||||||||||
| Rationale | Arbitrary changes to the system time can be used to obfuscate
nefarious activities in log files, as well as to confuse network services that
are highly dependent upon an accurate system time (such as sshd). All changes
to the system time should be audited. |
Record Attempts to Alter Time Through clock_settimexccdf_org.ssgproject.content_rule_audit_rules_time_clock_settime medium
Record Attempts to Alter Time Through clock_settime
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_time_clock_settime | ||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||
| Description | If the auditd daemon is configured to use the
augenrules program to read audit rules during daemon startup (the
default), add the following line to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -S clock_settime -F a0=0x0 -F key=time-changeIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S clock_settime -F a0=0x0 -F key=time-changeIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following line to
/etc/audit/audit.rules file:
-a always,exit -F arch=b32 -S clock_settime -F a0=0x0 -F key=time-changeIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S clock_settime -F a0=0x0 -F key=time-changeThe -k option allows for the specification of a key in string form that can be used for better reporting capability through ausearch and aureport. Multiple system calls can be defined on the same line to save space if desired, but is not required. See an example of multiple combined syscalls: -a always,exit -F arch=b64 -S adjtimex,settimeofday -F key=audit_time_rules | ||||||||||||||||||||||||||||||
| Rationale | Arbitrary changes to the system time can be used to obfuscate
nefarious activities in log files, as well as to confuse network services that
are highly dependent upon an accurate system time (such as sshd). All changes
to the system time should be audited. |
Record attempts to alter time through settimeofdayxccdf_org.ssgproject.content_rule_audit_rules_time_settimeofday medium
Record attempts to alter time through settimeofday
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_time_settimeofday | ||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||
| Description | If the auditd daemon is configured to use the
augenrules program to read audit rules during daemon startup (the
default), add the following line to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -S settimeofday -F key=audit_time_rulesIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S settimeofday -F key=audit_time_rulesIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following line to
/etc/audit/audit.rules file:
-a always,exit -F arch=b32 -S settimeofday -F key=audit_time_rulesIf the system is 64 bit then also add the following line: -a always,exit -F arch=b64 -S settimeofday -F key=audit_time_rulesThe -k option allows for the specification of a key in string form that can be used for better reporting capability through ausearch and aureport. Multiple system calls can be defined on the same line to save space if desired, but is not required. See an example of multiple combined syscalls: -a always,exit -F arch=b64 -S adjtimex,settimeofday -F key=audit_time_rules | ||||||||||||||||||||||||||||
| Rationale | Arbitrary changes to the system time can be used to obfuscate
nefarious activities in log files, as well as to confuse network services that
are highly dependent upon an accurate system time (such as sshd). All changes
to the system time should be audited. |
Record Attempts to Alter the localtime Filexccdf_org.ssgproject.content_rule_audit_rules_time_watch_localtime medium
Record Attempts to Alter the localtime File
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_time_watch_localtime | ||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||
| Description |
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following lines to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -F path=/etc/localtime -F perm=wa -F key=audit_time_rules -a always,exit -F arch=b64 -F path=/etc/localtime -F perm=wa -F key=audit_time_rulesIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules:
-a always,exit -F arch=b32 -F path=/etc/localtime -F perm=wa -F key=audit_time_rules -a always,exit -F arch=b64 -F path=/etc/localtime -F perm=wa -F key=audit_time_rules | ||||||||||||||||||||||||||||||
| Rationale | Arbitrary changes to the system time can be used to obfuscate
nefarious activities in log files, as well as to confuse network services that
are highly dependent upon an accurate system time (such as sshd). All changes
to the system time should be audited. |
Ensure the Audit Configuration is Loaded Regardless of Errorsxccdf_org.ssgproject.content_rule_audit_rules_continue_loading medium
Ensure the Audit Configuration is Loaded Regardless of Errors
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_continue_loading | ||||
| Result | notapplicable | ||||
| Multi-check rule | no | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | Set -c flag so that auditctl will continue loading rules in spite of an error. The exit
code will not be success if any rule fails to load. | ||||
| Rationale | The default behaviour of auditctl is to stop loading any further rules if it encounters an
error in the rules (for example a file watcher referencing a non-existent file). This can
lead to auditd running without valid rules being present. It is best to have all valid rules
loaded and active rather than a subset |
Make the auditd Configuration Immutablexccdf_org.ssgproject.content_rule_audit_rules_immutable medium
Make the auditd Configuration Immutable
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_immutable | ||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||
| Description | If the auditd daemon is configured to use the
augenrules program to read audit rules during daemon startup (the
default), add the following line to a file with suffix .rules in the
directory /etc/audit/rules.d in order to make the auditd configuration
immutable:
-e 2If the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following line to
/etc/audit/audit.rules file in order to make the auditd configuration
immutable:
-e 2With this setting, a reboot will be required to change any audit rules. | ||||||||||||||||||||||||||||||||||||
| Rationale | Making the audit configuration immutable prevents accidental as
well as malicious modification of the audit rules, although it may be
problematic if legitimate changes are needed during system
operation. |
Record Events that Modify the System's Mandatory Access Controls (/etc/selinux)xccdf_org.ssgproject.content_rule_audit_rules_mac_modification_etc_selinux medium
Record Events that Modify the System's Mandatory Access Controls (/etc/selinux)
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_mac_modification_etc_selinux | ||||||||||
| Result | notapplicable | ||||||||||
| Multi-check rule | no | ||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||
| Severity | medium | ||||||||||
| References: |
| ||||||||||
| Description |
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following lines to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -F dir=/etc/selinux/ -F perm=wa -F key=MAC-policy -a always,exit -F arch=b64 -F dir=/etc/selinux/ -F perm=wa -F key=MAC-policyIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules:
-a always,exit -F arch=b32 -F dir=/etc/selinux/ -F perm=wa -F key=MAC-policy -a always,exit -F arch=b64 -F dir=/etc/selinux/ -F perm=wa -F key=MAC-policy | ||||||||||
| Rationale | The system's mandatory access policy (SELinux) should not be
arbitrarily changed by anything other than administrator action. All changes to
MAC policy should be audited. |
Record Events that Modify the System's Mandatory Access Controls in usr/sharexccdf_org.ssgproject.content_rule_audit_rules_mac_modification_usr_share medium
Record Events that Modify the System's Mandatory Access Controls in usr/share
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_mac_modification_usr_share | ||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||
| References: |
| ||||||||||||||||||||
| Description |
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following lines to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -F dir=/usr/share/selinux/ -F perm=wa -F key=MAC-policy -a always,exit -F arch=b64 -F dir=/usr/share/selinux/ -F perm=wa -F key=MAC-policyIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules:
-a always,exit -F arch=b32 -F dir=/usr/share/selinux/ -F perm=wa -F key=MAC-policy -a always,exit -F arch=b64 -F dir=/usr/share/selinux/ -F perm=wa -F key=MAC-policy | ||||||||||||||||||||
| Rationale | The system's mandatory access policy (SELinux) should not be
arbitrarily changed by anything other than administrator action. All changes to
MAC policy should be audited. |
Ensure auditd Collects Information on Exporting to Media (successful)xccdf_org.ssgproject.content_rule_audit_rules_media_export medium
Ensure auditd Collects Information on Exporting to Media (successful)
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_media_export | ||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||
| Description | At a minimum, the audit system should collect media exportation
events for all users and root. If the auditd daemon is configured to
use the augenrules program to read audit rules during daemon startup
(the default), add the following line to a file with suffix .rules in
the directory /etc/audit/rules.d, setting ARCH to either b32 for
32-bit system, or having two lines for both b32 and b64 in case your
system is 64-bit:
-a always,exit -F arch=ARCH -S mount -F auid>=1000 -F auid!=unset -F key=exportIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following line to
/etc/audit/audit.rules file, setting ARCH to either b32 for
32-bit system, or having two lines for both b32 and b64 in case your
system is 64-bit:
-a always,exit -F arch=ARCH -S mount -F auid>=1000 -F auid!=unset -F key=export | ||||||||||||||||||||||||||||||||||||
| Rationale | The unauthorized exportation of data to external media could result in an information leak
where classified information, Privacy Act information, and intellectual property could be lost. An audit
trail should be created each time a filesystem is mounted to help identify and guard against information
loss. |
Record Events that Modify the System's Network Environment - /etc/hostsxccdf_org.ssgproject.content_rule_audit_rules_networkconfig_modification_etc_hosts medium
Record Events that Modify the System's Network Environment - /etc/hosts
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_networkconfig_modification_etc_hosts | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description |
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following lines to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -F path=/etc/hosts -F perm=wa -F key=system-locale -a always,exit -F arch=b64 -F path=/etc/hosts -F perm=wa -F key=system-localeIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules:
-a always,exit -F arch=b32 -F path=/etc/hosts -F perm=wa -F key=system-locale -a always,exit -F arch=b64 -F path=/etc/hosts -F perm=wa -F key=system-locale | ||
| Rationale | The network environment should not be modified by anything other
than administrator action. Any change to network parameters should be
audited. |
Record Events that Modify the System's Network Environment - /etc/issuexccdf_org.ssgproject.content_rule_audit_rules_networkconfig_modification_etc_issue medium
Record Events that Modify the System's Network Environment - /etc/issue
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_networkconfig_modification_etc_issue | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description |
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following lines to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -F path=/etc/issue -F perm=wa -F key=system-locale -a always,exit -F arch=b64 -F path=/etc/issue -F perm=wa -F key=system-localeIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules:
-a always,exit -F arch=b32 -F path=/etc/issue -F perm=wa -F key=system-locale -a always,exit -F arch=b64 -F path=/etc/issue -F perm=wa -F key=system-locale | ||
| Rationale | The network environment should not be modified by anything other
than administrator action. Any change to network parameters should be
audited. |
Record Events that Modify the System's Network Environment - /etc/issue.netxccdf_org.ssgproject.content_rule_audit_rules_networkconfig_modification_etc_issue_net medium
Record Events that Modify the System's Network Environment - /etc/issue.net
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_networkconfig_modification_etc_issue_net | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description |
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following lines to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -F path=/etc/issue.net -F perm=wa -F key=system-locale -a always,exit -F arch=b64 -F path=/etc/issue.net -F perm=wa -F key=system-localeIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules:
-a always,exit -F arch=b32 -F path=/etc/issue.net -F perm=wa -F key=system-locale -a always,exit -F arch=b64 -F path=/etc/issue.net -F perm=wa -F key=system-locale | ||
| Rationale | The network environment should not be modified by anything other
than administrator action. Any change to network parameters should be
audited. |
Record Events that Modify the System's Network Environment - /etc/NetworkManager/system-connections/xccdf_org.ssgproject.content_rule_audit_rules_networkconfig_modification_etc_networkmanager_system_connections medium
Record Events that Modify the System's Network Environment - /etc/NetworkManager/system-connections/
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_networkconfig_modification_etc_networkmanager_system_connections | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description |
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following lines to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -F dir=/etc/NetworkManager/system-connections/ -F perm=wa -F key=system-locale -a always,exit -F arch=b64 -F dir=/etc/NetworkManager/system-connections/ -F perm=wa -F key=system-localeIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules:
-a always,exit -F arch=b32 -F dir=/etc/NetworkManager/system-connections/ -F perm=wa -F key=system-locale -a always,exit -F arch=b64 -F dir=/etc/NetworkManager/system-connections/ -F perm=wa -F key=system-locale | ||
| Rationale | The network environment should not be modified by anything other
than administrator action. Any change to network parameters should be
audited. |
Record Events that Modify the System's Network Environment - /etc/sysconfig/networkxccdf_org.ssgproject.content_rule_audit_rules_networkconfig_modification_etc_sysconfig_network medium
Record Events that Modify the System's Network Environment - /etc/sysconfig/network
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_networkconfig_modification_etc_sysconfig_network | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description |
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following lines to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -F path=/etc/sysconfig/network -F perm=wa -F key=system-locale -a always,exit -F arch=b64 -F path=/etc/sysconfig/network -F perm=wa -F key=system-localeIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules:
-a always,exit -F arch=b32 -F path=/etc/sysconfig/network -F perm=wa -F key=system-locale -a always,exit -F arch=b64 -F path=/etc/sysconfig/network -F perm=wa -F key=system-locale | ||
| Rationale | The network environment should not be modified by anything other
than administrator action. Any change to network parameters should be
audited. |
Record Events that Modify the System's Network Environment - /etc/hostnamexccdf_org.ssgproject.content_rule_audit_rules_networkconfig_modification_hostname_file medium
Record Events that Modify the System's Network Environment - /etc/hostname
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_networkconfig_modification_hostname_file | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description |
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following lines to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -F path=/etc/hostname -F perm=wa -F key=system-locale -a always,exit -F arch=b64 -F path=/etc/hostname -F perm=wa -F key=system-localeIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules:
-a always,exit -F arch=b32 -F path=/etc/hostname -F perm=wa -F key=system-locale -a always,exit -F arch=b64 -F path=/etc/hostname -F perm=wa -F key=system-locale | ||
| Rationale | The network environment should not be modified by anything other
than administrator action. Any change to network parameters should be
audited. |
Record Events that Modify the System's Network Environment - /etc/NetworkManager/xccdf_org.ssgproject.content_rule_audit_rules_networkconfig_modification_networkmanager medium
Record Events that Modify the System's Network Environment - /etc/NetworkManager/
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_networkconfig_modification_networkmanager | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description |
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following lines to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -F path=/etc/NetworkManager -F perm=wa -F key=system-locale -a always,exit -F arch=b64 -F path=/etc/NetworkManager -F perm=wa -F key=system-localeIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules:
-a always,exit -F arch=b32 -F path=/etc/NetworkManager -F perm=wa -F key=system-locale -a always,exit -F arch=b64 -F path=/etc/NetworkManager -F perm=wa -F key=system-locale | ||
| Rationale | The network environment should not be modified by anything other
than administrator action. Any change to network parameters should be
audited. |
Record Events that Modify the System's Network Environment - setdomainnamexccdf_org.ssgproject.content_rule_audit_rules_networkconfig_modification_setdomainname medium
Record Events that Modify the System's Network Environment - setdomainname
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_networkconfig_modification_setdomainname | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | The audit system should collect setdomainname
events for all users and root. If the auditd daemon is configured to
use the augenrules program to read audit rules during daemon startup
(the default), add the following line to a file with suffix .rules in
the directory /etc/audit/rules.d, setting ARCH to either b32 for
32-bit system, or having two lines for both b32 and b64 in case your
system is 64-bit:
-a always,exit -F arch=ARCH -S setdomainname -F auid>=1000 -F auid!=unset -F key=system-localeIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following line to
/etc/audit/audit.rules file, setting ARCH to either b32 for
32-bit system, or having two lines for both b32 and b64 in case your
system is 64-bit:
-a always,exit -F arch=ARCH -S setdomainname -F auid>=1000 -F auid!=unset -F key=system-locale | ||
| Rationale | Monitoring setdomainname will identify potential unauthorized
changes to host name of a system. The changing of the host name could
potentially break security parameters that are set based on this name. |
Record Events that Modify the System's Network Environment - sethostnamexccdf_org.ssgproject.content_rule_audit_rules_networkconfig_modification_sethostname medium
Record Events that Modify the System's Network Environment - sethostname
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_networkconfig_modification_sethostname | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description | The audit system should collect sethostname
events for all users and root. If the auditd daemon is configured to
use the augenrules program to read audit rules during daemon startup
(the default), add the following line to a file with suffix .rules in
the directory /etc/audit/rules.d, setting ARCH to either b32 for
32-bit system, or having two lines for both b32 and b64 in case your
system is 64-bit:
-a always,exit -F arch=ARCH -S sethostname -F auid>=1000 -F auid!=unset -F key=system-localeIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following line to
/etc/audit/audit.rules file, setting ARCH to either b32 for
32-bit system, or having two lines for both b32 and b64 in case your
system is 64-bit:
-a always,exit -F arch=ARCH -S sethostname -F auid>=1000 -F auid!=unset -F key=system-locale | ||
| Rationale | Monitoring sethostname will identify potential unauthorized
changes to host name of a system. The changing of the host name could
potentially break security parameters that are set based on this name. |
Record Attempts to Alter Process and Session Initiation Information btmpxccdf_org.ssgproject.content_rule_audit_rules_session_events_btmp medium
Record Attempts to Alter Process and Session Initiation Information btmp
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_session_events_btmp | ||||||||||||||
| Result | notapplicable | ||||||||||||||
| Multi-check rule | no | ||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||
| Severity | medium | ||||||||||||||
| References: |
| ||||||||||||||
| Description | The audit system already collects process information for all
users and root.
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following lines to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -F path=/var/log/btmp -F perm=wa -F key=session -a always,exit -F arch=b64 -F path=/var/log/btmp -F perm=wa -F key=sessionIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules:
-a always,exit -F arch=b32 -F path=/var/log/btmp -F perm=wa -F key=session -a always,exit -F arch=b64 -F path=/var/log/btmp -F perm=wa -F key=session | ||||||||||||||
| Rationale | Manual editing of these files may indicate nefarious activity, such
as an attacker attempting to remove evidence of an intrusion. |
Record Attempts to Alter Process and Session Initiation Information utmpxccdf_org.ssgproject.content_rule_audit_rules_session_events_utmp medium
Record Attempts to Alter Process and Session Initiation Information utmp
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_session_events_utmp | ||||||||||||||
| Result | notapplicable | ||||||||||||||
| Multi-check rule | no | ||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||
| Severity | medium | ||||||||||||||
| References: |
| ||||||||||||||
| Description | The audit system already collects process information for all
users and root.
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following lines to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -F path=/var/run/utmp -F perm=wa -F key=session -a always,exit -F arch=b64 -F path=/var/run/utmp -F perm=wa -F key=sessionIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules:
-a always,exit -F arch=b32 -F path=/var/run/utmp -F perm=wa -F key=session -a always,exit -F arch=b64 -F path=/var/run/utmp -F perm=wa -F key=session | ||||||||||||||
| Rationale | Manual editing of these files may indicate nefarious activity, such
as an attacker attempting to remove evidence of an intrusion. |
Record Attempts to Alter Process and Session Initiation Information wtmpxccdf_org.ssgproject.content_rule_audit_rules_session_events_wtmp medium
Record Attempts to Alter Process and Session Initiation Information wtmp
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_session_events_wtmp | ||||||||||||||
| Result | notapplicable | ||||||||||||||
| Multi-check rule | no | ||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||
| Severity | medium | ||||||||||||||
| References: |
| ||||||||||||||
| Description | The audit system already collects process information for all
users and root.
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following lines to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -F path=/var/log/wtmp -F perm=wa -F key=session -a always,exit -F arch=b64 -F path=/var/log/wtmp -F perm=wa -F key=sessionIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules:
-a always,exit -F arch=b32 -F path=/var/log/wtmp -F perm=wa -F key=session -a always,exit -F arch=b64 -F path=/var/log/wtmp -F perm=wa -F key=session | ||||||||||||||
| Rationale | Manual editing of these files may indicate nefarious activity, such
as an attacker attempting to remove evidence of an intrusion. |
Record Events When Executables Are Run As Another Userxccdf_org.ssgproject.content_rule_audit_rules_suid_auid_privilege_function medium
Record Events When Executables Are Run As Another User
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_suid_auid_privilege_function | ||||
| Result | notapplicable | ||||
| Multi-check rule | no | ||||
| Time | 2026-10-29T22:30:41+00:00 | ||||
| Severity | medium | ||||
| References: |
| ||||
| Description | Verify the system generates an audit record when actions are run as another user.
sudo provides users with temporary elevated privileges to perform operations, either as the superuser or another user.
If audit is using the "auditctl" tool to load the rules, run the following command:
$ sudo grep execve /etc/audit/audit.rulesIf audit is using the "augenrules" tool to load the rules, run the following command: $ sudo grep -r execve /etc/audit/rules.d -a always,exit -F arch=b32 -S execve -C euid!=uid -F auid!=unset -k user_emulation -a always,exit -F arch=b64 S execve -C euid!=uid -F auid!=unset -k user_emulationIf both the "b32" and "b64" audit rules for "SUID" files are not defined, this is a finding. | ||||
| Rationale | Creating an audit log of users with temporary elevated privileges and the
operation(s) they performed is essential to reporting. Administrators will
want to correlate the events written to the audit trail with the records
written to sudo's logfile to verify if unauthorized commands have
been executed.
Misuse of privileged functions, either intentionally or unintentionally by
authorized users, or by unauthorized external entities that have
compromised information system accounts, is a serious and ongoing concern
and can have significant adverse impacts on organizations. Auditing the use
of privileged functions is one way to detect such misuse and identify the
risk from insider threats and the advanced persistent threat. | ||||
| Warnings | warning
Note that these rules can be configured in a
number of ways while still achieving the desired effect. |
Ensure auditd Collects System Administrator Actionsxccdf_org.ssgproject.content_rule_audit_rules_sysadmin_actions medium
Ensure auditd Collects System Administrator Actions
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_sysadmin_actions | ||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||
| Description |
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following lines to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -F path=/etc/sudoers -F perm=wa -F key=actions -a always,exit -F arch=b64 -F path=/etc/sudoers -F perm=wa -F key=actionsIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules:
-a always,exit -F arch=b32 -F path=/etc/sudoers -F perm=wa -F key=actions -a always,exit -F arch=b64 -F path=/etc/sudoers -F perm=wa -F key=actionsIf the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following lines to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -F dir=/etc/sudoers.d/ -F perm=wa -F key=actions -a always,exit -F arch=b64 -F dir=/etc/sudoers.d/ -F perm=wa -F key=actionsIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules:
-a always,exit -F arch=b32 -F dir=/etc/sudoers.d/ -F perm=wa -F key=actions -a always,exit -F arch=b64 -F dir=/etc/sudoers.d/ -F perm=wa -F key=actions | ||||||||||||||||||||||||||||||||||||
| Rationale | The actions taken by system administrators should be audited to keep a record
of what was executed on the system, as well as, for accountability purposes. |
Record Events that Modify User/Group Information - /etc/groupxccdf_org.ssgproject.content_rule_audit_rules_usergroup_modification_group medium
Record Events that Modify User/Group Information - /etc/group
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_usergroup_modification_group | ||||||||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||||||
| Description |
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following lines to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -F path=/etc/group -F perm=wa -F key=audit_rules_usergroup_modification -a always,exit -F arch=b64 -F path=/etc/group -F perm=wa -F key=audit_rules_usergroup_modificationIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules:
-a always,exit -F arch=b32 -F path=/etc/group -F perm=wa -F key=audit_rules_usergroup_modification -a always,exit -F arch=b64 -F path=/etc/group -F perm=wa -F key=audit_rules_usergroup_modification | ||||||||||||||||||||||||||||||||||||||||||
| Rationale | In addition to auditing new user and group accounts, these watches
will alert the system administrator(s) to any modifications. Any unexpected
users, groups, or modifications should be investigated for legitimacy. |
Record Events that Modify User/Group Information - /etc/gshadowxccdf_org.ssgproject.content_rule_audit_rules_usergroup_modification_gshadow medium
Record Events that Modify User/Group Information - /etc/gshadow
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_usergroup_modification_gshadow | ||||||||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||||||
| Description |
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following lines to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -F path=/etc/gshadow -F perm=wa -F key=audit_rules_usergroup_modification -a always,exit -F arch=b64 -F path=/etc/gshadow -F perm=wa -F key=audit_rules_usergroup_modificationIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules:
-a always,exit -F arch=b32 -F path=/etc/gshadow -F perm=wa -F key=audit_rules_usergroup_modification -a always,exit -F arch=b64 -F path=/etc/gshadow -F perm=wa -F key=audit_rules_usergroup_modification | ||||||||||||||||||||||||||||||||||||||||||
| Rationale | In addition to auditing new user and group accounts, these watches
will alert the system administrator(s) to any modifications. Any unexpected
users, groups, or modifications should be investigated for legitimacy. |
Record Events that Modify User/Group Information - /etc/nsswitch.confxccdf_org.ssgproject.content_rule_audit_rules_usergroup_modification_nsswitch_conf medium
Record Events that Modify User/Group Information - /etc/nsswitch.conf
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_usergroup_modification_nsswitch_conf | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description |
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following lines to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -F path=/etc/nsswitch.conf -F perm=wa -F key=audit_rules_usergroup_modification -a always,exit -F arch=b64 -F path=/etc/nsswitch.conf -F perm=wa -F key=audit_rules_usergroup_modificationIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules:
-a always,exit -F arch=b32 -F path=/etc/nsswitch.conf -F perm=wa -F key=audit_rules_usergroup_modification -a always,exit -F arch=b64 -F path=/etc/nsswitch.conf -F perm=wa -F key=audit_rules_usergroup_modification | ||
| Rationale | The nsswitch file defines how the system uses various databases and name
resolution mechanisms. Any unexpected changes to nsswitch configuration
should be investigated. |
Record Events that Modify User/Group Information - /etc/security/opasswdxccdf_org.ssgproject.content_rule_audit_rules_usergroup_modification_opasswd medium
Record Events that Modify User/Group Information - /etc/security/opasswd
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_usergroup_modification_opasswd | ||||||||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||||||
| Description |
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following lines to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -F path=/etc/security/opasswd -F perm=wa -F key=audit_rules_usergroup_modification -a always,exit -F arch=b64 -F path=/etc/security/opasswd -F perm=wa -F key=audit_rules_usergroup_modificationIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules:
-a always,exit -F arch=b32 -F path=/etc/security/opasswd -F perm=wa -F key=audit_rules_usergroup_modification -a always,exit -F arch=b64 -F path=/etc/security/opasswd -F perm=wa -F key=audit_rules_usergroup_modification | ||||||||||||||||||||||||||||||||||||||||||
| Rationale | In addition to auditing new user and group accounts, these watches
will alert the system administrator(s) to any modifications. Any unexpected
users, groups, or modifications should be investigated for legitimacy. |
Record Events that Modify User/Group Information - /etc/pam.confxccdf_org.ssgproject.content_rule_audit_rules_usergroup_modification_pam_conf medium
Record Events that Modify User/Group Information - /etc/pam.conf
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_usergroup_modification_pam_conf | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description |
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following lines to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -F path=/etc/pam.conf -F perm=wa -F key=audit_rules_usergroup_modification -a always,exit -F arch=b64 -F path=/etc/pam.conf -F perm=wa -F key=audit_rules_usergroup_modificationIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules:
-a always,exit -F arch=b32 -F path=/etc/pam.conf -F perm=wa -F key=audit_rules_usergroup_modification -a always,exit -F arch=b64 -F path=/etc/pam.conf -F perm=wa -F key=audit_rules_usergroup_modification | ||
| Rationale | The PAM configuration file defines the authentication mechanism
used by PAM-aware applications. Any unexpected changes to PAM configuration
should be investigated. |
Record Events that Modify User/Group Information - /etc/pam.d/xccdf_org.ssgproject.content_rule_audit_rules_usergroup_modification_pamd medium
Record Events that Modify User/Group Information - /etc/pam.d/
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_usergroup_modification_pamd | ||
| Result | notapplicable | ||
| Multi-check rule | no | ||
| Time | 2026-10-29T22:30:41+00:00 | ||
| Severity | medium | ||
| References: |
| ||
| Description |
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following lines to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -F dir=/etc/pam.d/ -F perm=wa -F key=audit_rules_usergroup_modification -a always,exit -F arch=b64 -F dir=/etc/pam.d/ -F perm=wa -F key=audit_rules_usergroup_modificationIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules:
-a always,exit -F arch=b32 -F dir=/etc/pam.d/ -F perm=wa -F key=audit_rules_usergroup_modification -a always,exit -F arch=b64 -F dir=/etc/pam.d/ -F perm=wa -F key=audit_rules_usergroup_modification | ||
| Rationale | The PAM configuration files in /etc/pam.d define the authentication mechanism
used by PAM-aware applications. Any unexpected changes to PAM configuration
should be investigated. |
Record Events that Modify User/Group Information - /etc/passwdxccdf_org.ssgproject.content_rule_audit_rules_usergroup_modification_passwd medium
Record Events that Modify User/Group Information - /etc/passwd
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_usergroup_modification_passwd | ||||||||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||||||
| Description |
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following lines to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -F path=/etc/passwd -F perm=wa -F key=audit_rules_usergroup_modification -a always,exit -F arch=b64 -F path=/etc/passwd -F perm=wa -F key=audit_rules_usergroup_modificationIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules:
-a always,exit -F arch=b32 -F path=/etc/passwd -F perm=wa -F key=audit_rules_usergroup_modification -a always,exit -F arch=b64 -F path=/etc/passwd -F perm=wa -F key=audit_rules_usergroup_modification | ||||||||||||||||||||||||||||||||||||||||||
| Rationale | In addition to auditing new user and group accounts, these watches
will alert the system administrator(s) to any modifications. Any unexpected
users, groups, or modifications should be investigated for legitimacy. |
Record Events that Modify User/Group Information - /etc/shadowxccdf_org.ssgproject.content_rule_audit_rules_usergroup_modification_shadow medium
Record Events that Modify User/Group Information - /etc/shadow
| Rule ID | xccdf_org.ssgproject.content_rule_audit_rules_usergroup_modification_shadow | ||||||||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||||||
| Description |
If the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following lines to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -F path=/etc/shadow -F perm=wa -F key=audit_rules_usergroup_modification -a always,exit -F arch=b64 -F path=/etc/shadow -F perm=wa -F key=audit_rules_usergroup_modificationIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules:
-a always,exit -F arch=b32 -F path=/etc/shadow -F perm=wa -F key=audit_rules_usergroup_modification -a always,exit -F arch=b64 -F path=/etc/shadow -F perm=wa -F key=audit_rules_usergroup_modification | ||||||||||||||||||||||||||||||||||||||||||
| Rationale | In addition to auditing new user and group accounts, these watches
will alert the system administrator(s) to any modifications. Any unexpected
users, groups, or modifications should be investigated for legitimacy. |
Record Attempts to perform maintenance activitiesxccdf_org.ssgproject.content_rule_audit_sudo_log_events medium
Record Attempts to perform maintenance activities
| Rule ID | xccdf_org.ssgproject.content_rule_audit_sudo_log_events | ||||||||||||
| Result | notapplicable | ||||||||||||
| Multi-check rule | no | ||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||
| Severity | medium | ||||||||||||
| References: |
| ||||||||||||
| Description | The Red Hat Enterprise Linux 10 operating system must generate audit records for
privileged activities, nonlocal maintenance, diagnostic sessions and
other system-level access.
Verify the operating system audits activities performed during nonlocal
maintenance and diagnostic sessions. Run the following command:
$ sudo auditctl -l | grep sudo.log -w /var/log/sudo.log -p wa -k maintenanceIf the auditd daemon is configured to use the augenrules
program to read audit rules during daemon startup (the default), add the
following lines to a file with suffix .rules in the
directory /etc/audit/rules.d:
-a always,exit -F arch=b32 -F path=/var/log/sudo.log -F perm=wa -F key=maintenance -a always,exit -F arch=b64 -F path=/var/log/sudo.log -F perm=wa -F key=maintenanceIf the auditd daemon is configured to use the auditctl
utility to read audit rules during daemon startup, add the following lines to
/etc/audit/audit.rules:
-a always,exit -F arch=b32 -F path=/var/log/sudo.log -F perm=wa -F key=maintenance -a always,exit -F arch=b64 -F path=/var/log/sudo.log -F perm=wa -F key=maintenance | ||||||||||||
| Rationale | If events associated with nonlocal administrative access or diagnostic
sessions are not logged, a major tool for assessing and investigating
attacks would not be available.
This requirement addresses auditing-related issues associated with
maintenance tools used specifically for diagnostic and repair actions
on organizational information systems.
Nonlocal maintenance and diagnostic activities are those activities
conducted by individuals communicating through a network, either an
external network (e.g., the internet) or an internal network. Local
maintenance and diagnostic activities are those activities carried
out by individuals physically present at the information system or
information system component and not communicating across a network
connection.
This requirement applies to hardware/software diagnostic test
equipment or tools. This requirement does not cover hardware/software
components that may support information system maintenance, yet are a
part of the system, for example, the software implementing "ping,"
"ls," "ipconfig," or the hardware and software implementing the
monitoring port of an Ethernet switch. |
System Audit Logs Must Be Group Owned By Rootxccdf_org.ssgproject.content_rule_file_group_ownership_var_log_audit medium
System Audit Logs Must Be Group Owned By Root
| Rule ID | xccdf_org.ssgproject.content_rule_file_group_ownership_var_log_audit | ||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||
| Description | All audit logs must be group owned by root user. The path for audit log can
be configured via log_file parameter in /etc/audit/auditd.confor, by default, the path for audit log is /var/log/audit/. To properly set the group owner of /var/log/audit/*, run the command:
$ sudo chgrp root /var/log/audit/*If log_group in /etc/audit/auditd.conf is set to a group other
than the root group account, change the group ownership of the audit logs
to this specific group. | ||||||||||||||||||||||||||||||||
| Rationale | Unauthorized disclosure of audit records can reveal system and configuration data to
attackers, thus compromising its confidentiality. |
Audit Configuration Files Must Be Owned By Group rootxccdf_org.ssgproject.content_rule_file_groupownership_audit_configuration medium
Audit Configuration Files Must Be Owned By Group root
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupownership_audit_configuration | ||||||||||
| Result | notapplicable | ||||||||||
| Multi-check rule | no | ||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||
| Severity | medium | ||||||||||
| References: |
| ||||||||||
| Description | All audit configuration files must be owned by group root.
chown :root /etc/audit/audit*.{rules,conf} /etc/audit/rules.d/*
| ||||||||||
| Rationale | Without the capability to restrict which roles and individuals can
select which events are audited, unauthorized personnel may be able
to prevent the auditing of critical events.
Misconfigured audits may degrade the system's performance by
overwhelming the audit log. Misconfigured audits may also make it more
difficult to establish, correlate, and investigate the events relating
to an incident or identify those responsible for one. |
Audit Configuration Files Must Be Owned By Rootxccdf_org.ssgproject.content_rule_file_ownership_audit_configuration medium
Audit Configuration Files Must Be Owned By Root
| Rule ID | xccdf_org.ssgproject.content_rule_file_ownership_audit_configuration | ||||||||||
| Result | notapplicable | ||||||||||
| Multi-check rule | no | ||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||
| Severity | medium | ||||||||||
| References: |
| ||||||||||
| Description | All audit configuration files must be owned by root user.
To properly set the owner of /etc/audit/, run the command:
$ sudo chown root /etc/audit/To properly set the owner of /etc/audit/rules.d/, run the command:
$ sudo chown root /etc/audit/rules.d/ | ||||||||||
| Rationale | Without the capability to restrict which roles and individuals can
select which events are audited, unauthorized personnel may be able
to prevent the auditing of critical events.
Misconfigured audits may degrade the system's performance by
overwhelming the audit log. Misconfigured audits may also make it more
difficult to establish, correlate, and investigate the events relating
to an incident or identify those responsible for one. |
System Audit Logs Must Be Owned By Rootxccdf_org.ssgproject.content_rule_file_ownership_var_log_audit_stig medium
System Audit Logs Must Be Owned By Root
| Rule ID | xccdf_org.ssgproject.content_rule_file_ownership_var_log_audit_stig | ||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||
| Description | All audit logs must be owned by root user. The path for audit log can be
configured via log_file parameter in /etc/audit/auditd.confor by default, the path for audit log is /var/log/audit/. To properly set the owner of /var/log/audit/*, run the command:
$ sudo chown root /var/log/audit/* | ||||||||||||||||||||||||||||
| Rationale | Unauthorized disclosure of audit records can reveal system and configuration data to
attackers, thus compromising its confidentiality. |
Configure auditd Disk Error Action on Disk Errorxccdf_org.ssgproject.content_rule_auditd_data_disk_error_action medium
Configure auditd Disk Error Action on Disk Error
| Rule ID | xccdf_org.ssgproject.content_rule_auditd_data_disk_error_action | ||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||
| References: |
| ||||||||||||||||||||
| Description | The auditd service can be configured to take an action
when there is a disk error.
Edit the file /etc/audit/auditd.conf. Add or modify the following line,
substituting ACTION appropriately:
disk_error_action = ACTION
Set this value to single to cause the system to switch to single-user
mode for corrective action. Acceptable values also include
syslog, exec, single, and halt
For certain systems, the need for availability
outweighs the need to log all actions, and a different setting should be
determined. Details regarding all possible values for ACTION are described in the
auditd.conf man page. | ||||||||||||||||||||
| Rationale | Taking appropriate action in case of disk errors will minimize the possibility of
losing audit records. |
Configure auditd Disk Full Action when Disk Space Is Fullxccdf_org.ssgproject.content_rule_auditd_data_disk_full_action medium
Configure auditd Disk Full Action when Disk Space Is Full
| Rule ID | xccdf_org.ssgproject.content_rule_auditd_data_disk_full_action | ||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||
| Severity | medium | ||||||||||||||||||
| References: |
| ||||||||||||||||||
| Description | The auditd service can be configured to take an action
when disk space is running low but prior to running out of space completely.
Edit the file /etc/audit/auditd.conf. Add or modify the following line,
substituting ACTION appropriately:
disk_full_action = ACTION
Set this value to single to cause the system to switch to single-user
mode for corrective action. Acceptable values also include
syslog, exec, single, and halt
For certain systems, the need for availability
outweighs the need to log all actions, and a different setting should be
determined. Details regarding all possible values for ACTION are described in the
auditd.conf man page. | ||||||||||||||||||
| Rationale | Taking appropriate action in case of a filled audit storage volume will minimize
the possibility of losing audit records. |
Configure auditd mail_acct Action on Low Disk Spacexccdf_org.ssgproject.content_rule_auditd_data_retention_action_mail_acct medium
Configure auditd mail_acct Action on Low Disk Space
| Rule ID | xccdf_org.ssgproject.content_rule_auditd_data_retention_action_mail_acct | ||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||
| Description | The auditd service can be configured to send email to
a designated account in certain situations. Add or correct the following line
in /etc/audit/auditd.conf to ensure that administrators are notified
via email for those situations:
action_mail_acct = root
| ||||||||||||||||||||||||||||||||
| Rationale | Email sent to the root account is typically aliased to the
administrators of the system, who can take appropriate action. |
Configure auditd admin_space_left Action on Low Disk Spacexccdf_org.ssgproject.content_rule_auditd_data_retention_admin_space_left_action medium
Configure auditd admin_space_left Action on Low Disk Space
| Rule ID | xccdf_org.ssgproject.content_rule_auditd_data_retention_admin_space_left_action | ||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||
| Description | The auditd service can be configured to take an action
when disk space is running low but prior to running out of space completely.
Edit the file /etc/audit/auditd.conf. Add or modify the following line,
substituting ACTION appropriately:
admin_space_left_action = ACTION
Set this value to single to cause the system to switch to single user
mode for corrective action. Acceptable values also include suspend and
halt. For certain systems, the need for availability
outweighs the need to log all actions, and a different setting should be
determined. Details regarding all possible values for ACTION are described in the
auditd.conf man page. | ||||||||||||||||||||||||||||||||
| Rationale | Administrators should be made aware of an inability to record
audit records. If a separate partition or logical volume of adequate size
is used, running low on space for audit records should never occur. |
Configure auditd Max Log File Sizexccdf_org.ssgproject.content_rule_auditd_data_retention_max_log_file medium
Configure auditd Max Log File Size
| Rule ID | xccdf_org.ssgproject.content_rule_auditd_data_retention_max_log_file | ||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||
| Description | Determine the amount of audit data (in megabytes)
which should be retained in each log file. Edit the file
/etc/audit/auditd.conf. Add or modify the following line, substituting
the correct value of 8 for STOREMB:
max_log_file = STOREMB
Set the value to 6 (MB) or higher for general-purpose systems.
Larger values, of course,
support retention of even more audit data. | ||||||||||||||||||||||
| Rationale | The total storage for audit log files must be large enough to retain
log information over the period required. This is a function of the maximum
log file size and the number of logs retained. |
Configure auditd max_log_file_action Upon Reaching Maximum Log Sizexccdf_org.ssgproject.content_rule_auditd_data_retention_max_log_file_action medium
Configure auditd max_log_file_action Upon Reaching Maximum Log Size
| Rule ID | xccdf_org.ssgproject.content_rule_auditd_data_retention_max_log_file_action | ||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||
| Description | The default action to take when the logs reach their maximum size
is to rotate the log files, discarding the oldest one. To configure the action taken
by auditd, add or correct the line in /etc/audit/auditd.conf:
max_log_file_action = ACTION
Possible values for ACTION are described in the auditd.conf man
page. These include:
ACTION to keep_logs.
The setting is case-insensitive. | ||||||||||||||||||||||||
| Rationale | Automatically rotating logs (by setting this to rotate)
minimizes the chances of the system unexpectedly running out of disk space by
being overwhelmed with log data. However, for systems that must never discard
log data, or which use external processes to transfer it and reclaim space,
keep_logs can be employed. |
Configure auditd space_left Action on Low Disk Spacexccdf_org.ssgproject.content_rule_auditd_data_retention_space_left_action medium
Configure auditd space_left Action on Low Disk Space
| Rule ID | xccdf_org.ssgproject.content_rule_auditd_data_retention_space_left_action | ||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||
| Description | The auditd service can be configured to take an action
when disk space starts to run low.
Edit the file /etc/audit/auditd.conf. Modify the following line,
substituting ACTION appropriately:
space_left_action = ACTION
Possible values for ACTION are described in the auditd.conf man page.
These include:
email (instead of the default,
which is suspend) as it is more likely to get prompt attention. Acceptable values
also include suspend, single, and halt. | ||||||||||||||||||||||||||||||||
| Rationale | Notifying administrators of an impending disk space problem may
allow them to take corrective action prior to any disruption. |
Verify that audit tools are owned by group rootxccdf_org.ssgproject.content_rule_file_groupownership_audit_binaries medium
Verify that audit tools are owned by group root
| Rule ID | xccdf_org.ssgproject.content_rule_file_groupownership_audit_binaries | ||||||
| Result | notapplicable | ||||||
| Multi-check rule | no | ||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||
| Severity | medium | ||||||
| References: |
| ||||||
| Description | The Red Hat Enterprise Linux 10 operating system audit tools must have the proper
ownership configured to protected against unauthorized access.
Verify it by running the following command:
$ stat -c "%n %G" /sbin/auditctl /sbin/aureport /sbin/ausearch /sbin/auditd /sbin/augenrules /sbin/audisp-syslog /sbin/auditctl root /sbin/aureport root /sbin/ausearch root /sbin/auditd root /sbin/augenrules root /sbin/audisp-syslog rootAudit tools needed to successfully view and manipulate audit information system activity and records. Audit tools include custom queries and report generators | ||||||
| Rationale | Protecting audit information also includes identifying and protecting the
tools used to view and manipulate log data. Therefore, protecting audit
tools is necessary to prevent unauthorized operation on audit information.
Operating systems providing tools to interface with audit information
will leverage user permissions and roles identifying the user accessing the
tools and the corresponding rights the user enjoys to make access decisions
regarding the access to audit tools. |
Verify that audit tools are owned by rootxccdf_org.ssgproject.content_rule_file_ownership_audit_binaries medium
Verify that audit tools are owned by root
| Rule ID | xccdf_org.ssgproject.content_rule_file_ownership_audit_binaries | ||||||
| Result | notapplicable | ||||||
| Multi-check rule | no | ||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||
| Severity | medium | ||||||
| References: |
| ||||||
| Description | The Red Hat Enterprise Linux 10 operating system audit tools must have the proper
ownership configured to protected against unauthorized access.
Verify it by running the following command:
$ stat -c "%n %U" /sbin/auditctl /sbin/aureport /sbin/ausearch /sbin/auditd /sbin/augenrules /sbin/audisp-syslog /sbin/auditctl root /sbin/aureport root /sbin/ausearch root /sbin/auditd root /sbin/augenrules root /sbin/audisp-syslog rootAudit tools needed to successfully view and manipulate audit information system activity and records. Audit tools include custom queries and report generators | ||||||
| Rationale | Protecting audit information also includes identifying and protecting the
tools used to view and manipulate log data. Therefore, protecting audit
tools is necessary to prevent unauthorized operation on audit information.
Operating systems providing tools to interface with audit information
will leverage user permissions and roles identifying the user accessing the
tools and the corresponding rights the user enjoys to make access decisions
regarding the access to audit tools. |
Ensure the audit-libs package as a part of audit Subsystem is Installedxccdf_org.ssgproject.content_rule_package_audit-libs_installed medium
Ensure the audit-libs package as a part of audit Subsystem is Installed
| Rule ID | xccdf_org.ssgproject.content_rule_package_audit-libs_installed | ||||||||||||
| Result | notapplicable | ||||||||||||
| Multi-check rule | no | ||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||
| Severity | medium | ||||||||||||
| References: |
| ||||||||||||
| Description | The audit-libs package should be installed. | ||||||||||||
| Rationale | The auditd service is an access monitoring and accounting daemon, watching system calls to audit any access, in comparison with potential local access control policy such as SELinux policy. |
Ensure the audit Subsystem is Installedxccdf_org.ssgproject.content_rule_package_audit_installed medium
Ensure the audit Subsystem is Installed
| Rule ID | xccdf_org.ssgproject.content_rule_package_audit_installed | ||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||
| Description | The audit package should be installed. | ||||||||||||||||||||||||||
| Rationale | The auditd service is an access monitoring and accounting daemon, watching system calls to audit any access, in comparison with potential local access control policy such as SELinux policy. |
Enable auditd Servicexccdf_org.ssgproject.content_rule_service_auditd_enabled medium
Enable auditd Service
| Rule ID | xccdf_org.ssgproject.content_rule_service_auditd_enabled | ||||||||||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||||||||||
| Severity | medium | ||||||||||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||||||||||
| Description | The auditd service is an essential userspace component of
the Linux Auditing System, as it is responsible for writing audit records to
disk.
The auditd service can be enabled with the following command:
$ sudo systemctl enable auditd.service | ||||||||||||||||||||||||||||||||||||||||||||
| Rationale | Without establishing what type of events occurred, it would be difficult
to establish, correlate, and investigate the events leading up to an outage or attack.
Ensuring the auditd service is active ensures audit records
generated by the kernel are appropriately recorded.
Additionally, a properly configured audit subsystem ensures that actions of individual system users can be uniquely traced to those users so they can be held accountable for their actions. |
Enable Auditing for Processes Which Start Prior to the Audit Daemonxccdf_org.ssgproject.content_rule_grub2_audit_argument low
Enable Auditing for Processes Which Start Prior to the Audit Daemon
| Rule ID | xccdf_org.ssgproject.content_rule_grub2_audit_argument | ||||||||||||||||||||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||||||||||||||||||||
| Severity | low | ||||||||||||||||||||||||||||||||||||
| References: |
| ||||||||||||||||||||||||||||||||||||
| Description | To ensure all processes can be audited, even those which start
prior to the audit daemon, add the argument audit=1 to the default
GRUB 2 command line for the Linux operating system.
To ensure that audit=1 is added as a kernel command line
argument to newly installed kernels, add audit=1 to the
default Grub2 command line for Linux operating systems. Modify the line within
/etc/default/grub as shown below:
GRUB_CMDLINE_LINUX="... audit=1 ..."Run the following command to update command line for already installed kernels: # grubby --update-kernel=ALL --args="audit=1"If the system is distributed as a bootable container image, GRUB2 can't be configured using the method described above, but the following method needs to be used instead. The kernel arguments should be set in /usr/lib/bootc/kargs.d in a TOML file that has the following form:
# /usr/lib/bootc/kargs.d/10-example.toml kargs = ["audit=1"]For more details on configuring kernel arguments in bootable container images, please refer to Bootc documentation. | ||||||||||||||||||||||||||||||||||||
| Rationale | Each process on the system carries an "auditable" flag which indicates whether
its activities can be audited. Although auditd takes care of enabling
this for all processes which launch after it does, adding the kernel argument
ensures it is set for every process during boot. |
Extend Audit Backlog Limit for the Audit Daemonxccdf_org.ssgproject.content_rule_grub2_audit_backlog_limit_argument low
Extend Audit Backlog Limit for the Audit Daemon
| Rule ID | xccdf_org.ssgproject.content_rule_grub2_audit_backlog_limit_argument | ||||||||||||||||||
| Result | notapplicable | ||||||||||||||||||
| Multi-check rule | no | ||||||||||||||||||
| Time | 2026-10-29T22:30:41+00:00 | ||||||||||||||||||
| Severity | low | ||||||||||||||||||
| References: |
| ||||||||||||||||||
| Description | To improve the kernel capacity to queue all log events, even those which occurred
prior to the audit daemon, add the argument audit_backlog_limit=8192
to the default
GRUB 2 command line for the Linux operating system.
To ensure that audit_backlog_limit=8192
is added as a kernel command line
argument to newly installed kernels, add audit_backlog_limit=8192
to the
default Grub2 command line for Linux operating systems. Modify the line within
/etc/default/grub as shown below:
GRUB_CMDLINE_LINUX="... audit_backlog_limit=8192 ..."Run the following command to update command line for already installed kernels: # grubby --update-kernel=ALL --args="audit_backlog_limit=8192"If the system is distributed as a bootable container image, GRUB2 can't be configured using the method described above, but the following method needs to be used instead. The kernel arguments should be set in /usr/lib/bootc/kargs.d in a TOML file that has the following form:
# /usr/lib/bootc/kargs.d/10-example.toml kargs = ["audit_backlog_limit=8192"]For more details on configuring kernel arguments in bootable container images, please refer to Bootc documentation. | ||||||||||||||||||
| Rationale | audit_backlog_limit sets the queue length for audit events awaiting transfer
to the audit daemon. Until the audit daemon is up and running, all log messages
are stored in this queue. If the queue is overrun during boot process, the action
defined by audit failure flag is taken. |
Red Hat and Red Hat Enterprise Linux are either registered
trademarks or trademarks of Red Hat, Inc. in the United States and other
countries. All other names are registered trademarks or trademarks of their
respective companies.