8.6.1 Ensure nonpersistent disks are limited

Information

By default, VM disks use dependent mode, which means they are affected by snapshots. To
avoid this, VM disks can use independent mode instead. Independent mode can be configured
as persistent (data is written permanently to the disk) or nonpersistent (all
changes made to disk are lost when the system is rebooted). Use of nonpersistent mode
should be avoided unless the data is not needed (e.g., already duplicated elsewhere).

*Rationale*

From a security standpoint, nonpersistent mode allows successful attackers to remove
evidence of their actions or even their presence within a VM by performing a simple shutdown or reboot.

Solution

To limit the use of nonpersistent mode, run the following PowerCLI command:

#Alter the parameters for the following cmdlet to set the VM Disk Type-
Get-VM | Get-HardDisk | Set-HardDisk

See Also

https://workbench.cisecurity.org/files/2168

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-11

Plugin: VMware

Control ID: df08b782c0e2f5e176819d7ad7ee4025d2348530e8e7ebb81f8794afe7226d2d