It is possible to employ generative AI to accelerate a key step in the defense against cyberattacks, performing complex operations in minutes instead of weeks.

Generative AI is sees action to reconstruct complex cyberattacks, according to a team led by Loc Truong at the Department of Energy’s Pacific Northwest National Laboratory (PNNL). These reconstructions are a crucial component of digital defense: Cybersecurity professionals need to understand exactly how an attack occurred to be sure they can stop it.

“To really protect against an attack, you need to replicate it,” said Truong, a data scientist at PNNL. “When an attack happens, usually a defender simply receives a text document explaining the attack, but someone needs to re-implement the entire attack. That can be a lengthy process and cost a lot of money. We hope to change that.”

The work comes at a time when hackers and other bad actors have unfettered access to advanced generative AI tools, muddying the cyber landscape. PNNL cybersecurity researcher Kristopher Willis, who works on the project with Truong, said AI is part of the approach of some of the best hackers across industry, academia and government.

“At the most recent DEF CON, the largest hacker conference in the world, every team competing at the DEF CON Capture the Flag finals was using AI to assist with their attacks,” said Willis, who was a participant in the finals.

Schneider Bold
Autonomous Defense

Meanwhile, defenders like Truong and Willis are expanding the use of autonomous defense to stay ahead.

The PNNL team created an adaptive generative AI agent called ALOHA (Agentic LLMs for Offensive Heuristic Automation) using Claude, a popular large language model developed by Anthropic. The partnership allows laboratory researchers to benefit from an advanced LLM, and it allows Anthropic to have its technology subjected to rigorous testing to prevent misuse.

The research has been funded by PNNL through its Generative AI for Science, Energy, and Security Science and Technology investment.

“PNNL’s work using large language models to simulate attacks on critical infrastructure is crucial for understanding the national security implications of increasingly capable AI,” said Marina Favaro, national security policy lead at Anthropic. “We’re proud to have helped augment and accelerate the cyber defenders who need it most. This kind of collaboration helps us better understand the national security landscape and feeds directly into our safety processes and how we build Claude.”

The PNNL technology works in concert with MITRE’s open-source “Caldera” software, which helps defenders prepare for and defend against cyberattacks.

Generative AI Tool

Illustration of the steps to analyze and protect against a cyberattack: a) the report is received, b) the attack is reconstructed much more quickly with generative AI using ALOHA, c) the attack ends up tested against defenses, and d) the defenses update if necessary.
Source: Animation by Sara Levine, Pacific Northwest National Laboratory

Rebuilding the Attack

When an attack occurs, a human defender enters a text description of the attack into ALOHA and instructs the program to re-create the steps necessary to emulate that attack. The process of rebuilding the attack, known as adversary emulation, is key for defending the system.

A complex attack chain might include 20 different tactics encompassing 100 different steps, all of which need to end up reconstructed.“You describe what you want, in plain English, and generative AI runs the attack automatically,” Truong said. “The technology speeds up the defender’s response so that the cybersecurity expert doesn’t need to carry out quite as many operations themselves. It’s click and go.”

In one test, working from simple plain-language text guidance, ALOHA tackled a multi-step attack chain by generating 1 million outputs, or tokens.

The real test comes next: ALOHA launches the rebuilt attack against the original target system in a siloed, offline environment to see if new installed protections stop the attack. Then comes a streamlined back-and-forth: ALOHA attacks, the target responds, defenders buttress the new fortifications, and so on.

Without technology like ALOHA, the crucial first step of re-creating a sophisticated attack is arduous and expensive. The process can take weeks – and cost tens of thousands of dollars – as programmers sift through hundreds of tools to reconstruct the attack and the overall attack environment.

Automate the Process

Programs like Caldera help automate the process, but quite a few parameters still need to end up entered manually, particularly if it was a customized attack for a particular platform or system.As the reconstructed attack is run time and again, new errors usually require human attention and manual fixes. Once a company has made the sizeable financial investment necessary to reconstruct an attack, there’s not much incentive to share the details with other organizations that could end up targeted in a similar fashion.

In contrast, ALOHA automates almost the entire process using guidance from a human agent. And when ALOHA encounters an error, it automatically generates its own fix.

“There are many programs out there to detect attacks,” Willis said. “ALOHA goes much further, adapting attacks to particular hardware, software, and environments, giving guidance on the best way to protect those systems, and then attacking again and again to identify gaps in security and to enhance response.”

PNNL manages the Control Environment Laboratory Resource (CELR) for the Cybersecurity and Infrastructure Security Agency (CISA). In a simulated test at CELR, the researchers used ALOHA to bolster the defenses of a water treatment plant. Defending against a complex attack involving more than 100 steps required just three hours using ALOHA. Typically, it would have taken most systems weeks to reconstruct such an attack.

“One small action in a long chain might take a millisecond for ALOHA but several minutes for a person,” said Truong. “The difference in speed becomes very pronounced for complex attacks.”

“An important next step will be to have people test in different types of systems, to expose ALOHA to more and more uses cases,” Truong said.

Pin It on Pinterest

Share This