8.2.2 (L2) Ensure unnecessary CD/DVD devices are disconnected

Information

Ensure that no CD/DVD device is connected to a virtual machine unless required. For a CD/DVD device to be disconnected, the ideX:Y.present parameter should either not be present or have a value of FALSE.

Removing unnecessary hardware devices can reduce the number of potential attack channels and help prevent attacks.

Solution

To disconnect all CD/DVD drives from VMs, run the following PowerCLI command:

# Remove all CD/DVD Drives attached to VMs
Get-VM | Get-CDDrive | Remove-CDDrive

The VM will need to be powered off for this change to take effect.

See Also

https://workbench.cisecurity.org/benchmarks/15334

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, 800-53|CM-7, CSCv7|9.2

Plugin: VMware

Control ID: cad234a6500bba3bb7c58b571e478ec936ead2c09f578fa1346f6ef7cfd5ef43