Ubuntu 22.04 LTS must disable automatic mounting of Universal Serial Bus (USB) mass storage driver.
An XCCDF Rule
Description
<VulnDiscussion>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.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-260540r986276_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
Configure Ubuntu 22.04 LTS to disable using the USB storage kernel module.
Create and/or append a custom file under "/etc/modprobe.d/" to contain the following:
$ sudo su -c "echo install usb-storage /bin/false >> /etc/modprobe.d/stig.conf"