SV-270945r1107130_rule
V-270945
SRG-APP-000126
DRAG-OT-000500
CAT II
10
If Dragos is running on an appliance, this check is Not Applicable.
If the hypervisor is using full disk encryption, this check is Not Applicable.
LUKS (Linux Unified Key Setup):
During the installation process, most Linux distributions provide an option to encrypt the disk. Select this option to set up encryption.
To encrypt an existing installation, use tools such as cryptsetup to set up encryption manually. Here is a general guide:
Execute the following (Replace /dev/sdX with the appropriate device name):
sudo cryptsetup luksFormat /dev/sdX
sudo cryptsetup open /dev/sdX encrypted_disk
sudo mkfs.ext4 /dev/mapper/encrypted_disk
sudo mount /dev/mapper/encrypted_disk /mnt
If Dragos is running on an appliance, this check is Not Applicable.
If the hypervisor is using full disk encryption, this check is Not Applicable.
Check for disk encryption in a VM.
Log into the VM and access the VM using remote access method, such as SSH.
Use Built-in Tools or Commands:
Linux:
1. Open a terminal window.
2. Use the following command to check if any encrypted partitions exist:
lsblk -o NAME,FSTYPE,LABEL,UUID,SIZE,MOUNTPOINT,TYPE
3. Check for partitions with the filesystem type "crypto_LUKS" or similar.
4. Use the following command to list encrypted volumes:
cryptsetup luksDump /dev/sdX
(Replace /dev/sdX with the appropriate device name)
If volumes are not encrypted, this is a finding.
V-270945
False
DRAG-OT-000500
If Dragos is running on an appliance, this check is Not Applicable.
If the hypervisor is using full disk encryption, this check is Not Applicable.
Check for disk encryption in a VM.
Log into the VM and access the VM using remote access method, such as SSH.
Use Built-in Tools or Commands:
Linux:
1. Open a terminal window.
2. Use the following command to check if any encrypted partitions exist:
lsblk -o NAME,FSTYPE,LABEL,UUID,SIZE,MOUNTPOINT,TYPE
3. Check for partitions with the filesystem type "crypto_LUKS" or similar.
4. Use the following command to list encrypted volumes:
cryptsetup luksDump /dev/sdX
(Replace /dev/sdX with the appropriate device name)
If volumes are not encrypted, this is a finding.
M
5675