8.2.2 Ensure unnecessary CD/DVD devices are disconnected

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

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.

Rationale:

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/files/3511