UCF STIG Viewer Logo

The system must disconnect unauthorized USB devices.


Overview

Finding ID Version Rule ID IA Controls Severity
V-64101 VMCH-06-000032 SV-78591r1_rule Medium
Description
Ensure that no device is connected to a virtual machine if it is not required. For example, floppy, serial and parallel ports are rarely used for virtual machines in a datacenter environment, and CD/DVD drives are usually connected only temporarily during software installation.
STIG Date
VMware vSphere Virtual Machine Version 6 Security Technical Implementation Guide 2015-12-09

Details

Check Text ( C-64851r1_chk )
From the vSphere Client select the Virtual Machine right click and go to Edit Settings. Review the VMs hardware and verify no USB devices exist.

or

From a PowerCLI command prompt while connected to the ESXi host or vCenter server run the following commands:

Get-VM | Where {$_.ExtensionData.Config.Hardware.Device.DeviceInfo.Label -match "usb"}
Get-VM | Get-UsbDevice

If a virtual machine has any USB devices or USB controllers present, this is a finding.
Fix Text (F-70029r1_fix)
From the vSphere Client select the Virtual Machine right click and go to Edit Settings. Select the USB controller and click remove then OK.

or

From a PowerCLI command prompt while connected to the ESXi host or vCenter server run the following command:

Get-VM "VM Name" | Get-USBDevice | Remove-USBDevice

Note: This will not remove the USB controller just any connected devices.