veinmind-escape 是由长亭科技自研的一款逃逸风险扫描工具
- 快速扫描容器/镜像中的逃逸风险
- 支持
docker
/containerd
容器运行时 - 支持
JSON
/CLI
/HTML
等多种报告格式输出
- linux/amd64
- linux/386
- linux/arm64
- linux/arm
请先安装libveinmind
,安装方法可以参考官方文档
make run ARG="scan xxx"
编译可执行文件
make build
运行可执行文件进行扫描
chmod +x veinmind-escape && ./veinmind-escape scan xxx
确保机器上安装了docker
以及docker-compose
make run.docker ARG="scan xxxx"
构建veinmind-escape
镜像
make build.docker
运行容器进行扫描
docker run --rm -it --mount 'type=bind,source=/,target=/host,readonly,bind-propagation=rslave' veinmind-escape scan xxx
1.指定镜像名称或镜像ID并扫描 (需要本地存在对应的镜像)
./veinmind-escape scan image [imageID/imageName]
./veinmind-escape scan image
./veinmind-escape scan container [containerID/containerName]
./veinmind-escape scan container
- html
- json
- cli(默认)
./veinmind-escape scan container [containerID/containerName] -f html
生成的result.html效果如图: