journal article·2026-06-24Open access

Hardware Performance Counter Analysis of Ransomware Behavior: Observed Inverse Correlations Across Heterogeneous x86 Platforms

Erliang Zhao, Ziyuan Zhu

Applied Sciences· Volume 16· Issue 13

Abstract

During startup, ransomware is associated with abnormal fluctuations in underlying hardware resources. Hardware Performance Counters (HPC) can characterize this ultra-early behavior without interference from software-based countermeasures. However, existing studies lack a cross-platform hardware-layer analysis paradigm and typically neglect the first 10 s post-execution. This study selects two platforms—Windows 7 (homogeneous x86) and Windows 10 (Intel performance hybrid architecture with P-core (performance core) and E-core (efficiency core))—and constructs a large-scale dataset (1721 ransomware and 1039 benign samples on Windows 7; 1562 ransomware and 718 benign on Windows 10). On Windows 7, 25 HPC events are monitored. On Windows 10, each event yields two instance-level metrics (P-core and E-core), resulting in 42 instance-level metrics. Using statistical analysis (Pearson correlation, fold change) and feature selection (Random Forest + clustering), four core metrics are independently selected per platform. Windows 7 favors LLC and branch events (increasing trends, fold change ≥ 1.5, e.g., LLC-store_std), while Windows 10 favors P/E-core branch and cache events (decreasing trends, fold change ≤ 0.667, e.g., cpu_atom_branch-load-misses_max). The 10 s window is divided into startup (0–2 s), key generation (2–5 s), and encryption (5–10 s) phases. Results indicate opposite correlation patterns: resource-enhanced disturbance (positive correlation, fold change ≥ 1.5) on Windows 7 versus resource-suppressed disturbance (negative correlation, fold change ≤ 0.667) on Windows 10. Critically, startup-phase HPC events exhibit substantially stronger correlation on Windows 10 (S-level, >85%) compared to Windows 7 (A-level, 70–84%). This difference may be associated with the fine-grained P/E-core separation, which preserves core-type behavioral information that is aggregated and lost on homogeneous platforms. This study contributes a cross-platform correlation framework, observes an architecture-dependent inversion pattern of HPC responses, and suggests that core-type granularity—rather than event quantity—is associated with stronger feature–behavior correlations on heterogeneous architectures, providing preliminary empirical insights for future lightweight detection system design.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Security and Verification in Computing · Advanced Malware Detection Techniques · Software System Performance and Reliability

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Institute of Information Engineering, Chinese Academy of Sciences, Beijing 100085, China

University of Chinese Academy of Sciences, Beijing 100085, China

State Key Laboratory of Cyber Security Defense, Beijing 100085, China

References (33)

