TMAegisベータ
freebsd のその他のルール

FreeBSD

TMA-FREEBSD-1.1.1.2

Ensure msdosfs kernel module is not available

中レベル 1自動freebsd

説明

The msdosfs driver will permit the FreeBSD kernel to read and write MS-DOS based file systems. Removing support for unneeded file system types reduces the local attack surface of the system. This module is required only when reading or writing from MS-DOS based filesystems such as FAT16 or FAT32 file systems. Audit: `kldstat -q -m msdosfs` must report the module is not loaded.

チェック方法

監査方法: シェルコマンド

shell
command -v kldstat >/dev/null 2>&1 || exit 1; kldstat -q -m msdosfs && echo "msdosfs kernel module is loaded" || echo compliant
期待される出力
compliant

修正方法

修正方法: ガイダンスまたは IaC パッチ

kldunload -f msdosfs; printf 'msdosfs_load="NO"\n' >> /boot/loader.conf (remove any msdosfs_load="YES" and kld_list entry)

プロパティ

オペレーティングシステム
すべて
タグ
freebsdhardening
参照
CIS FreeBSD 14 Benchmark v1.0.1 - 1.1.1.2 Ensure msdosfs kernel module is not available

このホストをチェック

監査が許可されているマシンで実行してください。スキャンは読み取り専用です。

shell
tmaegis scan --target freebsd