TMAegisBeta
cisco-iosxr için daha fazla kural

Cisco IOS XR

TMA-CISCO-IOSXR-1.8.2

Set username secret for all local users

YüksekDüzey 1Otomatikcisco-iosxr

Açıklama

A root-system user with a normal password will not be authenticated because the normal password is two-way encrypted and poses a security risk because the password information is stored in the flash disk, which can be easily decrypted. Secrets are one-way encrypted and cannot be easily reverted without brute-forcing. Secrets use a one-way cryptographic hash. CIS marks this Manual; automated: fails if any local username has no 'secret'. Audited against the hierarchical output of 'show running-config' (run 'terminal length 0' first; not 'show running-config formal').

Nasıl denetlenir

Denetim yöntemi: Yapılandırma deseni

Desen
(?m)^username \S+[^\n]*\n(?:[ \t]+(?:$|[^s \t\n]|s(?:$|[^e\n]|e(?:$|[^c\n]|c(?:$|[^r\n]|r(?:$|[^e\n]|e(?:$|[^t\n]|t(?:$|[^ \n])))))))[^\n]*\n)*(?:[^ \t]|\z)

Nasıl düzeltilir

Düzeltme yöntemi: Kılavuz veya altyapı yaması

configure username {local_username} secret {local_password} commit

Özellikler

İşletim sistemleri
Herhangi biri
Etiketler
cisco-iosxrnetworkaaa
Referans
CIS Cisco IOS XR 7.x Benchmark v1.0.1 - 1.8.2 Set username secret for all local users

Bu ana makineyi denetle

Bunu denetleme izniniz olan bir makinede çalıştırın. Tarama salt okunurdur.

shell
tmaegis scan --target cisco-iosxr