Check: RHEL-06-000281
Red Hat Enterprise Linux 6 STIG:
RHEL-06-000281
(in versions v2 r2 through v1 r14)
Title
The system package management tool must verify contents of all files associated with the audit package. (Cat II impact)
Discussion
The hash on important files like audit system executables should match the information given by the RPM database. Audit executables with erroneous hashes could be a sign of nefarious activity on the system.
Check Content
The following command will list which audit files on the system have file hashes different from what is expected by the RPM database. # rpm -V audit | awk '$1 ~ /..5/ && $2 != "c"' If there is output, this is a finding.
Fix Text
The RPM package management system can check the hashes of audit system package files. Run the following command to list which audit files on the system have hashes that differ from what is expected by the RPM database: # rpm -V audit | grep '^..5' A "c" in the second column indicates that a file is a configuration file, which may appropriately be expected to change. If the file that has changed was not expected to then refresh from distribution media or online repositories. rpm -Uvh [affected_package] OR yum reinstall [affected_package]
Additional Identifiers
Rule ID: SV-218033r603264_rule
Vulnerability ID: V-218033
Group Title: SRG-OS-000278
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-001496 |
The information system implements cryptographic mechanisms to protect the integrity of audit tools. |
Controls
Number | Title |
---|---|
AU-9 (3) |
Cryptographic Protection |