SV-230524r1155418_rule
V-230524
SRG-OS-000378-GPOS-00163
RHEL-08-040140
CAT II
10
Configure the operating system to enable the blocking of unauthorized peripherals with the following command:
This command must be run from a root shell and will create an allow list for any usb devices currently connect to the system.
# usbguard generate-policy > /etc/usbguard/rules.conf
Note: Enabling and starting usbguard without properly configuring it for an individual system will immediately prevent any access over a usb device such as a keyboard or mouse.
Restart usbguard service after creation or update of rules with the following command:
$ sudo systemctl restart usbguard
Verify the USBGuard has a policy configured with the following command:
$ sudo usbguard list-rules
If the command does not return results or an error is returned, ask the SA to indicate how unauthorized peripherals are being blocked.
If there is no evidence that unauthorized peripherals are being blocked before establishing a connection, this is a finding.
If the USBGuard package is not installed, ask the SA to indicate how unauthorized peripherals are being blocked.
If there is no evidence that unauthorized peripherals are being blocked before establishing a connection, this is a finding.
If the system is a virtual machine with no virtual or physical USB peripherals attached, this is not a finding.
V-230524
False
RHEL-08-040140
Verify the USBGuard has a policy configured with the following command:
$ sudo usbguard list-rules
If the command does not return results or an error is returned, ask the SA to indicate how unauthorized peripherals are being blocked.
If there is no evidence that unauthorized peripherals are being blocked before establishing a connection, this is a finding.
If the USBGuard package is not installed, ask the SA to indicate how unauthorized peripherals are being blocked.
If there is no evidence that unauthorized peripherals are being blocked before establishing a connection, this is a finding.
If the system is a virtual machine with no virtual or physical USB peripherals attached, this is not a finding.
M
2921