SV-269382r1050265_rule
V-269382
SRG-OS-000378-GPOS-00163
ALMA-09-035440
CAT II
10
Configure the operating system to enable the blocking of unauthorized peripherals with the following command:
Note: This command will create an allow list for any USB devices currently connect to the system.
$ usbguard generate-policy --no-hashes | tee /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.
Note: If the system is virtual machine with no virtual or physical USB peripherals attached, this is not a finding.
Verify the USBGuard has a policy configured with the following command:
$ usbguard list-rules
1: allow id 1d6b:0002 serial "0000:03:00.0" name "xHCI Host Controller" with-interface 09:00:00 with-connect-type ""
2: allow id 1d6b:0003 serial "0000:03:00.0" name "xHCI Host Controller" with-interface 09:00:00 with-connect-type ""
3: allow id 0627:0001 serial "28754-0000:00:02.2:00.0-1" name "QEMU USB Tablet" with-interface 03:00:00 with-connect-type "unknown"
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.
V-269382
False
ALMA-09-035440
Note: If the system is virtual machine with no virtual or physical USB peripherals attached, this is not a finding.
Verify the USBGuard has a policy configured with the following command:
$ usbguard list-rules
1: allow id 1d6b:0002 serial "0000:03:00.0" name "xHCI Host Controller" with-interface 09:00:00 with-connect-type ""
2: allow id 1d6b:0003 serial "0000:03:00.0" name "xHCI Host Controller" with-interface 09:00:00 with-connect-type ""
3: allow id 0627:0001 serial "28754-0000:00:02.2:00.0-1" name "QEMU USB Tablet" with-interface 03:00:00 with-connect-type "unknown"
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.
M
5664