# US 2019/0245866 A1 · Leveraging point inferences on http transactions for https malware detection

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

- Number: US 2019/0245866 A1
- Document ID: US20190245866A1
- Status: Published application
- Kind: A1
- Application number: 15/889,392
- Filed: 2018-02-06
- Published: 2019-08-08
- Earliest claimed: 2018-02-06
- Assignees: Cisco Technology, Inc.
- Applicants: Cisco Technology, Inc.
- Inventors: Blake Harrell Anderson; David McGrew
- Web page: https://patentgrep.com/patent/US20190245866A1

## CPC

- H04L 63/166: {at the transport layer}
- G06N 20/00: Machine learning
- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- H04L 63/145: {the attack involving the propagation of malware through the network, e.g. viruses, trojans or worms}
- H04L 41/14: Network analysis or design
- H04L 63/1441: {Countermeasures against malicious traffic (countermeasures against attacks on cryptographic mechanisms H04L9/002)}
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 69/326: in the transport layer [OSI layer 4] (H04L69/16 takes precedence)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

In one embodiment, a traffic analysis service receives captured traffic data regarding a Transport Layer Security (TLS) connection between a client and a server. The traffic analysis service applies a first machine learning-based classifier to TLS records from the traffic data, to identify a set of the TLS records that include Hypertext Transfer Protocol (HTTP) header information. The traffic analysis service estimates one or more HTTP transaction labels for the connection by applying a second machine learning-based classifier to the identified set of TLS records that include HTTP header information. The traffic analysis service augments the captured traffic data with the one or more HTTP transaction labels. The traffic analysis service causes performance of a network security function based on the augmented traffic data.

## Claims

### Claim 1

A method comprising:
receiving, at a traffic analysis service, captured traffic data regarding a Transport Layer Security (TLS) connection between a client and a server;
applying, by the traffic analysis service, a first machine learning-based classifier to TLS records from the traffic data, to identify a set of the TLS records that include Hypertext Transfer Protocol (HTTP) header information;
estimating, by the traffic analysis service, one or more HTTP transaction labels for the connection by applying a second machine learning-based classifier to the identified set of TLS records that include HTTP header information;
augmenting, by the traffic analysis service, the captured traffic data with the one or more HTTP transaction labels; and
causing, by the traffic analysis service, performance of a network security function based on the augmented traffic data.

### Claim 2 (depends on 1)

The method as in claim 1, wherein causing performance of the network security function comprises:
determining, by the traffic analysis service and based on the augmented traffic data, whether the TLS connection is malware-related, wherein the augmented traffic data comprises captured TLS metadata and data indicative of packet or record lengths from the connection.

### Claim 3 (depends on 1)

The method as in claim 1, wherein the connection between the client and the server uses the Tor protocol.

### Claim 4 (depends on 1)

The method as in claim 1, wherein the client executes a web browser to form the connection.

### Claim 5 (depends on 1)

The method as in claim 1, wherein the one or more HTTP transaction labels is indicative of at least one of: an HTTP method, an HTTP content type, an HTTP status code, or a type associated with the server.

### Claim 6 (depends on 1)

The method as in claim 1, wherein the one or more HTTP transaction labels is indicative of at least one of: a cookie, referer, upgrade-insecure-requests, via, set-cookie, origin, or etag header field.

### Claim 7 (depends on 1)

The method as in claim 1, wherein estimating the one or more HTTP transaction labels for the connection comprises:
iteratively classifying transactions of the connection by classifying a particular one of the transactions based in part on classification results from one or more previously classified transactions of the connection.

### Claim 8 (depends on 1)

The method as in claim 1, wherein the second machine learning-based classifier is a multi-class classifier.

### Claim 9 (depends on 1)

The method as in claim 1, wherein the TLS records remain encrypted during classification by the first and second machine learning-based classifiers.

### Claim 10

An apparatus, comprising:
one or more network interfaces to communicate with a network;
a processor coupled to the network interfaces and configured to execute one or more processes; and
a memory configured to store a process executable by the processor, the process when executed configured to:
receive captured traffic data regarding a Transport Layer Security (TLS) connection between a client and a server;
apply a first machine learning-based classifier to TLS records from the traffic data, to identify a set of the TLS records that include Hypertext Transfer Protocol (HTTP) header information;
estimate one or more HTTP transaction labels for the connection by applying a second machine learning-based classifier to the identified set of TLS records that include HTTP header information;
augment the captured traffic data with the one or more HTTP transaction labels; and
cause performance of a network security function based on the augmented traffic data.

### Claim 11 (depends on 10)

The apparatus as in claim 10, wherein the apparatus causes performance of the network security function by:
determining, based on the augmented traffic data, whether the TLS connection is malware-related, wherein the augmented traffic data comprises captured TLS metadata and data indicative of packet or record lengths from the connection.

### Claim 12 (depends on 10)

The apparatus as in claim 10, wherein the connection between the client and the server uses the Tor protocol.

### Claim 13 (depends on 10)

The apparatus as in claim 10, wherein the client executes a web browser to form the connection.

### Claim 14 (depends on 10)

The apparatus as in claim 10, wherein the one or more HTTP transaction labels is indicative of at least one of: an HTTP method, an HTTP content type, an HTTP status code, or a type associated with the server.

### Claim 15 (depends on 10)

The apparatus as in claim 10, wherein the one or more HTTP transaction labels is indicative of at least one of: a cookie, referer, upgrade-insecure-requests, via, set-cookie, origin, or etag header field.

### Claim 16 (depends on 10)

The apparatus as in claim 10, wherein the apparatus estimates the one or more HTTP transaction labels for the connection by:
iteratively classifying transactions of the connection by classifying a particular one of the transactions based in part on classification results from one or more previously classified transactions of the connection.

### Claim 17 (depends on 10)

The apparatus as in claim 10, wherein the second machine learning-based classifier is a multi-class classifier.

### Claim 18 (depends on 10)

The apparatus as in claim 10, wherein the TLS records remain encrypted during classification by the first and second machine learning-based classifiers.

### Claim 19

A tangible, non-transitory, computer-readable medium storing program instructions that cause a traffic analysis service to execute a process comprising:
receiving, at the traffic analysis service, captured traffic data regarding a Transport Layer Security (TLS) connection between a client and a server;
applying, by the traffic analysis service, a first machine learning-based classifier to TLS records from the traffic data, to identify a set of the TLS records that include Hypertext Transfer Protocol (HTTP) header information;
estimating, by the traffic analysis service, one or more HTTP transaction labels for the connection by applying a second machine learning-based classifier to the identified set of TLS records that include HTTP header information;
augmenting, by the traffic analysis service, the captured traffic data with the one or more HTTP transaction labels; and
causing, by the traffic analysis service, performance of a network security function based on the augmented traffic data.

### Claim 20 (depends on 19)

The computer readable medium as in claim 19, wherein causing performance of the network security function comprises:
determining, by the traffic analysis service and based on the augmented traffic data, whether the TLS connection is malware-related, wherein the augmented traffic data comprises captured TLS metadata and data indicative of packet or record lengths from the connection.
