EUVIMEDDescoperă EUVIMED
Open access · CC BY 4.0

LLM-SGCF: A Robust Malware Detection Framework with Spatially Guided Convolution

Lina Zhao, Hua Huang, Ning Li, Yunxiao Wang, Ming Li

Computers · 2026-05-22 · 15 (6) · 329

DOI: 10.3390/computers15060329 ↗

At a glance

Journal article in Computers, published online on 2026-05-22. Written by Lina Zhao and 4 co-authors. 48 references. The full text is freely available (open access, CC BY 4.0). Funded by: Science and Technology Project of State Grid Shandong Electric Power Company.

RezumatDate bibliograficeCiteRelated studies

Abstract (original language)

With the rapid evolution of cyberattack techniques, identifying dynamic behavioral intents from Application Programming Interface call sequences has become a fundamental modality for ensuring reliable malware detection and information security. However, existing detection methods face the dual challenges of semantic sparsity and inadequate spatial dependency modeling when processing these sequences, which fundamentally undermines their stability against complex structural variations and in-the-wild evasive patterns. To address these critical vulnerabilities, we propose LLM-SGCF, a highly effective malware detection framework that jointly models deep behavioral semantics and spatial structures. Specifically, our framework leverages generative Large Language Models, which are subsequently encoded by BERT, to transform sparse API calls into rich and contextualized descriptions. Concurrently, it employs a novel Spatially Guided Convolution (SGC) module to localize critical malicious segments and extract cross-position dependencies in a two-dimensional semantic space. Extensive experiments on the public Aliyun and Catak datasets demonstrate that LLM-SGCF exhibits exceptional resilience to real-world structural complexity and significantly outperforms state-of-the-art baselines, achieving a peak binary-classification accuracy of 95.82%. Further ablation analyses confirm that the synergistic fusion of semantic enhancement driven by Large Language Models and spatial structural modeling dramatically improves the resilience of the framework against complex attack chains, providing a highly reliable paradigm for next-generation malware recognition systems.

Funding

  • Science and Technology Project of State Grid Shandong Electric Power Company

Cite

APA

Zhao, L., Huang, H., Li, N., Wang, Y., & Li, M. (2026). LLM-SGCF: A Robust Malware Detection Framework with Spatially Guided Convolution. Computers, 15(6), 329. https://doi.org/10.3390/computers15060329

Vancouver

Zhao L, Huang H, Li N, Wang Y, Li M. LLM-SGCF: A Robust Malware Detection Framework with Spatially Guided Convolution. Computers. 2026;15(6):329. doi:10.3390/computers15060329

BibTeX
@article{Zhao2026,
  author = {Zhao, Lina and Huang, Hua and Li, Ning and Wang, Yunxiao and Li, Ming},
  title = {LLM-SGCF: A Robust Malware Detection Framework with Spatially Guided Convolution},
  journal = {Computers},
  year = {2026},
  volume = {15},
  number = {6},
  pages = {329},
  doi = {10.3390/computers15060329}
}
Start for free →