CKS 模拟真题 Killer.sh | Preview Question 3
Use context: kubectl config use-context workload-stage
A security scan result shows that there is an unknown miner process running on one of the Nodes in cluster3. The report states that the process is listening on port 6666. Kill the process and delete the binary.
译文
使用上下文: kubectl config use-context workload-stage
安全扫描结果显示,集群3中的一个节点上有一个未知的挖矿进程在运行。报告指出,该进程正在监听6666端口。杀死该进程并删除二进制文件。
解答
检查node
k get node |
检查master节点
ssh cluster3-controlplane1 |
检查 node节点
ssh cluster3-node1 |
使用lsof 检查进程 , 查看 路径, 删除对应的文件
lsof -i :6666 |


本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 Hao DevSecOps!
评论



