SV-268283r1038766_rule
V-268283
SRG-APP-000131-NDM-000243
HYCU-ND-000760
CAT II
10
Configure the operating system to verify the signature of packages from a repository prior to install by setting the following option in every repo file in /etc/yum.repos.d/:
gpgcheck=1
Check the output of "sudo /opt/grizzly/bin/hycu-selftest.sh".
Investigate each file listed in the error output to determine a fix.
Verify the operating system prevents the installation of patches, service packs, device drivers, or operating system components from a repository without verification that they have been digitally signed using a certificate that is recognized and approved by the organization.
Check that YUM verifies the signature of packages from a repository prior to install with the following command:
$ sudo grep -E '^\[.*\]|gpgcheck' /etc/yum.repos.d/*.repo
/etc/yum.repos.d/appstream.repo:[appstream]
/etc/yum.repos.d/appstream.repo:gpgcheck=1
/etc/yum.repos.d/baseos.repo:[baseos]
/etc/yum.repos.d/baseos.repo:gpgcheck=1
If "gpgcheck" is not set to "1", or if options are missing or commented out, this is a finding.
Execute the following command to check the kernel and cryptographic libraries, as well as the SHA256 checksums of the application files:
$ sudo /opt/grizzly/bin/hycu-selftest.sh
If the output is not OK for the OS, this is a finding.
If the output reports an error for any other file than /etc/issue for the App section, this is a finding.
V-268283
False
HYCU-ND-000760
Verify the operating system prevents the installation of patches, service packs, device drivers, or operating system components from a repository without verification that they have been digitally signed using a certificate that is recognized and approved by the organization.
Check that YUM verifies the signature of packages from a repository prior to install with the following command:
$ sudo grep -E '^\[.*\]|gpgcheck' /etc/yum.repos.d/*.repo
/etc/yum.repos.d/appstream.repo:[appstream]
/etc/yum.repos.d/appstream.repo:gpgcheck=1
/etc/yum.repos.d/baseos.repo:[baseos]
/etc/yum.repos.d/baseos.repo:gpgcheck=1
If "gpgcheck" is not set to "1", or if options are missing or commented out, this is a finding.
Execute the following command to check the kernel and cryptographic libraries, as well as the SHA256 checksums of the application files:
$ sudo /opt/grizzly/bin/hycu-selftest.sh
If the output is not OK for the OS, this is a finding.
If the output reports an error for any other file than /etc/issue for the App section, this is a finding.
M
5660