STIGhubSTIGhub
STIGsRMF ControlsCompare

STIGhub

A free tool to search and browse the entire DISA STIG library. Saves up to 75% in security compliance research time.

Navigation

  • Browse STIGs
  • Search
  • RMF Controls
  • Compare Versions

Resources

  • About
  • Release Notes
  • VPAT
  • DISA STIG Library
STIGs updated 5 hours ago
Powered by Pylon
© 2026 Beacon Cloud Solutions, Inc. All rights reserved.
← Back to Canonical Ubuntu 22.04 LTS Security Technical Implementation Guide

V-260540

CAT II (Medium)

Ubuntu 22.04 LTS must disable automatic mounting of Universal Serial Bus (USB) mass storage driver.

Rule ID

SV-260540r986276_rule

STIG

Canonical Ubuntu 22.04 LTS Security Technical Implementation Guide

Version

V2R8

CCIs

CCI-001958CCI-003959

Discussion

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.

Check Content

Verify Ubuntu 22.04 LTS disables ability to load the USB storage kernel module by using the following command: 
 
     $ grep usb-storage /etc/modprobe.d/* | grep "/bin/false" 
     /etc/modprobe.d/stig.conf:install usb-storage /bin/false 
 
If the command does not return any output, or the line is commented out, this is a finding. 
 
Verify Ubuntu 22.04 LTS disables the ability to use USB mass storage device. 
 
     $ grep usb-storage /etc/modprobe.d/* | grep -i "blacklist" 
     /etc/modprobe.d/stig.conf:blacklist usb-storage 
 
If the command does not return any output, or the line is commented out, this is a finding.

Fix Text

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" 
 
Configure Ubuntu 22.04 LTS to disable the ability to use USB mass storage devices. 
 
     $ sudo su -c "echo blacklist usb-storage >> /etc/modprobe.d/stig.conf"