A Multi-Agent Framework Based on Local LLMs for Malware Detection and Behavior Analysis in the ICS/OT Environments of Critical Infrastructure
Power and energy facilities depend on cyber-physical control systems whose networks restrict external connectivity, so malware analysis must run on local resources. We present the Multi-Agent Cybersecurity Framework (MACF), which assigns heterogeneous local large language models (LLMs) to static-feature interpretation, behavior inference, offline threat-intelligence retrieval and coordination. MACF targets the Windows portable-executable (PE) malware that reaches the IT-side hosts of power-generation and substation sites, the entry path into their ICS/OT environments. The agents exchange structured evidence through the Query-Analysis Communication Protocol (QACP); the Adjudication and Cross-validation Mechanism (ACM) triggers re-verification when verdicts conflict or confidence is low; and the Role Fitness Score (RFS) assigns models to roles and weights their verdicts. On 1,000 EMBER 2018-based specimens (800 malicious, 200 benign), MACF achieved a 96.0% detection rate, 8.5% false-positive rate, 96.9% F1 score, 83.1% family-classification accuracy and 75.4% ATT&CK technique match rate, exceeding the best single-LLM baseline by 9.2 percentage points in detection and a homogeneous four-role configuration by 7.4 points. All four quantized models remained resident on a single 128-GB unified-memory server, with a mean analysis time of 61.7 s per specimen. The results show that fully offline, explainable multi-agent malware triage is practical on one server.
Authors
- Taeshik Shon (ORCID: https://orcid.org/0000-0003-1177-6405)
- Myoungrak LEE
- Sunghun Jang (ORCID: https://orcid.org/0009-0001-5054-4407)
Institutions
- Ajou University (KR)
Publication Details
- Journal
- Research Square
- Published
- 2026-11-27
- DOI
- https://doi.org/10.21203/rs.3.rs-11587404/v1
- Primary Topic
- Advanced Malware Detection Techniques
- Type
- preprint