RHEL-10-700850 - RHEL 10 must be configured to disable USB mass storage.

Information

USB mass storage permits easy introduction of unknown devices, thereby facilitating malicious activity.

Satisfies: SRG-OS-000114-GPOS-00059, SRG-OS-000378-GPOS-00163

Solution

Configure RHEL 10 to prevent the usb-storage kernel module from being loaded.

Add the following lines to the file "/etc/modprobe.d/usb-storage.conf" (or create "usb-storage.conf" if it does not exist):

$ sudo vi /etc/modprobe.d/usb-storage.conf

install usb-storage /bin/false
blacklist usb-storage

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_10_V1R1_STIG.zip