Kubernetes Kubelet must enable kernel protection.
An XCCDF Rule
Description
System kernel is responsible for memory, disk, and task management. The kernel provides a gateway between the system hardware and software. Kubernetes requires kernel access to allocate resources to the Control Plane. Threat actors that penetrate the system kernel can inject malicious code or hijack the Kubernetes architecture. It is vital to implement protections through Kubernetes components to reduce the attack surface.
- ID
- SV-242434r961131_rule
- Version
- CNTR-K8-001620
- Severity
- High
- References
- Updated
Remediation Templates
A Manual Procedure
On the Control Plane, run the command:
ps -ef | grep kubelet
Remove the "--protect-kernel-defaults" option if present.
Note the path to the Kubernetes Kubelet config file (identified by --config).