Cisco NX-OS
TMA-CISCO-NXOS-1.2.2
Configure IP Blocking on Failed Logins
설명
After a configured number of failed logins in a set window, offending IP addresses should be blocked from login for a configured amount of time. This effectively makes brute force attacks much less practical, slowing automated processes from a rate of multiple attempts per second to per minute ranges. CIS marks this Manual; automated as a config-line check. 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)^login block-for \d+ attempts \d+ within \d+
조치 방법
조치 방식: 가이드 또는 인프라 패치
! This configuration consists of: - A "watch" time window (in seconds) - the number of failed attempts to trigger on - the amount of time (in seconds) to block further login attempts from that IP address For NX-OS 7.x: login block-for <block time window> attempts <fail count> within <detect time window> for instance: login block-for 120 attempts 5 within 120 For NX-OS 9.x: system login block-for <block time window> attempts <fail count> within <detect time window> for instance: system login block-for 120 attempts 5 within 120 Any values at all will thwart most brute force or dictionary attacks.
속성
- 운영 체제
- 모두
- 태그
- cisco-nxosnetworklogging
- 참고 자료
- CIS Cisco NX-OS Benchmark v1.2.0 - 1.2.2 Configure IP Blocking on Failed Logins
이 호스트 점검하기
감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.
tmaegis scan --target cisco-nxos