最近搞了个检测 Docker 容器逃逸的脚本,目前支持以下几种方法的检测:
项目地址:https://github.com/teamssix/container-escape-check
感觉还不错的师傅们可以点个小星星 🌟
对于检测的原理可以看我写的这篇文章:https://zone.huoxian.cn/d/990
在 Docker 容器中一键运行:
wget https://raw.githubusercontent.com/teamssix/container-escape-check/main/container-escape-check.sh | bash
或者克隆项目到容器中运行:
git clone https://github.com/teamssix/container-escape-check.git
cd container-escape-check
chmod +x container-escape-check.sh
./container-escape-check.s
往期推荐
漏洞复现 | DirtyPipe CVE-2022-0847 Linux 内核提权漏洞复现
原文链接: https://teamssix.com/220318-164446.html