How to detect weak cryptography in live traffic

Observe real network traffic to find weak algorithms, old protocol versions and classical-only key exchange still in use, and record what each finding means for your systems.

On this page

Who owns live detection of weak cryptography and why it matters now

You have already inventoried your systems, but an inventory records what is configured, not what traffic actually negotiates. The output of live detection is a set of detection rules and a dated log of observed weak handshakes. The network security team should own both, with input from platform owners who can explain why a given server or client still offers an older protocol version, a classical-only key exchange or a weak cipher. Platform owners confirm whether an observed handshake is intended, and the network team decides what gets alerted on, how long records are kept and how findings are passed to the owners of the affected systems. Keeping ownership with one team avoids the common gap where each platform team assumes another group is watching the wire.

NIST IR 8547, Transition to Post-Quantum Cryptography Standards, is now Final, with the final version dated 27 October 2026. The NIST post-quantum project page, shown as updated 4 December 2026, says organizations "must identify where vulnerable algorithms are used" and plan to replace or update them. NIST also says it will deprecate and remove quantum-vulnerable algorithms from its standards by 2035, and that high-risk systems will transition much earlier. Those timelines make it worth establishing observation now, because an inventory built from configuration files can miss fallback paths that only appear when a real client connects.

Observation complements a static inventory rather than replacing it. Use the inventory to define which services are in scope and what each one should negotiate, then use passive monitoring of the network to test whether that expectation holds. Confirm with your own tool documentation which handshake fields each sensor records, because the fields available for key exchange and client capabilities depend on how the sensor is configured. Detection rules only show what was seen during the monitoring window, so a clean log is not evidence that a system is safe. Record the window, the sensor coverage and the systems that did not appear in the traffic.

What the published guidance says this task involves

This table lists what each cited document asks an organization to do before it can detect weak cryptography in live traffic. Read it as a chain: first identify where vulnerable algorithms are used, then monitor continuously, and use the protocol rules to judge what a compliant peer should do on old versions. The main takeaway is that the guidance asks for inventory and continuous visibility, while the discovery tooling it names is still being evaluated.

DocumentSection or actionWhat it asks for
NIST IR 8547Transition to Post-Quantum Cryptography StandardsIdentify quantum-vulnerable standards in use and plan replacement with the quantum-resistant standards the report lists. Confirm the final version's date on the NIST CSRC page.
NIST PQC project pageIdentify vulnerable algorithm useOrganizations must identify where vulnerable algorithms are used and plan to replace or update them. NIST's NCCoE Migration to PQC project is developing tools to find and prioritize vulnerable systems.
CISA PQC InitiativeAutomated cryptographic discovery and inventoryCISA works with NIST's NCCoE to evaluate automated discovery and inventory tools. CISA has not confirmed the full scope of algorithm detection these tools will offer, so verify each tool's coverage yourself.
NIST SP 800-137Information security continuous monitoringA continuous monitoring program should give visibility into assets, threats, vulnerabilities and the effectiveness of deployed controls, which supports ongoing detection rather than one-time scans.
RFC 8996Handling of TLS 1.0 and 1.1 Hello messagesA compliant peer receiving a Hello message with version 03,01 (TLS 1.0) or 03,02 (TLS 1.1) must send a protocol_version alert and close the connection. Use this to confirm expected behavior when you see those versions.

What detection should produce

Live detection should leave behind a small set of records that a security team can read and act on. Each output below answers a different question: what to look for, which connections show weak choices, which endpoints still use them, and where the sensors cannot see at all.

Detection rule set

The rule set defines which handshake fields are checked and what counts as weak. Zeek's ssl.log exposes version, cipher, curve and server_name for each session, and with the ssl-log-ext.zeek script loaded it also records client_key_share_groups and server_key_share_group. Suricata's tls.version and ssl_version keywords can flag TLS 1.0 and 1.1. Owner: the network security engineer who maintains the sensor configuration. Check that each rule names the field it reads and the version of the sensor it runs on.

Zeek ssl docs

Weak-handshake log

This log lists each session that matched a weak-handshake rule, with the server name, certificate issuer and last alert. Zeek's server_name comes from the SNI the client sent, and its issuer comes from the certificate when the files.zeek script is loaded. The established and last_alert fields show whether the handshake completed or was aborted. Owner: the security operations analyst on the detection queue. Check that a session is logged once per rule match, not once per packet.

Endpoints on weak negotiation

