Encrypted Traffic Classification Using TLS Session Latency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing cybersecurity solutions struggle to distinguish between normal encrypted network traffic and Transport Layer Security (TLS)-based virtual private network (VPN) traffic, which can be exploited by cybercriminals to conceal their activities and bypass security measures.

Innovation Solution

A system and method utilizing machine learning (ML) models, specifically Extreme Gradient Boosting (XGBoost) or Artificial Neural Networks (ANN), to classify network sessions based on latency calculations of IP packets, enabling accurate differentiation between normal encrypted traffic and TLS-based VPN traffic.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If encryption is used to protect sensitive data and provide online privacy, then data confidentiality and integrity are improved, but the ability to detect and classify malicious network traffic deteriorates

Engineering Contradiction:
Improvedata confidentialityVSAvoidmalicious traffic detection
Core Design Contradiction:
ReliabilityVSDifficulty of detecting and measuring

Solution Approach 1:

The system performs preliminary classification of network traffic during the connection establishment phase, analyzing latency patterns and packet timing before the actual data transmission occurs. This allows the system to identify and block malicious connections before they can transmit encrypted data, resolving the contradiction by maintaining confidentiality while enabling detection through early-stage analysis.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary classification system that analyzes metadata and latency characteristics of encrypted traffic without decrypting the actual content. This intermediary layer enables detection of malicious patterns while preserving data confidentiality, as it operates on timing and structural features rather than the encrypted payload itself.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Loss of information

If VPN traffic is used to provide privacy and anonymity, then user privacy is improved, but the ability to distinguish legitimate VPN traffic from malicious encrypted traffic deteriorates

Engineering Contradiction:
Improveuser privacyVSAvoidtraffic classification accuracy
Core Design Contradiction:
Loss of informationVSMeasurement precision

Solution Approach 1:

The system applies different analysis methods to different phases of network communication. During the connection establishment phase, it analyzes latency and timing patterns with high precision to classify traffic type. During active data transmission, it preserves privacy by not analyzing content. This local differentiation resolves the contradiction by achieving precise classification where needed while maintaining privacy where appropriate.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent performs partial classification by analyzing only specific characteristics (latency, packet timing, connection establishment patterns) rather than attempting to analyze all aspects of encrypted traffic. This partial action enables sufficient discrimination between VPN and malicious traffic while avoiding the need to decrypt or fully analyze the encrypted payload, thus preserving user privacy.

Inventive Principle:
Principle #16Partial or excessive action

3Measurement precision

If machine learning models are used to classify network traffic, then classification accuracy is improved, but computational resource consumption increases

Engineering Contradiction:
Improveclassification accuracyVSAvoidcomputational resource consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The system segments the traffic analysis into distinct phases: connection establishment phase and data transmission phase. During connection establishment, it uses lightweight machine learning models to classify traffic based on latency patterns. During data transmission, it reduces computational activity. This segmentation resolves the contradiction by applying computational intensity only where classification is most critical and feasible.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies machine learning partially, focusing only on analyzing latency and timing characteristics during connection establishment rather than continuously analyzing all traffic. This partial application of ML provides sufficient classification accuracy for distinguishing VPN from malicious traffic while significantly reducing computational resource consumption compared to continuous full-depth analysis.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS12609918B2System and method for classification of normal encrypted network traffic and Transport Layer Security (TLS)-based virtual private network traffic
Publication Date: 2026.04.21 VEHERE TECHNOLOGIES PTE LTD
  • US12609918B2 patent drawing
  • US12609918B2 patent drawing
  • US12609918B2 patent drawing

AI summary

A system for classifying network traffic retrieves first packet data from a network session between a client device and server. The first packet data includes a first set of Internet Protocol (IP) packets and timestamps, and calculates a first latency between: (i) a first timestamp of a first IP packet for initiating an encrypted connection, and (ii) a second timestamp of a second IP packet for acknowledging receipt of an IP packet. The system calculates a second latency between the first timestamp and a third timestamp of a third IP packet for establishing a connection. The system calculates a third latency between a third timestamp and a fourth timestamp of a fourth IP packet for accessing application data. The system also provides as input to machine learning model, the first, second, and third latencies, and generates and transmits an alert based upon an output of the machine learning model.