veinmind-webshell

module
v0.0.0-...-b5b2af5 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT

README

veinmind-webshell

veinmind-webshell 是由长亭科技自研的一款 Webshell 扫描工具

功能特性

  • 快速扫描镜像/容器中的 Webshell
  • 支持containerd/dockerd容器运行时

兼容性

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

使用方式

基于可执行文件

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

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

编译可执行文件

make build

运行可执行文件进行扫描

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

基于平行容器模式

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

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

构建veinmind-webshell镜像

make build.docker

运行容器进行扫描

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

使用

  1. 登录百川平台,激活关山 Webshell 检测产品

  1. 点击左下角组织配置创建 API Token (基础版每日限制检测 100 次, 高级版可联系问脉小助手/百川平台获取)

  1. 使用token扫描指定镜像
./veinmind-webshell scan image [imageID/imageName] --token [关山token]

4. 使用token扫描本地所有镜像

./veinmind-webshell scan image  --token [关山token]

5.使用token扫描指定容器

./veinmind-webshell scan container [containerID/containerName] --token [关山token]

5.使用token扫描本地所有容器

./veinmind-webshell scan container  --token [关山token]

  1. 指定输出格式 支持的输出格式:
  • html
  • json
  • cli(默认)
./veinmind-webshell scan container [containerID/containerName] --token [token] -f html

生成的result.html效果如图:

Directories

Path Synopsis
cmd
pkg
filter
Package filter find web script from image/container
Package filter find web script from image/container

Jump to

Keyboard shortcuts

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