A Large Language Model-Based Conceptual Framework for Intrusion Detection in Encrypted TLS and QUIC Traffic

A Large Language Model-Based Conceptual Framework for Intrusion Detection in Encrypted TLS and QUIC Traffic

shaghayegh abedin maghanaki1 javad mohammadzadeh2

1) M.Sc. Student in Information Technology Engineering, E-Commerce Specialization, Science and Research Branch, Islamic Azad University, Tehran, Iran Email:
2) Associate Professor, Department of Computer Engineering, Karaj Branch, Islamic Azad University, Karaj, Iran Email:

IOI Code : AAHD-ABFHDF
Publication : National Conference on Information Technology, Nanotechnology, Artificial Intelligence and Technological Futures Studies(itnaf.ir)
Abstract :
    The increasing use of modern encrypted protocols, particularly Transport Layer Security version 1.3 (TLS 1.3) and QUIC, has posed serious challenges to traditional approaches for network traffic monitoring and analysis. In these protocols, a substantial portion of communication content and even some control information is hidden from direct inspection; consequently, methods relying on Deep Packet Inspection (DPI) and clear-text content analysis lose their former effectiveness in intrusion detection and the identification of malicious behaviors. This situation highlights the need to move toward approaches that, instead of relying on decrypted content, exploit non-content-based, behavioral, statistical, and sequence-oriented features of network flows. This paper presents a conceptual framework based on Large Language Models (LLMs) for intrusion detection in encrypted TLS 1.3 and QUIC traffic. The core idea of the framework is that network flows and their associated behavioral patterns can be modeled as sequences of tokens or behavioral representations, and the capability of LLMs can then be leveraged to learn contextual dependencies, analyze sequences, and extract complex patterns. In this framework, the focus is not on decrypting traffic content; rather, it is on transforming features such as packet timing, packet size, flow direction, session patterns, event sequences, and behavioral indicators into inputs that can be processed by LLMs. The present study is conceptual and theoretical in nature, and its objective is not to provide a final operational system or a complete empirical evaluation report. The main focus of the paper is on formulating the problem, explaining the role of LLMs in encrypted traffic analysis, distinguishing this approach from traditional methods, and outlining the main stages of an extensible framework for future research. Accordingly, the paper demonstrates that the use of LLMs can provide a new direction for analyzing malicious behaviors in environments where direct observation of content is either infeasible or undesirable. This framework can serve as a basis for designing more advanced systems for intrusion detection, behavioral traffic analysis, and classification of suspicious patterns in modern networks.

Keywords : intrusion detection encrypted malicious traffic large language models (llms) tls 1 3 quic behavioral analysis of network traffic