TMAegis베타
cisco-nxos 관련 규칙 더 보기

Cisco NX-OS

TMA-CISCO-NXOS-1.2.6

Set the Maximum Number of VTY Sessions

높음레벨 1자동cisco-nxos

설명

This sets the maximum number of remote administrative sessions, which in most environments means the maximum number of SSH sessions. This setting prevents an attacker from a resource-exhaustion attack using protocol such as SSH. If there is no limit, an attacker could simply create SSH sessions and leave them in place until the NX-OS host resources (memory) would be exhausted. Audited against the output of 'show running-config' (run 'terminal length 0' first; do not use 'show running-config all', which adds default values).

점검 방법

감사 방식: 구성 패턴

패턴
(?m)^line vty[^\n]*\n(?:[ \t][^\n]*\n)*?[ \t]+session-limit \d+

조치 방법

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

line vty session-limit 16

속성

운영 체제
모두
태그
cisco-nxosnetworkmanagement-plane
참고 자료
CIS Cisco NX-OS Benchmark v1.2.0 - 1.2.6 Set the Maximum Number of VTY Sessions

이 호스트 점검하기

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

shell
tmaegis scan --target cisco-nxos