veinmind-escalate

module
v0.0.0-...-91f90c2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2023 License: MIT

README

veinmind-escalate

veinmind-escalate 是由长亭科技自研的一款逃逸风险扫描工具

功能特性

  • 快速扫描容器/镜像中的逃逸风险
  • 支持 docker/containerd 容器运行时
  • 支持JSON/CLI/HTML等多种报告格式输出

兼容性

  • linux/amd64
  • linux/386
  • linux/arm64
  • linux/arm

使用方式

基于可执行文件

请先安装libveinmind,安装方法可以参考官方文档

Makefile 一键命令
make run ARG="scan xxx"
自行编译可执行文件进行扫描

编译可执行文件

make build

运行可执行文件进行扫描

chmod +x veinmind-escalate && ./veinmind-escalate scan xxx 

基于平行容器模式

确保机器上安装了docker以及docker-compose

Makefile 一键命令
make run.docker ARG="scan xxxx"
自行构建镜像进行扫描

构建veinmind-escalate镜像

make build.docker

运行容器进行扫描

docker run --rm -it --mount 'type=bind,source=/,target=/host,readonly,bind-propagation=rslave' veinmind-escalate scan xxx

使用参数

1.指定镜像名称或镜像ID并扫描 (需要本地存在对应的镜像)

./veinmind-escalate scan image [imageID/imageName]

2.扫描所有本地镜像

./veinmind-escalate scan image

3.指定容器名称或容器ID并扫描

./veinmind-escalate scan container [containerID/containerName]

4.扫描所有本地容器

./veinmind-escalate scan container

5.指定输出格式 支持的输出格式:

  • html
  • json
  • cli(默认)
./veinmind-escalate scan container [containerID/containerName] -f html

生成的result.html效果如图:

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL