GenTI: Benchmarking LLMs for Autonomous IDPS Rule Generation for Unseen Attacks
This paper introduces GenTI, a novel LLM-driven benchmark and framework that leverages a large-scale dataset of annotated detection rules to automate the generation of high-quality, context-aware IDPS rules, significantly improving the detection of unseen attacks while reducing false positives.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine your computer network is a busy city, and Intrusion Detection and Prevention Systems (IDPS) are the police officers patrolling the streets. Their job is to spot bad guys (hackers) and stop them.
Traditionally, these police officers work with a physical "Wanted" poster book. If a criminal matches a photo in the book (a known attack), the officer stops them. But if a criminal shows up wearing a new mask or using a new disguise (a "zero-day" or unseen attack), the officer doesn't recognize them and lets them pass.
The problem is that writing new "Wanted" posters is slow. It requires human experts to sit down, study the new criminal, and manually write a description. By the time they finish, the criminal might have already caused damage.
Enter GenTI: The AI Police Dispatcher.
This paper introduces a new system called GenTI (Generative Threat Intelligence). Think of it as a super-smart AI dispatcher that doesn't just read the old "Wanted" book; it can instantly write new, accurate "Wanted" posters for criminals it has never seen before, just by looking at a description of their behavior.
Here is how it works, broken down into simple steps:
1. The Massive Library (The Dataset)
Before the AI can learn, it needs to study. The researchers built a massive library called GTI.
- The Collection: They gathered over 200,000 real "Wanted" posters (rules) from existing police databases (Snort, Suricata, YARA).
- The Secret Sauce: Unlike old libraries that just had a photo, this library includes detailed context. Every poster is linked to a "criminal profile" (Cyber Threat Intelligence) that explains who the bad guy is, what their tricks are, and how they usually operate.
- The Analogy: Imagine if every "Wanted" poster didn't just say "Man in a red hat," but also said, "This guy is part of the 'Red Hat Gang,' uses a specific type of lockpick, and usually strikes on Tuesdays." This extra context helps the AI understand the logic behind the rule, not just the text.
2. The Training School (The Methodology)
The AI (a Large Language Model) doesn't just memorize these posters; it goes through a rigorous training school with four levels:
- Level 1 (Grammar): Learning how to write a perfect "Wanted" poster so the police officers (the IDPS software) can actually read it without getting confused.
- Level 2 (Context): Learning to connect the poster to the criminal's profile (e.g., "This rule stops the 'Phishing' technique").
- Level 3 (Self-Correction): The AI is taught to think out loud (Chain-of-Thought). Before finalizing a poster, it asks itself, "Does this make sense? Did I miss a detail?"
- Level 4 (The Double-Check): A special "Verification Loop" (Chain-of-Verification) acts like a strict supervisor. It checks the new poster three times:
- Is the grammar correct?
- Does the logic match the criminal's profile?
- Crucially: Will this poster accidentally arrest innocent people (False Positives)?
3. The Test Drive (The Results)
The researchers tested this AI in a real-world simulation. They gave it descriptions of new, unknown attacks and asked it to write the rules.
- The Old Way: Without this new system, the AI could only catch about 45% of these new, unseen attacks.
- The GenTI Way: With their special training and library, the AI caught 87.4% of the new attacks.
- Fewer Mistakes: The old way often flagged innocent people as criminals (8.5% error rate). GenTI reduced this to just 2.3%, meaning the police are much more precise.
- Overall Score: The system achieved a near-perfect score of 89.4% on a complex quality test, beating even the most famous AI models (like GPT-4) at this specific task.
The Bottom Line
The paper claims that GenTI is the first system to successfully teach an AI how to write its own security rules for brand new, unseen threats by combining a massive library of real-world data with a strict "think, verify, and correct" process.
Instead of waiting for a human expert to manually write a new rule for every new virus, this system acts like a self-evolving police force that can instantly generate the tools needed to stop new criminals the moment they appear.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.