#5917·zeek

SSH: in-auth EXT_INFO leaves failed password attempts UNKNOWN in ssh.log

Author: salahalmahaqeriCreated Sep 24, 2026Updated Sep 25, 2026
LabelsArea: Protocol AnalysisImplementation: Core

zeek_ssh_ext_info_reproducer_2026-09-23.zip

Following private triage, I was advised to open a regular issue. This was classified as a parser deficiency, not a security issue.

Reproducer

Zeek 9.0.0 on Ubuntu/WSL2, offline replay with -C. The attached ZIP contains two PCAPs, three connections each. Both clients were built from Ubuntu OpenSSH 1:9.6p1-3ubuntu13.19; the control removes the client's [email protected] extension entry. Both negotiate aes128-ctr, hmac-sha2-256 and no compression.

After extracting the attachment, with Zeek and Python 3 installed:

bash
bash reproduce.sh

Observed behavior

Server-confirmed outcome Extension advertised: auth_success / auth_attempts Entry removed: auth_success / auth_attempts
One failed password unset / 0 (port 39226) false / 1 (port 39234)
Two failed passwords unset / 0 (port 39242) false / 2 (port 39244)
Successful password true / 1 (port 39208) true / 1 (port 39220)

The server sends an in-auth EXT_INFO update only in the advertised arm. The trace is consistent with ProcessEncrypted() learning a 304-byte delivery as its failure-size reference instead of 64 bytes; subsequent 64-byte failures do not trigger authentication events. Encrypted delivery boundaries are not assumed to coincide with individual SSH messages.

Requested improvement

Please consider supporting this exchange in the authentication heuristic, while retaining UNKNOWN wherever the evidence is ambiguous. The supplied captures could serve as regression cases. This report does not establish deployment prevalence or a missed attack.

Attachment: zeek_ssh_ext_info_reproducer_2026-09-23.zip (about 80 KB). It includes primary logs, the source intervention, generation/splitting source, hashes and the replay checker. A matching replay reproduces the reported limitation; it does not mean the limitation is fixed. The bundled report predates the maintainer's classification above.

I have reviewed the experimental code. OpenAI ChatGPT/Codex (GPT-5.6 and GPT-6 Astra) assisted with design, coding, analysis and drafting. The captures contain actual localhost OpenSSH traffic; the source is included.