STIGQter STIGQter: STIG Summary: Canonical Ubuntu 22.04 LTS Security Technical Implementation Guide Version: 2 Release: 9 Benchmark Date: 01 Jul 2026:

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

DISA Rule

SV-260540r986276_rule

Vulnerability Number

V-260540

Group Title

SRG-OS-000378-GPOS-00163

Rule Version

UBTU-22-291010

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

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"

Check Contents

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.

Vulnerability Number

V-260540

Documentable

False

Rule Version

UBTU-22-291010

Severity Override Guidance

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.

Check Content Reference

M

Target Key

5594