AlmaLinux OS 9 local disk partitions must implement cryptographic mechanisms to prevent unauthorized disclosure or modification of all information that requires at rest protection.

STIG ID: ALMA-09-041600  |  SRG: SRG-OS-000405-GPOS-00184 |  Severity: high |  CCI: CCI-002476,CCI-002475,CCI-001199 |  Vulnerability Id: V-269429

Vulnerability Discussion

AlmaLinux OS 9 systems handling data requiring "data at rest" protections must employ cryptographic mechanisms to prevent unauthorized disclosure and modification of the information at rest.

Selection of a cryptographic mechanism is based on the need to protect the integrity of organizational information. The strength of the mechanism is commensurate with the security category and/or classification of the information. Organizations have the flexibility to either encrypt all information on storage devices (i.e., full disk encryption) or encrypt specific data structures (e.g., files, records, or fields).

Satisfies: SRG-OS-000405-GPOS-00184, SRG-OS-000404-GPOS-00183, SRG-OS-000185-GPOS-00079

Check

Note: If there is a documented and approved reason for not having data-at-rest encryption at the operating system level, such as encryption provided by a hypervisor or a disk storage array in a virtualized environment, this requirement is Not Applicable.

Verify AlmaLinux OS 9 prevents unauthorized disclosure or modification of all information requiring at-rest protection by using disk encryption.

Verify all system partitions are encrypted with the following command:

$ lsblk -e11 -oNAME,FSTYPE,FSVER,MOUNTPOINTS

NAME FSTYPE FSVER MOUNTPOINTS
sda
+-sda1 vfat FAT16 /boot/efi
+-sda2 xfs /boot
+-sda3 LVM2_member LVM2 001
+-rootvg-root crypto_LUKS 2
¦ +-luks-8a7154ec-8eeb-46c8-9d75-66fc4b81d665 xfs /
+-rootvg-swap crypto_LUKS 2
¦ +-luks-89bf0df8-547f-4613-af07-215e5f63e9a9 swap 1 [SWAP]
+-rootvg-home crypto_LUKS 2
¦ +-luks-10a20c46-483d-4d12-831f-5328eda28fd1 xfs /home
+-rootvg-varlogaudit crypto_LUKS 2
¦ +-luks-29b74747-2f82-4472-82f5-0b5eb764effc xfs /var/log/audit
+-rootvg-varlog crypto_LUKS 2
¦ +-luks-e0d162f5-fad8-463e-8e39-6bd09e682961 xfs /var/log
+-rootvg-vartmp crypto_LUKS 2
¦ +-luks-0e7206e7-bfb1-4a23-ae14-b9cea7cf46d5 xfs /var/tmp
+-rootvg-var crypto_LUKS 2
+-luks-b23d8276-7844-4e79-8a58-505150b4eb42 xfs /var

Every persistent disk partition present must be of type "crypto_LUKS". If any partitions other than the /boot partitions are not type "crypto_LUKS", ask the administrator to indicate how the partitions are encrypted. If there is no evidence that these partitions are encrypted, this is a finding.

Fix

Configure AlmaLinux OS 9 to prevent unauthorized modification of all information at rest by using disk encryption.

Encrypting a partition in an already installed system is more difficult, because existing partitions will need to be resized and changed.

To encrypt an entire partition, dedicate a partition for encryption in the partition layout.