DISA STIGS Viewer

OL 9 must enable the SELinux targeted policy.

Overview

Finding ID Version Rule ID IA Controls Severity
V-271453 OL09-00-000065 SV-271453r1091071_rule   Medium
Description
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".
STIG Date
Oracle Linux 9 Security Technical Implementation Guide 2025-05-08

Details

Check Text (C-75503r1091069_chk)
Verify that OL 9 enables the SELinux targeted policy with the following command:

$ sestatus | grep policy
Loaded policy name: targeted

If the loaded policy name is not "targeted", this is a finding.
Fix Text (F-75410r1091070_fix)
Configure OL 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.