CNTR-K8-000410 - Kubernetes Worker Nodes must not have the sshd service enabled.

Information

Worker Nodes are maintained and monitored by the Control Plane. Direct access and manipulation of the nodes must not take place by administrators. Worker nodes must be treated as immutable and updated via replacement rather than in-place upgrades.

Solution

To disable the sshd service, run the command:

chkconfig sshd off

Note: If access to the worker node is through an SSH session, it is important to realize there are two requirements for disabling and stopping the sshd service that must be done during the same SSH session. Disabling the service must be performed first and then the service stopped to guarantee both settings can be made if the session is interrupted.

See Also

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

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-3, CAT|II, CCI|CCI-000213, Rule-ID|SV-242394r960792_rule, STIG-ID|CNTR-K8-000410, Vuln-ID|V-242394

Plugin: Unix

Control ID: ef7edbe607e83d8d0db941f95eed50d0f3f3d18c0bb076fae6f3fd7eee900f0f