SV-227069r603265_rule
V-227069
SRG-OS-000480
GEN008480
CAT III
10
Prevent the USB drivers from loading:
# echo "exclude: usb_ac" >> /etc/system
# echo "exclude: usb_as" >> /etc/system
# echo "exclude: hid" >> /etc/system
# echo "exclude: scsa2usb" >> /etc/system
# echo "exclude: usbprn" >> /etc/system
# echo "exclude: usbser_edge" >> /etc/system
The system must be restarted for these changes to take effect.
If the system needs a particular USB driver for storage, this vulnerability is not applicable.
Check the current loaded kernel modules:
# modinfo | grep usb_ac
# modinfo | grep usb_as
# modinfo | grep hid
# modinfo | grep scsa2usb
# modinfo | grep usbprn
# modinfo | grep usbser_edge
If any command produces output, this is a finding.
Check the configuration of the /etc/system file:
# grep 'exclude: usb_ac' /etc/system
# grep 'exclude: usb_as' /etc/system
# grep 'exclude: hid' /etc/system
# grep 'exclude: scsa2usb' /etc/system
# grep 'exclude: usbprn' /etc/system
# grep 'exclude: usbser_edge' /etc/system
If no results are returned from any particular command, this is a finding.
V-227069
False
GEN008480
If the system needs a particular USB driver for storage, this vulnerability is not applicable.
Check the current loaded kernel modules:
# modinfo | grep usb_ac
# modinfo | grep usb_as
# modinfo | grep hid
# modinfo | grep scsa2usb
# modinfo | grep usbprn
# modinfo | grep usbser_edge
If any command produces output, this is a finding.
Check the configuration of the /etc/system file:
# grep 'exclude: usb_ac' /etc/system
# grep 'exclude: usb_as' /etc/system
# grep 'exclude: hid' /etc/system
# grep 'exclude: scsa2usb' /etc/system
# grep 'exclude: usbprn' /etc/system
# grep 'exclude: usbser_edge' /etc/system
If no results are returned from any particular command, this is a finding.
M
4060