How To Install certgraph on Kali Linux

In this tutorial we learn how to install certgraph on Kali Linux. certgraph is tool to crawl the graph of certificate Alternate Names

Introduction

In this tutorial we learn how to install certgraph on Kali Linux.

What is certgraph

certgraph is:

This package contains a tool to crawl the graph of certificate Alternate Names. CertGraph crawls SSL certificates creating a directed graph where each domain is a node and the certificate alternative names for that domain’s certificate are the edges to other domain nodes. New domains are printed as they are found. In Detailed mode upon completion the Graph’s adjacency list is printed.

Crawling defaults to collecting certificate by connecting over TCP, however there are multiple drivers that can search Certificate Transparency logs.

This tool was designed to be used for host name enumeration via SSL certificates, but it can also show you a “chain” of trust between domains and the certificates that re-used between them.

There are three methods to install certgraph on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install certgraph Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install certgraph using apt-get by running the following command:

sudo apt-get -y install certgraph

Install certgraph Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install certgraph using apt by running the following command:

sudo apt -y install certgraph

Install certgraph Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install certgraph using aptitude by running the following command:

sudo aptitude -y install certgraph

How To Uninstall certgraph on Kali Linux

To uninstall only the certgraph package we can use the following command:

sudo apt-get remove certgraph

Uninstall certgraph And Its Dependencies

To uninstall certgraph and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove certgraph

Remove certgraph Configurations and Data

To remove certgraph configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge certgraph

Remove certgraph configuration, data, and all of its dependencies

We can use the following command to remove certgraph configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge certgraph

Dependencies

certgraph have the following dependencies:

References

Summary

In this tutorial we learn how to install certgraph package on Kali Linux using different package management tools: apt, apt-get and aptitude.