This list names the endpoints that negotiated TLS 1.0, TLS 1.1 or a classical-only key exchange with no post-quantum key share. RFC 8996 says a compliant peer must send a protocol_version alert and close the connection when it receives a TLS 1.0 or TLS 1.1 hello, so a session that completes at those versions points to a peer that does not follow the RFC. Owner: the platform engineer who owns the affected service. Check each entry against the service owner's inventory before ticketing it.

RFC 8996 text

Sensor coverage map

The coverage map shows which network segments the sensors can see and which they cannot. Live detection only observes traffic that crosses a tapped or mirrored point, so encrypted links inside a segment, cloud east-west traffic and offline systems stay unseen. NIST SP 800-137 describes continuous monitoring as visibility into assets and controls, so a gap here is a gap in the monitoring program itself. Owner: the network architect who places the sensors. Check the map against the current asset inventory once a quarter.

NIST SP 800-137

Dated findings register

The findings register is the dated record of each weak-cryptography finding, passed to the alerting and exception work. Each entry carries the date first seen, the rule that matched, the endpoint, the owner and the status. The exception process depends on this record, because a weak system with no dated finding has no review date. Owner: the security lead who runs the vulnerability and exception process. Check that every entry has an owner and a next review date before it leaves the register.

How to set up observation and read the results in order

Observation is set up in a fixed sequence so that each stage produces an output the next one depends on: a confirmed view of the traffic, the fields needed to judge it, a baseline of normal behavior, and a classified list of handshakes matched to your inventory. Following the order means every unresolved finding leaves the process with a named owner and a record.

  1. Confirm sensor placement and visible segments

    The security or network engineer responsible for the sensors identifies where each sensor sees traffic and lists the network segments it covers. Record which segments are visible, which are not, and why. Encrypted traffic that passes through a load balancer, TLS terminator or proxy is only visible to the sensor at the point where it is decrypted or where the handshake is seen in the clear. This step is complete when you have a written map of covered and uncovered segments that the team agrees with. Any gap in that map has to be carried forward as a stated limit on the findings, not silently ignored.

  2. Enable Zeek SSL logging with extension scripts

    The engineer who administers the Zeek sensors loads the ssl-log-ext.zeek script and the files.zeek script. The first adds fields such as the client's offered ciphers, curves and supported versions, the server's chosen key share group and the signature and hash algorithms. The second adds server certificate chain fingerprints, subject and issuer to ssl.log. Confirm the fields are present by reviewing a sample of ssl.log entries from a test connection. The step is done when the extended fields appear in the log output. Without these scripts, the base ssl.log will not show the client offer lists you need to judge key exchange strength, so it should not be treated as sufficient on its own.

  3. Enable Suricata TLS keywords for version matching

    The engineer who manages Suricata rules adds rules that use the tls.version and ssl_version keywords to match the negotiated TLS version and the SSL or TLS record version. These keywords match from SSL 2 and 3 through TLS 1.3, and support lists and negation. Add tls.sni, tls.cert_subject, tls.cert_issuer and tls.cert_fingerprint where you need to match server names or certificates. Test each rule against a known connection of each version you expect to see. The step produces a rule set whose alerts or logs name the TLS version directly. Note that certificate fingerprints in Suricata use SHA-1, so match them against your inventory only with that limit in mind.

  4. Run a baseline capture period

    The security lead and the sensor engineer agree on a capture period long enough to cover the normal business cycle of the monitored segments, and record its start and end dates in the project log. During this period, the sensors log handshakes without anyone acting on individual results. The output is a baseline set of ssl.log and Suricata records showing which versions, ciphers, curves and handshake outcomes are normal for each segment. Choose the period length with the owners of the monitored services rather than picking a fixed duration in advance, and check that the baseline includes the batch jobs and periodic clients that run outside office hours.

  5. Classify handshakes by version, cipher and curve

    The analyst reads the baseline and live ssl.log records and sorts each handshake into groups: protocol version, negotiated cipher suite, negotiated curve or key share group, and whether the session established or was aborted, using the established and last_alert fields. Flag any handshake that negotiated an old protocol version or a classical-only key exchange. RFC 8996 states that a compliant peer must send a protocol_version alert and close the connection when a Hello carries version 1.0 or 1.1, so an old version that completes indicates a peer or configuration that does not follow the RFC. The output is a classified table covering every observed group, with each flagged handshake linked to its server name and source segment.

  6. Match findings to the cryptographic inventory

    The inventory owner takes each flagged server name and certificate fingerprint and finds the matching entry in the cryptographic inventory. A finding is matched when the inventory record names the same service, host or certificate. Record the match, or record that no match was found, which is itself a finding because it means the inventory is incomplete. Mark each matched finding with the inventory owner's name. This step is complete when every flagged handshake has either a matching inventory record or an open item for the inventory to be corrected. Do not treat the detection output as authoritative about a system until it has been matched against the inventory.

  7. Record each unresolved finding

    The security lead opens a record for each finding that is still unresolved after matching. Each record names the system, the observed version, cipher or curve, the segment where it was seen, the sensor and time window, the owner, and the next review date. Record the uncertainty too: where the sensor could not see the traffic, where the inventory lacked a match, or where a certificate fingerprint could not be confirmed. The output is a findings register that can be reviewed and passed to the alerting and exception processes. Do not close a finding because it was seen once, since a single observation may not represent the system's normal behavior.

