sslsearch

command module
v0.0.0-...-0bf4dbe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2025 License: MIT Imports: 1 Imported by: 0

README

Hunt SSL Certificates for interesting keywords on major cloud service providers.

Details - https://medium.com/@harsh8v/ssl-search-a-tool-to-identify-infrastructure-and-discover-attack-surfaces-449c83269574

Installation
  • install as a CLI tool for quick one-off scans
git clone https://github.com/superbinves/sslsearch.git
cd sslsearch
go install
  • run as a docker container
docker run ghcr.io/harshvaragiya/sslsearch:main

Features

  • Search Cloud Service Providers IP Ranges / Given IP CIDR for keywords in SSL Certificate Subject / SANs
  • Perform JARM fingerprinting of https services identified
  • Grab all http response headers for webservers
  • Export integrations for Disk (local file), Elasticsearch, Cassandra / ScyllaDB

More details about export targets at : docs/Export.md

_assets/cli.png

Cloud Service Provider Region String Example JARM Server Header
Amazon Web Services us-east-1
Cloudflare -
Digital Ocean NL_NL-NH_Amsterdam
Google Cloud Platform us-west4
Oracle Cloud Infrastructure ca-montreal-1
Raw CIDR / IP Range -

Potential uses

  1. Identifying Infrastructure / Attack Surface for a given scope.
  2. Bug Bounty recon.
  3. Scanning a whole CSP Region & Identifying Servers / Services of interest along with SSL certificate information.
  4. Scanning the whole Internet / Country's CIDRs & Collecting JARM fingerprints / Server Headers along with SSL certificate information.
  5. Finding Mail / RDP / Other services belonging to a target that use x509 certificates to secure connections.

Future plans (not a roadmap)

  • Export integrations for cassandra cluster
  • Export integration for elasticsearch
  • Grab all HTTPS server response headers
  • Added profile guided optimization (PGO)
  • Added background worker (job queueing) using redis
  • Add k8s example deployments, with cronjob for scheduling tasks, executing them
  • CI/CD Setup with docker image
  • Export integration to NATS
  • QOL - Split codebase into different packages like libexport, libscan for better code quality.
  • Certificate information like issuer, signature, chain etc to also be stored for analysis.
  • Integration tests with test docker containers??.

References

Ideated after following the following research projects :

Documentation

Overview

Copyright © 2023 Harsh Varagiya

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL