RHEL-09-431015 - RHEL 9 must enable the SELinux targeted policy.

Information

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 nonproduction 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'.

Solution

Configure RHEL 9 to use the targetd SELINUX policy.

Edit the file '/etc/selinux/config' and add or modify the following line:

SELINUXTYPE=targeted

A reboot is required for the changes to take effect.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_9_V2R2_STIG.zip

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-6a., CAT|II, CCI|CCI-002696, Rule-ID|SV-258079r958944_rule, STIG-ID|RHEL-09-431015, Vuln-ID|V-258079

Plugin: Unix

Control ID: aca2b6e70650310fbc18cc1a15e095623ea106bbb82f3b02290403d4d72cc6a5