2.21 Disable Mounting of hfs Filesystems

Information

The hfs filesystem type is a hierarchical filesystem that allows you to mount Mac OS
filesystems.

*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 hfs /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: b7548ed6d59d69b93a779985cba67c0befd590a25cdbb1015f9bb0c4dec02a83