# US 2022/0046024 A1 · Tls policy enforcement at a tunnel gateway

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

- Number: US 2022/0046024 A1
- Document ID: US20220046024A1
- Status: Published application
- Kind: A1
- Application number: 17/452,854
- Filed: 2021-10-29
- Published: 2022-02-10
- Earliest claimed: 2019-04-16
- Assignees: VMware, Inc.
- Applicants: VMware, Inc.
- Inventors: SANJAY PATIL; CRAIG FARLEY NEWELL; LEUNG TAO KWOK; AMIT KUMAR YADAV
- Web page: https://patentgrep.com/patent/US20220046024A1

## CPC

- H04L 63/102: {Entity profiles}
- G06F 21/31: User authentication
- H04L 63/0272: {Virtual private networks}
- H04L 63/029: {Firewall traversal, e.g. tunnelling or, creating pinholes}
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- 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 63/101: {Access control lists [ACL]}
- H04L 63/104: {Grouping of entities}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed are various approaches for verifying the compliance of a TLS session with TLs policies. Traffic between an application and a destination server can be routed through a TLS gateway. The TLS gateway can inspect TLS handshake messages for compliance with TLS policies.

## Claims

### Claim 1

A system for authenticating a user and determining a device posture during authentication, comprising:
at least one computing device comprising a processor and a memory; and
a tunnel gateway executed by the at least one computing device, the tunnel gateway causing the at least one computing device to at least:
obtain a transport layer security (TLS) client hello message according to a TLS handshake over a virtual private network (VPN) tunnel established between a client device and the tunnel gateway, the TLS client hello message comprising a connection attempt between a destination server and the client device;
identify an aspect of the connection attempt based upon the TLS handshake,
wherein the TLS client hello message originates from an application installed on the client device and routed to the tunnel gateway using a per-application VPN capability of an operating system of the client device;
identify the application based upon data embedded into the TLS client hello message by the per-application VPN capability;
identify a TLS policy corresponding to the application; and
terminate the connection attempt between the client device and the destination server in response to determining that the aspect of the TLS handshake violates the TLS policy.

### Claim 2

The system of claim Error! Bookmark not defined., wherein the connection attempt between the client device and the destination server is terminated by the tunnel gateway in response to a server name indication (SNI) or a TLS version specified by the TLS client hello message comprising an unapproved value for the identified application.

### Claim 3

The system of claim Error! Bookmark not defined., wherein the connection attempt between the client device and the destination server is terminated in response to detecting an aspect of a TLS server hello message sent by the destination server to the client device through the tunnel gateway.

### Claim 4

The system of claim Error! Bookmark not defined., wherein the tunnel gateway causes the at least one computing device to at least terminate the connection attempt in response to a cipher suite specified by the TLS server hello message comprising an unapproved cipher suite, wherein at least one approved cipher suite is associated with the application in the tunnel gateway.

### Claim 5

The system of claim Error! Bookmark not defined., wherein the tunnel gateway causes the at least one computing device to identify a pinned certificate associated with the destination server in the tunnel gateway, and the tunnel gateway terminates the connection attempt in response to a certificate provided by the destination server being different from the pinned certificate.

### Claim 6

The system of claim Error! Bookmark not defined., wherein the tunnel gateway causes at least one computing device to at least terminate the connection attempt in response to the certificate provided by the destination server being signed by an unapproved certificate authority.

### Claim 7

The system of claim Error! Bookmark not defined., wherein the tunnel gateway causes at least one computing device to at least cause a push notification to be transmitted to the client device in response to terminating the connection attempt, the push notification comprising a message indicating that the connection attempt has been terminated.

### Claim 8

