Analyzing encrypted traffic behavior using contextual traffic data

US11936683B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11936683-B2
Application numberUS-202217873544-A
CountryUS
Kind codeB2
Filing dateJul 26, 2022
Priority dateOct 6, 2016
Publication dateMar 19, 2024
Grant dateMar 19, 2024

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

In one embodiment, a device in a network detects an encrypted traffic flow associated with a client in the network. The device captures contextual traffic data regarding the encrypted traffic flow from one or more unencrypted packets associated with the client. The device performs a classification of the encrypted traffic flow by using the contextual traffic data as input to a machine learning-based classifier. The device generates an alert based on the classification of the encrypted traffic flow.

First claim

Opening claim text (preview).

What is claimed is: 1. A method, comprising: detecting, at a device in a network, an encrypted traffic flow comprising one or more encrypted packets sent by a client in the network; selecting, at the device, one or more additional packets sent by the client from which to capture contextual traffic data for the encrypted traffic flow; capturing, by the device, the contextual traffic data for the encrypted traffic flow from the one or more additional packets sent by the client; performing, by the device, a classification of the encrypted traffic flow by using the contextual traffic data as input to a machine learning-based classifier; and generating, by the device, an alert based on the classification of the encrypted traffic flow, wherein selection of the one or more additional packets sent by the client from which to capture the contextual traffic data is based on the one or more additional packets being: 1) included in a predefined fixed-size set of packets sent sequentially before or after a request packet of the encrypted traffic flow, 2) sent by the client within a predefined timespan of the request packet of the encrypted traffic flow, or 3) associated with a predefined micro-activity performed by the client. 2. The method as in claim 1 , wherein the machine learning-based classifier is trained using sample contextual traffic data for encrypted traffic flows that are known to be either benign or malicious. 3. The method as in claim 1 , wherein the encrypted traffic flow comprises one or more HTTP Secure (HTTPS) packets. 4. The method as in claim 1 , wherein the predefined fixed-size set of packets defines a fixed number of requests issued by the client sequentially before or after a request packet of the encrypted traffic flow. 5. The method as in claim 1 , wherein the predefined timespan defines a window within which the request packet of the encrypted traffic flow and at least one other request packet are issued by the client. 6. The method as in claim 1 , wherein the predefined micro-activity represents an activity performed by a user of the client. 7. The method as in claim 1 , wherein capturing the contextual traffic data for the encrypted traffic flow comprises: extracting, by the device, header information from the one or more additional packets sent by the client; and constructing, by the device, a feature vector for input to the machine learning-based classifier based on the header information that is extracted. 8. The method as in claim 7 , wherein the header information is extracted from one or more of: a content-type header field, a user-agent header field, an accept-language header field, a server header field, or a status-code header field. 9. The method as in claim 1 , wherein capturing the contextual traffic data for the encrypted traffic flow comprises: analyzing, by the device, the encrypted traffic flow to infer header field values of the encrypted traffic flow using a machine learning-based model. 10. An apparatus, comprising: one or more network interfaces to communicate with a network; a processor coupled to the one or more network interfaces and configured to execute one or more processes; and a memory configured to store a process that is executable by the processor, the process when executed operable to: detect an encrypted traffic flow comprising one or more encrypted packets sent by a client in the network; select one or more additional packets sent by the client from which to capture contextual traffic data for the encrypted traffic flow; capture the contextual traffic data for the encrypted traffic flow from the one or more additional packets sent by the client; perform a classification of the encrypted traffic flow by using the contextual traffic data as input to a machine learning-based classifier; and generate an alert based on the classification of the encrypted traffic flow, wherein selection of the one or more additional packets sent by the client from which to capture the contextual traffic data is based on the one or more additional packets being: 1) included in a predefined fixed-size set of packets sent sequentially before or after a request packet of the encrypted traffic flow, 2) sent by the client within a predefined timespan of the request packet of the encrypted traffic flow, or 3) associated with a predefined micro-activity performed by the client. 11. The apparatus as in claim 10 , wherein the machine learning-based classifier is trained using sample contextual traffic data for encrypted traffic flows that are known to be either benign or malicious. 12. The apparatus as in claim 10 , wherein the encrypted traffic flow comprises one or more HTTP Secure (HTTPS) packets. 13. The apparatus as in claim 10 , wherein the predefined fixed-size set of packets defines a fixed number of requests issued by the client sequentially before or after a request packet of the encrypted traffic flow. 14. The apparatus as in claim 10 , wherein the predefined timespan defines a window within which the request packet of the encrypted traffic flow and at least one other request packet are issued by the client. 15. The apparatus as in claim 10 , wherein the predefined micro-activity represents an activity performed by a user of the client. 16. The apparatus as in claim 10 , wherein the apparatus captures the contextual traffic data for the encrypted traffic flow by: extracting header information from the one or more additional packets sent by the client; and constructing a feature vector for input to the machine learning-based classifier based on the header information that is extracted. 17. The apparatus as in claim 16 , wherein the header information is extracted from one or more of: a content-type header field, a user-agent header field, an accept-language header field, a server header field, or a status-code header field. 18. The apparatus as in claim 10 , wherein the apparatus captures the contextual traffic data for the encrypted traffic flow by: analyzing the encrypted traffic flow to infer header field values of the encrypted traffic flow using a machine learning-based model. 19. A tangible, non-transitory, computer-readable medium that stores program instructions that cause a device in a network to execute a process comprising: detecting, at the device, an encrypted traffic flow comprising one or more encrypted packets sent by a client in the network; selecting, at the device, one or more additional packets sent by the client from which to capture contextual traffic data for the encrypted traffic flow; capturing, by the device, the contextual traffic data for the encrypted traffic flow from the one or more additional packets sent by the client; performing, by the device, a classification of the encrypted traffic flow by using the contextual traffic data as input to a machine learning-based classifier; and generating, by the device, an alert based on the classification of the encrypted traffic flow, wherein selection of the one or more additional packets sent by the client from which to capture the contextual traffic data is based on the one or more additional packets being: 1) included in a predefined fixed-size set of packets sent sequentially before or after a request packet of the encrypted traffic flow, 2) sent by the client within a predefined timespan of the request packet of the encrypted traffic flow, or 3) associated with a predefined micro-activity performed by the client. 20. The tangible, non-transitory, computer-readable medium as in cla

Assignees

Inventors

Classifications

  • Countermeasures against malicious traffic (countermeasures against attacks on cryptographic mechanisms H04L9/002) · CPC title

  • G06N20/00Primary

    Machine learning · CPC title

  • Additional information in the notification, e.g. enhancement of specific meta-data · CPC title

  • relying on flow classification, e.g. using integrated services [IntServ] · CPC title

  • wherein the data content is protected, e.g. by encrypting or encapsulating the payload · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11936683B2 cover?
In one embodiment, a device in a network detects an encrypted traffic flow associated with a client in the network. The device captures contextual traffic data regarding the encrypted traffic flow from one or more unencrypted packets associated with the client. The device performs a classification of the encrypted traffic flow by using the contextual traffic data as input to a machine learning-…
Who is the assignee on this patent?
Cisco Tech Inc
What technology area does this patent fall under?
Primary CPC classification H04L63/1441. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Mar 19 2024 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 7 related publications on this page (citations in our corpus or others sharing the same primary CPC).