An Automated Framework for Extracting Reachable Attack Chains from Cyber Threat Intelligence Reports
This paper proposes an automated framework that leverages large language models to extract structured attack units with preconditions and postconditions from unstructured Cyber Threat Intelligence reports, compiling them into Datalog rules to enable effective reachability analysis and multi-stage attack chain reasoning.
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 the internet as a giant, bustling city where bad actors are constantly trying to sneak into buildings, steal keys, and unlock doors. To stop them, security experts write detailed stories called "Cyber Threat Intelligence" reports. These stories describe exactly how a hacker broke in: "First, they sent a fake email. Then, the victim clicked a link. Next, a virus downloaded itself." It's like a detective's case file. But here's the problem: these stories are written in messy, human language. A computer trying to read them gets confused. It can't easily figure out why step two happened (it needed step one to finish first) or what changed in the system after step two. It's like trying to build a working robot using only a pile of unsorted recipe cards; you know the ingredients, but you don't know the order or the cause-and-effect.
To fix this, researchers need a way to turn those messy stories into a strict, logical blueprint that a computer can actually run. They need to know not just what the hacker did, but what conditions had to be true for the hacker to do it (the "preconditions") and what new state the system was left in afterward (the "postconditions"). Think of it like a board game: you can't move your piece to a new square unless you have the right dice roll (the condition), and once you move, your piece is now in a new spot (the result). If you can translate a hacker's story into a perfect set of game rules, you can ask the computer, "Can a hacker get from the front door to the vault?" and get a definite answer. This is the challenge this paper tackles: turning vague spy stories into a precise, playable game of cyber defense.
The authors of this paper built a clever, automated framework to solve this puzzle. They realized that simply asking a smart computer program (a Large Language Model) to "read the story and give me the rules" doesn't work well. If you just ask for the whole thing at once, the computer often gets the details wrong, mixes up the order, or invents steps that don't actually exist. It's like asking a student to write a whole essay in one breath; they might miss the logic. Instead, the researchers designed a multi-stage assembly line.
First, the system acts like a careful editor, pulling out the main "attack moves" from the text, like "download file" or "bypass firewall." Then, it acts like a detective, hunting down the specific clues that explain why that move was possible and what happened next. But here's the magic: it doesn't leave those clues as messy sentences. It forces them into a strict, standardized code, like translating "the computer is open to the internet" into a specific game token called network.open. This is crucial because it lets the computer check if the "tokens" match up perfectly. If the first move leaves a "door open" token, the next move can only happen if it needs a "door open" token.
The system even has a "quality control" stage. It runs a simulation to see if the chain of moves actually connects from start to finish. If it finds a broken link—like a step that needs a "password" token that was never created—it stops and tries to fix it, or at least flags the error. Finally, it compiles all these clean, verified steps into a set of logical rules (using a language called Datalog) that a computer can instantly run to see if a specific attack goal is reachable.
When they tested this on 20 real-world cyber attack reports containing 334 specific steps, the results were impressive. Their method found and correctly formatted 94.9% of the attack steps, beating other existing tools that only managed around 80% or less. More importantly, when they let their computer run the logic on these extracted rules, it successfully figured out how to reach the hacker's goal in 19 out of the 20 reports. This proves that their "assembly line" approach is much better at turning messy human stories into clean, playable game rules than just asking a smart AI to guess the whole thing at once. They didn't just find the steps; they built a bridge that lets computers actually understand the logic of an attack, turning a static story into a dynamic map of danger.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.