Skip to content

AlmaLinux OS 9 must block unauthorized peripherals before establishing a connection.

An XCCDF Rule

Description

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.

ID
SV-269382r1050265_rule
Version
ALMA-09-035440
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

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.