TMAegis베타
cos 관련 규칙 더 보기

Container-Optimized OS

TMA-COS-5.1.5

Ensure SSH LogLevel is appropriate

보통레벨 1수동 검토cos

설명

INFO level is the basic level that only records login activity of SSH users. In many situations, such as Incident Response, it is important to determine when a particular user was active on a system. The logout record can eliminate those users who disconnected, which helps narrow the field. VERBOSE level specifies that login and logout activity as well as the key fingerprint for any SSH key used for login will be logged. This information is important for SSH key management, especially in legacy environments. SSH provides several logging levels with varying amounts of verbosity. DEBUG is specifically not recommended other than strictly for debugging SSH communications since it provides so much data that it is difficult to identify important security information.

점검 방법

감사 방식: 수동 검토

이 권장 사항은 자동으로 점검할 수 없습니다. --include-manual 옵션을 전달하면 스캔 결과에 이 지침과 함께 표시됩니다.

Run the following command and verify that output matches: # sshd -T | grep loglevel LogLevel VERBOSE OR loglevel INFO

조치 방법

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

Edit the /etc/ssh/sshd_config file to set the parameter as follows: LogLevel VERBOSE OR LogLevel INFO

속성

운영 체제
모두
태그
container-optimized-oscosloggingssh
참고 자료
CIS Google Container-Optimized OS Benchmark v1.2.0 - 5.1.5 Ensure SSH LogLevel is appropriate