TMAegis
Mais regras para cisco-iosxr

TMA-CISCO-IOSXR-1.8.2

Set username secret for all local users

AltaNível 1Automatizadacisco-iosxr

Descrição

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').

Como é verificado

Método de auditoria: Padrão de configuração

Padrão
(?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)

Como é corrigido

Método de correção: Orientação ou patch de infraestrutura

configure username {local_username} secret {local_password} commit

Propriedades

Sistemas operacionais
Qualquer
Tags
cisco-iosxrnetworkaaa
Referência
CIS Cisco IOS XR 7.x Benchmark v1.0.1 - 1.8.2 Set username secret for all local users

Verificar este host

Execute isto em uma máquina que você tenha permissão para auditar. A varredura é somente leitura.

shell
tmaegis scan --target cisco-iosxr