Skip to content

CertStream monitors Certificate Transparency records and logs any Domains of Interest.

License

Notifications You must be signed in to change notification settings

choonyongchan/CertStream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CertStream User Guide

Welcome to CertStream! Choose a section from the table of contents below to find step-by-step guides on how to use CertStream.

💡 Updates: Google Colab version out here.


Table of Contents

  1. Introduction to CertStream
  2. Quick Start
  3. Configuration
  4. Feedback
  5. Authors

Introduction to CertStream

CertStream is an easy-to-deploy Python Script designed for Cybersecurity Researchers. It seamlessly captures newly-registered domains that matches your capture regexes.

The CertStream User Guide acquaints you with the application's functionality, enabling you to maximize its potential.

Key Features:

  • Retrieve domains from Certificate Transparency's vast network of monitors.
  • Filters for domains of interest with one or more capture regexes.
  • Stores domains of interest into a SQLite database.

💡 CertStream only requires one command to start. CertStream is user-friendly!

We are confident that CertStream will enhance your efficiency as Cybersecurity Researchers. Enjoy your experience with CertStream! :)


Quick Start

💡 Ensure Python is installed on your computer. Download here.

  1. Download CertStream.zip here, and extract CertStream.zip to any folder.

quickstart0

  1. Open the /input folder, and edit input_regex.txt using any text editor.

quickstart

  1. Add one or more regexes for CertStream to monitor, and save the file.

    CertStream will capture domains that matches any of the regexes.

    (e.g. The domain google123.com will be captured using the regexes below.)

quickstart2

  1. Navigate back to the previous folder.

quickstart0

  1. Open Command Prompt/Terminal on the home folder. For Windows users, follow the instructions below.

    1. Click on the address bar.
    quickstart3
    1. Type cmd, and press Enter to launch Command Prompt.
    quickstart4
  2. Copy each command below, and press Enter to start CertStream.

python -m pip install -r src/requirements.txt
python Main.py

quickstart5

💡 If the above command throws an error, try replacing python with python3.

  1. To stop CertStream, press CTRL+C (You may need to press a few times).

    Domains captured is exported to an output file.

💡 More time is needed for export when the number of domains stored is large.

quickstart6

  1. Open the new /logs folder.

quickstart9

You will find the CertStream.txt output file.

  1. Open CertStream.txt to view the captured domains.

quickstart8


Configuration

You can customise CertStream's configuration to suit your workflow.

  1. Open the /input folder, and edit config.yaml using any text editor.

config1

  1. You may customise the input/output filenames and other settings. Save the file.

config2

  1. Run CertStream as usual. Refer to Quick Start Step 4.

Feedback

CertStream is a pilot program. Any feedback is appreciated while we develop CertStream. To deposit ideas and comments, create a new Issue on Github!


Authors

This User Guide is written by Choon Yong.

About

CertStream monitors Certificate Transparency records and logs any Domains of Interest.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages