← Latest papers
💻 computer science

Operationalizing Cyber Threat Intelligence with GraphRAG

This paper demonstrates that utilizing Microsoft GraphRAG for knowledge-graph retrieval, rather than standard vector-based RAG, enables the automatic generation of cyber threat detection plans that rely on more durable, high-level indicators, resulting in significantly higher detection persistence against attacker evasion techniques.

Original authors: Atul Kabra, Prakhar Paliwal, Manjesh K. Hanawal

Published 2026-08-14
📖 6 min read🧠 Deep dive

Original authors: Atul Kabra, Prakhar Paliwal, Manjesh K. Hanawal

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

=== SUMMARY ===
Imagine the internet as a giant, bustling city where bad guys are constantly trying to sneak into buildings. When security researchers catch these thieves, they write a report listing the clues: the thief's shoe size, the license plate of their getaway car, and the specific brand of lockpick they used. In the old days, security teams would just copy these clues into a "banned list" and hope for the best. But here's the problem: bad guys are quick. If you ban a license plate, they can rent a new car in an hour. If you ban a shoe size, they can just buy a different pair. This is like trying to stop a river by throwing a single pebble in it; the water just flows around it.

To solve this, security experts use a concept called the "Pyramid of Pain." Imagine a pyramid where the bottom layers are easy-to-change clues (like license plates) and the top layers are the thief's actual habits and plans (like how they pick the lock or why they chose that building). Changing a habit is hard and takes months; changing a license plate takes minutes. The goal is to build defenses that target the top of the pyramid. Meanwhile, a new type of AI tool called "GraphRAG" has emerged. Think of standard AI as a student who reads a book and highlights sentences that look similar to a question. GraphRAG is like a student who first draws a map connecting all the characters, places, and events in the book, then uses that map to find the answer. This paper asks a simple question: if we use the "map" instead of just the "highlighted sentences," will our security plans last longer?


The Detective's Dilemma: Maps vs. Highlighters

When a security company publishes a report about a cyberattack, it's like handing a detective a thick novel full of clues. The detective's job is to turn that novel into a set of instructions for the police force (the security team) to catch the bad guys. Usually, this is a slow, manual process. A human has to read the whole thing, pick out the useful bits, and write specific rules for security software. It takes days, and by the time the rules are ready, the bad guys have often already changed their tactics.

Some teams tried to speed this up using AI. They gave the AI the report and asked it to write the rules. The AI used a common method called "Standard RAG." You can think of this like a student taking a test who only looks for the exact words in the textbook that match the question. If the question asks about a "red car," the student finds the paragraph mentioning a "red car" and copies it. The problem is that this approach is too literal. It focuses on the easy-to-change clues (the "red car") and misses the deeper story (the fact that the thief always drives a red car only on Tuesdays). Because the bad guys can change their "red car" to a "blue van" in a day, the AI's rules stop working almost immediately.

The GraphRAG Experiment

The researchers at IIT Bombay wanted to see if a smarter AI approach could fix this. They compared two ways of processing the same security reports:

  1. Standard RAG: The standard "highlighter" method that just finds similar text chunks.
  2. GraphRAG: A method that first builds a "knowledge graph." Imagine taking the report and drawing a web of connections: This hacker used this malware to attack this server. It connects the dots before trying to answer the question.

They fed both methods the same reports and asked them to write the exact same type of threat-hunting plan. Then, they used a special "judge" AI to grade the plans. The grading wasn't just about how many rules the AI wrote; it was about where those rules fell on the "Pyramid of Pain." Did the plan rely on easy-to-change clues (the bottom of the pyramid), or did it focus on the hard-to-change behaviors (the top)?

The Results: The Map Wins

The results were clear, though with an important distinction. In a deep dive into a specific report about a famous hacker group (APT28), the researchers tested how long the plans lasted. They simulated a scenario where the bad guys changed every single easy clue (IP addresses, file names, domains) in that report.

  • The Standard RAG plan (the highlighter) kept working for only 29% of the detections. It was too dependent on the specific, changeable clues.
  • The GraphRAG plan (the map) kept working for 100% of the detections in this specific case study. Because it focused on the relationships and behaviors (the top of the pyramid), the plan didn't care that the bad guys had swapped their "red car" for a "blue van."

When the researchers repeated this test with nine different reports from four different security vendors, the pattern held up: GraphRAG plans consistently reached higher levels of the pyramid, making them much harder for attackers to evade. While the 100% survival rate was a standout result from the single APT28 case study, the broader experiments confirmed that GraphRAG plans consistently outperformed Standard RAG in targeting durable, hard-to-evade clues, even when the two methods had similar overall quality scores.

What This Means

The paper suggests that for security teams to automatically turn reports into working defenses, they need to stop just "reading" the text and start "mapping" the connections. The study found that the way the AI retrieves information (the map vs. the highlighter) matters almost as much as the AI itself. While the "highlighter" method is okay for simple questions, the "map" method is the architecturally correct way to build hunting plans that don't expire the moment the bad guys change their shoes.

However, the authors also noted a few hiccups. Sometimes, if a report was very short, the "map" method got confused and didn't find enough connections to build a good plan. Also, the AI judge sometimes made math errors when grading long plans, which the researchers had to fix with a little extra code. But overall, the evidence suggests that building a knowledge graph is the key to making AI-generated security rules that actually stick.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →