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-219339r939267_rule
Version
UBTU-18-010509
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"

Configure the operating system to disable the ability to use USB mass storage devices:
$ sudo su -c "echo blacklist usb-storage >> /etc/modprobe.d/DISASTIG.conf"