ShellCodeX
Tools โ€ข Events โ€ข News โ€ข Insights
SEO Checker
โ† Back to Tools

certSniff

A certificate transparency log keyword sniffer written in python

  • Updated 2023-06-12
  • Version main

About this tool

certSniff monitors certificate transparency logs for specific keywords, aiding security teams in identifying potential threats from new certificates.

#certificate-transparency #certificate-transparency-logs #ct #keyword #python #sniff #sniffer

Our take on certSniff

ShellCodeX review

Monitoring certificate transparency logs is crucial for identifying newly issued certificates that might pose security risks. certSniff addresses this need by allowing users to filter and monitor logs for specific keywords, enabling a proactive approach to threat detection. It fits into a workflow where teams need to keep an eye on domain certificates, especially for terms that could indicate phishing or other malicious activities.

The tool operates by connecting to the certstream data stream, which provides real-time updates on certificate issuance. Users can specify keywords in a text file, and certSniff will notify them whenever a certificate containing those keywords is detected. This functionality is straightforward; after setting up the monitor file, a single command runs the sniffer, outputting relevant certificate events to the terminal. This makes it simple to track domain certificates that might be of interest without manual searching.

Security professionals, including pentesters and SOC analysts, can benefit significantly from this tool. By monitoring for specific keywords, they can quickly identify potential threats or new domains that require further investigation. This can enhance incident response efforts and provide insights into emerging threats.

However, there are scenarios where we might consider alternative tools. certSniff is limited to monitoring certificate transparency logs and does not provide deeper analysis or correlation with other data sources. For comprehensive threat hunting or incident response, one might need to integrate it with other security tools that can analyze traffic or look for malicious behaviors beyond just certificate issuance.

Project README

Published by the maintainer on GitHub ยท synced automatically

certSniff

CertSniff is a python based keyword sniffer, using the certstream certificate transparency log data stream, that monitors for domain certificate events containing a string of interest.

Install

git clone https://github.com/A-poc/certSniff;cd certSniff/;pip install -r requirements.txt

Usage

python3 certSniff.py -f monitor.txt

Example

You can monitor live certificate transparency logs that contain any string within a keyword file.

monitor.txt
โ”œโ”€โ”€ admin
โ”œโ”€โ”€ test
โ””โ”€โ”€ dev

python3 certSniff.py -f monitor.txt

โ•”โ•โ•—โ”Œโ”€โ”โ”ฌโ”€โ”โ”Œโ”ฌโ”โ•”โ•โ•—โ”Œโ”โ”Œโ”ฌโ”Œโ”€โ”โ”Œโ”€โ”
โ•‘  โ”œโ”ค โ”œโ”ฌโ”˜ โ”‚ โ•šโ•โ•—โ”‚โ”‚โ”‚โ”‚โ”œโ”ค โ”œโ”ค 
โ•šโ•โ•โ””โ”€โ”˜โ”ดโ””โ”€ โ”ด โ•šโ•โ•โ”˜โ””โ”˜โ”ดโ””  โ””  
Certificate Transparency Log Sniffer
-----------------------------------------------------------------------------------------
Using sniff words from [monitor.txt]

[03/03/23 14:16:45]:[aonecnameg.goce.workers.dev]
[03/03/23 14:16:45]:[csbzvbzoompezxyu.southcentralus.atlas-test.cloudapp.azure.com]
[03/03/23 14:16:45]:[admin-test.crystal.io]
[03/03/23 14:16:45]:[dev-chompy.qmo.io]
[03/03/23 14:16:45]:[backuptest.blacklightsupport.co.za]
...