OL08-00-040161 - OL 8 must force a frequent session key renegotiation for SSH connections to the server.

Information

Unapproved mechanisms that are used for authentication to the cryptographic module are not verified and therefore cannot be relied on to provide confidentiality or integrity, and DOD data may be compromised.

Session key regeneration limits the chances of a session key becoming compromised.

Solution

Configure the system to force a frequent session key renegotiation for SSH connections to the server by adding or modifying the following line in the '/etc/ssh/sshd_config' file:

RekeyLimit 1G 1h

The SSH daemon must be restarted for the settings to take effect.

$ sudo systemctl restart sshd.service

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Linux_8_V2R1_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-17(2), CAT|II, CCI|CCI-000068, Rule-ID|SV-248868r958408_rule, STIG-ID|OL08-00-040161, Vuln-ID|V-248868

Plugin: Unix

Control ID: 29f512bf451e4df923b36788b8b1c54b4c6efe79446742efbb75cba805848310