没有合适的资源?快使用搜索试试~ 我知道了~
CIS-Kubernetes-Benchmark-v1.7.0
需积分: 0 0 下载量 88 浏览量
2023-07-31
13:32:03
上传
评论
收藏 2.37MB PDF 举报
温馨提示
试读
330页
CIS_Kubernetes_Benchmark_v1.7.0
资源推荐
资源详情
资源评论
CIS Kubernetes
Benchmark
v1.7.0 - 03-20-2023
Page 1
Terms of Use
Please see the below link for our current terms of use:
https://www.cisecurity.org/cis-securesuite/cis-securesuite-membership-terms-of-use/
Page 2
Table of Contents
Terms of Use .................................................................................................................. 1
Table of Contents ........................................................................................................... 2
Overview ......................................................................................................................... 7
Intended Audience ................................................................................................................... 7
Consensus Guidance .............................................................................................................. 8
Typographical Conventions .................................................................................................... 9
Recommendation Definitions ..................................................................................... 10
Title .......................................................................................................................................... 10
Assessment Status ................................................................................................................ 10
Automated ........................................................................................................................................... 10
Manual .................................................................................................................................................. 10
Profile ...................................................................................................................................... 10
Description ............................................................................................................................. 10
Rationale Statement ............................................................................................................... 10
Impact Statement ................................................................................................................... 11
Audit Procedure ..................................................................................................................... 11
Remediation Procedure ......................................................................................................... 11
Default Value .......................................................................................................................... 11
References .............................................................................................................................. 11
CIS Critical Security Controls
®
(CIS Controls
®
) .................................................................. 11
Additional Information ........................................................................................................... 11
Profile Definitions .................................................................................................................. 12
Acknowledgements ............................................................................................................... 13
Recommendations ....................................................................................................... 15
1 Control Plane Components ................................................................................................ 15
1.1 Control Plane Node Configuration Files ..................................................................................... 16
1.1.1 Ensure that the API server pod specification file permissions are set to 600 or more restrictive
(Automated) ................................................................................................................................................. 17
1.1.2 Ensure that the API server pod specification file ownership is set to root:root (Automated) .............. 19
1.1.3 Ensure that the controller manager pod specification file permissions are set to 600 or more
restrictive (Automated) ................................................................................................................................ 21
1.1.4 Ensure that the controller manager pod specification file ownership is set to root:root (Automated) . 23
1.1.5 Ensure that the scheduler pod specification file permissions are set to 600 or more restrictive
(Automated) ................................................................................................................................................. 25
1.1.6 Ensure that the scheduler pod specification file ownership is set to root:root (Automated) ............... 27
1.1.7 Ensure that the etcd pod specification file permissions are set to 600 or more restrictive (Automated)
..................................................................................................................................................................... 29
Page 3
1.1.8 Ensure that the etcd pod specification file ownership is set to root:root (Automated) ........................ 31
1.1.9 Ensure that the Container Network Interface file permissions are set to 600 or more restrictive
(Manual) ...................................................................................................................................................... 33
1.1.10 Ensure that the Container Network Interface file ownership is set to root:root (Manual) ................. 35
1.1.11 Ensure that the etcd data directory permissions are set to 700 or more restrictive (Automated) ..... 37
1.1.12 Ensure that the etcd data directory ownership is set to etcd:etcd (Automated) ............................... 39
1.1.13 Ensure that the admin.conf file permissions are set to 600 (Automated) ......................................... 41
1.1.14 Ensure that the admin.conf file ownership is set to root:root (Automated) ....................................... 43
1.1.15 Ensure that the scheduler.conf file permissions are set to 600 or more restrictive (Automated) ..... 45
1.1.16 Ensure that the scheduler.conf file ownership is set to root:root (Automated) ................................. 47
1.1.17 Ensure that the controller-manager.conf file permissions are set to 600 or more restrictive
(Automated) ................................................................................................................................................. 49
1.1.18 Ensure that the controller-manager.conf file ownership is set to root:root (Automated) ................... 51
1.1.19 Ensure that the Kubernetes PKI directory and file ownership is set to root:root (Automated) .......... 53
1.1.20 Ensure that the Kubernetes PKI certificate file permissions are set to 600 or more restrictive
(Manual) ...................................................................................................................................................... 55
1.1.21 Ensure that the Kubernetes PKI key file permissions are set to 600 (Manual) ................................ 57
1.2 API Server ...................................................................................................................................... 59
1.2.1 Ensure that the --anonymous-auth argument is set to false (Manual) ................................................ 60
1.2.2 Ensure that the --token-auth-file parameter is not set (Automated) ................................................... 62
1.2.3 Ensure that the DenyServiceExternalIPs is set (Manual) ................................................................... 64
1.2.4 Ensure that the --kubelet-client-certificate and --kubelet-client-key arguments are set as appropriate
(Automated) ................................................................................................................................................. 66
1.2.5 Ensure that the --kubelet-certificate-authority argument is set as appropriate (Automated) .............. 68
1.2.6 Ensure that the --authorization-mode argument is not set to AlwaysAllow (Automated) .................... 70
1.2.7 Ensure that the --authorization-mode argument includes Node (Automated) .................................... 72
1.2.8 Ensure that the --authorization-mode argument includes RBAC (Automated) ................................... 74
1.2.9 Ensure that the admission control plugin EventRateLimit is set (Manual) .......................................... 76
1.2.10 Ensure that the admission control plugin AlwaysAdmit is not set (Automated) ................................ 78
1.2.11 Ensure that the admission control plugin AlwaysPullImages is set (Manual) ................................... 80
1.2.12 Ensure that the admission control plugin SecurityContextDeny is set if PodSecurityPolicy is not
used (Manual) .............................................................................................................................................. 82
1.2.13 Ensure that the admission control plugin ServiceAccount is set (Automated) ................................. 84
1.2.14 Ensure that the admission control plugin NamespaceLifecycle is set (Automated) ......................... 86
1.2.15 Ensure that the admission control plugin NodeRestriction is set (Automated) ................................. 88
1.2.16 Ensure that the --secure-port argument is not set to 0 - NoteThis recommendation is obsolete and
will be deleted per the consensus process. (Manual) .................................................................................. 90
1.2.17 Ensure that the --profiling argument is set to false (Automated) ...................................................... 92
1.2.18 Ensure that the --audit-log-path argument is set (Automated) ......................................................... 94
1.2.19 Ensure that the --audit-log-maxage argument is set to 30 or as appropriate (Automated) .............. 96
1.2.20 Ensure that the --audit-log-maxbackup argument is set to 10 or as appropriate (Automated) ......... 98
1.2.21 Ensure that the --audit-log-maxsize argument is set to 100 or as appropriate (Automated) .......... 100
1.2.22 Ensure that the --request-timeout argument is set as appropriate (Manual) .................................. 102
1.2.23 Ensure that the --service-account-lookup argument is set to true (Automated) ............................. 104
1.2.24 Ensure that the --service-account-key-file argument is set as appropriate (Automated) ................ 106
1.2.25 Ensure that the --etcd-certfile and --etcd-keyfile arguments are set as appropriate (Automated) .. 108
1.2.26 Ensure that the --tls-cert-file and --tls-private-key-file arguments are set as appropriate (Automated)
................................................................................................................................................................... 110
1.2.27 Ensure that the --client-ca-file argument is set as appropriate (Automated) .................................. 112
1.2.28 Ensure that the --etcd-cafile argument is set as appropriate (Automated) ..................................... 114
1.2.29 Ensure that the --encryption-provider-config argument is set as appropriate (Manual) ................. 116
1.2.30 Ensure that encryption providers are appropriately configured (Manual) ....................................... 118
1.2.31 Ensure that the API Server only makes use of Strong Cryptographic Ciphers (Manual) ............... 120
Page 4
1.3 Controller Manager ..................................................................................................................... 122
1.3.1 Ensure that the --terminated-pod-gc-threshold argument is set as appropriate (Manual) ................ 123
1.3.2 Ensure that the --profiling argument is set to false (Automated) ...................................................... 125
1.3.3 Ensure that the --use-service-account-credentials argument is set to true (Automated) ................. 127
1.3.4 Ensure that the --service-account-private-key-file argument is set as appropriate (Automated) ...... 129
1.3.5 Ensure that the --root-ca-file argument is set as appropriate (Automated) ...................................... 131
1.3.6 Ensure that the RotateKubeletServerCertificate argument is set to true (Automated) ..................... 133
1.3.7 Ensure that the --bind-address argument is set to 127.0.0.1 (Automated) ....................................... 135
1.4 Scheduler ..................................................................................................................................... 137
1.4.1 Ensure that the --profiling argument is set to false (Automated) ...................................................... 138
1.4.2 Ensure that the --bind-address argument is set to 127.0.0.1 (Automated) ....................................... 140
2 etcd ..................................................................................................................................... 142
2.1 Ensure that the --cert-file and --key-file arguments are set as appropriate (Automated) .................... 143
2.2 Ensure that the --client-cert-auth argument is set to true (Automated) ............................................... 145
2.3 Ensure that the --auto-tls argument is not set to true (Automated) ..................................................... 147
2.4 Ensure that the --peer-cert-file and --peer-key-file arguments are set as appropriate (Automated) .... 149
2.5 Ensure that the --peer-client-cert-auth argument is set to true (Automated) ....................................... 151
2.6 Ensure that the --peer-auto-tls argument is not set to true (Automated) ............................................. 153
2.7 Ensure that a unique Certificate Authority is used for etcd (Manual) .................................................. 155
3 Control Plane Configuration ............................................................................................ 156
3.1 Authentication and Authorization ............................................................................................. 157
3.1.1 Client certificate authentication should not be used for users (Manual) ........................................... 158
3.1.2 Service account token authentication should not be used for users (Manual) ................................. 160
3.1.3 Bootstrap token authentication should not be used for users (Manual) ........................................... 162
3.2 Logging ........................................................................................................................................ 164
3.2.1 Ensure that a minimal audit policy is created (Manual) .................................................................... 165
3.2.2 Ensure that the audit policy covers key security concerns (Manual) ................................................ 167
4 Worker Nodes .................................................................................................................... 168
4.1 Worker Node Configuration Files .............................................................................................. 169
4.1.1 Ensure that the kubelet service file permissions are set to 600 or more restrictive (Automated) ..... 170
4.1.2 Ensure that the kubelet service file ownership is set to root:root (Automated) ................................. 172
4.1.3 If proxy kubeconfig file exists ensure permissions are set to 600 or more restrictive (Manual) ....... 174
4.1.4 If proxy kubeconfig file exists ensure ownership is set to root:root (Manual) ................................... 176
4.1.5 Ensure that the --kubeconfig kubelet.conf file permissions are set to 600 or more restrictive
(Automated) ............................................................................................................................................... 178
4.1.6 Ensure that the --kubeconfig kubelet.conf file ownership is set to root:root (Automated) ................ 180
4.1.7 Ensure that the certificate authorities file permissions are set to 600 or more restrictive (Manual) . 182
4.1.8 Ensure that the client certificate authorities file ownership is set to root:root (Manual) .................... 184
4.1.9 If the kubelet config.yaml configuration file is being used validate permissions set to 600 or more
restrictive (Manual) .................................................................................................................................... 186
4.1.10 If the kubelet config.yaml configuration file is being used validate file ownership is set to root:root
(Manual) .................................................................................................................................................... 188
4.2 Kubelet ......................................................................................................................................... 190
4.2.1 Ensure that the --anonymous-auth argument is set to false (Automated) ........................................ 191
4.2.2 Ensure that the --authorization-mode argument is not set to AlwaysAllow (Automated) .................. 193
4.2.3 Ensure that the --client-ca-file argument is set as appropriate (Automated) .................................... 195
4.2.4 Verify that the --read-only-port argument is set to 0 (Manual) .......................................................... 197
4.2.5 Ensure that the --streaming-connection-idle-timeout argument is not set to 0 (Manual) .................. 199
4.2.6 Ensure that the --make-iptables-util-chains argument is set to true (Automated) ............................ 201
4.2.7 Ensure that the --hostname-override argument is not set (Manual) ................................................. 203
剩余329页未读,继续阅读
资源评论
信安成长日记
- 粉丝: 550
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功