TMAegis
freebsd 관련 규칙 더 보기

FreeBSD

TMA-FREEBSD-2.2.9

Ensure tftp server services are not in use

높음레벨 1자동freebsd

설명

Trivial File Transfer Protocol (TFTP) is a simple protocol for exchanging files between two TCP/IP machines. TFTP servers allow connections from a TFTP Client for sending and receiving files. Unless there is a need to run the system as a TFTP server, it is recommended that the service is disabled to reduce the potential attack surface. TFTP does not have built-in encryption, access control or authentication. Audit: automated read-only check derived from the CIS audit procedure; it prints "compliant" when the control is met.

점검 방법

감사 방식: 셸 명령

shell
command -v grep >/dev/null 2>&1 || exit 1; out=$( { grep -E "^tftp[[:space:]]" /etc/inetd.conf ; } 2>/dev/null ); [ -z "$out" ] && echo compliant || printf '%s\n' "$out" | head -n 20
예상 출력
compliant

조치 방법

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

Run the following commands to stop and disable tftp: # sed -i '' -e 's|^tftp|#tftp|g' /etc/inetd.conf # service inetd restart

속성

운영 체제
모두
태그
freebsdservices
참고 자료
CIS FreeBSD 14 Benchmark v1.0.1 - 2.2.9 Ensure tftp server services are not in use

이 호스트 점검하기

감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.

shell
tmaegis scan --target freebsd