Skip to content

veinmind-tools 是由长亭科技自研,基于 veinmind-sdk 打造的容器安全工具集

License

Notifications You must be signed in to change notification settings

chaitin/veinmind-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b5b2af5 · Jan 10, 2024
Jul 23, 2023
Jan 10, 2024
Jul 20, 2023
Sep 1, 2023
Jul 23, 2023
Feb 10, 2023
Feb 16, 2023
Feb 8, 2022
Jun 6, 2023
Jan 10, 2024
Jan 10, 2024

Repository files navigation

veinmind-tools

Documentation

veinmind-tools 是由长亭科技自研,牧云团队孵化,基于 veinmind-sdk 打造的容器安全工具集

veinmind, 中文名为问脉,寓意 容器安全见筋脉,望闻问切治病害。 旨在成为云原生领域的一剂良方

中文文档 | English

🔥 Demo

问脉已接入 openai, 可以使用 openai 对扫描的结果进行人性化分析,让您更加清晰的了解本次扫描发现了哪些风险。

🕹️ 快速开始

1. 确保机器上正确安装 docker

docker info

2. 安装 veinmind-runner 镜像

docker pull registry.veinmind.tech/veinmind/veinmind-runner:latest

3. 下载 veinmind-runner 平行容器启动脚本

wget -q https://download.veinmind.tech/scripts/veinmind-runner-parallel-container-run.sh -O run.sh && chmod +x run.sh

4. 快速扫描本地镜像/容器

./run.sh scan [image/container]

5. 使用 openAI 智能分析

./run.sh scan [image/container] --enable-analyze --openai-token  <your_openai_token>

注: 使用 openAI 时,请确保当前网络能够访问openAI 平行容器启动时,需要手动通过 docker run -e http_proxy=xxxx -e https_proxy=xxxx 设置代理(非全局代理的场景下)

6. 生成 报告

./run.sh scan [image/container] --format=html,cli

报告将在当前目录下生成一个report.htmlreport.json 可以通过,来传入多个报告格式,如--format=html,cli,json将输出三份不同的报告。

🔨 工具列表

工具 功能
veinmind-runner 扫描工具运行宿主
veinmind-malicious 扫描容器/镜像中的恶意文件
veinmind-weakpass 扫描容器/镜像中的弱口令
veinmind-log4j2 扫描容器/镜像中的log4j2漏洞
veinmind-minio 扫描容器/镜像中的minio漏洞
veinmind-sensitive 扫描镜像中的敏感信息
veinmind-backdoor 扫描镜像中的后门
veinmind-history 扫描镜像中的异常历史命令
veinmind-vuln 扫描容器/镜像中的资产信息和漏洞
veinmind-webshell 扫描镜像中的 Webshell
veinmind-unsafe-mount 扫描容器中的不安全挂载目录
veinmind-iac 扫描镜像/集群的IaC文件
veinmind-escape 扫描容器/镜像中的逃逸风险
veinmind-privilege-escalation 扫描容器/镜像中的提权风险
veinmind-trace 扫描容器中的入侵痕迹

PS: 目前所有工具均已支持平行容器的方式运行

🧑‍💻 编写插件

可以通过 example 快速创建一个 veinmind-tools 插件, 具体查看 veinmind-example

☁️ 云原生设施兼容性

名称 类别 是否兼容
Jenkins CI/CD ✔️
Gitlab CI CI/CD ✔️
Github Action CI/CD ✔️
DockerHub 镜像仓库 ✔️
Docker Registry 镜像仓库 ✔️
Harbor 镜像仓库 ✔️
Docker 容器运行时 ✔️
Containerd 容器运行时 ✔️
Kubernetes 集群 ✔️

🛴 工作原理

🏘️ 联系我们

  1. 您可以通过 GitHub Issue 直接进行 Bug 反馈和功能建议。
  2. 扫描下方二维码可以通过添加问脉小助手,以加入问脉用户讨论群进行详细讨论

✨ CTStack

veinmind-tools 现已加入 CTStack 社区

✨ 404星链计划

veinmind-tools 现已加入 404星链计划

✨ Star History

Star History Chart