Proactively Detecting Threats: A Novel Approach Using LLMs
This paper presents the first systematic evaluation of large language models for proactively extracting indicators of compromise from unstructured web-based threat intelligence, demonstrating that Gemini 1.5 Pro achieves perfect recall and high precision in identifying malicious threats across 479 reports.
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 massive, bustling city where bad actors (hackers) are constantly trying to break into buildings (your company's computers). Usually, security guards wait until they see a burglar pick a lock or smash a window before they call the police. This is called "reactive" security—waiting for the crime to happen.
This paper proposes a new way: proactive security. Instead of waiting for a break-in, the authors want to send out "scouts" to read the local newspapers, gossip columns, and police blotters before the crime happens, looking for clues about who the bad guys are and what tools they are using.
Here is a simple breakdown of what the researchers did and found:
The Problem: Too Much Noise, Too Many Formats
The "newspapers" in this city are thousands of cybersecurity reports published online. The problem is that they are all written differently. One report might list a bad computer address as a number, another as a link, and a third as a code. It's like trying to find a specific ingredient in a recipe book where some recipes use cups, others use grams, and some just write "a pinch."
Because of this mess, security teams have to manually read through these reports to find the "Indicators of Compromise" (IOCs)—which are just the digital fingerprints of the bad guys (like bad IP addresses or website links).
The Solution: Hiring AI "Super-Readers"
The authors built a robot system that automatically grabs these messy reports from 15 different sources. Then, they asked six different types of Large Language Models (LLMs)—which are like super-smart AI readers trained on huge amounts of text—to do the job of a human analyst.
They gave the AI a simple task: "Read this whole webpage. Is this specific piece of information (like a website link or an IP address) a clue that a hacker is planning an attack, or is it just normal noise?"
The Experiment: The "Test Drive"
They tested this on 479 webpages containing over 2,600 clues. They wanted to see which AI model was the best "scout."
- The Goal: Catch every single bad clue (High Recall) without accidentally flagging innocent things as bad (High Precision).
- The Contenders: They tested models from Google (Gemini), Alibaba (Qwen), and Meta (Llama).
The Results: Who Won the Race?
Think of the results like a sports game where the goal is to catch the ball (the bad clue) without dropping it, but also without tripping over the grass (innocent data).
- The Champion (Gemini 1.5 Pro): This model was the best at the job. It caught 100% of the actual bad clues (perfect recall). It was also very good at knowing what wasn't bad, making very few mistakes. It's like a guard who never misses a burglar and rarely yells "Stop!" at a harmless delivery driver.
- The Struggler (Qwen 32B): This model missed a lot of the bad clues. It was like a guard who was too busy looking at the sky to see the thief walking by.
- The Mixed Bag (Llama 70B): This model caught all the bad clues (just like the winner), but it was a bit too paranoid. It flagged some innocent things as bad, which creates extra work for the human security team to sort through.
The Catch: Why AI Still Gets Confused
Even the best AI made mistakes, and the paper explains why using a great analogy: Context is King.
Imagine a news report that says, "The villain 'Darkside' was seen near the 'TrueSight' building."
- The Human Analyst knows that "Darkside" is a hacker group and "TrueSight" is a security tool, so they know this is a bad story.
- The AI sometimes gets confused. If it sees the word "Darkside" or "abuse" in a URL, it might think the entire website is evil, even if the website is just a library hosting a file about that hacker.
The paper found that the AI struggled most with domain names (website addresses). It often couldn't tell the difference between a website that hosts bad files and the website itself being bad. It's like a guard seeing a "Pizza" sign and assuming the pizza place is a crime scene just because a criminal once ordered a pizza there.
The Bottom Line
This paper proves that AI can be a powerful tool for proactively finding hacker clues in messy, unstructured news reports, saving security teams from having to read every single word manually.
However, the AI isn't perfect yet. It needs to get better at understanding the story behind the clues, not just the clues themselves. The authors suggest that in the future, these AI scouts could be taught to read PDFs, look at screenshots, and understand even more complex types of threats, making our digital cities safer before the first brick is even thrown.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.