STIGUI
V-274045CAT II — Medium severitySV-274045r1120123_rule

Amazon Linux 2023 SSH daemon must not allow Kerberos authentication.

Rule version AZLX-23-001220 · STIG v1 · 2026-08-20

Discussion

Kerberos authentication for SSH is often implemented using Generic Security Service Application Program Interface (GSSAPI). If Kerberos is enabled through SSH, the SSH daemon provides a means of access to the system's Kerberos implementation. Vulnerabilities in the system's Kerberos implementations may be subject to exploitation.

Check

Verify Amazon Linux 2023 is configured so that the SSH daemon does not allow Kerberos authentication with the following command:

$ [ec2-user@ip-172-31-12-63 ~]$ sudo /usr/sbin/sshd -dd 2>&1 | awk '/filename/ {print $4}' | tr -d '\r' | tr '\n' ' ' | xargs sudo grep -iH '^\s*kerberosauthentication' /etc/ssh/sshd_config.d/93-KerberosAuthentication.conf:KerberosAuthentication no

If the value is returned as "yes", the returned line is commented out, no output is returned, and the use of Kerberos authentication has not been documented with the information system security officer (ISSO), this is a finding.

Fix

Configure Amazon Linux 2023 so that the SSH daemon does not allow Kerberos authentication.

Add the following line in "/etc/ssh/sshd_config" or to a file in "/etc/ssh/sshd_config.d" or uncomment the line and set the value to "no":

KerberosAuthentication no

The SSH service must be restarted for changes to take effect:

$ sudo systemctl restart sshd.service

Identifiers

Group ID
V-274045
Group title
SRG-OS-000364-GPOS-00151
Rule ID
SV-274045r1120123_rule
Check ID
C-78136r1120121_chk
Fix ID
F-78041r1120122_fix