# US 2019/0173863 A1 · Stateless session synchronization between secure communication interceptors

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0173863 A1
- Document ID: US20190173863A1
- Status: Published application
- Kind: A1
- Application number: 15/832,168
- Filed: 2017-12-05
- Published: 2019-06-06
- Earliest claimed: 2017-12-05
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Kuo-Chun Chen; Wei-Hsiang Hsiung; Cheng-ta Lee; Wei-Shiau Suen; Ming Hsun Wu
- Web page: https://patentgrep.com/patent/US20190173863A1

## CPC

- H04L 63/067: {using one-time keys (cryptographic mechanisms or cryptographic arrangements for generation of one-time passwords H04L9/0863)}
- H04L 9/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- H04L 9/0841: {involving Diffie-Hellman or related key agreement protocols}
- H04L 9/0861: {Generation of secret information including derivation or calculation of cryptographic keys or passwords}
- H04L 9/12: Transmitting and receiving encryption devices synchronised or initially set up in a particular manner
- H04L 63/0442: {wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption (cryptographic mechanisms or cryptographic arrangements for public-key encryption H04L9/30)}
- H04L 63/061: {for key exchange, e.g. in peer-to-peer networks (cryptographic mechanisms or cryptographic arrangements for key agreement H04L9/0838)}
- H04L 63/166: {at the transport layer}
- H04L 67/141: Setup of application sessions (admission control or resource allocation in data switching networks H04L47/70)
- H04L 9/30: Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
- H04L 63/30: {for supporting lawful interception, monitoring or retaining of communications or communication related information (circuit switched telephony call monitoring H04M3/2281)}
- H04L 2463/061: applying further key derivation, e.g. deriving traffic keys from a pair-wise master key
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Embodiments provide a system and method for stateless session synchronization between inspectors for high availability deployments. Man in the Middle inspectors of a communication session between a client and server exchange a shared key that is used as a common seed value in a mapping function algorithm. Each inspector generates identical key-pairs using the common mapping function algorithm, and the inspectors generate the session keys from the key-pairs. Inspectors use the session keys to decrypt and either actively or passively inspect data transferred in a session between a client and server.

## Claims

### Claim 1

A computer implemented method in a data processing system comprising a processor and a memory comprising instructions, which are executed by the processor to cause the processor to implement a system for providing stateless synchronization, the method comprising:
receiving, by a first inspector, a first set of key parameters associated with a communication session;
generating, by the first inspector, a first key-pair using the first set of key parameters and a shared key;
receiving, by the first inspector, a second set of key parameters associated with the communication session; and
generating, by the first inspector, a second key-pair using the second set of key parameters and the shared key.

### Claim 2 (depends on 1)

The method as recited in claim 1, further comprising:
exchanging the shared key between the first inspector and a second inspector.

### Claim 3 (depends on 2)

The method as recited in claim 2, further comprising:
receiving, by the second inspector, the first set of key parameters;
generating, by the second inspector, a third key-pair using the first set of key parameters and the shared key, wherein the first key-pair and the third key-pair are identical;
receiving, by the second inspector, the second set of key parameters; and
generating, by the second inspector, a fourth key-pair using the second set of key parameters and the shared key, wherein the second key-pair and the fourth key-pair are identical.

### Claim 4 (depends on 3)

The method as recited in claim 3, further comprising:
wherein the first inspector generates a private key for the first key-pair using a first hash function of at least one received key parameter from the first set of key parameters and the shared key;
wherein the first inspector generates a private key for the second key-pair using a second hash function of at least one received key parameter from the second set of key parameters and the shared key;
wherein the second inspector generates a private key for the third key-pair using a third hash function of at least one received key parameter from the first set of key parameters and the shared key; and
wherein the second inspector generates a private key for the fourth key-pair using a fourth hash function of at least one received key parameter from the second set of key parameters and the shared key.

### Claim 5 (depends on 3)

The method as recited in claim 3, further comprising:
wherein the first inspector generates a public key for the first key-pair;
wherein the first inspector generates a public key for the second key-pair;
wherein the second inspector generates a public key for the third key-pair; and
wherein the second inspector generates a public key for the fourth key-pair.

### Claim 6 (depends on 3)

The method as recited in claim 3, further comprising:
generating, by the first inspector, a first pre-master-secret using at least one key from the first key-pair;
generating, by the first inspector, a second pre-master-secret using at least one key from the second key-pair;
generating, by the second inspector, a third pre-master-secret using at least one key from the third key-pair, wherein the first and third pre-master-secrets are identical; and
generating, by the second inspector, a fourth pre-master-secret using at least one key from the fourth key-pair, wherein the second and fourth pre-master-secrets are identical.

