Bottlerocket
TMA-BOTTLEROCKET-3.4.2.1
Ensure IPv6 default deny firewall policy
낮음레벨 2자동bottlerocket
설명
A default deny all policy on connections ensures that any unconfigured network usage will be rejected. The audit runs ip6tables -L -n and requires DROP or REJECT policy on INPUT, FORWARD and OUTPUT. Run tmaegis on the host through the admin container root shell (sudo sheltie).
점검 방법
감사 방식: 셸 명령
shell
out=$(ip6tables -L -n 2>/dev/null) || exit 1
bad=0
for c in INPUT FORWARD OUTPUT; do
p=$(printf '%s\n' "$out" | sed -n "s/^Chain $c (policy \([A-Z]*\).*/\1/p")
case "$p" in DROP|REJECT) ;; *) echo "$c policy ${p:-unknown}"; bad=1 ;; esac
done
[ "$bad" -eq 0 ] && echo compliant- 예상 출력
compliant
조치 방법
조치 방식: 가이드 또는 인프라 패치
Run the following commands to implement a default DROP policy: # ip6tables -P INPUT DROP # ip6tables -P OUTPUT DROP # ip6tables -P FORWARD DROP
속성
- 운영 체제
- 모두
- 태그
- bottlerocketnetwork
- 참고 자료
- CIS Bottlerocket Benchmark v1.0.0 - 3.4.2.1 Ensure IPv6 default deny firewall policy
이 호스트 점검하기
감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.
shell
tmaegis scan --target bottlerocket --level 2