Check: RHEL-06-000519
Red Hat Enterprise Linux 6 STIG:
RHEL-06-000519
(in versions v2 r2 through v1 r18)
Title
The system package management tool must verify contents of all files associated with packages. (Cat III impact)
Discussion
The hash on important files like system executables should match the information given by the RPM database. Executables with erroneous hashes could be a sign of nefarious activity on the system.
Check Content
The following command will list which files on the system have file hashes different from what is expected by the RPM database: # rpm -Va | awk '$1 ~ /..5/ && $2 != "c"' If there is any output from the command for system binaries, verify that the changes were due to STIG application and have been documented with the ISSO. If there are changes to system binaries and they are not documented with the ISSO, this is a finding.
Fix Text
The RPM package management system can check the hashes of installed software packages, including many that are important to system security. Run the following command to list which files on the system have hashes that differ from what is expected by the RPM database: # rpm -Va | awk '$1 ~ /..5/ && $2 != "c"' If the file that has changed was not expected to, refresh from distribution media or online repositories. rpm -Uvh [affected_package] OR yum reinstall [affected_package]
Additional Identifiers
Rule ID: SV-218099r603264_rule
Vulnerability ID: V-218099
Group Title: SRG-OS-000480
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
Implement the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |