AI-Enhanced Deep Packet Inspection: A Layered Rule and Learning Framework for Encrypted Traffic Analysis

Uncategorized

Authors: Prem Pradip Dheringe, Prof. Shraddha Date

Abstract: Deep Packet Inspection (DPI) examines packet headers and payloads to identify applications and detect threats. Traditional DPI relies on fixed signatures and protocol parsers, which fail when the payload is encrypted and when new attacks appear that have no signature yet. Machine Learning (ML) and Deep Learning (DL) address this gap by learning the behaviour of traffic, such as packet sizes, timing, direction and handshake metadata, instead of reading the hidden content. However, learning-based systems are often heavy for line-rate links, hard to explain, sensitive to dataset ageing and a concern for user privacy. This paper reviews fifteen representative works on rule-based and learning-based traffic inspection, identifies five open challenges (encryption, speed, explainability, concept drift and data quality), and describes a layered AI-enhanced DPI framework that combines a fast signature path, a learning engine made of a classifier and an anomaly detector, a decision engine with a human-review band, and an analyst feedback loop for retraining. The framework is evaluated with Accuracy, Precision, Recall, F1-score, throughput and latency. Published results of the surveyed works show that behaviour-based models can identify applications and attacks in encrypted traffic without decryption.

DOI: https://doi.org/10.5281/zenodo.24714889

× How can I help you?