PHTN-40-000218 The Photon operating system must configure Secure Shell (SSH) to ignore user-specific known_host files.

Information

SSH trust relationships enable trivial lateral spread after a host compromise and therefore must be explicitly disabled. Individual users can have a local list of trusted remote machines, which must also be ignored while disabling host-based authentication generally.

Solution

Navigate to and open:

/etc/ssh/sshd_config

Ensure the "IgnoreUserKnownHosts" line is uncommented and set to the following:

IgnoreUserKnownHosts yes

At the command line, run the following command:

# systemctl restart sshd.service

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_8-0_Y24M08_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-258881r991589_rule, STIG-ID|PHTN-40-000218, Vuln-ID|V-258881

Plugin: Unix

Control ID: ec3f3cbbcd73a46002968e4d6da5bdbc079a7e3dcf7b9c877428c8b18a7161fa