Show source-provided references
1. Das, S., Werner, J., Antonakakis, M., Polychronakis, M., and Monrose, F. (2019). Sok: The challenges, pitfalls, and perils of using hardware performance counters for security. Proceedings of the 40th IEEE Symposium on Security and Privacy (S&P), IEEE.10.1109/SP.2019.00021 ↗
2. Demme, J., Salwan, M., Sethumadhavan, A., and Stolfo, S. (2013, January 23–27). On the feasibility of online malware detection with performance counters. Proceedings of the 40th Annual International Symposium on Computer Architecture (ISCA), Tel Aviv, Israel.10.1145/2485922.2485970 ↗
3. Tang, A., Chen, S., and Lin, Y. (2015, January 7–11). Unsupervised anomaly detection using hardware performance counters. Proceedings of the 21st IEEE International Symposium on High Performance Computer Architecture (HPCA), Burlingame, CA, USA.
4. On the classification of Microsoft-Windows ransomware using hardware profile10.7717/peerj-cs.361 ↗
5. Detection of ransomware attacks using processor and disk usage data10.1109/ACCESS.2023.3279819 ↗
6. Pundir, N., Tehranipoor, M., and Rahman, F. (2020). RanStop: A hardware-assisted runtime crypto-ransomware detection technique. arXiv.
7. Research and implementation of ransomware detection technology based on hardware performance counters
8. HiPeR—Early detection of a ransomware attack using hardware performance counters
9. Serebrin, B., and Hecht, D. (2012, January 13–15). Virtualizing performance counters. Proceedings of the USENIX Annual Technical Conference (USENIX ATC), Boston, MA, USA.
10. VirtualBox Community (2025, December 10). Will VirtualBox Support PMU Virtualization? VirtualBox Forums. Available online: https://forums.virtualbox.org/viewtopic.php?t=110633.
11. Gonzalez-Gomez, J., de Oliveira, P.C., and Cabral, F.P.M. (2024). LightFAt: Mitigating control-flow explosion via lightweight PMU-based control-flow attestation. Proceedings of the IEEE International Symposium on Hardware Oriented Security and Trust (HOST), IEEE.10.1109/HOST55342.2024.10545348 ↗
12. Putrevu, M.A., Charan, P.V.S., and Shukla, S.K. (February, January 30). Early detection of ransomware activity based on hardware performance counters. Proceedings of the 2023 Australasian Computer Science Week (ACSW), Melbourne, Australia.10.1145/3579375.3579377 ↗
13. Ransomware detection through temporal correlation between encryption and I/O behavior10.1145/3715725 ↗
14. Binder, R., Byun, J., Brown, D., Walker, T.O., and Hill, J. (2025). Building confidence in hardware-based ransomware detection through hardware performance counter event correlation. Proceedings of the Conference on Detection of Intrusions and Malware, and Vulnerability Assessment (DIMVA), Springer.10.1007/978-3-031-97623-0_19 ↗
15. Cross-platform malware detection: Challenges and opportunities
16. Messahel, W., and Touili, T. (2025, January 20–22). Analyzing a concurrent self-modifying program: Application to malware detection. Proceedings of the International Conference on Information Systems Security and Privacy (ICISSP), Porto, Portugal.10.5220/0013103900003899 ↗
17. CAIMP: Cross-architecture IoT malware detection and prediction based on static feature10.1093/comjnl/bxae042 ↗
18. A survey of hardware-assisted ransomware detection10.1145/3644073 ↗
19. Detecting anomalies through sequential performance analysis in virtualized environments10.1109/ACCESS.2023.3293643 ↗
20. Gregg, B. (2020, January 15). perf-Tools: Performance Analysis Tools Based on Linux Perf_Events and Ftrace. Available online: https://github.com/brendangregg/perf-tools.
21. Zhang, Y., Wang, X., and Chen, L. (2024). Protecting confidential virtual machines from hardware performance counter side channels. Proceedings of the IEEE International Symposium on High Performance Computer Architecture (HPCA), IEEE.
22. (2025, December 10). VirusShare Malware Sample Repository. Available online: https://www.virusshare.com.
23. Improving ransomware detection based on portable executable header using xception convolutional neural network10.1016/j.cose.2023.103265 ↗
24. SoftwareInformer (2025, November 15). Software Informer: Windows Software Downloads and Editorial Reviews. Available online: https://software.informer.com.
25. Deepware: Imaging performance counters with deep learning to detect ransomware
26. An introduction to variable and feature selection
27. Random forests10.1023/A:1010933404324 ↗
28. Muzaffar, A., Shahid, H.R., Rauf, A., and Javed, A.R. (2023). A comprehensive investigation of feature and model importance in android malware detection. arXiv.
29. Cohen, J. (1988). Statistical Power Analysis for the Behavioral Sciences, Lawrence Erlbaum Associates. [2nd ed.].
30. Jakobsche, T., Khan, M.K., and Lee, J.H. (2024). Using malware detection techniques for HPC application classification. arXiv.10.1109/SCW63240.2024.00222 ↗
31. Hastie, T., Tibshirani, R., and Friedman, J. (2009). The Elements of Statistical Learning: Data Mining, Inference, and Prediction, Springer. [2nd ed.].10.1007/978-0-387-84858-7 ↗
32. Analysis of performance and energy efficiency of processors with hybrid architecture10.35784/jcsi.6690 ↗
33. Ferdous, J., and Islam, R. (2024). A survey on machine learning techniques in multi-platform malware detection: Securing PC, mobile devices, IoT, and cloud environments. Preprints.10.20944/preprints202412.0348.v1 ↗