### Claim 7 (depends on 6)

The method as recited in claim 6, further comprising:
generating, by the first inspector, a first session key using the first pre-master-secret;
generating, by the first inspector, a second session key using the second pre-master-secret;
generating, by the second inspector, a third session key using the third pre-master-secret, wherein the first session key and the third session key are identical; and
generating, by the second inspector, a fourth session key using the fourth pre-master-secret, wherein the second session key and the fourth session key are identical.

### Claim 8 (depends on 2)

The method as recited in claim 2, further comprising:
wherein the shared key is exchanged between the first inspector and the second inspector according to a predefined frequency.

### Claim 9 (depends on 1)

The method as recited in claim 1, further comprising:
wherein the communication session is a Transport Layer Security (TLS) session between a client and a server.

### Claim 10 (depends on 3)

The method as recited in claim 3, further comprising:
wherein the first, second, third, and fourth key-pairs are each valid only for the communication session.

### Claim 11

A computer program product for providing stateless synchronization, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to:
receive, by a first inspector, a first set of key parameters associated with a communication session;
cause the first inspector to generate a first key-pair using the first set of key parameters and a shared key;
receive, by the first inspector, a second set of key parameters associated with the communication session; and
cause the first inspector to generate a second key-pair using the second set of key parameters and the shared key.

### Claim 12 (depends on 11)

The computer program product as recited in claim 11, the processor further configured to:
exchange the shared key between the first inspector and a second inspector.

### Claim 13 (depends on 11)

The computer program product as recited in claim 11, the processor further configured to:
receive, by the second inspector, the first set of key parameters;
cause the second inspector to generate a third key-pair using the first set of key parameters and the shared key, wherein the first key-pair and the third key-pair are identical;
receive, by the second inspector, the second set of key parameters; and
cause the second inspector to generate a fourth key-pair using the second set of key parameters and the shared key, wherein the second key-pair and the fourth key-pair are identical.

### Claim 14 (depends on 13)

The computer program product as recited in claim 13, the processor further configured to:
cause the first inspector to generate a private key for the first key-pair using a first hash function of at least one received key parameter from the first set of key parameters and the shared key;
cause the first inspector to generate a private key for the second key-pair using a second hash function of at least one received key parameter from the second set of key parameters and the shared key;
cause the second inspector to generate a private key for the third key-pair using a third hash function of at least one received key parameter from the first set of key parameters and the shared key; and
cause the second inspector to generate a private key for the fourth key-pair using a fourth hash function of at least one received key parameter from the second set of key parameters and the shared key.

### Claim 15 (depends on 13)

The method as recited in claim 13, further comprising:
cause the first inspector to generate a public key for the first key-pair;
cause the first inspector to generate a public key for the second key-pair;
cause the second inspector to generate a public key for the third key-pair; and
cause the second inspector to generate a public key for the fourth key-pair;

### Claim 16 (depends on 13)

The computer program product as recited in claim 13, the processor further configured to:
cause the first inspector to generate a first pre-master-secret using at least one key from the first key-pair;
cause the first inspector to generate a second pre-master-secret using at least one key from the second key-pair;
cause the second inspector to generate a third pre-master-secret using at least one key from the third key-pair, wherein the first and third pre-master-secrets are identical; and
cause the second inspector to generate a fourth pre-master-secret using at least one key from the fourth key-pair, wherein the second and fourth pre-master-secrets are identical.

### Claim 17 (depends on 16)

The method as recited in claim 16, further comprising:
cause the first inspector to generate a first session key using the first pre-master-secret;
cause the first inspector to generate a second session key using the second pre-master-secret;
cause the second inspector to generate a third session key using the third pre-master-secret, wherein the first session key and the third session key are identical; and
cause the second inspector to generate a fourth session key using the fourth pre-master-secret, wherein the second session key and the fourth session key are identical.

### Claim 18 (depends on 12)

The computer program product as recited in claim 12, the processor further configured to:
wherein the shared key is exchanged between the first inspector and the second inspector according to a predefined frequency.

### Claim 19 (depends on 11)

The computer program product as recited in claim 11, the processor further configured to:
wherein the communication session is a Transport Layer Security (TLS) session between a client and a server.

### Claim 20

A system for providing stateless synchronization, comprising:
a first inspector is configured to receive a first set of key parameters associated with a communication session;
wherein the first inspector is configured to generate a first key-pair using the first set of key parameters and a shared key;
wherein the first inspector is configured to receive a second set of key parameters associated with the communication session; and
wherein the first inspector is configured to generate a second key-pair using the second set of key parameters and the shared key.
