HARD KEEL™
Disclosure

Hard Keel Technical Disclosure 2026-01

Methods for post-quantum readiness inventory, connection grading and domain anchoring

Published by Hard Keel, https://hardkeel.com
Date of first publication:
Contact: [email protected]

Purpose

This document describes methods used in Hard Keel's privacy and security tools. We publish it so these methods are part of the public record as of the date above, and so no one can later claim exclusive rights to them.

Publishing a method here does not grant a license to our code. Our code is covered by its own license.

Keywords: post-quantum cryptography, cryptographic inventory, cryptographic bill of materials, CBOM, CycloneDX, ML-KEM, hybrid key exchange, harvest now decrypt later, crypto-agility, TLS, SSH, browser extension, homograph, lookalike domain, punycode, confusables, phishing, SPF, DKIM, DMARC, MTA-STS, TLS-RPT, DNSSEC, CAA.

1. One inventory of encryption across code, configuration and live systems

1.1 Problem

Organizations preparing for quantum-capable attackers need to know where they use encryption that a quantum computer could break: RSA, finite-field Diffie-Hellman, and elliptic-curve key exchange and signatures. That use is spread across source code, configuration files, infrastructure-as-code, container images, servers on the network and cloud accounts. Existing tools usually look at one of these at a time, so the results never add up to one picture.

1.2 Method

  1. A single scan run accepts any mix of targets: a source tree, configuration and infrastructure files, a container image, a network host and port, the local machine, or a cloud account reached with read-only credentials.

  2. Each target type has a collector that turns what it finds into the same finding record. The record holds the algorithm family, the key size or parameter set, the role (key exchange, signature, symmetric cipher, hash, random source), where it was found (file and line, host and port, or cloud resource), and how it was observed (static match, parsed configuration, live handshake, or cloud API response).

  3. For live endpoints, the collector performs real protocol handshakes, for example TLS and SSH, and records what the server actually offers and selects. This includes hybrid post-quantum key exchange groups such as X25519 combined with ML-KEM-768. The record reflects what was negotiated, not what a configuration file suggests.

  4. Findings from every collector are merged into one cryptographic bill of materials in the CycloneDX format. The same algorithm used in code and on a live server appears as one asset with several occurrences.

  5. Findings are ranked by when to act, not by algorithm alone. The tiers are: broken now; at risk from traffic recorded today and decrypted later (quantum-breakable key exchange); long-lived signatures, meaning keys that must stay trusted for years, such as identity-provider and SAML signing certificates; and then everything else. Within a tier, internet-facing systems and long-lived keys rank above short-lived keys inside a private network.

  6. Before any live connection, the user proves control of a domain with one DNS record that covers the domain and every name under it. Live checks, and fetches of published signing keys, are limited to proved domains, so the tool can't be aimed at someone else's systems.

  7. The inventory reports how much of the post-quantum encryption it found rests on a single family of math, for example lattices alone. Where no alternative exists, it suggests a hybrid or a hash-based option. This is reported as a measure of crypto-agility, separate from the overall grade.

  8. Two inventories, from this tool or any other, are compared by matching assets on object identifier plus parameter set or curve. Matching falls back to names only when no identifier exists, so the same algorithm named differently by two tools still lines up. Only increases in weak or quantum-breakable assets count as new risk.

  9. For a compliance review, a cipher configuration string or a named cloud security policy is expanded into the exact list of protocol versions and cipher suites it enables. Each one is rated, and the rating cites its published source.

1.3 Variations

The ranking can be swapped for another compliance mapping. The bill of materials can be written in other formats. The collectors can run on a schedule to produce a change history of the inventory over time.

2. A per-site post-quantum connection badge in the browser, with a first-visit lookalike warning

2.1 Problem

People can't see whether their connection to a site uses encryption that resists future quantum attack. They also rarely notice a lookalike domain on the first visit, which is exactly when phishing works.

2.2 Method

  1. A browser extension reads the negotiated connection details for each top-level page load from the browser's own security information (protocol version, key exchange group, cipher). It does not intercept or decrypt traffic.

  2. The extension shows a small badge for each site in one of three states: post-quantum hybrid, classical but modern, or weak or unencrypted. A fixed mapping from key exchange group and protocol version decides the state.

  3. Separately, the extension compares each site's registrable domain against a built-in list of well-known domains, plus a list of other domains those same organizations own and use on purpose. The comparison runs entirely on the device, after any punycode label is decoded:

    • A label whose "skeleton" (the label with look-alike characters mapped through a confusables table) matches a known name raises an alarm.
    • A label that mixes letters from more than one alphabet raises an alarm.
    • A label within a small edit distance of a known name raises an alarm. The allowed distance grows with the length of the name, and very short names are skipped to avoid false matches.
    • A known name on a different top-level domain, or a known name embedded in a longer name next to a hyphen or a sign-in word such as "login", "verify" or "billing", raises a lower-level caution.
  4. The extension keeps a record of registrable domains already visited, stored on the device only as one-way hashes. A pop-up warning fires only on first contact with a domain that raised an alarm, and it names the domain being imitated. Later visits show the badge but no pop-up. The user can mark a domain as trusted, which silences it from then on. Keeping warnings rare is what makes people read them.

2.3 Variations

The same checks can run in a mail client against the domains of links in a message, or on a router for a whole household. The list of known domains can be updated from a signed feed.

3. A single plain-language grade for how well a domain is anchored against spoofing and takeover

3.1 Problem

Whether a domain can be spoofed in email or quietly taken over depends on several separate DNS and HTTPS settings. Owners rarely see them together, and existing checkers report each one in its own jargon.

3.2 Method

  1. Given a domain, the checker looks up, over DNS-over-HTTPS: SPF, DMARC, DKIM keys under a list of commonly used selectors, MTA-STS (both the DNS record and the policy file fetched over HTTPS), TLS-RPT, DNSSEC validation status, and CAA.

  2. Each check yields points, a one-line explanation and, where needed, a one-line fix. For example:

    • An SPF record whose includes need more DNS lookups than receivers allow is capped at a low score however strict it looks, because receivers will fail it.
    • A DMARC policy of "none" scores well below "quarantine" and "reject", and a partial pct= value scales the score down.
    • An MTA-STS record whose policy file can't be fetched and parsed over HTTPS scores almost as if the record were missing.
  3. The points add up to a score that maps to a letter grade, shown alongside each check's explanation and fix in plain language.

  4. The checks are written as pure functions that take a lookup function as input, so the same logic runs on a server, in tests, and inside a browser extension.

3.3 Variations

The grade can be computed for every link domain in a mail message, or tracked over time to warn when a domain's anchoring gets weaker.

4. Data handling

The lookalike check, the visit record and the trust list in section 2 stay on the device. The domain checks in section 3 read only public DNS records and the domain's public policy file.

Where a Hard Keel tool shares anonymous usage statistics, sharing is optional and can be switched off. Those statistics never include the user's IP address, full URLs, email text or email addresses. Any install identifier attached to them is replaced with a new random one once the data is 90 days old, so older records can't be tied to a device.

Notes

Benthic (inventory scanner), Crow's Nest (browser extension) and Holdfast (domain checker) are product names of Hard Keel.

© 2026 Hard Keel. This document may be copied and quoted with credit to Hard Keel and a link to https://hardkeel.com.