Module · Crawling and Scanning
tls_cert
Fetch and inspect the TLS certificate: issuer, expiry, hostname mismatch, alternative names.
FootprintInvestigateRaw TCPNo API key
Before you run it
- Raw TCP. Opens raw TCP connections, which bypass --proxy and --tor. --strict drops this module.
Run it
# Run only this module on one input$ spiderfootplus try tls_cert INTERNET_NAME www.example.com # Run it as part of the quick profile$ spiderfootplus scan example.com -p quick # Change an option for one scan$ spiderfootplus scan example.com -p quick --set tls_cert.port=443-mreplaces a profile's module list and does not add the modules that feed this one, so a profile is the simplest way to get its inputs. Only scan targets you are authorised to assess.
Watches (input)
Produces (output)
Options
| Option | Default | What it does |
|---|---|---|
| port | 443 | TLS port |
| expiring_days | 30 | Warn when the certificate expires within this many days |
| timeout_ms | 6000 | Connect + handshake timeout |
Fed by
- archive_urlsHistorical URLs and query parameters for the target domain from web archives (Wayback Machine and Common Crawl)
- cert_intelCertificate-transparency intelligence: flags internal/sensitive hostnames leaked via public certs and freshly-issued certs (change monitoring)
- certspotterFind hostnames in Certificate Transparency logs via Cert Spotter (second CT source)
- crtshFind hostnames and certificates in Certificate Transparency logs via crt.sh
- dns_bruteBrute-force common sub-domains with wildcard detection and name mutations
- dns_resolveResolve hostnames to IPs and IPs back to hostnames
- internetdbPer-IP open ports, software, hostnames and known CVEs from the free Shodan InternetDB (no key)
- passive_dnsHistorical subdomains and addresses for the domain from public passive-DNS aggregators (no key)
- ptr_sweepReverse-DNS (PTR) names for the target's IPs and a bounded sweep of their netblocks
- related_domainsOther domains co-located on the target's IPs (reverse-IP shared-hosting pivot, CDN-noise filtered)
Feeds
- cert_intelCertificate-transparency intelligence: flags internal/sensitive hostnames leaked via public certs and freshly-issued certs (change monitoring)
- dns_resolveResolve hostnames to IPs and IPs back to hostnames
- http_probeFetch each hostname over HTTPS/HTTP and record server headers, title and technology hints
- reputationCheck the domain, its hosts and IPs against public malware, phishing and spam blocklists
- tls_healthTurn TLS certificate problems (expired, expiring, hostname mismatch, self-signed) into graded findings
- tls_postureTLS protocol posture on 443: TLS 1.3/1.2 support, flags no-1.3 and legacy-only servers
Correlation rules that use its results
- A host appearing to be a test or development system was foundMEDIUM risk
- Affiliated host/domain with strong relationship to the targetINFO risk
- Expired SSL certificate foundMEDIUM risk
- Host only from bruteforcingLOW risk
- Hostname only from certificate transparencyLOW risk
- Human name only from paste/leak siteMEDIUM risk
- Outlier hostnameINFO risk
- Stale host foundHIGH risk
- TLS certificate expiring soonMEDIUM risk