TMAegis
juniper-junos のその他のルール

Juniper Junos

TMA-JUNIPER-JUNOS-3.2.2

Ensure authentication-type is set to MD5 (VRRP)

高レベル 2自動juniper-junos

説明

Any VRRP authentication should use MD5 HMAC. VRRP provides resilience for a routers interfaces, allowing another router to act as backup in the event of a partial or complete failure of the primary router and increasing the availability network resources as well as resilience to DoS attack. Passes when VRRP is not configured; otherwise requires 'authentication-type md5'. Audited against the output of 'show configuration | display set | no-more' (set format, not the curly-brace hierarchy).

チェック方法

監査方法: 設定パターン

パターン
(?m)\A(?:(?:(?:(?:[^v \t\n][^ \t\n]*|v(?:|[^r \t\n][^ \t\n]*|r(?:|[^r \t\n][^ \t\n]*|r(?:|[^p \t\n][^ \t\n]*|p(?:|[^\- \t\n][^ \t\n]*|-(?:|[^g \t\n][^ \t\n]*|g(?:|[^r \t\n][^ \t\n]*|r(?:|[^o \t\n][^ \t\n]*|o(?:|[^u \t\n][^ \t\n]*|u(?:|[^p \t\n][^ \t\n]*|p(?:[^ \t\n][^ \t\n]*)))))))))))[ \t]+)*(?:(?:[^v \t\n][^ \t\n]*|v(?:|[^r \t\n][^ \t\n]*|r(?:|[^r \t\n][^ \t\n]*|r(?:|[^p \t\n][^ \t\n]*|p(?:|[^\- \t\n][^ \t\n]*|-(?:|[^g \t\n][^ \t\n]*|g(?:|[^r \t\n][^ \t\n]*|r(?:|[^o \t\n][^ \t\n]*|o(?:|[^u \t\n][^ \t\n]*|u(?:|[^p \t\n][^ \t\n]*|p(?:[^ \t\n][^ \t\n]*))))))))))))?|(?:(?:[^m \t\n][^ \t\n]*|m(?:|[^d \t\n][^ \t\n]*|d(?:|[^5 \t\n][^ \t\n]*|5(?:[^ \t\n][^ \t\n]*))))[ \t]+)*(?:(?:[^m \t\n][^ \t\n]*|m(?:|[^d \t\n][^ \t\n]*|d(?:|[^5 \t\n][^ \t\n]*|5(?:[^ \t\n][^ \t\n]*)))))?)\n)*[^\n]*\bvrrp-group \d+ virtual-address\b[^\n]*(?:\n(?:(?:(?:(?:[^v \t\n][^ \t\n]*|v(?:|[^r \t\n][^ \t\n]*|r(?:|[^r \t\n][^ \t\n]*|r(?:|[^p \t\n][^ \t\n]*|p(?:|[^\- \t\n][^ \t\n]*|-(?:|[^g \t\n][^ \t\n]*|g(?:|[^r \t\n][^ \t\n]*|r(?:|[^o \t\n][^ \t\n]*|o(?:|[^u \t\n][^ \t\n]*|u(?:|[^p \t\n][^ \t\n]*|p(?:[^ \t\n][^ \t\n]*)))))))))))[ \t]+)*(?:(?:[^v \t\n][^ \t\n]*|v(?:|[^r \t\n][^ \t\n]*|r(?:|[^r \t\n][^ \t\n]*|r(?:|[^p \t\n][^ \t\n]*|p(?:|[^\- \t\n][^ \t\n]*|-(?:|[^g \t\n][^ \t\n]*|g(?:|[^r \t\n][^ \t\n]*|r(?:|[^o \t\n][^ \t\n]*|o(?:|[^u \t\n][^ \t\n]*|u(?:|[^p \t\n][^ \t\n]*|p(?:[^ \t\n][^ \t\n]*))))))))))))?|(?:(?:[^m \t\n][^ \t\n]*|m(?:|[^d \t\n][^ \t\n]*|d(?:|[^5 \t\n][^ \t\n]*|5(?:[^ \t\n][^ \t\n]*))))[ \t]+)*(?:(?:[^m \t\n][^ \t\n]*|m(?:|[^d \t\n][^ \t\n]*|d(?:|[^5 \t\n][^ \t\n]*|5(?:[^ \t\n][^ \t\n]*)))))?)))*\n?\z

修正方法

修正方法: ガイダンスまたは IaC パッチ

! If you have configured VRRP on one or more interfaces you can configure authentication using MD5-HMAC with the following commands from the hierarchy; set interfaces <interface name> unit <unit number> family inet address <ip address> vrrp-group <group number> authentication-type md5

プロパティ

オペレーティングシステム
すべて
タグ
juniper-junosnetworkaaa
参照
CIS Juniper OS Benchmark v2.1.0 - 3.2.2 Ensure authentication-type is set to MD5

このホストをチェック

監査が許可されているマシンで実行してください。スキャンは読み取り専用です。

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