Skip to content

RHEL 9 must be configured so that the cryptographic hashes of system files match vendor values.

An XCCDF Rule

Description

The hashes of important files such as 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.

ID
SV-257823r1051231_rule
Version
RHEL-09-214030
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Configure RHEL 9 so that the cryptographic hashes of system files match vendor values.

Given 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, and been reinstalled:

$ sudo rpm -Va --noconfig | awk '$1 ~ /..5/ && $2 != "c"'
S.5....T.    /usr/bin/znew