Zero-Day Ransomware Attack Detection Using Static Portable Executable Header Features
Source abstract
Abstract
Ransomware is one of the types of malware attacks that most severely affects financial institutions, since they cannot afford to lose their data or experience long-term disruptions. It is crucial for financial institutions to protect themselves from ransomware attacks. To fight zero-day ransomware attacks that are previously unseen attacks, we have presented a method that uses the static header features of portable executables. The method forms a comprehensive static feature set that includes the header fields of portable executables, count of dynamic link libraries (DLLs), DLL average, DLL list, function call average, and a measure of section content randomness. In order to make a compact feature set, a threshold was applied to three feature sets: portable executable header, DLL features, and section randomness. To determine the DLL average usage, the Tanimoto coefficient was applied to measure DLL similarity. The same procedure was applied to determine the function call average. The Chi-square test was applied to measure the section content randomness of portable executables. A stacking classifier was applied to measure the performance of the developed feature set. A publicly available dataset was used for the experiments. The results for the detection of zero-day attacks demonstrated averages of 97.15% accuracy, 98.06% recall, and 92.74% F-measure. When compared with other methods using the same dataset, our proposed method provided slightly better performance for many ransomware families.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Advanced Malware Detection Techniques · Network Security and Intrusion Detection · Digital and Cyber Forensics
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Computer Science, Kaunas University of Technology, LT-51390 Kaunas, Lithuania
Funding
Economic Revitalization and Resilience Enhancement Plan “New Generation Lithuania” as part of the execution of Project “Mission-driven Implementation of Science and Innovation Programmes”
References (52)
Show source-provided references
1. Ransomware Detection Using Machine Learning: A Review, Research Limitations and Future Directions10.1109/ACCESS.2024.3397921 ↗
2. Sophos (2025, March 27). The State of Ransomware 2023. Available online: https://assets.sophos.com/X24WTUEQ/at/c949g7693gsnjh9rb9gr8/sophos-state-of-ransomware-2023-wp.pdf.
3. Sophos (2025, March 27). The State of Ransomware 2024. Available online: https://assets.sophos.com/X24WTUEQ/at/9brgj5n44hqvgsp5f5bqcps/sophos-state-of-ransomware-2024-wp.pdf.
4. Mahendru, P. (2025, August 27). The State of Ransomware in Financial Services 2024. Available online: https://news.sophos.com/en-us/2024/06/24/the-state-of-ransomware-in-financial-services-2024/.
5. Cyber Threats Classifications and Countermeasures in Banking and Financial Sector10.1109/ACCESS.2023.3327016 ↗
6. Analysis of cyber-crime effects on the banking sector using the balanced score card: A survey of literature10.1108/JFC-03-2020-0037 ↗
7. Albshaier, L., Almarri, S., and Rahman, M.M.H. (2024). Earlier Decision on Detection of Ransomware Identification: A Comprehensive Systematic Literature Review. Information, 15.10.3390/info15080484 ↗
8. AI-Based Ransomware Detection: A Comprehensive Review10.1109/ACCESS.2024.3461965 ↗
9. Kim, S., Yeom, S., Oh, H., Shin, D., and Shin, D. (2021). Automatic Malicious Code Classification System through Static Analysis Using Machine Learning. Symmetry, 13.10.3390/sym13010035 ↗
10. Alraizza, A., and Algarni, A. (2023). Ransomware Detection Using Machine Learning: A Survey. Big Data Cogn. Comput., 7.10.3390/bdcc7030143 ↗
11. A Systematic Literature Review on AI-Based Methods and Challenges in Detecting Zero-Day Attacks10.1109/ACCESS.2024.3455410 ↗
12. Robust Malicious Executable Detection Using Host-Based Machine Learning Classifier
13. Miraoui, M., and Ben Belgacem, M. (2025). Binary and multiclass malware classification of windows portable executable using classic machine learning and deep learning. Front. Comput. Sci., 7.10.3389/fcomp.2025.1539519 ↗
14. Manavi, F., and Hamzeh, A. (2021, January 3–4). Static Detection of Ransomware Using LSTM Network and PE Header. Proceedings of the 2021 26th International Computer Conference, Computer Society of Iran (CSICC), Tehran, Iran.10.1109/CSICC52343.2021.9420580 ↗
15. A novel approach for ransomware detection based on PE header using graph embedding10.1007/s11416-021-00414-x ↗
16. Ransomware detection based on PE header using convolutional neural networks
17. Improving ransomware detection based on portable executable header using xception convolutional neural network10.1016/j.cose.2023.103265 ↗
18. Ransomware early detection: A survey10.1016/j.comnet.2023.110138 ↗
19. Sgandurra, D., Muñoz González, L., Mohsen, R., and Lupu, E.C. (2016). Automated dynamic analysis of ransomware: Benefits, limitations and use for detection. arXiv.
20. Vehabovic, A., Zanddizari, H., Ghani, N., Shaikh, F., Bou-Harb, E., Pour, M.S., and Crichigno, J. (2023, January 8–12). Data-centric machine learning approach for early ransomware detection and attribution. Proceedings of the NOMS 2023-2023 IEEE/IFIP Network Operations and Management Symposium, Miami, FL, USA.10.1109/NOMS56928.2023.10154378 ↗
21. Ransomware early detection using deep reinforcement learning on portable executable header10.1007/s10586-023-04043-5 ↗
22. Zero-Ran Sniff: A zero-day ransomware early detection method based on zero-shot learning10.1016/j.cose.2024.103849 ↗
23. A comprehensive analysis combining structural features for detection of new ransomware families
24. Ransomware detection with CNN and deep learning based on multiple features of portable executable files10.1007/s11227-025-07151-8 ↗
25. A novel machine learning approach for detecting first-time-appeared malware10.1016/j.engappai.2023.107801 ↗
26. Zero-day Ransomware Attack Detection using Deep Contractive Autoencoder and Voting based Ensemble Classifier10.1007/s10489-022-03244-6 ↗
27. Cryptographic ransomware encryption detection: Survey10.1016/j.cose.2023.103349 ↗
28. Husari, G., Niu, X., Chu, B., and Al-Shaer, E. (2018, January 8–10). Using Entropy and Mutual Information to Extract Threat Actions from Cyber Threat Intelligence. Proceedings of the 2018 IEEE International Conference on Intelligence and Security Informatics (ISI), Miami, FL, USA.10.1109/ISI.2018.8587343 ↗
29. Aityan, S.K. (2022). Confidence intervals. Business Research Methodology: Research Process and Methods, Springer International Publishing.10.1007/978-3-030-76857-7 ↗
30. (2025, April 24). PE Format. Available online: https://learn.microsoft.com/en-us/windows/win32/debug/pe-format.
31. A systematic literature review on Windows malware detection: Techniques, research issues, and future directions10.1016/j.jss.2023.111921 ↗
32. Improving data quality for human-as-a-security-sensor. A process driven quality improvement approach for user-provided incident information10.1108/ICS-06-2020-0100 ↗
33. Ayub, A., Siraj, A., Filar, B., and Gupta, M. (2023, January 1–3). Static-RWArmor: A Static Analysis Approach for Prevention of Cryptographic Windows Ransomware. Proceedings of the 2023 IEEE 22nd International Conference on Trust, Security and Privacy in Computing and Communications (TrustCom), Exeter, UK.10.1109/TrustCom60117.2023.00228 ↗
34. Efficient identification of Tanimoto nearest neighbors10.1007/s41060-017-0064-z ↗
35. Approaches to the classification of high entropy file fragments10.1016/j.diin.2013.08.004 ↗
36. Data Aware Defense (DaD): Towards a Generic and Practical Ransomware Countermeasure10.1007/978-3-319-70290-2_12 ↗
37. Differential area analysis for ransomware attack detection within mixed file datasets10.1016/j.cose.2021.102377 ↗
38. Arakkal, A., Pazheri Sharafudheen, S., and Vasudevan, A.R. (2023). Crypto-Ransomware Detection: A Honey-File Based Approach Using Chi-Square Test. Information Systems Security. ICISS 2023, International Conference on Information Systems Security, LNCS 14424; Springer Nature.10.1007/978-3-031-49099-6_27 ↗
39. Davies, S.R., Macfarlane, R., and Buchanan, W.J. (2022). Comparison of Entropy Calculation Methods for Ransomware Encrypted File Identification. Entropy, 24.10.3390/e24101503 ↗
40. Pont, J., Arief, B., and Hernandez-Castro, J.C. (2020). Why Current Statistical Approaches to Ransomware Detection Fail. Information Security, Proceedings of the 23rd International Conference, ISC 2020, Bali, Indonesia, 16–18 December 2020, Lecture Notes in Computer Science; Springer.10.1007/978-3-030-62974-8_12 ↗
41. Yao, W., Hu, L., Hou, Y., and Li, X. (2023). A Lightweight Intelligent Network Intrusion Detection System Using One-Class Autoencoder and Ensemble Learning for IoT. Sensors, 23.10.3390/s23084141 ↗
42. Mitigating adversarial evasion attacks of ransomware using ensemble learning10.1016/j.compeleceng.2022.107903 ↗
43. Hardening behavioral classifiers against polymorphic malware: An ensemble approach based on minority report10.1016/j.ins.2024.121499 ↗
44. A comprehensive survey on intrusion detection algorithms10.1016/j.compeleceng.2024.109863 ↗
45. Bagging predictors10.1023/A:1018054314350 ↗
46. A recommendation attack detection approach integrating CNN with Bagging10.1016/j.cose.2024.104030 ↗
47. Freund, Y., and Schapire, R.E. (July, January 28). Game theory, on-line prediction and boosting. Proceedings of the the Ninth Annual Conference on Computational Learning Theory, Desenzano del Garda, Italy.
48. Hybrid one-dimensional residual autoencoder and ensemble of gradient boosting for cloud IDS10.1002/cpe.8088 ↗
49. Stacked generalization10.1016/S0893-6080(05)80023-1 ↗
50. MeMalDet: A memory analysis-based malware detection framework using deep autoencoders and stacked ensemble under temporal evaluations10.1016/j.cose.2024.103864 ↗
51. CatBoost for big data: An interdisciplinary review10.1186/s40537-020-00369-8 ↗
52. Louk, M.H.L., and Tama, B.A. (2022). Tree-Based Classifier Ensembles for PE Malware Analysis: A Performance Revisit. Algorithms, 15.10.3390/a15090332 ↗