Benchmarking and Exploring the Capabilities of LLMs for Attack Investigations
This paper introduces AuditBench, a comprehensive benchmark dataset spanning over 50 security scenarios on Linux and Windows systems, to evaluate and analyze the performance, error profiles, and explanatory capabilities of five frontier LLMs across four critical incident response tasks.
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 you are the head of security for a giant, bustling city. Every day, thousands of cameras and sensors (called audit logs) record every footstep, door opening, and car engine starting. Most of the time, people are just going to work or buying groceries (benign activity). But sometimes, a thief sneaks in, picks a lock, or steals a safe (an attack).
The problem? The city generates so much data that human security guards can't watch it all. They get overwhelmed by false alarms, missing real crimes in the noise.
Enter Large Language Models (LLMs). Think of these as super-smart, tireless detective interns who can read millions of pages of logs in seconds. But before we hire them, we need to know: Are they actually good at solving crimes, or do they just panic and accuse innocent people?
This paper introduces AuditBench, a "final exam" designed specifically to test these AI detectives on their ability to investigate security logs.
The Exam: AuditBench
The researchers built a test suite with 51 different scenarios.
- The "Classroom" (Lab Data): They created 25 fake scenarios on virtual computers, simulating everything from a hacker stealing files to a normal user just installing software.
- The "Real World" (OpTC Data): They took 26 complex scenarios from a massive, real-world dataset (DARPA OpTC) that already had known "ground truth" (the answer key).
The exam had four main tasks, like a detective's checklist:
- The Triage (Classification): "Is this alert a real crime or a false alarm?"
- The Hideout (Persistence): "Did the criminal set up a secret backdoor to stay in the system forever?"
- The Escape Route (Lateral Movement): "Did the criminal jump from one computer to another to spread the infection?"
- The Heist (Data Exfiltration): "Did the criminal steal sensitive files and send them out?"
The Results: What the AI Got Right (and Wrong)
The researchers tested five top-tier AI models (including giants like GPT-5 and Gemini 2.5 Pro) against this exam. Here is what they found, translated into everyday terms:
1. The "Paranoid Detective" Problem
Most of the AI detectives were overly suspicious. They were like a security guard who sees a person carrying a bag and immediately assumes it's a bomb.
- The Result: The AIs were great at spotting the "Heist" (stealing data) but terrible at ignoring innocent people. They flagged a huge amount of normal activity as "attacks," creating a flood of false alarms.
2. Bigger Isn't Always Better
You might think the biggest, most expensive AI models would be the best detectives. Surprisingly, that wasn't always true.
- The Result: Sometimes, the smaller, cheaper models performed just as well, or even better, than the massive ones. It turns out, for this specific job, you don't always need a supercomputer; a smart, compact model can do the trick.
3. The Language of the Logs Matters
The researchers fed the AI the logs in two ways:
- Raw Logs: The messy, unedited transcript of everything that happened (like a raw audio recording of a chaotic room).
- Edge Representation: A cleaned-up, summarized version that highlights the connections between events (like a detective's whiteboard with strings connecting suspects).
- The Result: For some models, the "cleaned-up" version made them much smarter and faster. For others, the raw data was fine. It depends on the model's "learning style."
4. The "Prompt" is the Instruction Manual
How you ask the AI a question changes the answer. The researchers tried two different ways of writing the instructions (prompts).
- The Result: A prompt that made one AI detective brilliant might make another one clumsy. There is no "one-size-fits-all" instruction manual. You have to tune the instructions for the specific AI you are using.
5. The AI's "Reasoning" Was Often Good
When the AI did correctly spot a real attack, its explanation was usually excellent. It could point to the exact file or command that proved the crime.
- The Catch: When it was wrong (the false alarms), its reasoning was often based on weird names or high volume.
- Example: If a file was named
delete_logs.bat, the AI assumed it was a criminal trying to hide evidence, even if it was just a normal system cleanup script. - Example: If a program ran 1,000 times in a second, the AI thought, "That's suspicious!" even if it was just a normal software update.
- Example: If a file was named
The Big Takeaway
This paper doesn't say "AI can replace security teams yet." Instead, it says: "Here is a ruler to measure how good AI is at this job, and here are the traps to avoid."
- For Security Teams: Don't just buy the most expensive AI. Test smaller models. Be careful of the "paranoid" tendency that creates false alarms.
- For AI Developers: Don't assume bigger models are always better. You might need to change how you feed them data (the "Edge" representation) or tweak your instructions (prompts) to get the best results.
- For Everyone: The AI is a powerful tool, but it needs a human to double-check its work, especially when it gets too suspicious of innocent people.
The researchers are releasing all their data, code, and exam questions to the public so others can keep testing and improving these digital detectives.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.