RHEL 8 must be configured to disable USB mass storage.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
---|---|---|---|---|---|---|
medium | V-230503 | SRG-OS-000114-GPOS-00059 | RHEL-08-040080 | SV-230503r1069316_rule | 2025-03-26 | 2 |
Description |
---|
USB mass storage permits easy introduction of unknown devices, thereby facilitating malicious activity. Satisfies: SRG-OS-000114-GPOS-00059, SRG-OS-000378-GPOS-00163 |
ℹ️ Check |
---|
Verify the operating system disables the ability to load the USB Storage kernel module and ensure that the USB Storage kernel module is disabled with the following command: $ sudo grep usb-storage /etc/modprobe.d/* | grep -i "blacklist" /etc/modprobe.d/blacklist.conf:install usb-storage /bin/false /etc/modprobe.d/blacklist.conf:blacklist usb-storage If the command does not return any output, or the line is commented out, and use of USB Storage is not documented with the Information System Security Officer (ISSO) as an operational requirement, this is a finding. |
✔️ Fix |
---|
Configure the operating system to disable the ability to use the USB Storage kernel module and the ability to use USB mass storage devices. Add or update the following lines in the file "/etc/modprobe.d/blacklist.conf": install usb-storage /bin/false blacklist usb-storage Reboot the system for the settings to take effect. |