# US 2020/0007534 A1 · System and method of blocking network connections to resources of forbidden categories

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

- Number: US 2020/0007534 A1
- Document ID: US20200007534A1
- Status: Published application
- Kind: A1
- Application number: 16/360,066
- Filed: 2019-03-21
- Published: 2020-01-02
- Earliest claimed: 2018-06-29
- Assignees: AO Kaspersky Lab
- Applicants: AO Kaspersky Lab
- Inventors: Vladislav I. Ovcharik; Oleg G. Bykov; Natalya S. Sidorova
- Web page: https://patentgrep.com/patent/US20200007534A1

## CPC

- H04L 63/0823: {using certificates (cryptographic mechanisms or cryptographic arrangements for entity authentication involving certificates H04L9/3263)}
- G06F 21/33: using certificates
- G06F 21/554: {involving event detection and direct action}
- G06F 21/57: Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
- H04L 9/3263: {involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements (network architectures or network communication protocols for supporting authentication of entities using certificates in a packet data network H04L63/0823)}
- H04L 9/3268: {using certificate validation, registration, distribution or revocation, e.g. certificate revocation list [CRL]}
- H04L 63/101: {Access control lists [ACL]}
- H04L 63/1416: {Event detection, e.g. attack signature detection}
- H04L 63/1466: {Active attacks involving interception, injection, modification, spoofing of data unit addresses, e.g. hijacking, packet injection or TCP sequence number attacks}
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- 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 herein are systems and methods for blocking network connections to network resources of forbidden categories. In one aspect, an exemplary method comprises, intercepting a certificate when a connection is being established between a client and a server, determining categories of resources to which a connection of the client is forbidden, determining a category of the intercepted certificate, the determination comprising: identifying a resource to which the intercepted certificate corresponds, determining whether the intercepted certificate is unknown, and determining the category of the intercepted certificate based on whether the certificate is unknown, extracting attributes from the intercepted certificate, and blocking the network connection when the determined category of the intercepted certificate is a category of the network resources to which the connection of the client is forbidden, or when the attributes extracted from the intercepted certificate are found to be similar to attributes of forbidden certificates.

## Claims

### Claim 1

A method for blocking network connections to network resources of forbidden categories, the method comprising:
intercepting a certificate when a protected connection is being established between a client and a server;
determining categories of network resources to which a connection of the client is forbidden;
determining a category of the intercepted certificate, the determination of the category of the intercepted certificate comprising: identifying a network resource to which the intercepted certificate corresponds, determining whether the intercepted certificate is unknown or known, and determining the category of the intercepted certificate based on whether the certificate is known or unknown;
extracting attributes from the intercepted certificate; and
blocking the network connection when the determined category of the intercepted certificate is a category of the determined categories of the network resources to which the connection of the client is forbidden, or when the attributes extracted from the intercepted certificate are found to be similar to attributes of forbidden certificates.

### Claim 2 (depends on 1)

The method of claim 1, wherein, when the intercepted certificate is determined as being a known certificate, the determination of the category of the known certificate is based on content of the network resource to which the known certificate corresponds.

### Claim 3 (depends on 1)

The method of claim 1, wherein, when the intercepted certificate is determined as being a known certificate, the determination of the category of the known certificate is determined in accordance with a list of certificates, wherein a given certificate of the list of certificates is assigned a category of an address of a network resource to which the given certificate corresponds.

### Claim 4 (depends on 3)

The method of claim 3, wherein the list of certificates is established by:
storing categories of network resources on a list;
for each category on the list of categories of network resources, storing addresses of network resources assigned to the category; and
for each category on the list of categories of network resources, storing a list of certificates and addresses of network resources corresponding to the list of certificates.

### Claim 5 (depends on 1)

The method claim 1, wherein, when the intercepted certificate is determined as being an unknown certificate, the determination of the category of the unknown certificate comprises:
determining similarities of the unknown certificate to known certificates for which respective categories have been determined; and
assigning, to the unknown certificate, a category of a certificate of a known certificate found as being similar to the unknown certificate based on the similarity determination.

### Claim 6 (depends on 1)

The method of claim 1, wherein the intercepted certificate is determined as being an unknown certificate when content of the identified network resource is a network resource of an unknown category.

### Claim 7 (depends on 1)

The method claim 1, when the intercepted certificate is unknown,
known certificates are represented by clusters containing vectors of attributes of the known certificates,
forbidden certificates are represented by a cluster containing vectors of attributes of the forbidden certificates,
the attributes extracted from the intercepted certificate are transformed into an N-dimensional vector of the intercepted certificate,
distances between the N-dimensional vector of the intercepted certificate and each cluster of the clusters containing vectors of attributes of the known certificates is determined, and
the intercepted certificate is found as being similar to known certificates of a cluster if: the distance between the N-dimensional vector of the intercepted certificate and a center of the cluster is less than a radius of the cluster, or a measure of proximity between the N-dimensional vector and the center of the cluster is less than a threshold value.

