1.1.1.3 Ensure mounting of udf filesystems is disabled - lsmod

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.

Rationale:

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

Impact:

Microsoft Azure requires the usage of udf.

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

Solution

Edit or create a file in the /etc/modprobe.d/ directory ending in .conf with a line that reads install udf /bin/false.
Example:

# printf 'install udf /bin/false
blacklist udf
' >> /etc/modprobe.d/udf.conf

Run the following command to unload the udf module:

# modprobe -r udf

See Also

https://workbench.cisecurity.org/files/3811