SV-256010r882372_rule
V-256010
SRG-NET-000168-RTR-000077
ARST-RT-000280
CAT II
10
Configure routing protocol authentication to use a NIST-validated FIPS 198-1 message authentication code algorithm.
OSPFv2:
router(config)#interface Eth12
router(config-int-Eth12)#ip ospf authentication message-digest
router(config-int-Eth12)#ip ospf message-digest-key 23 sha256 0 arista123
BGP:
Step 1: The Arista router must configure the system clock, which will affect the valid key for a given profile and should be used with caution.
router(config)#clock set hh:mm:ss Current time
Step 2: The Arista router must be configured for management security profile <profile_name> and keys for BGP neighbor sessions.
router(config)#management security
router(config-man-sec)#session shared-secret profile BGP-SHA
router(config-man-sec-sh-sec-profile-BGP-SHA)#secret 5 password1 2022-10-05 14:34:01 2022–12-05 14:34:01
router(config-man-sec-sh-sec-profile-BGP-SHA)#secret 10 password2 2022-12-05 14:34:01 2023-03-05 14:34:01
router(config-man-sec-sh-sec-profile-BGP-SHA)#secret 15 password3 2023-10-05 14:34:01 <not to exceed 180 days>
Step 3: The Arista router must configure the BGP Neighbor to select the profile for use in TCP AO.
router(config)#router bgp 65000
router(config-router-bgp)#neighbor 2.2.2.2 password shared-secret profile BGP-SHA1 algorithm aes-128-cmac-96
router(config-router-bgp)#exit
router(config)#write memory
Review the Arista router configuration to verify it is using a NIST-validated FIPS 198-1 message authentication code algorithm to authenticate routing protocol messages.
OSPFv2 Example:
Verify the Message-Digest authentication configuration on the interface for OSPF with the following command:
sh run int ethernet YY
interface Eth12
ip ospf authentication message-digest
ip ospf message-digest-key 23 sha256 0 arista123
If MD5 is present in the output, this is a finding.
BGP Example:
Step 1: Arista router must verify the system clock is set to the correct date/time zone and clock source as this will affect the key lifetimes.
router#show clock
Wed Oct 5 14:25:53 2022
Timezone: US/Pacific
Clock source: NTP server (192.168.10.25)
If the clock is incorrect, this is a finding.
Step 2: Arista router must verify the management security profile is configured and the session shared-secrets Lifetime durations are specified for the required rotation order and must not exceed 180 days.
router#sh man sec session shared-secret profile BGP-SHA1
Profile: BGP-SHA1
Current receive secret: ID: 5, Expires: December 05 2022, 14:34 UTC
Current transmit secret: ID: 5, Expires: December 05 2022, 14:34 UTC
Receive secret rotation order: 5, 10, 15
Transmit secret rotation order: 5, 10, 15
Secrets:
ID 15
Secret: $1c$rcKS3MQ9sre00iXfxDVMEg==
Receive lifetime: March 05 2023, 14:34 UTC to infinite
Transmit lifetime: March 05 2023, 14:34 UTC to infinite
ID 10
Secret: $1c$rcKS3MQ9srcBunxwqKkGEw==
Receive lifetime: December 05 2022, 14:34 UTC to March 05 2023, 14:34 UTC
Transmit lifetime: December 05 2022, 14:34 UTC to March 05 2023, 14:34 UTC
ID 5
Secret: $1c$rcKS3MQ9srd9RAMH9iKmPQ==
Receive lifetime: October 05 2022, 14:34 UTC to December 05 2022, 14:34 UTC
Transmit lifetime: October 05 2022, 14:34 UTC to December 05 2022, 14:34 UTC
If the management security profile is not configured, this is a finding.
If the key lifetime exceeds 180 days, this is a finding.
Step 3: Arista router must verify the BGP peer group is configured to use the BGP security profile for the configured BGP neighbor peer. BGP Graceful-restart must be configured in the event the peer restarts to allow TCP resets and prevent clearing of traffic keys. Arista router supports graceful-restart restart-time configuration <1-3600> default [300 seconds].
show running-config | section bgp 65000
router bgp 65000
router-id 10.11.11.11
graceful-restart restart-time 300
graceful-restart
neighbor Peer_Leaf peer group
neighbor Peer_Leaf remote-as 65000
neighbor Peer_Leaf next-hop-self
neighbor Peer_Leaf send-community extended
neighbor Peer_Leaf maximum-routes 12000
neighbor Peer_Leaf2 peer group
neighbor Peer_Leaf2 remote-as 200
neighbor Peer_Leaf2 next-hop-self
neighbor Peer_Leaf2 send-community extended
neighbor Peer_Leaf2 maximum-routes 12000
neighbor 1.1.1.1 password 7 kEFkx0nsheXsR5ICROtOfB==
neighbor 1.1.1.1 maximum-routes 12000
neighbor 2.2.2.2 peer group Peer_Leaf2
neighbor 2.2.2.2 password shared-secret profile BGP-SHA1 algorithm aes-128-cmac-96
neighbor 2.2.2.2 maximum-routes 12000
neighbor 10.11.12.2 peer group Peer_Leaf
no neighbor 10.11.12.2 route-map out
redistribute connected route-map loopback
If BGP is not configured to use the security profile, this is a finding.
V-256010
False
ARST-RT-000280
Review the Arista router configuration to verify it is using a NIST-validated FIPS 198-1 message authentication code algorithm to authenticate routing protocol messages.
OSPFv2 Example:
Verify the Message-Digest authentication configuration on the interface for OSPF with the following command:
sh run int ethernet YY
interface Eth12
ip ospf authentication message-digest
ip ospf message-digest-key 23 sha256 0 arista123
If MD5 is present in the output, this is a finding.
BGP Example:
Step 1: Arista router must verify the system clock is set to the correct date/time zone and clock source as this will affect the key lifetimes.
router#show clock
Wed Oct 5 14:25:53 2022
Timezone: US/Pacific
Clock source: NTP server (192.168.10.25)
If the clock is incorrect, this is a finding.
Step 2: Arista router must verify the management security profile is configured and the session shared-secrets Lifetime durations are specified for the required rotation order and must not exceed 180 days.
router#sh man sec session shared-secret profile BGP-SHA1
Profile: BGP-SHA1
Current receive secret: ID: 5, Expires: December 05 2022, 14:34 UTC
Current transmit secret: ID: 5, Expires: December 05 2022, 14:34 UTC
Receive secret rotation order: 5, 10, 15
Transmit secret rotation order: 5, 10, 15
Secrets:
ID 15
Secret: $1c$rcKS3MQ9sre00iXfxDVMEg==
Receive lifetime: March 05 2023, 14:34 UTC to infinite
Transmit lifetime: March 05 2023, 14:34 UTC to infinite
ID 10
Secret: $1c$rcKS3MQ9srcBunxwqKkGEw==
Receive lifetime: December 05 2022, 14:34 UTC to March 05 2023, 14:34 UTC
Transmit lifetime: December 05 2022, 14:34 UTC to March 05 2023, 14:34 UTC
ID 5
Secret: $1c$rcKS3MQ9srd9RAMH9iKmPQ==
Receive lifetime: October 05 2022, 14:34 UTC to December 05 2022, 14:34 UTC
Transmit lifetime: October 05 2022, 14:34 UTC to December 05 2022, 14:34 UTC
If the management security profile is not configured, this is a finding.
If the key lifetime exceeds 180 days, this is a finding.
Step 3: Arista router must verify the BGP peer group is configured to use the BGP security profile for the configured BGP neighbor peer. BGP Graceful-restart must be configured in the event the peer restarts to allow TCP resets and prevent clearing of traffic keys. Arista router supports graceful-restart restart-time configuration <1-3600> default [300 seconds].
show running-config | section bgp 65000
router bgp 65000
router-id 10.11.11.11
graceful-restart restart-time 300
graceful-restart
neighbor Peer_Leaf peer group
neighbor Peer_Leaf remote-as 65000
neighbor Peer_Leaf next-hop-self
neighbor Peer_Leaf send-community extended
neighbor Peer_Leaf maximum-routes 12000
neighbor Peer_Leaf2 peer group
neighbor Peer_Leaf2 remote-as 200
neighbor Peer_Leaf2 next-hop-self
neighbor Peer_Leaf2 send-community extended
neighbor Peer_Leaf2 maximum-routes 12000
neighbor 1.1.1.1 password 7 kEFkx0nsheXsR5ICROtOfB==
neighbor 1.1.1.1 maximum-routes 12000
neighbor 2.2.2.2 peer group Peer_Leaf2
neighbor 2.2.2.2 password shared-secret profile BGP-SHA1 algorithm aes-128-cmac-96
neighbor 2.2.2.2 maximum-routes 12000
neighbor 10.11.12.2 peer group Peer_Leaf
no neighbor 10.11.12.2 route-map out
redistribute connected route-map loopback
If BGP is not configured to use the security profile, this is a finding.
M
5513