TMAegisベータ
cisco-nxos のその他のルール

Cisco NX-OS

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

修正方法

修正方法: ガイダンスまたは IaC パッチ

! 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