TMAegis
Thêm quy tắc cho cos

Container-Optimized OS

TMA-COS-5.1.5

Ensure SSH LogLevel is appropriate

Trung bìnhCấp 1Xem xét thủ côngcos

Mô tả

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.

Cách kiểm tra

Phương pháp kiểm tra: Xem xét thủ công

Khuyến nghị này không thể kiểm tra tự động. Lần quét sẽ liệt kê mục này kèm hướng dẫn khi bạn truyền cờ --include-manual.

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

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

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

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
container-optimized-oscosloggingssh
Tham chiếu
CIS Google Container-Optimized OS Benchmark v1.2.0 - 5.1.5 Ensure SSH LogLevel is appropriate