The PKI Hub operating system is hardened to meet the "CIS Red Hat Enterprise Linux 8 Benchmark v2.0.0" recommendations for the "Level 1 – Server" profile, except for the recommendations listed in the following tables.

The Status column uses the following values:

Status

Meaning

Not applicable

The recommendation does not apply to the appliance architecture.

Deliberately not implemented

The recommendation is not implemented by design.

Not currently supported

The recommendation is not implemented in this release.

Partially implemented

Part of the recommendation is met.

Manually applying any of these recommendations to the appliance is not supported. Several of them would stop the product from working, and any other manual change can be overwritten by the next upgrade.

Exceptions in all formats

The following recommendations are not met in the ISO, Raw, and VHD formats.

Recommendation

Title

Status

Rationale

1.1.3.3

Ensure noexec option set on /var partition

Deliberately not implemented

/var hosts the container runtime: container image layers, container root filesystems and persistent volumes. With noexec, no container could start. /tmp, /var/tmp, /var/log, /var/log/audit and /dev/shm are mounted noexec, and SELinux runs in enforcing mode.

1.3.1

Ensure AIDE is installed

Deliberately not implemented

The daily AIDE integrity check caused intensive disk I/O that degraded the latency of the cluster key-value store (etcd) and caused cluster instability. Operating system packages are installed or updated only by the product installation and upgrade processes, and the appliance has no package repositories configured.

1.3.2

Ensure filesystem integrity is regularly checked

Deliberately not implemented

Same as 1.3.1.

2.2.14

Ensure net-snmp is not installed

Deliberately not implemented

SNMP monitoring is a product feature provided by net-snmp. The snmpd service is disabled by default. See SNMP Settings to enable it.

3.2.1

Ensure IP forwarding is disabled

Not applicable

Every Kubernetes node must forward IPv4 traffic for the container network. The IPv4 protections against source-routed packets and ICMP redirects are applied.

3.3.1

Ensure source routed packets are not accepted

Not applicable (IPv6 part)

The IPv4 part is implemented. The IPv6 part is not applicable because IPv6 is disabled at kernel level.

3.3.2

Ensure ICMP redirects are not accepted

Not applicable (IPv6 part)

Same as 3.3.1.

3.3.9

Ensure IPv6 router advertisements are not accepted

Not applicable

IPv6 is disabled at kernel level.

3.4.3.3.3

Ensure ip6tables firewall rules exist for all open ports

Not applicable

The appliance uses firewalld (section 3.4.1), not iptables (section 3.4.3). IPv6 is also disabled.

5.2.4

Ensure SSH access is limited

Partially implemented

SSH access is managed per account with clusterctl node user. Disabled accounts are added to DenyUsers. No AllowUsers or AllowGroups allow-list is configured. SSH login as root is disabled.

5.3.7

Ensure access to the su command is restricted

Not currently supported

pam_wheel is not configured for su. The root password is locked, so su cannot be used to become root.

6.1.2

Ensure sticky bit is set on all world-writable directories

Deliberately not implemented

The check covers container images and persistent volumes, which include world-writable directories that belong to the container filesystem and must not be modified from the host. The container runtime directories are accessible only to root.

6.1.11

Ensure no world writable files exist

Deliberately not implemented

Same as 6.1.2.

6.1.12

Ensure no unowned files or directories exist

Deliberately not implemented

Files inside container images and persistent volumes belong to user IDs that exist only inside the containers. Changing their ownership would break the containers.

6.1.13

Ensure no ungrouped files or directories exist

Deliberately not implemented

Same as 6.1.12, for group IDs.

Additional exceptions in the Raw and VHD formats

The following recommendations are met in the ISO format but not in the Raw or VHD formats, as indicated in the Formats column.

Recommendation

Title

Formats

Status

Rationale

1.1.2.1, 1.1.2.2, 1.1.2.3, 1.1.2.4

Ensure /tmp is a separate partition, and nodev, noexec and nosuid options set on /tmp partition

Raw, VHD

Not currently supported

The Raw and VHD images use a single root partition.

1.1.3.2, 1.1.3.4

Ensure nodev and nosuid options set on /var partition

Raw, VHD

Not currently supported

Same as 1.1.2.1.

1.1.4.2, 1.1.4.3, 1.1.4.4

Ensure noexec, nosuid and nodev options set on /var/tmp partition

Raw, VHD

Not currently supported

Same as 1.1.2.1.

1.1.5.2, 1.1.5.3, 1.1.5.4

Ensure nodev, noexec and nosuid options set on /var/log partition

Raw, VHD

Not currently supported

Same as 1.1.2.1.

1.1.6.2, 1.1.6.3, 1.1.6.4

Ensure noexec, nodev and nosuid options set on /var/log/audit partition

Raw, VHD

Not currently supported

Same as 1.1.2.1.

1.1.7.2, 1.1.7.3, 1.1.7.4, 1.1.7.5

Ensure nodev, nosuid, usrquota and grpquota options set on /home partition

Raw, VHD

Not currently supported

Same as 1.1.2.1.

1.4.1

Ensure boot loader password is set

Raw, VHD

Not currently supported

The Raw and VHD images do not set a boot loader password.

1.6.1.6

Ensure no unconfined services exist

VHD

Partially implemented

All services are confined except the Azure Linux Agent (waagent), which Azure requires to provision and manage the virtual machine. The agent and the VM extensions it runs from Azure run in the unconfined service domain (unconfined_service_t).

Additional exceptions in the ISO format

The following recommendation is met in the Raw and VHD formats but not in the ISO format.

Recommendation

Title

Status

Rationale

3.4.1.3

Ensure nftables is not enabled with firewalld

Partially implemented

The nftables service is disabled and not running, and firewalld manages the host firewall. The service is not masked.

Scan results for recommendations that are met

An OpenSCAP scan with the CIS Red Hat Enterprise Linux 8 Benchmark v2.0.0, "Level 1 – Server" profile reports the following recommendations as failed, although the appliance meets them.

Recommendation

Title

Formats

Explanation

1.10

Ensure system-wide crypto policy is not legacy

ISO, Raw, VHD

The appliance uses the crypto policy DEFAULT:NO-CBC:NO-SHA1, which is stricter than DEFAULT. The scanner expects the exact policy name DEFAULT.

3.4.1.5

Ensure firewalld default zone is set

ISO, Raw, VHD

The default zone is public, with an explicit allow-list of services and ports. The scanner expects the drop zone.

5.5.1

Ensure password creation requirements are configured

ISO, Raw

The minimum password length (16) and the number of retries (3) are configured in /etc/security/pwquality.conf.d/. The scanner inspects only /etc/security/pwquality.conf.

In the Raw and VHD formats, the scanner reports the mount-option recommendations for /tmp, /var, /var/tmp, /var/log, /var/log/audit and /home as not applicable (and 1.1.3.4 as passed), because these directories are not separate partitions. They are listed as exceptions in Additional exceptions in the Raw and VHD formats.