# US 2019/0356694 A1 · Engagement and disengagement of transport layer security proxy services with encrypted handshaking

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

- Number: US 2019/0356694 A1
- Document ID: US20190356694A1
- Status: Published application
- Kind: A1
- Application number: 15/984,637
- Filed: 2018-05-21
- Published: 2019-11-21
- Earliest claimed: 2018-05-21
- Assignees: Cisco Technology, Inc.
- Applicants: Cisco Technology, Inc.
- Inventors: Jianxin Wang; Prashanth Patil; Flemming Andreasen; Nancy Cam-Winget; Hari Shankar
- Web page: https://patentgrep.com/patent/US20190356694A1

## CPC

- H04L 63/0281: {Proxies}
- 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/0823: {using certificates (cryptographic mechanisms or cryptographic arrangements for entity authentication involving certificates H04L9/3263)}
- H04L 63/166: {at the transport layer}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Techniques are presented herein for engagement and disengagement of Transport Layer Security proxy services with encrypted handshaking. In one embodiment, a first initial message of a first encrypted handshaking procedure for a first secure communication session between a first device and a second device is intercepted at a proxy device. The first initial message includes first key exchange information for encrypting the first encrypted handshaking procedure. A copy of the first initial message is stored at the proxy device. A second initial message of a second encrypted handshaking procedure for a second secure communication session between the proxy device and the second device is sent from the proxy device to the second device. The second initial message includes second key exchange information for encrypting the second encrypted handshaking procedure. The proxy device determines, based on the second encrypted handshaking procedure, whether to remain engaged or to disengage.

## Claims

### Claim 1

A method of establishing a secure connection across a network, comprising:
intercepting, at a proxy device, a first initial message of a first encrypted handshaking procedure for a first secure communication session between a first device and a second device, wherein the first initial message includes at least first key exchange information for encrypting the first encrypted handshaking procedure;
storing a copy of the first initial message of the first encrypted handshaking procedure at the proxy device;
sending a second initial message of a second encrypted handshaking procedure from the proxy device to the second device for a second secure communication session between the proxy device and the second device, wherein the second initial message includes second key exchange information for encrypting the second encrypted handshaking procedure; and
determining, based on the second encrypted handshaking procedure, whether the proxy device is to remain engaged between the first device and the second device during the first secure communication session, or is to disengage such that inspection of communication traffic during the first secure communication session is not to be performed by the proxy device.

### Claim 2 (depends on 1)

The method of claim 1, upon determining that the proxy device is to remain engaged between the first device and the second device, further comprising:
maintaining the second secure communication session between the proxy device and the second device; and
sending a response to the first initial message of the first encrypted handshaking procedure to the first device to establish the first secure communication session between the first device and the proxy device; and
at the proxy device, examining communication traffic between the first device and the second device.

### Claim 3 (depends on 1)

The method of claim 1, upon determining that the proxy device is to disengage between the first device and the second device, further comprising:
sending a reset request to the second device;
forwarding the copy of the first initial message of the first encrypted handshaking procedure to the second device, wherein the copy of the first initial message includes the first key exchange information for encrypting the first handshaking procedure; and
passing a response from the second device to the first device to establish the first secure communication session between the first device and the second device without examination of communication traffic by the proxy device.

### Claim 4 (depends on 3)

The method of claim 3, further comprising the proxy device disengaging from the first secure communication session between the first device and the second device without resetting the first encrypted handshaking procedure at the first device.

### Claim 5 (depends on 1)

The method of claim 1, wherein determining whether the proxy device is to remain engaged or is to disengage is based on a policy determination.

### Claim 6 (depends on 5)

The method of claim 5, wherein the policy determination is based on examining a certificate contained in a message from the second device.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
determining that the first device is attempting to resume a previous secure communication session between the first device and the second device based on intercepting the first initial message that includes information associated with a previous encrypted handshaking procedure; and
determining whether previous session credentials are stored at the proxy device.

### Claim 8 (depends on 7)

The method of claim 7, upon determining that previous sessions credentials are stored at the proxy device and upon determining that the proxy device is to remain engaged between the first device and the second device, further comprising:
responding to the first initial message from the first device using the previous session credentials stored at the proxy device to establish the first secure communication session between the first device and the proxy device, wherein the previous session credentials include information associated with a previous encrypted handshaking procedure between the first device and the proxy device; and
sending the previous session credentials stored at the proxy device in the second initial message of the second encrypted handshaking procedure from the proxy device to the second device to establish the second secure communication session between the proxy device and the second device, wherein the previous session credentials include information associated with a previous encrypted handshaking procedure between the proxy device and the second device; and
at the proxy device, examining communication traffic between the first device and the second device.

### Claim 9 (depends on 7)

The method of claim 7, upon determining that previous session credentials are not stored at the proxy device and upon determining that the proxy device is to remain engaged between the first device and the second device, further comprising:
sending a retry request to the first device to re-initiate the first encrypted handshaking procedure;
sending a reset request to the second device;
establishing the first secure communication session between the first device and the proxy device;
establishing the second secure communication session between the proxy device and the second device; and
at the proxy device, examining communication traffic between the first device and the second device.

