UBTU-24-300039 - Ubuntu 24.04 LTS must disable automatic mounting of Universal Serial Bus (USB) mass storage driver.

Information

Without authenticating devices, unidentified or unknown devices may be introduced, thereby facilitating malicious activity.

Peripherals include, but are not limited to, devices such as flash drives, external storage, and printers.

Satisfies: SRG-OS-000690-GPOS-00140, SRG-OS-000378-GPOS-00163

Solution

Configure Ubuntu 24.04 LTS to disable using the USB storage kernel module with the following command:

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

Configure Ubuntu 24.04 LTS to disable the ability to use USB mass storage devices with the following command:

$ sudo su -c "echo blacklist usb-storage >> /etc/modprobe.d/DISASTIG.conf"

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_24-04_LTS_V1R1_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-3, CAT|II, CCI|CCI-001958, CCI|CCI-003959, Rule-ID|SV-270718r1067128_rule, STIG-ID|UBTU-24-300039, Vuln-ID|V-270718

Plugin: Unix

Control ID: d83d9d60f023b8025f2e09e5c3d8c05ad1d45391a168422c6378e96c6084971c