Cisco IOS
TMA-CISCO-IOS-1.4.3
Set 'username secret' for all local users
Mô tả
Username secret password type 5 and enable secret password type 5 must be migrated to the stronger password type 8 or 9. IF a device is upgraded from IOS XE 16.9 or later the type 5 is auto converted to type 9. The username secret command provides an additional layer of security over the username password. Default device configuration does not require strong user authentication potentially enabling unfettered access to an attacker that is able to reach the device. Fails if any 'username' line is configured without 'secret'. Audited against the output of 'show running-config' (run 'terminal length 0' first; do not use 'show running-config all' or 'show startup-config').
Cách kiểm tra
Phương pháp kiểm tra: Mẫu cấu hình
- Mẫu khớp
(?m)^username \S+ (?:(?:[^s \t\n][^ \t\n]*|s(?:|[^e \t\n][^ \t\n]*|e(?:|[^c \t\n][^ \t\n]*|c(?:|[^r \t\n][^ \t\n]*|r(?:|[^e \t\n][^ \t\n]*|e(?:|[^t \t\n][^ \t\n]*|t(?:[^ \t\n][^ \t\n]*)))))))[ \t]+)*(?:(?:[^s \t\n][^ \t\n]*|s(?:|[^e \t\n][^ \t\n]*|e(?:|[^c \t\n][^ \t\n]*|c(?:|[^r \t\n][^ \t\n]*|r(?:|[^e \t\n][^ \t\n]*|e(?:|[^t \t\n][^ \t\n]*|t(?:[^ \t\n][^ \t\n]*))))))))?$
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
! Create a local user with an encrypted, complex (not easily guessed) password. username {LOCAL_USERNAME} secret {LOCAL_PASSWORD}
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- cisco-iosnetworkaaa
- Tham chiếu
- CIS Cisco IOS XE 17.x Benchmark v2.2.1 - 1.4.3 Set 'username secret' for all local users
Kiểm tra máy này
Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.
tmaegis scan --target cisco-ios