# Cost-Aware Hierarchical Multi-Agent Ransomware Detection and Family Attribution

DevFeed: [Cost-Aware Hierarchical Multi-Agent Ransomware Detection and Family Attribution](<https://devfeed.tech/articles/cost-aware-hierarchical-multi-agent-ransomware-detection-and-family-attribution-114002.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2609.04820>)

Author: Mubashar Iqbal, Hifsa Asif, Saddam Hussain Khan, Umme Zahoora, Asifullah Khan

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [hierarchical agent systems](<https://devfeed.tech/topics/hierarchical-agent-systems.md>), [Multi Agent Systems](<https://devfeed.tech/topics/multi-agent-systems.md>), [Detection engineering](<https://devfeed.tech/topics/detection-engineering.md>)

Tags: [analysis](<https://devfeed.tech/tags/analysis.md>), [cost](<https://devfeed.tech/tags/cost.md>), [costs](<https://devfeed.tech/tags/costs.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [family](<https://devfeed.tech/tags/family.md>), [multi-agent](<https://devfeed.tech/tags/multi-agent.md>), [multi-agent-orchestration](<https://devfeed.tech/tags/multi-agent-orchestration.md>), [multi-agent-system](<https://devfeed.tech/tags/multi-agent-system.md>), [performance](<https://devfeed.tech/tags/performance.md>), [ransomware](<https://devfeed.tech/tags/ransomware.md>), [ransomware-detection](<https://devfeed.tech/tags/ransomware-detection.md>), [review](<https://devfeed.tech/tags/review.md>), [sequential-decision](<https://devfeed.tech/tags/sequential-decision.md>), [static-analysis](<https://devfeed.tech/tags/static-analysis.md>)

## AI overview

The proposed Hierarchical Multi-Agent System (HMAS) reduces ransomware analysis cost by starting with static evidence and escalating to more resource-intensive modalities only when confidence is low or signals disagree. Specialist agents produce schema-validated risk signals, which domain controllers aggregate; a locally hosted language model provides limited review without replacing the deterministic pipeline. In tests across 16 ransomware families, the system reported 94.12% binary accuracy and 98.90% family-attribution accuracy. Static analysis alone resolved 57.95% of samples, while 6.21% required the full pipeline. Average cost was 6.724 units versus 12.0 for exhaustive analysis, about 44% lower. LLM-assisted review added only marginal F1 improvement and increased computational overhead. The abstract says zero-day generalization was examined but gives no results for those experiments.

## Source excerpt

arXiv:2609.04820v3 Announce Type: replace Abstract: Sandbox execution and memory forensics are among the most resources intensive stages of malware triage. Static analysis can scale to millions of files while dynamic and memory analysis require minutes per sample. Because multimodal ransomware detectors often apply every modality to every sample, costs and latency rise even when static evidence suffice.We proposea cost aware Hierarchical Multi Agent System (HMAS) that frames evidence acquisition as a budgeted sequential decision problem enabling timely ransomware detection. Specialist agents generate schema validated risk signals for each modality while domain controllers aggregate evidence and coordinate analysis. The orchestrator starts with static evidence and escalates only if confidence is low or signals disagree. A locally hosted language model provides a limited, accoutable review without replacing the deterministic pipeline. Experiments on 16 ransomware families show 94.12% binary accuracy (F1 0.9376, ROC-AUC 0.9989). For multi class family attribution, it achieves 98.90% accuracy (macro-F1 0.9748). The system resolves 57.95% of the samples using static analysis alone whhile only 6.21% require the full pipeline. Compared with exhaustive cost of 12.0 units,the proposed system reduces te average cost to 6.724 units, representing approximately 44% saving. Zero day experiments further examine generalization to unseen ransomware families. Additional evaluations examine cost sensitivity and component level contribution. LLM-assisted review provides only marginal improvement in F1 while introducing additional computational overhead. Overall, the results show the potential of adaptive hierarchical multi agent orchestration to balance ransomware detection performance, family attribution analysis cost and decision latency.