Dual explanations via subgraph matching for malware detection

Interpretable malware detection is crucial for understanding harmful behaviors and building trust in automated security systems. Traditional explainable methods for Graph Neural Networks (GNNs) often highlight important regions within a graph but fail to associate them with known benign or malicious behavioral patterns. This limitation reduces their utility in security contexts, where alignment with verified prototypes is essential. In this work, we introduce a novel dual prototype-driven explainable framework that interprets GNN-based malware detection decisions. This dual explainable framework integrates a base explainer (a state-of-the-art explainer) with a novel second-level explainer which is designed by subgraph matching technique, called SubMatch explainer. The proposed explainer assigns interpretable scores to nodes based on their association with matched subgraphs, offering a fine-grained distinction between benign and malicious regions. This prototype-guided scoring mechanism enables more interpretable, behavior-aligned explanations. Experimental results demonstrate that our method preserves high detection performance while significantly improving interpretability in malware analysis. • Dual prototype-driven framework for explainable GNN-based malware detection. • SubMatch explainer uses subgraph matching for structure-aware node interpretation. • Behavior-aligned explanations via verified malicious and benign subgraph prototypes. • Fine-grained localization of malicious and benign regions within a CFG.

Authors

Institutions

Publication Details

Journal
Engineering Applications of Artificial Intelligence
Published
2026-05-11
DOI
https://doi.org/10.1016/j.engappai.2026.115049
Primary Topic
Explainable Artificial Intelligence (XAI)
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Dual explanations via subgraph matching for malware detection

Roozbeh Razavi‐Far, Ali A. Ghorbani, Hossein Shokouhinejad, Griffin Higgins
Engineering Applications of Artificial Intelligence
Explainable Artificial Intelligence (XAI)
article

Dual explanations via subgraph matching for malware detection

Roozbeh Razavi‐Far, Ali A. Ghorbani, Hossein Shokouhinejad, Griffin Higgins
article en

Abstract

Interpretable malware detection is crucial for understanding harmful behaviors and building trust in automated security systems. Traditional explainable methods for Graph Neural Networks (GNNs) often highlight important regions within a graph but fail to associate them with known benign or malicious behavioral patterns. This limitation reduces their utility in security contexts, where alignment with verified prototypes is essential. In this work, we introduce a novel dual prototype-driven explainable framework that interprets GNN-based malware detection decisions. This dual explainable framework integrates a base explainer (a state-of-the-art explainer) with a novel second-level explainer which is designed by subgraph matching technique, called SubMatch explainer. The proposed explainer assigns interpretable scores to nodes based on their association with matched subgraphs, offering a fine-grained distinction between benign and malicious regions. This prototype-guided scoring mechanism enables more interpretable, behavior-aligned explanations. Experimental results demonstrate that our method preserves high detection performance while significantly improving interpretability in malware analysis. • Dual prototype-driven framework for explainable GNN-based malware detection. • SubMatch explainer uses subgraph matching for structure-aware node interpretation. • Behavior-aligned explanations via verified malicious and benign subgraph prototypes. • Fine-grained localization of malicious and benign regions within a CFG.

Engineering Applications of Artificial IntelligenceVol. 178
University of New Brunswick (CA)
Openalex Percentile: Top 99%
Explainable Artificial Intelligence (XAI)
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.