| name | cis-k8s-v200-4.2.14 |
| description | Ensure that the --seccomp-default parameter is set to true (Manual) |
| category | cis-k8s |
| version | 2.0.0 |
| author | cyberstrike-official |
| tags | ["cis","kubernetes","worker-node","kubelet","seccomp","security-profile"] |
| cis_id | 4.2.14 |
| cis_benchmark | CIS Kubernetes Benchmark v2.0.0 |
| tech_stack | ["kubernetes"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
4.2.14 Ensure that the --seccomp-default parameter is set to true (Manual)
Profile Applicability
Description
Ensure that the Kubelet enforces the use of the RuntimeDefault seccomp profile
Rationale
By default, Kubernetes disables the seccomp profile which ships with most container runtimes. Setting this parameter will ensure workloads running on the node are protected by the runtime's seccomp profile.
Impact
Setting this will remove some rights from pods running on the node.
Audit
Review the Kubelet's start-up parameters for the value of --seccomp-default, and check the Kubelet configuration file for the seccompDefault. If neither of these values is set, then the seccomp profile is not in use.
Remediation
Set the parameter, either via the --seccomp-default command line parameter or the seccompDefault configuration file setting.
Default Value
By default the seccomp profile is not enabled.
References
- https://kubernetes.io/docs/tutorials/security/seccomp/#enable-the-use-of-runtimedefault-as-the-default-seccomp-profile-for-all-workloads
CIS Controls
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|
| v8 | 13.7 Deploy a Host-Based Intrusion Prevention Solution - Deploy a host-based intrusion prevention solution on enterprise assets, where appropriate and/or supported. Example implementations include use of an Endpoint Detection and Response (EDR) client or host-based IPS agent. | | | * |
| v7 | 5.1 Establish Secure Configurations - Maintain documented, standard security configuration standards for all authorized operating systems and software. | * | * | * |
| v7 | 5.2 Maintain Secure Images - Maintain secure images or templates for all systems in the enterprise based on the organization's approved configuration standards. Any new system deployment or existing system that becomes compromised should be imaged using one of those images or templates. | | * | * |
| v7 | 11.4 Install the Latest Stable Version of Any Security-related Updates on All Network Devices - Install the latest stable version of any security-related updates on all network devices. |