Skip to content

The Ubuntu operating system must disable automatic mounting of Universal Serial Bus (USB) mass storage driver.

An XCCDF Rule

Description

Without authenticating devices, unidentified or unknown devices may be introduced, thereby facilitating malicious activity. Peripherals include, but are not limited to, such devices as flash drives, external storage, and printers.

ID
SV-251505r958820_rule
Version
UBTU-20-010461
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Configure the Ubuntu operating system to disable using the USB storage kernel module. 

Create a file under "/etc/modprobe.d" to contain the following:

# sudo su -c "echo install usb-storage /bin/false >> /etc/modprobe.d/DISASTIG.conf"