Z-Sans attaches findings to assets — lightweight, evidence-backed signals such as a possible subdomain takeover or a certificate problem. Findings are passive: they are derived from the discovery traffic (DNS/TLS/HTTP), never from active exploitation.

Finding model

Every finding is a dict stored on the asset:

{
  "id": "subdomain-takeover:domain:x.example.com",
  "rule": "subdomain-takeover",
  "severity": "high",
  "title": "Possible subdomain takeover (GitHub Pages)",
  "evidence": {"cname_chain": ["foo.github.io"], "confidence": "confirmed"},
  "target_uid": "domain:x.example.com",
  "detected_at": 1757000000.0
}

It lives in asset.properties["findings"] (a list, deduplicated by id), so it flows through the JSON, CSV and GraphML exports unchanged, appears in the HTML report's Findings tab, and is exported as SARIF.

Severities: critical, high, medium, low, info.

Rules

Rule Severity Source Config
subdomain-takeover service-dependent (high/medium/critical) CNAME chain matched against known cloud-service fingerprints (+ optional HTTP confirmation) takeover.*
cert-expired high TLS certificate notAfter in the past asset_types.domain.tools.cert_probe
cert-expiring medium notAfter within expiry_warn_days asset_types.domain.tools.cert_probe
cert-self-signed medium subject == issuer asset_types.domain.tools.cert_probe.self_signed_finding
cert-hostname-mismatch medium hostname not covered by SAN/CN asset_types.domain.tools.cert_probe

Subdomain takeover (detect-only)

The detector resolves the CNAME chain and matches it against a built-in table of known services (GitHub Pages, Heroku, AWS S3, Azure, Netlify, Vercel, Shopify, Fastly, Pantheon, Surge, Bitbucket, Tumblr, Zendesk, WordPress.com). When takeover.http_probe is on and a CNAME matches, it makes one HTTP request to confirm via the service's error-page fingerprint (confidence: confirmed vs cname).

Detect-only

Z-Sans never registers, claims or takes over a resource. Keep takeover.detect_only: true. Findings are evidence for a human to verify.

Certificate enrichment

TLS probing extracts the full certificate (subject, issuer, serial, validity window, SAN list, SHA-256 fingerprint) into asset.properties["cert"] and turns SAN DNS names into new domain assets — often revealing subdomains that passive sources miss.

Where findings appear

  • HTML report — dedicated Findings tab (severity / rule / target / title)
  • JSON — nodes[].properties.findings
  • CSV — *_assets.csv gains a Findings column (rule names)
  • GraphML — a findings node attribute
  • SARIF — *.sarif (SARIF 2.1.0), ready for CI
  • Neo4j — node CSV carries a findings_count column

Tuning

  • Disable a detector via its config block (takeover.enabled, asset_types.domain.tools.cert_probe.enabled).
  • Certificate probing reuses the cross-run cache (cache.ttl.cert) when cache.enabled is on.
  • Takeover detection only performs network I/O when a CNAME matches a known service, so it adds little overhead to ordinary scans.