A method comprising:
obtaining a transport layer security (TLS) client hello message according to a TLS handshake over a virtual private network (VPN) tunnel established between a client device and a tunnel gateway, the TLS client hello message comprising a connection attempt between a destination server and the client device;
identifying a property of the connection attempt based upon the TLS handshake, wherein the TLS client hello message originates from an application installed on the client device and routed to the tunnel gateway using a per-application VPN capability of an operating system of the client device;
identifying the application based upon data embedded into the TLS client hello message by the per-application VPN capability;
identifying a TLS policy corresponding to the application; and
terminating the connection attempt between the client device and the destination server in response to determining that an aspect of the TLS handshake violates the TLS policy.

### Claim 9

The method of claim Error! Bookmark not defined., wherein the connection attempt between the client device and the destination server is terminated by the tunnel gateway in response to a server name indication (SNI) or a TLS version specified by the TLS client hello message comprising an unapproved value for the identified application.

### Claim 10

The method of claim Error! Bookmark not defined., wherein the connection attempt between the client device and the destination server is terminated in response to detecting an aspect of a TLS server hello message sent by the destination server to the client device through the tunnel gateway.

### Claim 11

The method of claim Error! Bookmark not defined., wherein the connection attempt is terminated in response to a cipher suite specified by the TLS server hello message comprising an unapproved cipher suite, wherein at least one approved cipher suite is associated with the application in the tunnel gateway.

### Claim 12

The method of claim Error! Bookmark not defined., further comprising identifying a pinned certificate associated with the destination server in the tunnel gateway, wherein the connection attempt is terminated in response to a certificate provided by the destination server being different from the pinned certificate.

### Claim 13

The method of claim Error! Bookmark not defined., wherein the connection attempt is terminated in response to the certificate provided by the destination server being signed by an unapproved certificate authority.

### Claim 14

The method of claim Error! Bookmark not defined., further comprising causing a push notification to be transmitted to the client device in response to terminating the connection attempt, the push notification comprising a message indicating that the connection attempt has been terminated.

### Claim 15

The method of claim Error! Bookmark not defined., wherein the indication of whether the authentication request has been authenticated is generated by the client device without requiring an additional credential to be entered by the user.

### Claim 16

A non-transitory computer-readable medium comprising executable instructions implementing a tunnel gateway, the instructions, when executed, causing at least one computing device to at least:
obtain a transport layer security (TLS) client hello message according to a TLS handshake over a virtual private network (VPN) tunnel established between a client device and the tunnel gateway, the TLS client hello message comprising a connection attempt between a destination server and the client device;
identify an aspect of the connection attempt based upon the TLS handshake, wherein the TLS client hello message originates from an application installed on the client device and routed to the tunnel gateway using a per-application VPN capability of an operating system of the client device;
identify the application based upon data embedded into the TLS client hello message by the per-application VPN capability;
identify a TLS policy corresponding to the application; and
terminate the connection attempt between the client device and the destination server in response to determining that the aspect of the TLS handshake violates the TLS policy.

### Claim 17

The non-transitory computer readable medium of claim Error! Bookmark not defined., wherein the connection attempt between the client device and the destination server is terminated by the tunnel gateway in response to a server name indication (SNI) or a TLS version specified by the TLS client hello message comprising an unapproved value for the identified application.

### Claim 18

The non-transitory computer readable medium of claim Error! Bookmark not defined., wherein the connection attempt between the client device and the destination server is terminated in response to detecting an aspect of a TLS server hello message sent by the destination server to the client device through the tunnel gateway.

### Claim 19

The non-transitory computer readable medium of claim Error! Bookmark not defined., wherein the tunnel gateway causes the at least one computing device to identify a pinned certificate associated with the destination server in the tunnel gateway, and the tunnel gateway terminates the connection attempt in response to a certificate provided by the destination server being different from the pinned certificate.

### Claim 20

The non-transitory computer readable medium of claim Error! Bookmark not defined., wherein the tunnel gateway causes at least one computing device to at least cause a push notification to be transmitted to the client device in response to terminating the connection attempt, the push notification comprising a message indicating that the connection attempt has been terminated.
