CIS Ubuntu 14.04 LTS - 1.1.1.2 Ensure mounting of freevxfs filesystems is disabled

Ensure the freevxfs filesystem type is disabled to reduce attack surface

cyberstrikeus Updated 3.6k repo stars
CyberStrike — Agentic AI Penetration Testing Framework

File contents

1.1.1.2 Ensure mounting of freevxfs filesystems is disabled (Scored)

Profile Applicability

  • Level 1 - Server
  • Level 1 - Workstation

Description

The freevxfs filesystem type is a free version of the Veritas type filesystem. This is the primary filesystem type for HP-UX operating systems.

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 freevxfs
# Expected output: install /bin/true

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

Expected Result

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

Remediation

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

# Unload the freevxfs module:
rmmod freevxfs

Default Value

By default, freevxfs 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 commit 9210d5acbc

Frequently asked questions

npx get-skill add cyberstrikeus/cis-ubuntu-14-04-lts-1-1-1-2-ensure-mounting-of-freevxfs-fil