SV-281288r1166816_rule
V-281288
SRG-OS-000114-GPOS-00059
RHEL-10-700850
CAT II
10
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
Verify RHEL 10 disables the ability to load the USB Storage kernel module with the following command:
$ sudo grep -rs usb-storage /etc/modprobe.conf /etc/modprobe.d/*
/etc/modprobe.d/usb-storage.conf:install usb-storage /bin/false
/etc/modprobe.d/usb-storage.conf:blacklist usb-storage
If the command does not return any output, or either line is commented out, and use of USB Storage is not documented with the information system security officer as an operational requirement, this is a finding.
V-281288
False
RHEL-10-700850
Verify RHEL 10 disables the ability to load the USB Storage kernel module with the following command:
$ sudo grep -rs usb-storage /etc/modprobe.conf /etc/modprobe.d/*
/etc/modprobe.d/usb-storage.conf:install usb-storage /bin/false
/etc/modprobe.d/usb-storage.conf:blacklist usb-storage
If the command does not return any output, or either line is commented out, and use of USB Storage is not documented with the information system security officer as an operational requirement, this is a finding.
M
5733