← Latest papers
💻 computer science

A Multi-Agent Framework Based on Local LLMs for Malware Detection and Behavior Analysis in the ICS/OT Environments of Critical Infrastructure

The paper presents MACF, a multi-agent framework utilizing heterogeneous local large language models to achieve high-accuracy, explainable, and fully offline malware detection and behavior analysis for critical infrastructure environments, demonstrating a 96.0% detection rate on a single server without external connectivity.

Original authors: Sunghun Jang, MyoungRak Lee, Taeshik Shon

Published 2026-11-27
📖 5 min read🧠 Deep dive

Original authors: Sunghun Jang, MyoungRak Lee, Taeshik Shon

Original paper licensed under CC BY 4.0 (https://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

In the world of critical infrastructure, such as power plants and electrical substations, safety depends on a delicate balance between connectivity and isolation. These facilities rely on complex computer systems to manage physical machinery, but the very nature of their work often requires them to be cut off from the public internet to prevent outside interference. This isolation creates a unique problem for cybersecurity. When a suspicious file arrives on a computer within these secure zones, security teams cannot simply upload it to a cloud service to be analyzed, as the network connection does not exist. They must rely entirely on the computing power available right there on the local machine. For years, this meant relying on rigid, pre-programmed rules that could miss new types of threats or fail to explain why a file was dangerous. The field is now exploring a different approach: using advanced artificial intelligence that can read technical data and explain its findings in plain language, but only if that intelligence can run entirely offline.

A team of researchers at Ajou University has developed a new system designed to solve this exact problem for the energy sector. They created a framework called the Multi-Agent Cybersecurity Framework, or MACF, which acts as a small, self-contained team of artificial intelligence experts working together on a single server. Instead of asking one large AI to do everything, the researchers assigned different roles to four separate AI models. One model specializes in looking at the static structure of a file, like a librarian checking the table of contents. Another acts as a detective, inferring what the file might try to do based on those structural clues. A third model searches through a local library of past security incidents and known threat patterns to find matches. Finally, a coordinator model listens to all three, weighs their opinions, and decides on a final verdict. This entire process happens without ever connecting to the outside world, ensuring that sensitive data never leaves the secure facility.

The researchers tested this system using a collection of 1,000 computer files, 800 of which were known to be malicious and 200 of which were safe. The files represented common types of digital threats that often target the office computers connected to industrial control systems. When the MACF system analyzed these files, it successfully identified 96% of the malicious ones. More importantly, it kept the number of false alarms low, flagging only 8.5% of the safe files as dangerous. This performance was significantly better than using any single AI model on its own, which the researchers found struggled to reach the same level of accuracy. The system also proved capable of explaining its reasoning, identifying not just that a file was bad, but what specific family of malware it belonged to and which known attack techniques it appeared to use.

What makes this approach particularly robust is how the different AI agents handle disagreement. If the file structure expert and the behavior detective give conflicting answers, or if they are not confident enough in their initial assessment, the system automatically triggers a second round of analysis. It forces the agents to exchange their evidence and reconsider their conclusions. If the disagreement persists, the system escalates the review, pulling in deeper information from its local library of threat intelligence to make a final decision. This built-in mechanism for checking and re-checking work allowed the system to catch difficult cases that a single model would have missed. The entire team of four AI models, which together contain a massive amount of knowledge, was able to run simultaneously on a single server with 128 gigabytes of memory, a setup that fits within the physical constraints of many industrial sites.

The study also highlighted that the specific assignment of roles mattered greatly. When the researchers tried using the same AI model for every job, the system's performance dropped noticeably. This suggests that different types of AI models have different strengths, and a team where each member plays to their specific talent is more effective than a group of identical workers. The system analyzed each file in about 62 seconds on average, a speed that, while not instantaneous, is practical for a security team that needs to review suspicious files before they cause harm. The researchers noted that the system is not intended to automatically block every threat without human input; rather, it serves as a powerful triage tool. It prioritizes the most dangerous files and provides a clear, evidence-based report for human analysts to review, bridging the gap between complex technical data and human decision-making in environments where the internet is not an option.

This work demonstrates that advanced artificial intelligence can be deployed in the most restricted environments, provided the architecture is designed correctly. By combining specialized local models with a structured way for them to communicate and verify each other, the researchers showed that it is possible to achieve high levels of security analysis without relying on external cloud services. The results offer a practical path forward for protecting the critical infrastructure that keeps the lights on, ensuring that even when the network is silent, the security team is still listening.

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 →