TMAegisBeta
Više pravila za juniper-junos

Juniper Junos

TMA-JUNIPER-JUNOS-4.7.2

Ensure authentication is set to AES-CMAC (LDP)

VisokaNivo 2Automatskajuniper-junos

Opis

LDP peers should be strongly authenticated. Where it is deployed, LDP is vital for normal operation of an MPLS network. LDP is used to determine Label mapping and populate the routers Forwarding Information Base (FIB). Passes when no LDP session is configured. Audited against the output of 'show configuration | display set | no-more' (set format, not the curly-brace hierarchy).

Kako se proverava

Metod provere: Obrazac konfiguracije

Obrazac
(?m)\A(?:(?:[ \t]*(?:$|[^s \t\n]|s(?:$|[^e\n]|e(?:$|[^t\n]|t(?:$|[^ \n]| (?:$|[^p\n]|p(?:$|[^r\n]|r(?:$|[^o\n]|o(?:$|[^t\n]|t(?:$|[^o\n]|o(?:$|[^c\n]|c(?:$|[^o\n]|o(?:$|[^l\n]|l(?:$|[^s\n]|s(?:$|[^ \n]| (?:$|[^l\n]|l(?:$|[^d\n]|d(?:$|[^p\n]|p(?:$|[^ \n]))))))))))))))))))[^\n]*|[ \t]*set protocols ldp (?:(?:[^a \t\n][^ \t\n]*|a(?:|[^e \t\n][^ \t\n]*|e(?:|[^s \t\n][^ \t\n]*|s(?:|[^\- \t\n][^ \t\n]*|-(?:|[^1 \t\n][^ \t\n]*|1(?:|[^2 \t\n][^ \t\n]*|2(?:|[^8 \t\n][^ \t\n]*|8(?:|[^\- \t\n][^ \t\n]*|-(?:|[^c \t\n][^ \t\n]*|c(?:|[^m \t\n][^ \t\n]*|m(?:|[^a \t\n][^ \t\n]*|a(?:|[^c \t\n][^ \t\n]*|c(?:|[^\- \t\n][^ \t\n]*|-(?:|[^9 \t\n][^ \t\n]*|9(?:|[^6 \t\n][^ \t\n]*|6(?:[^ \t\n][^ \t\n]*))))))))))))))))[ \t]+)*(?:(?:[^a \t\n][^ \t\n]*|a(?:|[^e \t\n][^ \t\n]*|e(?:|[^s \t\n][^ \t\n]*|s(?:|[^\- \t\n][^ \t\n]*|-(?:|[^1 \t\n][^ \t\n]*|1(?:|[^2 \t\n][^ \t\n]*|2(?:|[^8 \t\n][^ \t\n]*|8(?:|[^\- \t\n][^ \t\n]*|-(?:|[^c \t\n][^ \t\n]*|c(?:|[^m \t\n][^ \t\n]*|m(?:|[^a \t\n][^ \t\n]*|a(?:|[^c \t\n][^ \t\n]*|c(?:|[^\- \t\n][^ \t\n]*|-(?:|[^9 \t\n][^ \t\n]*|9(?:|[^6 \t\n][^ \t\n]*|6(?:[^ \t\n][^ \t\n]*)))))))))))))))))?)\n)*[ \t]*set protocols ldp (?:session|session-group) (?:(?:[^a \t\n][^ \t\n]*|a(?:|[^e \t\n][^ \t\n]*|e(?:|[^s \t\n][^ \t\n]*|s(?:|[^\- \t\n][^ \t\n]*|-(?:|[^1 \t\n][^ \t\n]*|1(?:|[^2 \t\n][^ \t\n]*|2(?:|[^8 \t\n][^ \t\n]*|8(?:|[^\- \t\n][^ \t\n]*|-(?:|[^c \t\n][^ \t\n]*|c(?:|[^m \t\n][^ \t\n]*|m(?:|[^a \t\n][^ \t\n]*|a(?:|[^c \t\n][^ \t\n]*|c(?:|[^\- \t\n][^ \t\n]*|-(?:|[^9 \t\n][^ \t\n]*|9(?:|[^6 \t\n][^ \t\n]*|6(?:[^ \t\n][^ \t\n]*))))))))))))))))[ \t]+)*(?:(?:[^a \t\n][^ \t\n]*|a(?:|[^e \t\n][^ \t\n]*|e(?:|[^s \t\n][^ \t\n]*|s(?:|[^\- \t\n][^ \t\n]*|-(?:|[^1 \t\n][^ \t\n]*|1(?:|[^2 \t\n][^ \t\n]*|2(?:|[^8 \t\n][^ \t\n]*|8(?:|[^\- \t\n][^ \t\n]*|-(?:|[^c \t\n][^ \t\n]*|c(?:|[^m \t\n][^ \t\n]*|m(?:|[^a \t\n][^ \t\n]*|a(?:|[^c \t\n][^ \t\n]*|c(?:|[^\- \t\n][^ \t\n]*|-(?:|[^9 \t\n][^ \t\n]*|9(?:|[^6 \t\n][^ \t\n]*|6(?:[^ \t\n][^ \t\n]*)))))))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))))))?)))*\n?\z

Kako se ispravlja

Metod ispravke: Smernica ili zakrpa infrastrukture

! If you have deployed LDP in your network you should use strong authentication for all neighbors. Both AES-CMAC and SHA1-HMAC authentication require a keychain to be configured on the device under the hierarchy with at least one key which has a start time in the past. set security authentication-key-chains key-chain <name> key <key number> start-time <YYYY-MM-DD.HH:MM> set security authentication-key-chains key-chain <name> key <key number> secret <secret key> The chosen algorithm and keychain should then be configured for all session groups from the hierarchy: set protocols ldp session-group <Destination IP Address or IP/Mask> authentication-algorithm aes-128-cmac-96 set protocols ldp session-group <Destination IP Address or IP/Mask> authentication-key-chain <name> or for SHA1 : set protocols ldp session-group <Destination IP Address or IP/Mask> authentication-algorithm hmac-sha-1-96 set protocols ldp session-group <Destination IP Address or IP/Mask> authentication-key-chain <name>

Svojstva

Operativni sistemi
Bilo koji
Oznake
juniper-junosnetworkaaa
Referenca
CIS Juniper OS Benchmark v2.1.0 - 4.7.2 Ensure authentication is set to AES-CMAC

Proverite ovaj računar

Pokrenite ovo na računaru za koji imate dozvolu za proveru. Skeniranje radi u režimu samo za čitanje.

shell
tmaegis scan --target juniper-junos --level 2