STIGQter STIGQter: STIG Summary: Canonical Ubuntu 24.04 LTS Security Technical Implementation Guide Version: 1 Release: 6 Benchmark Date: 01 Jul 2026:

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

DISA Rule

SV-270718r1134811_rule

Vulnerability Number

V-270718

Group Title

SRG-OS-000690-GPOS-00140

Rule Version

UBTU-24-300039

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Configure Ubuntu 24.04 LTS to disable using the USB storage kernel module with the following command:

$ sudo su -c "echo install usb-storage /bin/false >> /etc/modprobe.d/DISASTIG.conf"

Configure Ubuntu 24.04 LTS to disable the ability to use USB mass storage devices with the following command:

$ sudo su -c "echo blacklist usb-storage >> /etc/modprobe.d/DISASTIG.conf"

Check Contents

Verify that Ubuntu 24.04 LTS disables the ability to load the USB storage kernel module with the following command:

$ sudo grep usb-storage /etc/modprobe.d/* | grep "/bin/false"
/etc/modprobe.d/DISASTIG.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 24.04 LTS disables the ability to use USB mass storage devices.

$ sudo grep usb-storage /etc/modprobe.d/* | grep -i "blacklist"
/etc/modprobe.d/DISASTIG.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-270718

Documentable

False

Rule Version

UBTU-24-300039

Severity Override Guidance

Verify that Ubuntu 24.04 LTS disables the ability to load the USB storage kernel module with the following command:

$ sudo grep usb-storage /etc/modprobe.d/* | grep "/bin/false"
/etc/modprobe.d/DISASTIG.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 24.04 LTS disables the ability to use USB mass storage devices.

$ sudo grep usb-storage /etc/modprobe.d/* | grep -i "blacklist"
/etc/modprobe.d/DISASTIG.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

5673