Towards Novel Malicious Packet Recognition: A Few-Shot Learning Approach
Kyle Stein, Andrew A. Mahyari, Guillermo Francia III, Eman El-Sheikh

TL;DR
This paper introduces a novel malware detection method using a large language model and few-shot learning to recognize unseen malware types with minimal labeled data, improving accuracy in network security.
Contribution
It presents a new approach combining pretrained LLM embeddings and few-shot learning for effective detection of novel malware with limited samples.
Findings
Achieved an average accuracy of 86.35% in malware recognition.
F1-Score of 86.40% demonstrates robust performance.
Effective in IoT and network traffic environments.
Abstract
As the complexity and connectivity of networks increase, the need for novel malware detection approaches becomes imperative. Traditional security defenses are becoming less effective against the advanced tactics of today's cyberattacks. Deep Packet Inspection (DPI) has emerged as a key technology in strengthening network security, offering detailed analysis of network traffic that goes beyond simple metadata analysis. DPI examines not only the packet headers but also the payload content within, offering a thorough insight into the data traversing the network. This study proposes a novel approach that leverages a large language model (LLM) and few-shot learning to accurately recognizes novel, unseen malware types with few labels samples. Our proposed approach uses a pretrained LLM on known malware types to extract the embeddings from packets. The embeddings are then used alongside few…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNetwork Security and Intrusion Detection · Network Packet Processing and Optimization · Internet Traffic Analysis and Secure E-voting
