Check: UBTU-18-010509
Canonical Ubuntu 18.04 LTS STIG:
UBTU-18-010509
(in versions v2 r12 through v2 r9)
Title
The Ubuntu operating system must disable automatic mounting of Universal Serial Bus (USB) mass storage driver. (Cat II impact)
Discussion
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.
Check Content
Note: The "install" and "blacklist" methods are utilized together to fully disable automatic mounting of the USB mass storage driver. Verify that Ubuntu operating system disables ability to load the USB storage kernel module: $ grep usb-storage /etc/modprobe.d/* | grep "/bin/true" install usb-storage /bin/true If the command does not return any output, or the line is commented out, this is a finding. Verify the operating system disables the ability to use USB mass storage device: $ grep usb-storage /etc/modprobe.d/* | grep -i "blacklist" blacklist usb-storage If the command does not return any output, or the line is commented out, this is a finding.
Fix Text
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/true >> /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"
Additional Identifiers
Rule ID: SV-219339r853398_rule
Vulnerability ID: V-219339
Group Title: SRG-OS-000378-GPOS-00163
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-001958 |
The information system authenticates an organization-defined list of specific and/or types of devices before establishing a local, remote, or network connection. |
Controls
Number | Title |
---|---|
IA-3 |
Device Identification And Authentication |