1.1.1.8 Ensure udf kernel module is not available

Information

The udf filesystem type is the universal disk format used to implement ISO/IEC 13346 and ECMA-167 specifications. This is an open vendor filesystem type for data storage on a broad range of media. This filesystem type is necessary to support writing DVDs and newer optical disc formats.

Removing support for unneeded filesystem types reduces the local attack surface of the system. If this filesystem type is not needed, disable it.

Solution

Run the following to unload and disable the udf kernel module. This can also be done by running the script included below.

Run the following commands to unload the udf kernel module:

# modprobe -r udf 2>/dev/null
# rmmod udf 2>/dev/null

Perform the following to disable the udf kernel module:

Create a file ending inconf with install udf /bin/false in the /etc/modprobe.d/ directory

Example:

# printf '\n%s\n' "install udf /bin/false" >> udf.conf

Create a file ending inconf with blacklist udf in the /etc/modprobe.d/ directory

Example:

# printf '\n%s\n' "blacklist udf" >> udf.conf

Impact:

Microsoft Azure requires the usage of udf

udf should not be disabled on systems run on Microsoft Azure.

See Also

https://workbench.cisecurity.org/benchmarks/21369

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, 800-53|CM-7, CSCv7|9.2

Plugin: Unix

Control ID: d6831fe1c8faf9a36fbdcf818d17b0930727b65423b985cad30f492010193c19