### Claim 10 (depends on 7)

The method of claim 7, upon determining that previous sessions credentials are stored at the proxy device and upon determining that the proxy device is to disengage between the first device and the second device, further comprising:
sending a retry request to the first device to re-initiate the first encrypted handshaking procedure; and
permitting the first device to establish the first secure communication session between the first device and the second device without examination of communication traffic by the proxy device.

### Claim 11 (depends on 7)

The method of claim 7, upon determining that previous session credentials are not stored at the proxy device and upon determining that the proxy device is to disengage between the first device and the second device, further comprising:
sending a reset request to the second device;
forwarding the copy of the first initial message from the first device to the second device, wherein the first initial message includes information associated with the previous encrypted handshaking procedure between the first device and the second device; and
passing a response from the second device to the first device to establish the first secure communication session between the first device and the second device without examination of communication traffic by the proxy device.

### Claim 12

An apparatus comprising:
a network interface unit configured to enable communications over a network;
a memory; and
a processor coupled to the memory and the network interface unit, and configured to:
intercept a first initial message of a first encrypted handshaking procedure for a first secure communication session between a first device and a second device, wherein the first initial message includes at least first key exchange information for encrypting the first encrypted handshaking procedure;
store a copy of the first initial message of the first encrypted handshaking procedure;
send a second initial message of a second encrypted handshaking procedure to the second device for a second secure communication session between the apparatus and the second device, wherein the second initial message includes second key exchange information for encrypting the second encrypted handshaking procedure; and
determine, based on the second encrypted handshaking procedure, whether to remain engaged between the first device and the second device during the first secure communication session, or to disengage such that inspection of communication traffic during the first secure communication session is not to be performed.

### Claim 13 (depends on 12)

The apparatus of claim 12, upon determining to remain engaged between the first device and the second device, the processor is further configured to:
maintain the second secure communication session between the apparatus and the second device; and
send a response to the first initial message of the first encrypted handshaking procedure to the first device to establish the first secure communication session between the first device and the apparatus; and
examine communication traffic between the first device and the second device.

### Claim 14 (depends on 12)

The apparatus of claim 12, upon determining to disengage between the first device and the second device, the processor is further configured to:
send a reset request to the second device;
forward the copy of the first initial message of the first encrypted handshaking procedure to the second device, wherein the copy of the first initial message includes the first key exchange information for encrypting the first handshaking procedure; and
pass a response from the second device to the first device to establish the first secure communication session between the first device and the second device without examination of communication traffic.

### Claim 15 (depends on 12)

The apparatus of claim 12, wherein the processor is further configured to:
determine that the first device is attempting to resume a previous secure communication session between the first device and the second device based on intercepting the first initial message that includes information associated with a previous encrypted handshaking procedure; and
determine whether previous session credentials are stored at the apparatus.

### Claim 16

A non-transitory computer readable tangible storage media encoded with instructions that, when executed by a processor, cause the processor to:
intercept a first initial message of a first encrypted handshaking procedure for a first secure communication session between a first device and a second device, wherein the first initial message includes at least first key exchange information for encrypting the first encrypted handshaking procedure;
store a copy of the first initial message of the first encrypted handshaking procedure;
send a second initial message of a second encrypted handshaking procedure to the second device for a second secure communication session between the apparatus and the second device, wherein the second initial message includes second key exchange information for encrypting the second encrypted handshaking procedure; and
determine, based on the second encrypted handshaking procedure, whether to remain engaged between the first device and the second device during the first secure communication session, or to disengage such that inspection of communication traffic during the first secure communication session is not to be performed.

### Claim 17 (depends on 16)

The non-transitory computer readable tangible storage media of claim 16, upon determining to remain engaged between the first device and the second device, the instructions further cause the processor to:
maintain the second secure communication session between the apparatus and the second device; and
send a response to the first initial message of the first encrypted handshaking procedure to the first device to establish the first secure communication session between the first device and the apparatus; and
examine communication traffic between the first device and the second device.

### Claim 18 (depends on 16)

The non-transitory computer readable tangible storage media of claim 16, upon determining to disengage between the first device and the second device, the instructions further cause the processor to:
send a reset request to the second device;
forward the copy of the first initial message of the first encrypted handshaking procedure to the second device, wherein the copy of the first initial message includes the first key exchange information for encrypting the first handshaking procedure; and
pass a response from the second device to the first device to establish the first secure communication session between the first device and the second device without examination of communication traffic.

### Claim 19 (depends on 18)

The non-transitory computer readable tangible storage media of claim 18, wherein the instructions further cause the processor to disengage from the first secure communication session between the first device and the second device without resetting the first encrypted handshaking procedure at the first device.

### Claim 20 (depends on 16)

The non-transitory computer readable tangible storage media of claim 16, wherein the instructions further cause the processor to:
determine that the first device is attempting to resume a previous secure communication session between the first device and the second device based on intercepting the first initial message that includes information associated with a previous encrypted handshaking procedure; and
determine whether previous session credentials are stored at the apparatus.
