{"id":{"repo_id":"vt","oai_identifier":"oai:vtechworks.lib.vt.edu:10919/143360"},"canonical_url":"https://search.ndltd.org/etd/vt/oai:vtechworks.lib.vt.edu:10919/143360","repository":{"repo_id":"vt","name":"Virginia Tech","base_url":"https://vtechworks.lib.vt.edu/oai/request"},"display":{"title":"Synthesizing Deployable Suricata Rules from Raw Network Traffic","abstract":"Rule-based intrusion detection systems such as Suricata are central to network security due to their effectiveness and explainability, yet crafting effective detection rules demands deep expert knowledge and cannot keep pace with emerging threats. Existing large language model based approaches can reduce analyst effort, but they either rely on curated threat intelligence that is produced only after the underlying traffic artifacts already exist, or they require costly model use without sufficient quality control. This thesis presents RulePilot, an end-to-end agentic framework that generates deployable Suricata rules directly and efficiently from raw malware network traffic, with no prior threat intelligence required. A key challenge is noise: network traffic captures often contain a small amount of security-relevant traffic mixed with large volumes of background traffic, which reduces model reasoning quality and increases cost. RulePilot addresses this challenge with a Benign Traffic Fingerprinting stage that removes known benign background flows before model processing. It then synthesizes rules and iteratively refines them. Rules that fail syntax checks, do not trigger on the source malware traffic, or generate false positives on a large benign traffic corpus are automatically repaired using structured feedback from RulePilot's repair agent. Evaluated on 1,296 malware PCAPs across 192 malware families, spanning samples from 2014 to 2026, along with 1,172 benign PCAPs across fingerprinting and evaluation corpora, RulePilot produces syntactically valid and behaviorally meaningful rules with strong precision and recall, demonstrating the potential of automated intrusion detection rule generation at scale.","abstract_html":"Rule-based intrusion detection systems such as Suricata are central to network security due to their effectiveness and explainability, yet crafting effective detection rules demands deep expert knowledge and cannot keep pace with emerging threats. Existing large language model based approaches can reduce analyst effort, but they either rely on curated threat intelligence that is produced only after the underlying traffic artifacts already exist, or they require costly model use without sufficient quality control. This thesis presents RulePilot, an end-to-end agentic framework that generates deployable Suricata rules directly and efficiently from raw malware network traffic, with no prior threat intelligence required. A key challenge is noise: network traffic captures often contain a small amount of security-relevant traffic mixed with large volumes of background traffic, which reduces model reasoning quality and increases cost. RulePilot addresses this challenge with a Benign Traffic Fingerprinting stage that removes known benign background flows before model processing. It then synthesizes rules and iteratively refines them. Rules that fail syntax checks, do not trigger on the source malware traffic, or generate false positives on a large benign traffic corpus are automatically repaired using structured feedback from RulePilot&#x27;s repair agent. Evaluated on 1,296 malware PCAPs across 192 malware families, spanning samples from 2014 to 2026, along with 1,172 benign PCAPs across fingerprinting and evaluation corpora, RulePilot produces syntactically valid and behaviorally meaningful rules with strong precision and recall, demonstrating the potential of automated intrusion detection rule generation at scale.","abstract_has_math":false,"creators":["Ur Rehman, Mughees"],"institution":"Virginia Tech","degree_name":"Master of Science","degree_level":"masters","degree_discipline":"Computer Science & Applications","degree_department":"Computer Science and#38; Applications","school":null,"contributors":[],"advisors":[],"committee_chairs":["Kantarcioglu, Murat"],"committee_members":["Yao, Danfeng","Piplai, Aritran"],"year":2026,"date_issued":"2026-06-11","date_published":"2026-06-11","updated_at":"2026-11-18T20:01:54Z","subjects":["Intrusion detection","Suricata","rule generation","large language models","agentic AI","network traffic analysis"],"languages":["en"],"rights":["In Copyright"],"rights_urls":["http://rightsstatements.org/vocab/InC/1.0/"],"identifier_entries":[{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["vt_gsexam:47240"],"render_values":[{"text":"vt_gsexam:47240","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10919/143360","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10919/143360","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://vtechworks.lib.vt.edu/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Avtechworks.lib.vt.edu%3A10919%2F143360","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.committeechair","label":"Committee Chair","values":["Kantarcioglu, Murat"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Yao, Danfeng","Piplai, Aritran"]},{"key":"dc:contributor.department","label":"Department","values":["Computer Science and#38; Applications"]},{"key":"dc:creator","label":"Author","values":["Ur Rehman, Mughees"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-06-12T08:00:37Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-06-12T08:00:37Z"]},{"key":"dc:date.issued","label":"Date","values":["2026-06-11"]},{"key":"dc:publisher","label":"Institution","values":["Virginia Tech"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science & Applications"]},{"key":"thesis:degree_level","label":"Degree Level","values":["masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Virginia Polytechnic Institute and State University"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Intrusion detection","Suricata","rule generation","large language models","agentic AI","network traffic analysis"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["In Copyright"]},{"key":"dc:rights.uri","label":"Rights URI","values":["http://rightsstatements.org/vocab/InC/1.0/"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["vt_gsexam:47240"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10919/143360"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Rule-based intrusion detection systems such as Suricata are central to network security due to their effectiveness and explainability, yet crafting effective detection rules demands deep expert knowledge and cannot keep pace with emerging threats. Existing large language model based approaches can reduce analyst effort, but they either rely on curated threat intelligence that is produced only after the underlying traffic artifacts already exist, or they require costly model use without sufficient quality control. This thesis presents RulePilot, an end-to-end agentic framework that generates deployable Suricata rules directly and efficiently from raw malware network traffic, with no prior threat intelligence required. A key challenge is noise: network traffic captures often contain a small amount of security-relevant traffic mixed with large volumes of background traffic, which reduces model reasoning quality and increases cost. RulePilot addresses this challenge with a Benign Traffic Fingerprinting stage that removes known benign background flows before model processing. It then synthesizes rules and iteratively refines them. Rules that fail syntax checks, do not trigger on the source malware traffic, or generate false positives on a large benign traffic corpus are automatically repaired using structured feedback from RulePilot's repair agent. Evaluated on 1,296 malware PCAPs across 192 malware families, spanning samples from 2014 to 2026, along with 1,172 benign PCAPs across fingerprinting and evaluation corpora, RulePilot produces syntactically valid and behaviorally meaningful rules with strong precision and recall, demonstrating the potential of automated intrusion detection rule generation at scale."]},{"key":"dc:description.abstractgeneral","label":"General Abstract","values":["Organizations defending their networks rely on detection systems that continuously monitor traffic and raise alerts when suspicious behavior is observed. These systems work by matching network activity against a growing library of rules written by security experts, where each rule describes a communication pattern associated with a known threat. Writing effective rules, however, requires deep expertise and significant manual effort, making it difficult for defenders to keep pace with the sheer volume of new malicious software — over 450,000 new samples are discovered every day. This thesis investigates whether artificial intelligence can automate rule creation by studying the network activity that malicious software produces when it runs. The proposed system, RulePilot, first filters out routine background activity from network traffic logs, then analyzes the remaining suspicious behavior to draft candidate detection rules. Each candidate is automatically tested to confirm that it works correctly, catches the malicious activity it was designed to detect, and avoids false alarms on normal traffic. Candidates that fail any check are automatically revised before being accepted. Tested on 1,296 real-world network traffic logs spanning 192 distinct malware types, RulePilot demonstrates that automated rule generation from raw network traffic is a practical and scalable approach for helping network defenders respond faster to emerging threats."]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["Master of Science"]},{"key":"dc:format.medium","label":"Dc Format Medium","values":["ETD"]},{"key":"dc:title","label":"Title","values":["Synthesizing Deployable Suricata Rules from Raw Network Traffic"]}]}],"canonical_facts":{"dc:contributor.committeechair":["Kantarcioglu, Murat"],"dc:contributor.committeemember":["Yao, Danfeng","Piplai, Aritran"],"dc:contributor.department":["Computer Science and#38; Applications"],"dc:creator":["Ur Rehman, Mughees"],"dc:date.accessioned":["2026-06-12T08:00:37Z"],"dc:date.available":["2026-06-12T08:00:37Z"],"dc:date.issued":["2026-06-11"],"dc:description.abstract":["Rule-based intrusion detection systems such as Suricata are central to network security due to their effectiveness and explainability, yet crafting effective detection rules demands deep expert knowledge and cannot keep pace with emerging threats. Existing large language model based approaches can reduce analyst effort, but they either rely on curated threat intelligence that is produced only after the underlying traffic artifacts already exist, or they require costly model use without sufficient quality control. This thesis presents RulePilot, an end-to-end agentic framework that generates deployable Suricata rules directly and efficiently from raw malware network traffic, with no prior threat intelligence required. A key challenge is noise: network traffic captures often contain a small amount of security-relevant traffic mixed with large volumes of background traffic, which reduces model reasoning quality and increases cost. RulePilot addresses this challenge with a Benign Traffic Fingerprinting stage that removes known benign background flows before model processing. It then synthesizes rules and iteratively refines them. Rules that fail syntax checks, do not trigger on the source malware traffic, or generate false positives on a large benign traffic corpus are automatically repaired using structured feedback from RulePilot's repair agent. Evaluated on 1,296 malware PCAPs across 192 malware families, spanning samples from 2014 to 2026, along with 1,172 benign PCAPs across fingerprinting and evaluation corpora, RulePilot produces syntactically valid and behaviorally meaningful rules with strong precision and recall, demonstrating the potential of automated intrusion detection rule generation at scale."],"dc:description.abstractgeneral":["Organizations defending their networks rely on detection systems that continuously monitor traffic and raise alerts when suspicious behavior is observed. These systems work by matching network activity against a growing library of rules written by security experts, where each rule describes a communication pattern associated with a known threat. Writing effective rules, however, requires deep expertise and significant manual effort, making it difficult for defenders to keep pace with the sheer volume of new malicious software — over 450,000 new samples are discovered every day. This thesis investigates whether artificial intelligence can automate rule creation by studying the network activity that malicious software produces when it runs. The proposed system, RulePilot, first filters out routine background activity from network traffic logs, then analyzes the remaining suspicious behavior to draft candidate detection rules. Each candidate is automatically tested to confirm that it works correctly, catches the malicious activity it was designed to detect, and avoids false alarms on normal traffic. Candidates that fail any check are automatically revised before being accepted. Tested on 1,296 real-world network traffic logs spanning 192 distinct malware types, RulePilot demonstrates that automated rule generation from raw network traffic is a practical and scalable approach for helping network defenders respond faster to emerging threats."],"dc:description.degree":["Master of Science"],"dc:format.medium":["ETD"],"dc:identifier.other":["vt_gsexam:47240"],"dc:identifier.uri":["https://hdl.handle.net/10919/143360"],"dc:language.iso":["en"],"dc:publisher":["Virginia Tech"],"dc:rights":["In Copyright"],"dc:rights.uri":["http://rightsstatements.org/vocab/InC/1.0/"],"dc:subject":["Intrusion detection","Suricata","rule generation","large language models","agentic AI","network traffic analysis"],"dc:title":["Synthesizing Deployable Suricata Rules from Raw Network Traffic"],"dc:type":["Thesis"],"thesis:degree_discipline":["Computer Science & Applications"],"thesis:degree_level":["masters"],"thesis:degree_name":["Master of Science"],"thesis:institution_name":["Virginia Polytechnic Institute and State University"]},"updated_at":"2026-11-18T20:01:54Z"}