TMAegis베타
lxd 관련 규칙 더 보기

LXD

TMA-LXD-TRUST-PASSWORD

Ensure core.trust_password is not set

높음레벨 1자동lxd

설명

A trust password lets any client that knows it add its certificate as a fully trusted remote, and it is brute-forceable over the network. Use short-lived trust tokens (lxc config trust add) instead. The audit runs "lxc config get core.trust_password" (prints "true"/hash when set); newer LXD releases removed the key, which is reported as compliant.

점검 방법

감사 방식: 셸 명령

shell
lxc info >/dev/null 2>&1 || exit 1
v=$(lxc config get core.trust_password 2>/dev/null)
[ -z "$v" ] && echo compliant
예상 출력
compliant

조치 방법

조치 방식: 셸 명령

shell
lxc config unset core.trust_password

속성

운영 체제
모두
태그
lxdcontainersauthentication
참고 자료
CIS-style LXD hardening guidance - Remote client authentication (no CIS benchmark section; verify against your hardening standard)

이 호스트 점검하기

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

shell
tmaegis scan --target lxd