TMAegis베타
freebsd 관련 규칙 더 보기

FreeBSD

TMA-FREEBSD-1.6.3

Ensure remote login warning banner is configured properly

낮음레벨 1자동freebsd

설명

The contents of the /etc/issue.net file are displayed to users prior to login for remote connections from configured services. Unix-based systems have typically displayed information about the OS release and patch level upon logging in to the system. This information can be useful to developers who are developing software for a particular OS platform. Audit: /etc/issue.net must not disclose the OS version from /etc/os-release; review the wording against site policy.

점검 방법

감사 방식: 셸 명령

shell
[ -f /etc/issue.net ] || { echo compliant; exit 0; }; v=$(grep "^VERSION=" /etc/os-release 2>/dev/null | cut -d= -f2 | sed -e 's/"//g'); [ -n "$v" ] || exit 1; grep -Fiq "$v" /etc/issue.net && echo "/etc/issue.net discloses the OS version" || echo compliant
예상 출력
compliant

조치 방법

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

Edit the /etc/issue.net file with the appropriate contents according to your site policy, remove any references to the OS platform. Example: # echo "Authorized users only. All activity may be monitored and reported." > /etc/issue.net

속성

운영 체제
모두
태그
freebsdaccounts
참고 자료
CIS FreeBSD 14 Benchmark v1.0.1 - 1.6.3 Ensure remote login warning banner is configured properly

이 호스트 점검하기

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

shell
tmaegis scan --target freebsd