8.2.4 Ensure unnecessary serial ports are disconnected

Information

Ensure that no serial port is connected to a virtual machine unless required. For a serial
port to be disconnected, the serialX.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.

NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.

Solution

To implement the recommended configuration state, run the following PowerCLI
command-

# In this Example you will need to add the functions from this post-
http-//blogs.vmware.com/vipowershell/2012/05/working-with-vm-devices-in-powercli.html
# Remove all Serial Ports attached to VMs
Get-VM | Get-SerialPort | Remove-SerialPort

See Also

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

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-4, CSCv7|9.2

Plugin: VMware

Control ID: 2bb3544dca3f0530270383a643d4381dea9903ed9ffe6824de4d1cee8c8b866c