# US 2017/0374043 A1 · Intercepting Secure Session upon Receipt of Untrusted Certificate

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

- Number: US 2017/0374043 A1
- Document ID: US20170374043A1
- Status: Published application
- Kind: A1
- Application number: 15/195,812
- Filed: 2016-06-28
- Published: 2017-12-28
- Earliest claimed: 2016-06-28
- Assignees: A10 Networks, Inc.
- Applicants: A10 Networks, Inc.
- Inventors: Ali Golshan; Xuyang Jiang; Yang Yang
- Web page: https://patentgrep.com/patent/US20170374043A1

## CPC

- H04L 63/0471: {applying encryption by an intermediary, e.g. receiving clear information at the intermediary and encrypting the received information at the intermediary before forwarding}
- H04L 9/3268: {using certificate validation, registration, distribution or revocation, e.g. certificate revocation list [CRL]}
- H04L 63/0209: {Architectural arrangements, e.g. perimeter networks or demilitarized zones}
- H04L 63/0272: {Virtual private networks}
- H04L 63/0281: {Proxies}
- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- H04L 63/18: {using different networks or channels, e.g. using out of band channels (cryptographic mechanisms or cryptographic arrangements for key distribution involving distinctive intermediate devices or communication paths H04L9/0827; cryptographic mechanisms or cryptographic arrangements for authentication using a plurality of channels H04L9/3215)}
- H04L 63/0823: {using certificates (cryptographic mechanisms or cryptographic arrangements for entity authentication involving certificates H04L9/3263)}
- H04L 63/1408: {by monitoring network traffic (monitoring network traffic per se H04L43/00)}
- H04L 63/166: {at the transport layer}
- H04L 2209/60: Digital content management, e.g. content distribution
- H04L 2209/76: Proxy, i.e. using intermediary entity to perform cryptographic operations
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for intercepting, by a security gateway, a secure data session comprises the steps of establishing a first secure data session between a client device and a server device, intercepting the first secure data session by the security gateway, establishing a second secure data session between the server device and the security gateway, receiving a first secure session request from the client device, generating a second secure session request based on the first secure session request, receiving a server certificate from the server device, sending the second secure session request to the server device, receiving first secure content from the client device over the first secure data session, creating first encrypted secure content using the first secure content and the server certificate, and sending the first encrypted secure content to the server device over the second secure data session.

## Claims

### Claim 1

A system for intercepting a secure session, the system comprising:
a network module operable to:
intercept a first secure data session, wherein the first secure data session is established between a client device and a server device via a security gateway;
establish a second secure data session between the server device and the security gateway;
receive a first secure session request from the client device over the first secure data session;
receive a server certificate from the server device over the second secure data session, the server certificate being associated with the first secure session request; and
receive first secure content from the client device over the first secure data session; and
a processor module being in operative connection with the network module, wherein the processor module is operable to:
create first encrypted secure content using the first secure content and the server certificate from the server device; and
send or cause sending the first encrypted secure content to the server device over the second secure data session.

### Claim 2 (depends on 1)

The system of claim 1, wherein the processor module is further operable to:
in response to receiving the first secure session request from the client device, generate a second secure session request based on the first secure session request, wherein the second secure session request differs from the first secure session request; and
send or cause sending the second secure session request to the server device over the second secure session.

### Claim 3 (depends on 2)

The system of claim 2, further comprising the server device operable to:
in response to receiving the second secure session request from the security gateway, generate by the server device the server certificate; and
send the server certificate to the security gateway over the second secure session.

### Claim 4 (depends on 2)

The system of claim 2, wherein the processor module is further operable to:
access a server certificate table containing a plurality of security certificates from a data store; and
determine that the server certificate obtained from the server device is untrusted by matching the server certificate against the plurality of security certificates of the security certificate table.

### Claim 5 (depends on 4)

The system of claim 4, wherein the processor module is further operable to:
in response to determining that the server certificate is untrusted, check a security policy; and
determine whether interception of content transferrable using the first secure session or the second secure session is required based on the security policy.

### Claim 6 (depends on 5)

The system of claim 5, wherein the processor module is further operable to:
in response to determining that interception of content transferrable using the first secure session or the second secure session is required, create a gateway certificate based on the server certificate.

### Claim 7 (depends on 6)