Which Zeek and Suricata fields show weak cryptography

Detection starts with knowing which fields carry the cryptographic choices you need to check. In Zeek, the ssl.log record includes version, cipher, curve and server_name. The version field gives the SSL/TLS version the server chose, cipher gives the cipher suite, curve gives the ECDH or ECDHE elliptic curve the server chose, and server_name gives the SNI value the client requested. These fields come from the Zeek ssl main script, so they are the first place to look for old protocol versions and classical-only key exchange. Confirm the field definitions against the Zeek ssl main.zeek documentation for the Zeek version you run.

When the ssl-log-ext.zeek script is loaded, ssl.log also records client_ciphers, client_curves, client_supported_versions, server_supported_version, client_key_share_groups, server_key_share_group, sigalgs, hashalgs and dh_param_size. Key exchange and signatures are separate fields, so read them separately: the key share and curve fields describe key exchange, while sigalgs, hashalgs and the certificate fields describe signatures and certificates. A session can look acceptable on one and weak on the other. The sources do not say which curves or key share groups are post-quantum, so do not infer that from a group name. Confirm the mapping against the NIST and IETF documents you rely on.

In Suricata, the tls.version keyword matches the negotiated TLS version from 1.0 to 1.3, and ssl_version matches the record version (sslv2, sslv3, tls1.0 to tls1.3), with lists and negation. The tls.cert_subject, tls.cert_issuer, tls.cert_fingerprint and tls.sni keywords match certificate and server name fields. Note that tls.cert_fingerprint uses SHA-1, so it is a poor basis for identifying a certificate's integrity and should be paired with other certificate fields. RFC 8996 requires a peer that receives a Hello with version {03,01} or {03,02} to send a protocol_version alert and close the connection, which tells you what a compliant peer does when it sees those versions. Check the Suricata TLS keywords reference for the version you deploy.

How a handshake moves from sensor to finding

Packets captured at the sensor are parsed by Zeek (writing ssl.log) and Suricata (writing TLS events), and each record is classified by TLS version, cipher suite and key exchange. A decision step then checks whether the handshake matches an entry in the cryptographic inventory. Matched handshakes update that inventory. Unmatched weak handshakes go to a findings register, where the owner reviews them. Check that both sensors see the same traffic and that the inventory keys match the fields the sensors actually log.

Handshake records flow from sensors through classification to inventory or findings.

Who does what during detection

The network security team owns the sensors that observe handshakes and the logs they produce. Their work is to place sensors where the traffic of interest actually passes, tune the detection rules so that handshake data is captured without drowning analysts in noise, and keep logs long enough for trends to be visible. Zeek's ssl.log records the negotiated version, cipher, curve and server_name fields, and Suricata's tls.version and ssl_version keywords can match negotiated and record-layer versions, so the team needs to confirm which fields its chosen tool actually emits.

  • Sensor placement: Choose points where both client and server traffic is visible, such as segment uplinks or load balancer egress, and note where encryption terminates before the sensor.
  • Rule tuning: Match on the negotiated version and cipher rather than on the mere presence of a handshake, and document each rule's intent.
  • Log fields: Confirm which handshake fields are written to logs in your deployment, including whether the files.zeek script is loaded for certificate data.
  • Log retention: Keep handshake logs long enough to show whether a weak version appears once or recurs, and state the retention period in the register.
  • Known limits: Record that passive capture cannot see traffic inside encrypted tunnels that terminate elsewhere.

Before relying on any detection, check that a test handshake to a known endpoint produces the expected log entry.

