CIS Ubuntu 14.04 LTS - 1.1.1.5 Ensure mounting of hfsplus filesystems is disabled

Ensure the hfsplus filesystem type is disabled to reduce attack surface

cyberstrikeus Updated

File contents

1.1.1.5 Ensure mounting of hfsplus filesystems is disabled (Scored)

Profile Applicability

  • Level 1 - Server
  • Level 1 - Workstation

Description

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

Rationale

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

Audit Procedure

modprobe -n -v hfsplus
# Expected output: install /bin/true

lsmod | grep hfsplus
# Expected output: <No output>

Expected Result

modprobe -n -v hfsplus should return install /bin/true and lsmod | grep hfsplus should return no output.

Remediation

# Edit or create the file /etc/modprobe.d/CIS.conf and add the following line:
echo "install hfsplus /bin/true" >> /etc/modprobe.d/CIS.conf

# Unload the hfsplus module:
rmmod hfsplus

Default Value

By default, hfsplus filesystem mounting is allowed.

References

  • CIS Ubuntu Linux 14.04 LTS Benchmark v2.1.0
  • CIS Controls: 13 Data Protection

Profile

  • Level 1

cyberstrikeus/cyberstrike/tree/main/.cyberstrike/skill/CIS_benchmarks/Operating_Systems/Ubuntu/cis-ubuntu-linux-14-04-lts-benchmark-v2/cis-ubuntu1404-v210-1-1-1-5 commit 74a0beb79b

Frequently asked questions

npx skillmds@latest add cyberstrikeus/cis-ubuntu-14-04-lts-1-1-1-5-ensure-mounting-of-hfsplus-file