IBM AIX 7.x STIG Version Comparison

IBM AIX 7.x Security Technical Implementation Guide

Comparison

There are 5 differences between versions v1 r2 (April 24, 2020) (the "left" version) and v2 r2 (April 23, 2021) (the "right" version).

Check AIX7-00-003002 was removed from the benchmark in the "right" version. The text below reflects the old wording.

This check's original form is available here.

Text Differences

Title

AIX must terminate all SSH login sessions after 10 minutes of inactivity.

Check Content

Check the SSH daemon configuration for "ClientAliveInterval" setting with the following command. # grep ClientAliveInterval /etc/ssh/sshd_config ClientAliveInterval 300 If the variable "ClientAliveInterval" is commented out or not set to "300", this is a finding. Check the SSH daemon configuration setting for "ClientAliveCountMax" setting with the following command. # grep ClientAliveCountMax /etc/ssh/sshd_config ClientAliveCountMax 0 If the variable "ClientAliveCountMax" is commented out or not set to "0" this is a finding.

Discussion

Terminating an idle session within a short time period reduces the window of opportunity for unauthorized personnel to take control of a management session enabled on the console or console port that has been left unattended. In addition, quickly terminating an idle session will also free up resources committed by the managed network element. Terminating network connections associated with communications sessions includes, for example, de-allocating associated TCP/IP address/port pairs at AIX level, and de-allocating networking assignments at the application level if multiple application sessions are using a single operating system-level network connection. This does not mean that AIX terminates all sessions or network access; it only ends the inactive session and releases the resources associated with that session.

Fix

Edit the "/etc/ssh/sshd_config" file and add or update the following lines: ClientAliveInterval 300 ClientAliveCountMax 0 Restart SSH daemon. # stopsrc -s sshd # startsrc -s sshd