What goes wrong during live detection

Live detection with Zeek or Suricata produces wrong answers when the sensor misses traffic, when fields are read as the wrong kind of fact, or when expected legacy behavior is treated as a finding. Each card below describes one failure and how to notice it before you trust the results.

Encrypted traffic on unseen segments

A sensor only records what crosses the link it watches. Encrypted sessions on segments the sensor cannot see, such as east-west traffic inside a cluster or traffic that bypasses a tap, produce no ssl.log entries and no alerts, which looks like a clean result. To notice this, list the segments that carry TLS and compare them with the sensor's actual coverage. If a known service has no log entries over a period when it is clearly in use, the gap is probably coverage, not safety.

Zeek ssl docs

Negotiated version mistaken for supported

The version field in ssl.log records the version the server chose, not the full set of versions it accepts. A session that negotiated TLS 1.3 says nothing about whether the same server still accepts TLS 1.2 or older. To see the broader picture, load the ssl-log-ext script and read server_supported_version and client_supported_versions alongside version. Treat a single negotiated value as one observation, not as the server's configuration.

Certificate match read as key exchange

A matching certificate fingerprint shows that two endpoints presented the same certificate, not how they agreed on keys. Key exchange is recorded separately in the cipher and curve fields and, with the extension script, in the key share fields. Concluding that a fingerprint match proves a key exchange finding mixes two different properties. When reporting, cite the cipher, curve or key share field for key exchange and use the certificate fields only for identity and chain questions.

Aborted handshakes missing the cipher

Some handshakes never complete, so the server never settles a cipher and the record may lack the fields you expected. The established field shows whether the session finished or was cut short during the handshake, and last_alert shows the final alert seen. Filter on established before counting cipher choices, and review aborted sessions separately, since an attacker probing weak settings or a broken client can both produce them.

Alert noise from legacy clients

Old devices and clients that still offer legacy protocol versions generate alerts and failed handshakes that look like incidents but reflect known, expected behavior. RFC 8996 requires a peer that receives a Hello with version 3,1 or 3,2 to send a protocol_version alert and close the connection, so those alerts are normal responses to legacy offers. Before tuning rules, build an allowlist of documented legacy clients with owners, so real anomalies stand out from expected rejections.

RFC 8996 text

Missing server names without SNI

The server_name field holds the SNI value the client requested. Clients that omit SNI, or older ones that do not send it, leave that field empty, so you cannot tell which hostname or service a session belonged to from the log alone. Check how many sessions lack server_name before attributing findings to a service, and correlate with destination address, certificate subject or issuer, or your own asset inventory to link the session to an owner.

What to record so a review can see detection was done

Detection of weak cryptography in live traffic is only reviewable if the team can show what was observed, where, with which settings, and what was done about it. Keep a sensor placement map that shows which network segments and taps Zeek and Suricata watch, and which parts of the environment are not covered. Record the Zeek and Suricata configuration files and the list of scripts loaded in each sensor, such as whether ssl-log-ext.zeek and files.zeek were active, because the fields a reviewer can see in ssl.log depend on those scripts. For Suricata, keep the rule set version, the source it was pulled from, and a change log of rules added, modified or disabled. Without these records, a reviewer cannot tell whether a clean result reflects the absence of weak handshakes or a gap in coverage.

Record the capture period, with start and end dates for each sensor, and the counts of weak handshakes by type over that period, such as sessions that negotiated TLS 1.0 or 1.1, sessions that used a cipher suite the team has marked as weak, and sessions with classical-only key exchange where the team expects a hybrid group. Describe how each count was produced, including the query or rule used, so a reviewer can rerun it. Be careful with the TLS 1.0 and 1.1 counts: RFC 8996 says a receiving party must send a protocol_version alert and close the connection on those versions, so a session that completes with them may point to a non-compliant peer or a misread field, and the team should confirm which before reporting it.

Keep a findings register that lists each finding, the system it affects, the owner, the decision taken (remediate, isolate, accept or retire), and the date the finding was last reviewed. Each row should link back to the sensor records and counts that support it. These records are internal evidence that the detection work happened and that its results were acted on. They do not stand as an audit attestation, and an independent assessor will still need to test the controls and the evidence on its own terms. Ask the detection owner to confirm before any review that the register, the configuration records and the counts all cover the same capture period.

Items to confirm before calling detection in place

Do the sensors cover every network segment agreed for detection?

