Semi-supervised Labeling for Encrypted Network Traffic Classification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional methods are inadequate for effectively classifying and managing encrypted network traffic, as encryption renders traditional inspection techniques useless for distinguishing legitimate from illegitimate traffic, hindering cyber threat detection and network security.

Innovation Solution

A method and system utilizing a hardware processor to label and classify encrypted network traffic through a semi-supervised learning model, employing filtering, clustering, and co-training with machine-learning and deep-learning models to identify patterns in packet-size parameters and time-domain packet-arrival patterns.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional inspection methods are used on network traffic, then the process is simple and fast, but the methods become useless for distinguishing legitimate from illegitimate traffic when encryption is applied

Engineering Contradiction:
Improvetraffic classification accuracyVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces an intermediary labeling system that bridges the gap between encrypted traffic and classification capabilities. Instead of directly inspecting encrypted content, the system uses intermediary labelers (DPI-based, rule-based, pattern-based, and machine-learning-based) to generate labels from observable traffic characteristics. These labels serve as a mediator that enables downstream classification without requiring decryption or direct content inspection.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent replaces conventional mechanical inspection methods (deep packet inspection, content analysis) with data-driven machine learning models. The system substitutes traditional rule-based filtering with trained classifiers that learn patterns from labeled training data, enabling accurate classification of encrypted traffic based on statistical features rather than direct content examination.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Measurement precision

If more training data is collected to improve model accuracy, then classification precision improves, but the time and computational resources required increase

Engineering Contradiction:
Improveclassification precisionVSAvoidtraining time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent performs preliminary actions by pre-collecting and pre-labeling training data before the actual classification task. Multiple labelers operate in advance to generate comprehensive labeled training datasets, which are then used to train classification models. This preliminary labeling phase separates data preparation from the time-critical classification operation, allowing models to be trained offline and deployed for rapid real-time classification.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system employs multiple labelers (DPI-based, rule-based, pattern-based, and machine-learning-based) that may produce redundant or overlapping labels. This excessive labeling approach ensures comprehensive coverage and high-confidence labels, with the understanding that some redundancy is acceptable to achieve high classification precision. The system processes more data and performs more labeling operations than strictly minimal requirements to ensure robust model training.

Inventive Principle:
Principle #16Partial or excessive action

3Loss of information

If traditional deep packet inspection is used to classify traffic, then the classification can be based on content, but the method becomes ineffective when traffic is encrypted

Engineering Contradiction:
Improvetraffic content visibilityVSAvoidencrypted traffic analysis difficulty
Core Design Contradiction:
Loss of informationVSDifficulty of detecting and measuring

Solution Approach 1:

The patent introduces intermediary labelers that extract meaningful information from encrypted traffic without requiring decryption. These labelers use observable characteristics (packet sizes, timing patterns, flow statistics) as intermediaries to infer traffic type and generate labels, bridging the gap between encrypted content and classification requirements.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system replaces mechanical deep packet inspection with data-driven approaches that analyze statistical features and patterns. Instead of attempting to read encrypted content, the system uses machine learning models trained on labeled data to classify traffic based on observable characteristics, substituting content-based inspection with pattern recognition.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

4Reliability

If a comprehensive labeling system with multiple labelers is implemented, then labeling accuracy improves, but the system complexity and processing overhead increase

Engineering Contradiction:
Improvelabeling accuracyVSAvoidlabeling system complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments the labeling function into multiple independent, specialized labelers (DPI-based, rule-based, pattern-based, and machine-learning-based). Each labeler handles specific aspects of traffic analysis with dedicated algorithms, making the overall system more manageable and maintainable. This segmentation allows each component to be optimized independently while working together to achieve comprehensive and accurate labeling.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20240356813A1Machine learning labeling of encrypted network traffic
Publication Date: 2024.10.24 SOLANA NETWORKS
  • US20240356813A1 patent drawing
  • US20240356813A1 patent drawing
  • US20240356813A1 patent drawing

AI summary

A system for labelling and classification of encrypted network traffic is disclosed. The system employs a Labeler, having a semi-supervised machine learning module for semi-automated labeling of encrypted network traffic, with an initial involvement of a human-in-the-loop intelligence for rapid training of the Labeler. The Labeler produces a labeled training set of encrypted network traffic flows. The system further includes a Modeler having a genetic algorithm module, for automatically selecting a list of network traffic features for further use in real-time classification of the encrypted network traffic, and outputting a corresponding classification model. The system further includes a Classifier for real-time classification of the encrypted network traffic using the classification model. Corresponding methods for labeling and classifying the encrypted network traffic are also provided.