Explore/

Key Exchange

4 public captures

Key-exchange captures show the part of a handshake where two sides agree on session keys. Expect ServerKeyExchange and ClientKeyExchange messages in older TLS, key shares in TLS 1.3, and the SSH KEXINIT and ECDH reply sequence.

Key exchange packet captures: Diffie-Hellman, ECDHE, RSA key transport and the messages that establish session keys.

bz2·6d ago3

SSH hybrid ML-KEM768/X25519 proposal and key-exchange sequence

A 38-packet SSH honeypot capture provides a compact example of hybrid key-exchange negotiation: the ordered proposals make mlkem768x25519-sha256 the first mutual choice, followed by a large client exchange message, a server reply and NEWKEYS in both directions. The session then continues with encrypted data and closes with FINs. Packet walkthrough. Frames 4 and 5 carry an OpenSSH_9.6p1 Ubuntu-3ubuntu13 server banner and an SSH-2.0-Go client banner. Banners are endpoint-supplied labels, not proof of the actual implementation or version; the honeypot may emulate them. Server frame 7 and client frame 9 contain KEXINIT. Their ordered lists select mlkem768x25519-sha256, ecdsa-sha2-nistp256, aes128-ctr and hmac-sha2-256, with none compression. Cipher, MAC and compression choices agree in both directions. Client frame 12 contains message 30 with a 1,216-byte exchange string in a 1,232-byte SSH packet. Server frame 14 contains a 1,352-byte message-31 packet followed by a 16-byte NEWKEYS packet. Client frame 16 carries its own NEWKEYS. Subsequent bytes are encrypted: they do not reveal usernames, authentication results or commands. Reassembly of this original found no payload gaps or conflicting overlaps. Research value. The contribution is the directly inspectable hybrid proposal and exchange-message sizes, complementing the library's classical curve25519/ECDH/DH and cipher-comparison examples. It supports teaching ordered algorithm selection and the boundary between visible SSH setup and encrypted activity. This is an observation of negotiation and wire structure, not independent cryptographic validation of the implementation or proof of successful authentication. Packet references. Use tcp.port == 22. Inspect frames 7 and 9 for the proposals and frames 12, 14 and 16 for the exchange and NEWKEYS transition. Frame numbers refer to the unchanged original capture.

5608.6 KB38
trypcaphub·7mo ago

SSH Key Exchange Algorithm Comparison (curve25519, ECDH, DH)

Three SSH connections forcing different KEX algorithms: curve25519-sha256, ecdh-sha2-nistp521, and diffie-hellman-group16-sha512. The KEX_INIT packets reveal algorithm proposals and selections. Different algorithms produce different key exchange message sizes and computational patterns.

26417 KB63
trypcaphub·7mo ago

SSH Sessions with Different Cipher Suites

Three SSH connections each requesting a specific cipher: aes256-ctr, [email protected], and [email protected]. The Key Exchange Init messages show cipher selection. Demonstrates that SSH cipher choice is visible to passive observers even though session content is encrypted.

27423 KB69
trypcaphub·7mo ago

SSH Key Exchange and Encrypted Session Setup (OpenSSH 9.6)

Two complete SSH connection sequences between Linux hosts running OpenSSH 9.6p1. Shows: Protocol version exchange (SSH-2.0-OpenSSH_9.6p1) Key exchange initialization with supported algorithms Diffie-Hellman key exchange New keys activation Encrypted session data (command execution) Graceful session teardown The second connection uses ecdh-sha2-nistp256 for key exchange, allowing comparison of different algorithm negotiations.

33415 KB46