Check: OL6-00-000183
Oracle Linux 6 STIG:
OL6-00-000183
(in versions v2 r7 through v1 r9)
Title
The audit system must be configured to audit modifications to the systems Mandatory Access Control (MAC) configuration (SELinux). (Cat III impact)
Discussion
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.
Check Content
To determine if the system is configured to audit changes to its SELinux configuration files, run the following command: $ sudo grep -w "/etc/selinux" /etc/audit/audit.rules If the system is configured to watch for changes to its SELinux configuration, a line should be returned (including "-p wa" indicating permissions that are watched). If the system is not configured to audit attempts to change the MAC policy, this is a finding.
Fix Text
Add the following to "/etc/audit/audit.rules": -w /etc/selinux/ -p wa -k MAC-policy
Additional Identifiers
Rule ID: SV-208892r793678_rule
Vulnerability ID: V-208892
Group Title: SRG-OS-000480
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
The organization implements the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |