SV-99301r1_rule
V-88651
SRG-OS-000278-GPOS-00108
VROM-SL-000930
CAT II
10
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, refresh from distribution media or online repositories.
rpm -Uvh [affected_package]
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 | grep '$1 ~ /..5/ && $2 != "c"'
If there is output, this is a finding.
V-88651
False
VROM-SL-000930
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 | grep '$1 ~ /..5/ && $2 != "c"'
If there is output, this is a finding.
M
3461