{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,22]],"date-time":"2026-05-22T13:06:52Z","timestamp":1779455212473,"version":"3.53.1"},"reference-count":48,"publisher":"MDPI AG","issue":"6","license":[{"start":{"date-parts":[[2026,5,22]],"date-time":"2026-05-22T00:00:00Z","timestamp":1779408000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Science and Technology Project of State Grid Shandong Electric Power Company","award":["520627250002"],"award-info":[{"award-number":["520627250002"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Computers"],"abstract":"<jats:p>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.<\/jats:p>","DOI":"10.3390\/computers15060329","type":"journal-article","created":{"date-parts":[[2026,5,22]],"date-time":"2026-05-22T12:14:52Z","timestamp":1779452092000},"page":"329","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["LLM-SGCF: A Robust Malware Detection Framework with Spatially Guided Convolution"],"prefix":"10.3390","volume":"15","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-7896-6372","authenticated-orcid":false,"given":"Lina","family":"Zhao","sequence":"first","affiliation":[{"name":"Information and Telecommunications Company, State Grid Shandong Electric Power Company, Jinan 250000, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9242-8965","authenticated-orcid":false,"given":"Hua","family":"Huang","sequence":"additional","affiliation":[{"name":"Information and Telecommunications Company, State Grid Shandong Electric Power Company, Jinan 250000, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ning","family":"Li","sequence":"additional","affiliation":[{"name":"Information and Telecommunications Company, State Grid Shandong Electric Power Company, Jinan 250000, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0009-6682-5527","authenticated-orcid":false,"given":"Yunxiao","family":"Wang","sequence":"additional","affiliation":[{"name":"Information and Telecommunications Company, State Grid Shandong Electric Power Company, Jinan 250000, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3007-5794","authenticated-orcid":false,"given":"Ming","family":"Li","sequence":"additional","affiliation":[{"name":"Information and Telecommunications Company, State Grid Shandong Electric Power Company, Jinan 250000, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2026,5,22]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"82","DOI":"10.1109\/MNET.011.2000331","article-title":"Malicious code detection under 5G HetNets based on a multi-objective RBM model","volume":"35","author":"Cui","year":"2021","journal-title":"IEEE Netw."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"102501","DOI":"10.1016\/j.cose.2021.102501","article-title":"Obfuscated malware detection using deep generative model based on global\/local features","volume":"112","author":"Kim","year":"2022","journal-title":"Comput. Secur."},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Yan, K., Zhang, Y., Tang, H., Ren, C., Zhang, J., Wang, G., and Wang, H. (2022, January 19\u201320). Signature detection, restoration, and verification: A novel chinese document signature forgery detection benchmark. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA.","DOI":"10.1109\/CVPRW56347.2022.00564"},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"6335","DOI":"10.1109\/TMC.2025.3636517","article-title":"STATGRAPH: Effective in-Vehicle Intrusion Detection via Multi-View Statistical Graph Learning","volume":"25","author":"Wang","year":"2025","journal-title":"IEEE Trans. Mob. Comput."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"12472","DOI":"10.1002\/int.23094","article-title":"CNN-and GAN-based classification of malicious code families: A code visualization approach","volume":"37","author":"Wang","year":"2022","journal-title":"Int. J. Intell. Syst."},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Guan, Z., Wang, J., Wang, X., Xin, W., Cui, J., and Jing, X. (2021, January 23\u201326). A comparative study of RNN-based methods for web malicious code detection. Proceedings of the 2021 IEEE 6th International Conference on Computer and Communication Systems (ICCCS), Chengdu, China.","DOI":"10.1109\/ICCCS52626.2021.9449245"},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Alshomrani, M., Albeshri, A., Alturki, B., Alallah, F.S., and Alsulami, A.A. (2024). Survey of Transformer-Based Malicious Software Detection Systems. Electronics, 13.","DOI":"10.3390\/electronics13234677"},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"103651","DOI":"10.1016\/j.cose.2023.103651","article-title":"A novel Android malware detection method with API semantics extraction","volume":"137","author":"Yang","year":"2024","journal-title":"Comput. Secur."},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Kamalloo, E., Zhang, X., Ogundepo, O., Thakur, N., Alfonso-Hermelo, D., Rezagholizadeh, M., and Lin, J. (2023). Evaluating embedding APIs for information retrieval. arXiv.","DOI":"10.18653\/v1\/2023.acl-industry.50"},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"103518","DOI":"10.1016\/j.cose.2023.103518","article-title":"CTIMD: Cyber threat intelligence enhanced malware detection using API call sequences with parameters","volume":"136","author":"Chen","year":"2024","journal-title":"Comput. Secur."},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Kouliaridis, V., Karopoulos, G., and Kambourakis, G. (2024, January 13\u201314). Assessing the effectiveness of llms in android application vulnerability analysis. Proceedings of the International Conference on Attacks and Defenses for Internet-of-Things, Hangzhou, China.","DOI":"10.1007\/978-3-031-85593-1_9"},{"key":"ref_12","unstructured":"Cheng, Y., Shar, L.K., Zhang, T., Yang, S., Dong, C., Lo, D., Lv, S., Shi, Z., and Sun, L. (2024). Llm-enhanced static analysis for precise identification of vulnerable oss versions. arXiv."},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Nam, D., Macvean, A., Hellendoorn, V., Vasilescu, B., and Myers, B. (2024, January 14\u201320). Using an llm to help with code understanding. Proceedings of the IEEE\/ACM 46th International Conference on Software Engineering, Lisbon, Portugal.","DOI":"10.1145\/3597503.3639187"},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Hoseini, S., Burgdorf, A., Paulus, A., Meisen, T., Quix, C., and Pomp, A. (2024, January 26\u201330). Challenges and Opportunities of LLM-Augmented Semantic Model Creation for Dataspaces. Proceedings of the European Semantic Web Conference, Hersonissos, Greece.","DOI":"10.1007\/978-3-031-78955-7_17"},{"key":"ref_15","unstructured":"Cloud, A. (2018, November 11). Alibaba Cloud Malware Detection Based on Behaviors. Available online: https:\/\/tianchi.aliyun.com\/getStart\/information.htm?raceId=231694."},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"e285","DOI":"10.7717\/peerj-cs.285","article-title":"Deep learning based Sequential model for malware analysis using Windows exe API Calls","volume":"6","author":"Catak","year":"2020","journal-title":"PeerJ Comput. Sci."},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"170305","DOI":"10.1007\/s11432-023-3978-y","article-title":"Path signature-based xai-enabled network time series classification","volume":"67","author":"Sun","year":"2024","journal-title":"Sci. China Inf. Sci."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"8241104","DOI":"10.1155\/2021\/8241104","article-title":"Hybrid Rule-Based Solution for Phishing URL Detection Using Convolutional Neural Network","volume":"2021","author":"Mourtaji","year":"2021","journal-title":"Wirel. Commun. Mob. Comput."},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Kouli, M., and Rasoolzadegan, A. (2022). A feature-based method for detecting design patterns in source code. Symmetry, 14.","DOI":"10.3390\/sym14071491"},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Bhadra, T., Mallik, S., Hasan, N., and Zhao, Z. (2022). Comparison of five supervised feature selection algorithms leading to top features and gene signatures from multi-omics data in cancer. BMC Bioinform., 23.","DOI":"10.1186\/s12859-022-04678-y"},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Rabbani, M., Wang, Y., Khoshkangini, R., Jelodar, H., Zhao, R., Bagheri Baba Ahmadi, S., and Ayobi, S. (2021). A review on machine learning approaches for network malicious behavior detection in emerging technologies. Entropy, 23.","DOI":"10.3390\/e23050529"},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"482","DOI":"10.1016\/j.neucom.2020.09.082","article-title":"Effective detection of mobile malware behavior based on explainable deep neural network","volume":"453","author":"Yan","year":"2021","journal-title":"Neurocomputing"},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Gonzalez, D., Zimmermann, T., Godefroid, P., and Sch\u00e4fer, M. (2021, January 25\u201328). Anomalicious: Automated detection of anomalous and potentially malicious commits on github. Proceedings of the 2021 IEEE\/ACM 43rd International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP), Madrid, Spain.","DOI":"10.1109\/ICSE-SEIP52600.2021.00035"},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"119229","DOI":"10.1016\/j.ins.2023.119229","article-title":"Graph based encrypted malicious traffic detection with hybrid analysis of multi-view features","volume":"644","author":"Hong","year":"2023","journal-title":"Inf. Sci."},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"9157","DOI":"10.1109\/TCYB.2021.3059002","article-title":"Graph convolutional network-based method for fault diagnosis using a hybrid of measurement and prior knowledge","volume":"52","author":"Chen","year":"2021","journal-title":"IEEE Trans. Cybern."},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"110707","DOI":"10.1016\/j.comnet.2024.110707","article-title":"TransURL: Improving malicious URL detection with multi-layer Transformer encoding and multi-scale pyramid features","volume":"253","author":"Liu","year":"2024","journal-title":"Comput. Netw."},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Wang, Y., Shi, Y., Yang, T., Wang, W., Sun, Z., and Zhang, Y. (2026). Structural performance warning based on computer intelligent monitoring and fractional-order multi-rate Kalman fusion method. Fractal Fract., 10.","DOI":"10.3390\/fractalfract10030186"},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"987","DOI":"10.1109\/TIFS.2019.2932228","article-title":"Android HIV: A study of repackaging malware for evading machine-learning detection","volume":"15","author":"Chen","year":"2019","journal-title":"IEEE Trans. Inf. Forensics Secur."},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Hossain, A.A., PK, M.K., Zhang, J., and Amsaad, F. (2024, January 15\u201318). Malicious code detection using llm. Proceedings of the NAECON 2024\u2014IEEE National Aerospace and Electronics Conference, Fairborn, OH, USA.","DOI":"10.1109\/NAECON61878.2024.10670668"},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"872","DOI":"10.1109\/JAS.2025.125498","article-title":"Exploring DeepSeek: A Survey on Advances, Applications, Challenges and Future Directions","volume":"12","author":"Deng","year":"2025","journal-title":"IEEE\/CAA J. Autom. Sin."},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"112031","DOI":"10.1016\/j.jss.2024.112031","article-title":"GRACE: Empowering LLM-based software vulnerability detection with graph structure and in-context learning","volume":"212","author":"Lu","year":"2024","journal-title":"J. Syst. Softw."},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"317","DOI":"10.1109\/JAS.2024.124971","article-title":"When Software Security Meets Large Language Models: A Survey","volume":"12","author":"Zhu","year":"2025","journal-title":"IEEE\/CAA J. Autom. Sin."},{"key":"ref_33","unstructured":"Cheng, W., Sun, K., Zhang, X., and Wang, W. (March, January 25). Security attacks on llm-based code completion tools. Proceedings of the AAAI Conference on Artificial Intelligence, Philadelphia, PA, USA."},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Zhong, A., Mo, D., Liu, G., Liu, J., Lu, Q., Zhou, Q., Wu, J., Li, Q., and Wen, Q. (2024, January 25\u201329). Logparser-llm: Advancing efficient log parsing with large language models. Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, Barcelona, Spain.","DOI":"10.1145\/3637528.3671810"},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1109\/JAS.2024.124983","article-title":"The Security of Using Large Language Models\u2014A Survey with Emphasis on ChatGPT","volume":"12","author":"Zhou","year":"2025","journal-title":"IEEE\/CAA J. Autom. Sin."},{"key":"ref_36","unstructured":"Zhan, X., Carrillo, J.C., Seymour, W., and Such, J. (2025). Malicious LLM-Based Conversational AI Makes Users Reveal Personal Information. arXiv."},{"key":"ref_37","unstructured":"Chen, J., Zhong, Q., Wang, Y., Ning, K., Liu, Y., Xu, Z., Zhao, Z., Chen, T., and Zheng, Z. (November, January 27). Rmcbench: Benchmarking large language models\u2019 resistance to malicious code. Proceedings of the 39th IEEE\/ACM International Conference on Automated Software Engineering, Sacramento, CA, USA."},{"key":"ref_38","doi-asserted-by":"crossref","first-page":"7211","DOI":"10.1109\/TIFS.2025.3581103","article-title":"Hardening LLM Fine-Tuning: From Differentially Private Data Selection to Trustworthy Model Quantization","volume":"20","author":"Deng","year":"2025","journal-title":"IEEE Trans. Inf. Forensics Secur."},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"Dang, D., Di Troia, F., and Stamp, M. (2021). Malware classification using long short-term memory models. arXiv.","DOI":"10.5220\/0010378007430752"},{"key":"ref_40","doi-asserted-by":"crossref","unstructured":"Yuan, L., Zeng, Z., Lu, Y., Ou, X., and Feng, T. (2019, January 15\u201317). A character-level BiGRU-attention for phishing classification. Proceedings of the International Conference on Information and Communications Security, Beijing, China.","DOI":"10.1007\/978-3-030-41579-2_43"},{"key":"ref_41","unstructured":"Zhang, Z., Qi, P., and Wang, W. (2020, January 7\u201312). Dynamic malware analysis with feature engineering and feature learning. Proceedings of the AAAI Conference on Artificial Intelligence, New York, NY, USA."},{"key":"ref_42","doi-asserted-by":"crossref","unstructured":"Qin, B., Wang, Y., and Ma, C. (2020, January 12\u201314). API call based ransomware dynamic detection approach using textCNN. Proceedings of the 2020 International Conference on Big Data, Artificial Intelligence and Internet of Things Engineering (ICBAIE), Virtual.","DOI":"10.1109\/ICBAIE49996.2020.00041"},{"key":"ref_43","unstructured":"Kolosnjaji, B., Zarras, A., Webster, G., and Eckert, C. (December, January 30). Deep learning for classification of malware system call sequences. Proceedings of the Australasian Joint Conference on Artificial Intelligence, Hobart, Australia."},{"key":"ref_44","doi-asserted-by":"crossref","first-page":"102686","DOI":"10.1016\/j.cose.2022.102686","article-title":"A novel deep framework for dynamic malware detection based on API sequence intrinsic features","volume":"116","author":"Li","year":"2022","journal-title":"Comput. Secur."},{"key":"ref_45","doi-asserted-by":"crossref","unstructured":"Zhang, S., Wu, J., Zhang, M., and Yang, W. (2023). Dynamic malware analysis based on API sequence semantic fusion. Appl. Sci., 13.","DOI":"10.3390\/app13116526"},{"key":"ref_46","doi-asserted-by":"crossref","first-page":"102846","DOI":"10.1016\/j.cose.2022.102846","article-title":"An ensemble of pre-trained transformer models for imbalanced multiclass malware classification","volume":"121","year":"2022","journal-title":"Comput. Secur."},{"key":"ref_47","doi-asserted-by":"crossref","first-page":"6155","DOI":"10.1109\/TIFS.2024.3409083","article-title":"Nebula: Self-attention for dynamic malware analysis","volume":"19","author":"Trizna","year":"2024","journal-title":"IEEE Trans. Inf. Forensics Secur."},{"key":"ref_48","doi-asserted-by":"crossref","first-page":"102458","DOI":"10.1016\/j.cose.2021.102458","article-title":"Malbert: A novel pre-training method for malware detection","volume":"111","author":"Xu","year":"2021","journal-title":"Comput. Secur."}],"container-title":["Computers"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2073-431X\/15\/6\/329\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,5,22]],"date-time":"2026-05-22T12:23:11Z","timestamp":1779452591000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2073-431X\/15\/6\/329"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,5,22]]},"references-count":48,"journal-issue":{"issue":"6","published-online":{"date-parts":[[2026,6]]}},"alternative-id":["computers15060329"],"URL":"https:\/\/doi.org\/10.3390\/computers15060329","relation":{},"ISSN":["2073-431X"],"issn-type":[{"value":"2073-431X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,5,22]]}}}