2.23 Disable Mounting of squashfs Filesystems

Information

The squashfs filesystem type is a compressed read-only Linux filesystem embedded in
small footprint systems (similar to cramfs). A squashfs image can be used without having to
first decompress the image.

*Rationale*

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

Solution

Edit or create the file /etc/modprobe.d/CIS.conf and add the following line-install squashfs /bin/true

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CSCv6|3.1

Plugin: Unix

Control ID: bc842d3682fbea4d5ef29d05bf165777a530381a1af5477abad6e5c49d2055f2