2.5.2 Ensure USBGuard has a policy configured

Information

The operating system must block unauthorized peripherals before establishing a connection.

Without authenticating devices, unidentified or unknown devices may be introduced, thereby facilitating malicious activity.

Peripherals include, but are not limited to, such devices as flash drives, external storage, and printers.

A new feature that RHEL 8 operating system's provide is the USBGuard software framework. The USBguard-daemon is the main component of the USBGuard software framework. It runs as a service in the background and enforces the USB device authorization policy for all USB devices. The policy is defined by a set of rules using a rule language described in the usbguard-rules.conf file. The policy and the authorization state of USB devices can be modified during runtime using the USBguard tool.

The System Administrator (SA) must work with the site Information System Security Officer (ISSO) to determine a list of authorized peripherals and establish rules within the USBGuard software framework to allow only authorized devices.

Solution

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

See Also

https://workbench.cisecurity.org/benchmarks/19886

Item Details

Category: IDENTIFICATION AND AUTHENTICATION, MEDIA PROTECTION

References: 800-53|IA-3, 800-53|MP-2, CAT|II, CSCv7|13.7, Rule-ID|SV-230524r854065_rule, Vuln-ID|V-230524

Plugin: Unix

Control ID: 6530220340219c2c0bcf8d7b56000521b043a6c41207d9f21a531cb300807312