TMAegis
cisco-nxos 관련 규칙 더 보기

TMA-CISCO-NXOS-1.2.1

Restrict Access to VTY Sessions

높음레벨 1자동cisco-nxos

설명

Restrict Management Access to trusted management stations and VLANs. Exposing the management interface too broadly exposes that interface to MiTM (Monkey in the Middle) attacks as well as to credential stuffing attacks. The question "should your receptionist have access to your core switch?" usually illustrates the need for ... CIS marks this Manual; automated: requires an 'access-class ... in' under 'line vty'. 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]+(?:ip |ipv6 )?access-class \S+ in\b

조치 방법

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

! Create an access-list that defines the various trusted subnets and/or stations: ip access-list ACL-MGT remark access-class ACL permit ip 192.168.12.0/24 any deny ip any any log It is suggested that all ACLs are commented to help self-document the configuration. The last line in the ACL should read deny ip any any log to record all attempts to reach the management interface from unauthorized stations. Apply the Access-Class to the VTY interface: line vty access-class ACL-MGT in

속성

운영 체제
모두
태그
cisco-nxosnetworkmanagement-plane
참고 자료
CIS Cisco NX-OS Benchmark v1.2.0 - 1.2.1 Restrict Access to VTY Sessions

이 호스트 점검하기

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

shell
tmaegis scan --target cisco-nxos