Vulnerability Assessment on docker images (free!) using Synk guide.

Disclaimer: Do note that there are other ways to perform a Docker Image VA and that includes paid and free methods.

  1. Docker Hub

Firstly, download the Docker Desktop client via the following link:

Link: https://hub.docker.com/editions/community/docker-ce-desktop-windows

Next, create a docker hub account. Note your dockerID as we will be using it for integration with Synk later on.

After it is fully setup, run the following command to verify installation is completed, version installed is proper and finally commands are working.

2. Synk

Firstly, head to the following link to setup a free synk account.

Link: https://app.snyk.io/login?cta=sign-up&loc=nav&page=homepage

After everything is completed, login to your account and execute the following steps:

  1. Choose another integration
  2. Docker Hub
  3. Setup Accordingly

At this point, you should have your docker and synk connected. Therefore, you can now perform a vulnerability assessment on your images using Synk Engine.

Fast Scan (Local)

To perform a scan, we will need to first load the image that you want to scan into docker.

Next, we can check the image ID of the image that we have loaded into docker.

Sample output:

REPOSITORY            TAG   IMAGE ID   CREATED
nexus3:5000/ecq/xxx-console-api 21.10.2  09da3fc5be9f  6 days

And lastly, we can scan using the following command.

Leave a comment

Welcome to my cozy corner featuring sharing of cybersecurity matters. I am an industry practictioner with several years of experiences in Offensive, GRC, Incident Response and Auditing. Join me on my journey!