RuleXploit: A Framework for Generating Suricata Rules from Exploits Using Generative AI

Intrusion Detection Systems (IDS) are essential for effective cyber-defense. Signature-based IDS operate using specific rules which are difficult to generate due to the evolving cybersecurity landscape. To this end, this work proposes a rule generation framework, called RuleXploit, which uses Large Language Models (LLMs) to generate rules from exploits. The proposed framework is composed of two components: the RuleXploit Generator, which produces rules using structured prompts and examples, and the RuleXploit Refinery, which validates and refines these rules for accuracy and effectiveness. The RuleXploit framework is demonstrated via the GPT-4o model, configured with tailored prompt engineering techniques and settings. RuleXploit successfully generated 100% syntactically valid rules and achieved an effectiveness rate of 76.67% in detecting malicious traffic. This work presents the first approach to generate IDS rules from the exploit code of a vulnerability, offering a novel way towards the successful mitigation of cyber attacks.

Authors

Institutions

Publication Details

Published
2025-08-04
DOI
https://doi.org/10.1109/csr64739.2025.11130010
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

RuleXploit: A Framework for Generating Suricata Rules from Exploits Using Generative AI

Ilias Koritsas, Theodora Tsikrika, Angelos Papoutsis, Dimitrios Kavallieros et al.
Software Engineering Research
article

RuleXploit: A Framework for Generating Suricata Rules from Exploits Using Generative AI

Ilias Koritsas, Theodora Tsikrika, Angelos Papoutsis, Dimitrios Kavallieros, Stefanos Vrochidis, Ioannis Kompatsiaris, Athanasios Dimitriadis
article en

Abstract

Intrusion Detection Systems (IDS) are essential for effective cyber-defense. Signature-based IDS operate using specific rules which are difficult to generate due to the evolving cybersecurity landscape. To this end, this work proposes a rule generation framework, called RuleXploit, which uses Large Language Models (LLMs) to generate rules from exploits. The proposed framework is composed of two components: the RuleXploit Generator, which produces rules using structured prompts and examples, and the RuleXploit Refinery, which validates and refines these rules for accuracy and effectiveness. The RuleXploit framework is demonstrated via the GPT-4o model, configured with tailored prompt engineering techniques and settings. RuleXploit successfully generated 100% syntactically valid rules and achieved an effectiveness rate of 76.67% in detecting malicious traffic. This work presents the first approach to generate IDS rules from the exploit code of a vulnerability, offering a novel way towards the successful mitigation of cyber attacks.

Information Technologies Institute (GR), Centre for Research and Technology Hellas (GR)
Openalex Percentile: Top 67%
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

RuleXploit: A Framework for Generating Suricata Rules from Exploits Using Generative AI — Ilias Koritsas, Theodora Tsikrika, et al. · (2025) | TGRS Research Map | TGRS