Intelligent Detection and Mitigation of Carpet-Bombing DDoS Attacks in SDN Using Retrieval-Augmented Generation and Large Language Models
This paper proposes a Retrieval-Augmented Generation (RAG) framework integrated with Large Language Models (LLMs) to achieve real-time, training-free detection and mitigation of Carpet-Bombing DDoS attacks in Software-Defined Networking (SDN) environments, demonstrating that the Gemma-4-31B-IT model configuration yields the highest accuracy and stability.
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 a massive, high-tech city where traffic lights and road signs are all controlled by a single, super-smart "City Manager" (this is the SDN Controller). This manager can instantly change traffic rules to keep the city running smoothly. However, this setup has a weakness: if someone floods the city with fake traffic, the City Manager gets overwhelmed and the whole system crashes.
This paper introduces a new, intelligent security guard for this City Manager to stop a specific, sneaky type of attack called a "Carpet-Bombing DDoS Attack."
Here is how the paper explains the problem and their solution, using simple analogies:
The Problem: The "Carpet Bomb"
Usually, hackers attack by sending a tsunami of traffic to one single building (a "DDoS attack"). It's easy to spot because that one building is screaming for help.
But a Carpet-Bombing attack is different. Imagine a group of hackers sending small, harmless-looking packages to every building in the city at the same time.
- If you look at just one building, it seems fine; it's just getting a normal amount of mail.
- But if you look at the whole city, the City Manager is drowning in millions of tiny requests, and the system slows to a halt.
- Because the traffic is spread out, traditional security guards (who only watch one building at a time) miss the attack entirely.
The Solution: The "Smart Librarian" System (RAG + LLM)
The authors built a new security system that doesn't need to be "taught" with thousands of examples like a student studying for a test. Instead, it acts like a Super-Intelligent Librarian who uses a special technique called Retrieval-Augmented Generation (RAG).
Here is how the system works, step-by-step:
1. The "Traffic Report" (Feature Extraction)
Every 10 seconds, the City Manager asks every street corner (network interface), "How many cars passed by? How big were they?" It turns these numbers into a report.
2. The "Two Languages" (Traffic Representation)
The system can read these reports in two ways:
- The Spreadsheet (JSON): A strict, organized list of numbers (e.g., "Packets: 174, Bytes: 12776").
- The Story (Natural Language): A sentence describing the traffic (e.g., "The street received 174 cars totaling 12,776 bytes...").
The paper tested both to see which one the AI understood better.
3. The "Memory Book" (Retrieval)
Instead of memorizing rules, the system has a giant library of past traffic reports.
- When a new report comes in, the system doesn't guess. It immediately searches its library for the 3 most similar "Good Traffic" stories and the 3 most similar "Bad Traffic" stories.
- It's like a detective looking at a new suspect and saying, "This person looks a lot like these three known criminals I saw last week, and very different from these three innocent people."
4. The "Super Detective" (The LLM)
The system then hands the new report, plus the 3 "Good" examples and 3 "Bad" examples, to a Large Language Model (LLM)—a super-smart AI brain (specifically, they found the Gemma-4-31B-IT model worked best).
- The AI reads the context: "Hey, this new traffic looks exactly like the 'Bad' examples I just found in the library."
- It instantly decides: "This is an attack!" or "This is safe."
5. The "Instant Block" (Mitigation)
If the AI says "Attack," the City Manager immediately puts up a "Road Closed" sign at the exact street corner where the bad traffic started. This stops the attack before it spreads to the rest of the city. If the traffic stops for 40 seconds, the road re-opens automatically, just in case it was a false alarm.
What Did They Find?
The researchers tested this system in a simulated city (using software called Mininet) with different levels of "bombing" intensity.
- Accuracy: The system was incredibly accurate, getting it right 99.9% of the time. It barely made any mistakes.
- Speed: It could analyze traffic and make a decision in about 2 seconds, which is fast enough to stop the attack in real-time.
- Best Model: While they tested many different AI brains, the Gemma-4-31B-IT model was the "star student," performing the best at spotting these sneaky carpet-bombing attacks.
- No Training Needed: Unlike old systems that need months of studying to learn what an attack looks like, this system just needs to look at its library of past examples to figure it out immediately.
The Bottom Line
This paper shows that by combining a "search engine" (to find similar past traffic) with a "super-smart AI" (to understand the story), we can catch sneaky, spread-out cyber attacks that usually slip past traditional security. It keeps the SDN "City Manager" from getting overwhelmed, ensuring the network stays open and running smoothly.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.