Detection is only as good as its visibility, so confirm that each sensor sees the segments agreed in scope and that no agreed segment is missing. Check this against the scope document rather than memory, and record which sensor sees which segment. Gaps often appear at encrypted east-west links, cloud virtual networks and branch sites, so verify those specifically. A segment with no sensor should be recorded as an explicit gap with an owner, not silently treated as covered.

Are ssl-log-ext.zeek and files.zeek loaded on the Zeek sensors?

Confirm both scripts are loaded on every Zeek sensor, because they add fields that the detection logic depends on. Without ssl-log-ext.zeek, ssl.log omits fields such as client_ciphers, client_supported_versions and server_key_share_group. Without files.zeek, the certificate chain fingerprints, subject and issuer are not recorded. Check the loaded scripts on each sensor and confirm the fields appear in a sample ssl.log before counting the sensor as ready. The Zeek ssl script documentation lists the fields each script adds.

Are Suricata TLS keywords active in the rules being used?

Confirm that the Suricata rules you rely on use the TLS keywords and that Suricata is loading them. The keywords tls.version and ssl_version match the negotiated TLS version, while tls.cert_subject, tls.cert_issuer, tls.cert_fingerprint and tls.sni match certificate and server name fields. Test each rule against captured traffic that contains the target condition, and confirm the rule fires. Note that tls.cert_fingerprint uses SHA-1, so review it with that limit in mind.

Has the baseline period finished before alerts are trusted?

A baseline records what normal TLS traffic looks like on your network, so that a new weak cipher or old protocol version stands out. Confirm that the agreed baseline period has run in full across the in-scope segments, and that the results were reviewed. Do not start alerting on findings from a partial or unreviewed baseline, because the first alerts will reflect normal legacy traffic rather than new risk. Record the start and end dates of the baseline and who signed off its review.

Does every finding have a named owner before it is closed or escalated?

Every finding needs one named owner who is responsible for deciding what happens next, including the system owner for the affected service. A finding without an owner tends to be recorded and then ignored. Confirm the owner for each category of finding, such as old protocol versions or classical-only key exchange, and confirm the escalation path when the owner is unavailable. Track ownership in the same register that holds the findings, so the two cannot drift apart.

Are detection findings matched against the cryptographic inventory?

A finding that cannot be traced to a system in your inventory is hard to act on. Confirm that each finding is matched to an inventory entry, using the server name, certificate subject or IP address, and that unmatched findings are added to the inventory or flagged for investigation. This matching also shows whether the inventory is complete. NIST's project page says organizations must identify where vulnerable algorithms are used, and matching findings to inventory records is one way to meet that expectation.

Does the findings register have a review date and a named reviewer?

Confirm that the register has a scheduled review date and a named person accountable for running the review. A register without a review date tends to accumulate stale entries that nobody checks. Set the review interval against the risk of the findings, and record it in the register itself. The review should confirm that each open finding still has an owner, a status and a current plan, and that closed findings were verified. NIST SP 800-137 describes continuous monitoring as an ongoing program, so a dated review is the mechanism that keeps detection running after go-live.

How DeployOpen works on this

DeployOpen plans and builds live traffic detection for weak cryptography inside your own network, using the Zeek and Suricata fields that record negotiated versions, ciphers, curves and key exchange. We scope the sensors, rules and retention to your environment, then hand over tested detections and documentation your security and network teams can run and review.

How we scope

  • We confirm which network segments, sensors and TLS services the written scope covers before any work starts.
  • We list which Zeek ssl.log and Suricata TLS fields your team needs to capture, such as version, cipher and curve.
  • We agree in writing how long logs are kept and who in your organization reviews detections.

How we build

  • We deploy and configure Zeek with the ssl-log-ext.zeek script to record client and server cipher and key share fields.
  • We write Suricata rules using tls.version and ssl_version to flag TLS 1.0, TLS 1.1 and other weak negotiated versions.
  • We test each detection against captured traffic in your environment to confirm it matches the intended handshakes.

How we hand over

  • We deliver the detection rules, Zeek scripts and configuration files with a written record of what each one matches.
  • We document known gaps, such as handshakes that Zeek logs as aborted or that lack a negotiated curve, for your review.
  • We walk your security and network teams through the outputs so they can run and adjust detections without us.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after the initial handover.
  • We can retest detections after your sensors, Zeek or Suricata versions change, using the versions you run.
  • Confirm current Zeek and Suricata version compatibility with the vendor documentation for the versions in your environment.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.