### Claim 8

A system for blocking network connections to network resources of forbidden categories, comprising:
at least one processor configured to:
intercept a certificate when a protected connection is being established between a client and a server;
determine categories of network resources to which a connection of the client is forbidden;
determine a category of the intercepted certificate, the determination of the category of the intercepted certificate comprising: identifying a network resource to which the intercepted certificate corresponds, determining whether the intercepted certificate is unknown or known, and determining the category of the intercepted certificate based on whether the certificate is known or unknown;
extract attributes from the intercepted certificate; and
block the network connection when the determined category of the intercepted certificate is a category of the determined categories of the network resources to which the connection of the client is forbidden, or when the attributes extracted from the intercepted certificate are found to be similar to attributes of forbidden certificates.

### Claim 9 (depends on 8)

The system of claim 8, wherein, when the intercepted certificate is determined as being a known certificate, the determination of the category of the known certificate is based on content of the network resource to which the known certificate corresponds.

### Claim 10 (depends on 8)

The system of claim 8, wherein, when the intercepted certificate is determined as being a known certificate, the determination of the category of the known certificate is determined in accordance with a list of certificates, wherein a given certificate of the list of certificates is assigned a category of an address of a network resource to which the given certificate corresponds.

### Claim 11 (depends on 10)

The system of claim 10, wherein the list of certificates is established by:
storing categories of network resources on a list;
for each category on the list of categories of network resources, storing addresses of network resources assigned to the category; and
for each category on the list of categories of network resources, storing a list of certificates and addresses of network resources corresponding to the list of certificates.

### Claim 12 (depends on 8)

The system of claim 8, wherein, when the intercepted certificate is determined as being an unknown certificate, the determination of the category of the unknown certificate comprises:
determining similarities of the unknown certificate to known certificates for which respective categories have been determined; and
assigning, to the unknown certificate, a category of a certificate of a known certificate found as being similar to the unknown certificate based on the similarity determination.

### Claim 13 (depends on 8)

The system of claim 8, wherein the intercepted certificate is determined as being an unknown certificate when content of the identified network resource is a network resource of an unknown category.

### Claim 14 (depends on 8)

The system of claim 8, when the intercepted certificate is unknown,
known certificates are represented by clusters containing vectors of attributes of the known certificates,
forbidden certificates are represented by a cluster containing vectors of attributes of the forbidden certificates,
the attributes extracted from the intercepted certificate are transformed into an N-dimensional vector of the intercepted certificate,
distances between the N-dimensional vector of the intercepted certificate and each cluster of the clusters containing vectors of attributes of the known certificates is determined, and
the intercepted certificate is found as being similar to known certificates of a cluster if: the distance between the N-dimensional vector of the intercepted certificate and a center of the cluster is less than a radius of the cluster, or a measure of proximity between the N-dimensional vector and the center of the cluster is less than a threshold value.

### Claim 15

A non-transitory computer readable medium storing thereon computer executable instructions for blocking network connections to network resources of forbidden categories, including instructions for:
intercepting a certificate when a protected connection is being established between a client and a server;
determining categories of network resources to which a connection of the client is forbidden;
determining a category of the intercepted certificate, the determination of the category of the intercepted certificate comprising: identifying a network resource to which the intercepted certificate corresponds, determining whether the intercepted certificate is unknown or known, and determining the category of the intercepted certificate based on whether the certificate is known or unknown;
extracting attributes from the intercepted certificate; and
blocking the network connection when the determined category of the intercepted certificate is a category of the determined categories of the network resources to which the connection of the client is forbidden, or when the attributes extracted from the intercepted certificate are found to be similar to attributes of forbidden certificates.

### Claim 16 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein, when the intercepted certificate is determined as being a known certificate, the determination of the category of the known certificate is based on content of the network resource to which the known certificate corresponds.

### Claim 17 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein, when the intercepted certificate is determined as being a known certificate, the determination of the category of the known certificate is determined in accordance with a list of certificates, wherein a given certificate of the list of certificates is assigned a category of an address of a network resource to which the given certificate corresponds.

### Claim 18 (depends on 17)

The non-transitory computer readable medium of claim 17, wherein the list of certificates is established by:
storing categories of network resources on a list;
for each category on the list of categories of network resources, storing addresses of network resources assigned to the category; and
for each category on the list of categories of network resources, storing a list of certificates and addresses of network resources corresponding to the list of certificates.

### Claim 19 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein, when the intercepted certificate is determined as being an unknown certificate, the determination of the category of the unknown certificate comprises:
determining similarities of the unknown certificate to known certificates for which respective categories have been determined; and
assigning, to the unknown certificate, a category of a certificate of a known certificate found as being similar to the unknown certificate based on the similarity determination.

### Claim 20 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the intercepted certificate is determined as being an unknown certificate when content of the identified network resource is a network resource of an unknown category.
