# US 2022/0191171 A1 · Methods and Systems for Efficient Encrypted SNI filtering for Cybersecurity Applications

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

- Number: US 2022/0191171 A1
- Document ID: US20220191171A1
- Status: Published application
- Kind: A1
- Application number: 17/688,108
- Filed: 2022-03-07
- Published: 2022-06-16
- Earliest claimed: 2020-07-14
- Assignees: Centripetal Networks, Inc.
- Applicants: Centripetal Networks, Inc.
- Inventors: Sean Moore; Vincent Mutolo; Jonathan R. Rogers
- Web page: https://patentgrep.com/patent/US20220191171A1

## CPC

- H04L 63/0236: {Filtering by address, protocol, port number or service, e.g. IP-address or URL}
- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- H04L 61/4511: using domain name system [DNS]
- H04L 63/0227: {Filtering policies (mail message filtering H04L51/212)}
- H04L 63/0281: {Proxies}
- H04L 63/0414: {during transmission, i.e. party's identity is protected against eavesdropping, e.g. by using temporary identifiers, but is known to the other party or parties involved in the communication}
- H04L 63/205: {involving negotiation or determination of the one or more network security mechanisms to be used, e.g. by negotiation between the client and the server or between peers or by selection according to the capabilities of the entities involved (negotiation of communication capabilities H04L69/24)}
- H04L 63/306: {intercepting packet switched data communications, e.g. Web, Internet or IMS communications}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A packet-filtering system described herein may be configured to filter packets with encrypted hostnames in accordance with one or packet-filtering rules. The packet-filtering system may resolve a plaintext hostname from ciphertext comprising an encrypted Server Name Indication (eSNI) value. The packet-filtering system may resolve the plaintext hostname using a plurality of techniques. Once the plaintext hostname is resolved, the packet-filtering system may then use the plaintext hostname to determine whether the packets are associated with one or more threat indicators. If the packet-filtering system determines that the packets are associated with one or more threat indicators, the packet-filtering system may apply a packet filtering operation associated with the packet-filtering rules to the packets.

## Claims

### Claim 1

A method comprising:
receiving, by a packet filtering device and from a server external to a network protected by the packet filtering device, a security policy, wherein the security policy comprises a plurality of packet-filtering rules based on one or more indicators received from one or more intelligence providers;
receiving, from a first device, a plurality of packets, wherein the plurality of packets comprises a first message for establishing a secure communication channel and comprising an encrypted server name indication (eSNI) value;
determining, based on a determination that the plurality of packets comprises the eSNI value, a destination network address associated with the plurality of packets;
querying, using the destination network address, a data structure to determine a plaintext hostname corresponding to the eSNI value, wherein the data structure comprises one or more hostnames and corresponding network addresses;
receiving, based on the querying the data structure, a response indicating a plurality of plaintext hostnames associated with the destination network address;
determining a first plaintext hostname, of the plurality of plaintext hostnames, based on records indicating one or more prior domain name service (DNS) queries associated with the first device;
determining whether the first plaintext hostname corresponds to at least one of the one or more indicators; and
applying, to the plurality of packets and based on a determination that the first plaintext hostname corresponds to at least one of the one or more indicators, a packet filtering operation specified by one or more of the plurality of packet-filtering rules corresponding to the at least one of the one or more indicators.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving the one or more DNS queries for resolving the first plaintext hostname; and
creating a record associated with the one or more DNS queries in a second data structure, wherein the record comprises the first plaintext hostname and an internet protocol (IP) address to which the first plaintext hostname resolved.

### Claim 3 (depends on 2)

The method of claim 2, wherein the determining the first plaintext hostname further comprises:
querying the second data structure to determine the recordings indicating one or more prior DNS queries from the first device; and
receiving, based on the querying the second data structure, the record comprising the first plaintext hostname and the IP address to which the first plaintext hostname resolved , wherein the first plaintext hostname is determined to correspond to the eSNI value based on the destination address corresponding to the IP address to which the first plaintext hostname resolved.

### Claim 4 (depends on 3)

The method of claim 3, wherein determining that the first plaintext hostname corresponds to the eSNI value is further based on a time correlation between recording the one or more DNS queries and receiving the plurality of packets.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first message comprises an encrypted ClientHello message.

### Claim 6 (depends on 1)

The method of claim 1, wherein at least two of the one or more intelligence providers are managed by different organizations.

### Claim 7 (depends on 1)

The method of claim 1, wherein the one or more intelligence providers comprise at least one of:
a cyber threat intelligence provider, wherein the one or more indicators provided by the cyber threat intelligence provider comprise one or more threat indicators;
a law enforcement intelligence provider, wherein the one or more indicators provided by the law enforcement intelligence provider comprise one or more network indicators; or
a privacy, protection, and preservation intelligence provider, wherein the one or more indicators provided by the privacy, protection, and preservation intelligence provider comprise one or more network indicators.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
receiving, from a server external to a network protected by the packet filtering device, the data structure.

### Claim 9 (depends on 1)

The method of claim 1, wherein:
the packet filtering device resides at a boundary between a protected network and an unprotected network; and
the packet filtering device interfaces between the protected network and the unprotected network.

### Claim 10

A packet filtering device comprising:
one or more processors; and
memory storing instructions that, when executed by the one or more processors, cause the packet filtering device to:
receive, from a server external to a network protected by the packet filtering device, a security policy, wherein the security policy comprises a plurality of packet-filtering rules based on one or more indicators received from one or more intelligence providers;
receive, from a first device, a plurality of packets, wherein the plurality of packets comprises a first message for establishing a secure communication channel and comprising an encrypted server name indication (eSNI) value;
determine, based on a determination that the plurality of packets comprises the eSNI value, a destination network address associated with the plurality of packets;
query, using the destination network address, a data structure to determine a plaintext hostname corresponding to the eSNI value, wherein the data structure comprises one or more hostnames and corresponding network addresses;
receive, based on the querying the data structure, a response indicating a plurality of plaintext hostnames associated with the destination network address;
determine a first plaintext hostname, of the plurality of plaintext hostnames, based on records indicating one or more prior domain name service (DNS) queries associated with the first device;
determine whether the first plaintext hostname corresponds to at least one of the one or more indicators; and
apply, to the plurality of packets and based on a determination that the first plaintext hostname corresponds to at least one of the one or more indicators, a packet filtering operation specified by one or more of the plurality of packet-filtering rules corresponding to the at least one of the one or more indicators.

### Claim 11 (depends on 10)

The packet filtering device of claim 10, wherein the instructions, when executed by the one or more processors, cause the packet filtering device to:
receive the one or more DNS queries for resolving the first plaintext hostname; and
create a record associated with the one or more DNS queries in a second data structure, wherein the record comprises the first plaintext hostname and an internet protocol (IP) address to which the first plaintext hostname resolved.

### Claim 12 (depends on 11)

The packet filtering device of claim 11, wherein the instructions, when executed by the one or more processors, cause the packet filtering device to:
query the second data structure to determine the recordings indicating one or more prior DNS queries from the first device; and
receive, based on the querying the second data structure, the record comprising the first plaintext hostname and the IP address to which the first plaintext hostname resolved , wherein the first plaintext hostname is determined to correspond to the eSNI value based on the destination address corresponding to the IP address to which the first plaintext hostname resolved.

### Claim 13 (depends on 12)

The packet filtering device of claim 12, wherein determining that the first plaintext hostname corresponds to the eSNI value is further based on a time correlation between recording the one or more DNS queries and receiving the plurality of packets.

### Claim 14 (depends on 10)

The packet filtering device of claim 10, wherein the first message comprises an encrypted ClientHello message.

### Claim 15 (depends on 10)

The packet filtering device of claim 10, wherein at least two of the one or more intelligence providers are managed by different organizations.

### Claim 16 (depends on 10)

The packet filtering device of claim 10, wherein the one or more of intelligence providers comprise at least one of:
a cyber threat intelligence provider, wherein the one or more indicators provided by the cyber threat intelligence provider comprise one or more threat indicators;
a law enforcement intelligence provider, wherein the one or more indicators provided by the law enforcement intelligence provider comprise one or more network indicators; or
a privacy, protection, and preservation intelligence provider, wherein the one or more indicators provided by the privacy, protection, and preservation intelligence provider comprise one or more network indicators.

### Claim 17 (depends on 10)

The packet filtering device of claim 10, wherein the instructions, when executed by the one or more processor, cause the packet filtering device to:
receive, from a server external to a network protected by the packet filtering device, the data structure.

### Claim 18 (depends on 10)

The packet filtering device of claim 10, wherein:
the packet filtering device resides at a boundary between a protected network and an unprotected network; and
the packet filtering device interfaces between the protected network and the unprotected network.

### Claim 19

A non-transitory computer-readable media comprising instructions that, when executed, cause a packet-filtering device to:
receive, from a server external to a network protected by the packet filtering device, a security policy, wherein the security policy comprises a plurality of packet-filtering rules based on one or more indicators received from one or more intelligence providers;
receive, from a first device, a plurality of packets, wherein the plurality of packets comprises a first message for establishing a secure communication channel and comprising an encrypted server name indication (eSNI) value;
determine, based on a determination that the plurality of packets comprises the eSNI value, a destination network address associated with the plurality of packets;
query, using the destination network address, a data structure to determine a plaintext hostname corresponding to the eSNI value, wherein the data structure comprises one or more hostnames and corresponding network addresses;
receive, based on the querying the data structure, a response indicating a plurality of plaintext hostnames associated with the destination network address;
determine a first plaintext hostname, of the plurality of plaintext hostnames, based on records indicating one or more prior domain name service (DNS) queries associated with the first device;
determine whether the first plaintext hostname corresponds to at least one of the one or more indicators; and
apply, to the plurality of packets and based on a determination that the first plaintext hostname corresponds to at least one of the one or more indicators, a packet filtering operation specified by one or more of the plurality of packet-filtering rules corresponding to the at least one of the one or more indicators.

### Claim 20 (depends on 19)

The non-transitory computer-readable media of claim 19, wherein the instructions, when executed, cause the packet filtering device to:
receive the one or more DNS queries for resolving the first plaintext hostname; and
create a record associated with the one or more DNS queries in a second data structure, wherein the record comprises the first plaintext hostname and an internet protocol (IP) address to which the first plaintext hostname resolved.

### Claim 21 (depends on 20)

The non-transitory computer-readable media of claim 20, wherein the instructions, when executed, cause the packet filtering device to:
query the second data structure to determine the recordings indicating one or more prior DNS queries from the first device; and
receive, based on the querying the second data structure, the record comprising the first plaintext hostname and the IP address to which the first plaintext hostname resolved , wherein the first plaintext hostname is determined to correspond to the eSNI value based on the destination address corresponding to the IP address to which the first plaintext hostname resolved.

### Claim 22 (depends on 21)

The non-transitory computer-readable media of claim 21, wherein determining that the first plaintext hostname corresponds to the eSNI value is further based on a time correlation between recording the one or more DNS queries and receiving the plurality of packets.

### Claim 23 (depends on 19)

The non-transitory computer-readable media of claim 19, wherein the first message comprises an encrypted ClientHello message.

### Claim 24 (depends on 19)

The non-transitory computer-readable media of claim 19, wherein at least two of the one or more intelligence providers are managed by different organizations.

### Claim 25 (depends on 19)

The non-transitory computer-readable media of claim 19, wherein the one or more of intelligence providers comprise at least one of:
a cyber threat intelligence provider, wherein the one or more indicators provided by the cyber threat intelligence provider comprise one or more threat indicators;
a law enforcement intelligence provider, wherein the one or more indicators provided by the law enforcement intelligence provider comprise one or more network indicators; or
a privacy, protection, and preservation intelligence provider, wherein the one or more indicators provided by the privacy, protection, and preservation intelligence provider comprise one or more network indicators.

### Claim 26 (depends on 19)

The non-transitory computer-readable media of claim 19, wherein the instructions, when executed, cause the packet filtering device to:
receive, from a server external to a network protected by the packet filtering device, the data structure.

### Claim 27 (depends on 19)

The non-transitory computer-readable media of claim 19, wherein:
the packet filtering device resides at a boundary between a protected network and an unprotected network; and
the packet filtering device interfaces between the protected network and the unprotected network.
