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

조치 방법

조치 방식: 가이드 또는 인프라 패치

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