Project address:https://github.com/chaitin/veinmind-tools
Recently, I have been researching open source container security related tools and found many excellent projects include trivy, anchor, etc., which have done a good job in vulnerability detection; while there are not many projects focusing on other security detection. So I am more interested in Chaitin's open-source inquiring container security toolset, so I record the process of using it for the first time.
First, let's take a look at the specific functions of the official description:
- Supports detection of abnormal historical commands, malicious files, weak passwords, sensitive information, backdoors, etc.
- Support image asset inventory, inventory image and image software assets.
- Support local images scanning and repository images scanning, and integrate with mainstream image repositories such as Docker Hub.
- Support mainstream CI/CD integration such as GitHub action and jenkins.
- Run in parallel container mode, no need to compile separately, out-of-the-box.
- Adapt to a variety of container runtimes.
1、Use the runner program to detect five kinds of threats in the local image
-
./parallel-container-run.sh scan-host -h
,View scan local mirror command parameters
-
./parallel-container-run.sh scan-host
,Scan all local images with all identified plugins
Find one of the high-risk sensitive information and output the detection details
- View the current list of plugins
./parallel-container-run.sh list plugin
-
./parallel-container-run.sh scan-host -g "**/veinmind-weakpass"
,Specifies to scan only with weak password plugins
2、Use the host program to detect the warehouse image
-
./parallel-container-run.sh scan-registry -h
,View scan remote warehouse command parameters
3、Integrated use in Github Action / Gitlab / Jenkins
Go directly to the official documents, I just don't want to try it.
https://veinmind.chaitin.com/docs/ci/jenkins/
4、Summarize
After simple use, it is very easy to get started, and there is almost no understanding cost. Several sensitive information and weak passwords were detected when scanning the local image. See the introduction of the malicious sample detection integrated with VT, which is quite reliable. I hope the official will continue to increase the detection rules of the tool. The issue mentioned in the research will be integrated with Jenkins so quickly. Yes, it seems that it is maintained by special personnel, and the project activity is quite high.
Top comments (0)