Check: RHEL-06-000183
Red Hat Enterprise Linux 6 STIG:
RHEL-06-000183
(in versions v2 r2 through v1 r14)
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-217961r603264_rule
Vulnerability ID: V-217961
Group Title: SRG-OS-000480
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
Implement the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |