Hunt SSL Certificates for interesting keywords on major cloud service providers.
- install as a CLI tool for quick one-off scans
git clone https://github.com/HarshVaragiya/sslsearch.git
cd sslsearch
go install
- run as a docker container
docker run ghcr.io/harshvaragiya/sslsearch:main
- 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
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 | - | ✅ | ✅ |
- Identifying Infrastructure / Attack Surface for a given scope.
- Bug Bounty recon.
- Scanning a whole CSP Region & Identifying Servers / Services of interest along with SSL certificate information.
- Scanning the whole Internet / Country's CIDRs & Collecting JARM fingerprints / Server Headers along with SSL certificate information.
- Finding Mail / RDP / Other services belonging to a target that use x509 certificates to secure connections.
- 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??.
Ideated after following the following research projects :