TMAegis
freebsd 관련 규칙 더 보기

TMA-FREEBSD-2.2.5

Ensure nis server services are not in use

높음레벨 1자동freebsd

설명

The Network Information Service (NIS), formerly known as Yellow Pages, is a client- server directory service protocol used to distribute system configuration files. The NIS client ( ypbind ) was used to bind a machine to an NIS server and receive the distributed configuration files. The NIS service is inherently an insecure system that has been vulnerable to DOS attacks, buffer overflows and has poor authentication for querying NIS maps. NIS generally has been replaced by such protocols as Lightweight Directory Access Protocol (LDAP). Audit: rc.conf (sysrc) must not enable nis_server_enable.

점검 방법

감사 방식: 셸 명령

shell
command -v sysrc >/dev/null 2>&1 || exit 1; r=compliant; for k in nis_server_enable; do v=$(sysrc -q -n $k 2>/dev/null); case "$v" in [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1) r="$k=$v";; esac; done; echo "$r"
예상 출력
compliant

조치 방법

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

sysrc nis_server_enable="NO"; then stop the service (service <name> onestop)

속성

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

이 호스트 점검하기

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

shell
tmaegis scan --target freebsd