The system of claim 6, wherein the processor module is further operable to:
copy the server certificate to the gateway certificate;
replace a server security key with a gateway security key, wherein the gateway security key is untrusted with respect to the client device; and
sign the gateway certificate using the gateway key.

### Claim 8 (depends on 7)

The system of claim 7, wherein the processor module is further operable to:
in response to the creating of the gateway certificate, send by the security gateway the gateway certificate to the client device in a packet, wherein the packet is a response to the first secure session request.

### Claim 9 (depends on 8)

The system of claim 8, wherein the processor module is further operable to:
receive second secure content from the server device over the second secure data session;
create second encrypted secure content using the second secure content and a gateway certificate; and
send the second encrypted secure content to the client device over the first secure data session.

### Claim 10

A method for intercepting a secure session, the method comprising:
establishing a first secure data session between a client device and a server device via a security gateway;
intercepting the first secure data session by the security gateway;
establishing, by the security gateway, a second secure data session between the server device and the security gateway;
receiving, by the security gateway, a first secure session request from the client device over the first secure data session;
receiving, by the security gateway, a server certificate from the server device over the second secure data session, the server certificate being associated with the first secure session request;
receiving, by the security gateway, first secure content from the client device over the first secure data session;
creating, by the security gateway, first encrypted secure content using the first secure content and the server certificate from the server device; and
sending, by the security gateway, the first encrypted secure content to the server device over the second secure data session.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
in response to receiving the first secure session request from the client device, generating by the security gateway, a second secure session request based on the first secure session request, wherein the second secure session request differs from the first secure session request; and
sending by the security gateway the second secure session request to the server device over the second secure session.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
in response to receiving the second secure session request from the security gateway, generating, by the server device, the server certificate; and
sending, by the server device, the server certificate to the security gateway over the second secure session.

### Claim 13 (depends on 11)

The method of claim 11, further comprising:
accessing, by the security gateway, a server certificate table containing a plurality of security certificates from a data store; and
determining, by the security gateway, that the server certificate obtained from the server device is untrusted by matching the server certificate against the plurality of security certificates of the security certificate table.

### Claim 14 (depends on 13)

The method of claim 13, further comprising:
in response to determining that the server certificate is untrusted, checking by the security gateway a security policy; and
determining whether interception of content transferrable using the first secure session or the second secure session is required.

### Claim 15 (depends on 14)

The method of claim 14, further comprising:
in response to determining that interception of content transferrable using the first secure session or the second secure session is required, creating by the security gateway a gateway certificate, wherein gateway certificate is created based on the server certificate.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
copying by the security gateway the server certificate to the gateway certificate;
replacing by the security gateway a server security key with a gateway security key, wherein the gateway security key is untrusted with respect to the client device; and
signing, by the security gateway, the gateway certificate using the gateway key.

### Claim 17 (depends on 15)

The method of claim 15, wherein further comprising:
in response to the creating of the gateway certificate, sending by the security gateway the gateway certificate to the client device in a packet, which is a response to the first secure session request.

### Claim 18 (depends on 17)

The method of claim 17, further comprising:
determining by the client device that the gateway certificate is untrusted; and
if it is determined by the client device that the gateway certificate is untrusted, using the first secure data session to transmit secure data from the client device to the server device.

### Claim 19 (depends on 19)

The method of claim 19, further comprising:
receiving, by the security gateway, second secure content from the server device over the second secure data session;
creating, by the security gateway, second encrypted secure content using the second secure content and a gateway certificate; and
sending, by the security gateway, the second encrypted secure content to the client device over the first secure data session.

### Claim 20

A non-transitory processor-readable medium having instructions stored thereon, which when executed by one or more processors, cause the one or more processors to implement a method for intercepting a secure session, the method comprising:
enabling to establish a first secure data session between a client device and a server device via a security gateway;
intercepting the first secure data session by the security gateway;
establishing, by the security gateway, a second secure data session between the server device and the security gateway;
receiving, by the security gateway, a first secure session request from the client device over the first secure data session;
receiving, by the security gateway, a server certificate from the server device over the second secure data session, the server certificate being associated with the first secure session request;
receiving, by the security gateway, first secure content from the client device over the first secure data session;
creating, by the security gateway, first encrypted secure content using the first secure content and the server certificate from the server device; and
sending, by the security gateway, the first encrypted secure content to the server device over the second secure data session.
