Details
The IPsec SA and its corresponding key will expire either after the number of seconds or amount of traffic volume has exceeded the configured limit. A new SA is negotiated before the lifetime threshold of the existing SA is reached to ensure that a new SA is ready for use when the old one expires. The longer the lifetime of the IPsec SA, the longer the lifetime of the session key used to protect IP traffic. The SA is less secure with a longer lifetime because an attacker has a greater opportunity to collect traffic encrypted by the same key and subject it to cryptanalysis. However, a shorter lifetime causes IPsec peers to renegotiate Phase 2, more often resulting in the expenditure of additional resources.
Specify the lifetime (in seconds) of an Internet Key Exchange (IKE) security association (SA). When the SA expires, it is replaced by a new SA, the Security Parameter Index (SPI), or terminated if the peer cannot be contacted for renegotiation.
Solution
Configure the VPN gateway to renegotiate the security association after eight hours or less as shown in the example below.
ASA1(config)# crypto map IPSEC_MAP 10 set security-association lifetime seconds 28800
ASA1(config)# end
Supportive Information
The following resource is also helpful.
This security hardening control applies to the following category of controls within NIST 800-53: Identification and Authentication.This control applies to the following type of system Cisco.
References
- 800-53|IA-11
- CAT|II
- CCI|CCI-002038
- Rule-ID|SV-239963r666295_rule
- STIG-ID|CASA-VN-000350
- Vuln-ID|V-239963