ALMA-09-024000 - AlmaLinux OS 9 must be configured so that the cryptographic hashes of system files match vendor values.

Information

The hashes of 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.

Solution

Given the output from the check command, identify the package that provides the output and reinstall it.

The following trimmed example output shows a package that has failed verification, been identified, reinstalled, and then passed re-verification:

$ rpm -Va --noconfig | awk '$1 ~ /..5/ && $2 != "c"'

S.5....T. /usr/bin/tar

$ dnf whatprovides /usr/bin/tar

tar-2:1.34-6.el9_1.x86_64 : GNU file archiving program

$ dnf reinstall tar

$ rpm -Va --noconfig | awk '$1 ~ /..5/ && $2 != "c"'

[no output]

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CL_AlmaLinux_OS_9_V1R1_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-269292r1050174_rule, STIG-ID|ALMA-09-024000, Vuln-ID|V-269292

Plugin: Unix

Control ID: 8ea4f21bc7d4d1f4b688e346d6f10e24aba065b11b396e44ccb4b072440e7a13