基于硬件性能计数器的恶意软件检测分类器性能研究 On the Performance of Malware Detection Classifiers Using Hardware Performance Counters 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-08-02
👁️ 预览文献
💡 AI 中文简介
本文研究利用硬件性能计数器(HPC)和机器学习分类器进行恶意软件检测。传统杀毒软件难以应对新型恶意软件,而基于硬件的检测方法通过分析处理器运行时的微架构事件来识别恶意程序。作者采用集成学习技术,结合18种机器学习模型和2种集成方法,共构建144种配置进行实验。结果表明,使用2个HPC的集成学习检测器比使用8个HPC的标准分类器性能提升高达10%,且仅用4个HPC就能达到使用16个HPC的标准检测器效果,从而实现了高效的运行时恶意软件检测。
领域硬件安全、恶意软件检测
适合谁读需要一定专业背景
核心贡献["提出使用集成学习技术减少所需微架构事件数量,提高处理器效率", "实验证明集成学习在少量HPC下即可达到甚至超越标准分类器性能"]
关键数据使用2个HPC的集成检测器比使用8个HPC的标准分类器性能提升高达10%;仅用4个HPC即可匹配使用16个HPC的标准检测器性能
推荐理由想了解如何用更少的硬件事件实现高效恶意软件检测?本文的集成学习方法值得一读。
关键词["硬件性能计数器", "恶意软件检测", "机器学习", "集成学习", "运行时检测"]

原文摘要

查看英文原文摘要

Malware detection using Hardware Performance Counters (HPC) has emerged as a promising solution to improve the security of computing systems as a complement to antivirus software. Hardware-based malware detectors (HMD) use Machine Learning (ML) classifiers to detect malicious application patterns. The inputs to ML classifiers are low-level performance features known as HPCs, hardware-related activity data collected from a processor at run time to profile the low-level microarchitectural behavior of an application. This paper proposes malware detection using HPCs and machine learning classifiers and highlights the effectiveness of malware detection at run-time. We use ensemble learning techniques to improve the performance of the hardware-based malware detectors, which reduces the number of necessary micro-architectural events. This improves the processor's efficiency by eliminating the need to run an application several times since a processor can measure only 2 to 8 events at a cycle. We use 18 machine-learning models along with two ensemble learning methods to evaluate the malware detection performance, creating a total of 144 different configurations. The experimental results show that the ensemble learning-based malware detection with 2 HPCs using the ensemble technique outperforms standard classifiers with 8 HPCs by up to 10%. It also matches the performance of standard ML-based detectors that use 16 HPCs while requiring only 4 HPCs, thereby enabling effective run-time malware detection.

📚 参考文献 (13 条)

查看13 条参考文献
  1. [1] B. Zhou, A. Gupta, R. Jahanshahi, M. Egele, and A. Joshi, ”A cautionary tale about detecting malware using hardware performance counters and machine learning,” IEEE Design & Test, vol. 38, no. 3, pp. 39-50, 2021.
  2. [2] B. Zhou, A. Gupta, R. Jahanshahi, M. Egele, and A. Joshi, ”Hardware Performance Counters Can Detect Malware: Myth or Fact?,” in Proc. of the 2018 Asia Conference on Computer and Communications Security (ASIACCS ’18), Incheon, Republic of Korea, pp. 457-468, 2018.
  3. [3] K. Basu, P. Krishnamurthy, F. Khorrami, and R. Karri, ”A Theoretical Study of Hardware Performance Counters-Based Malware Detection,” IEEE Transactions on Information Forensics and Security, vol. 15, pp. 512-525, 2020.
  4. [4] M. S. Islam, K. N. Khasawneh, N. Abu-Ghazaleh, D. Ponomarev, and L. Yu, ”Efficient Hardware Malware Detectors That are Resilient to Adversarial Evasion,” IEEE Transactions on Computers, vol. 71, no. 11, pp. 2872-2887, 2022.
  5. [5] S. P. Kadiyala, P. Jadhav, S.-K. Lam, and T. Srikanthan, ”Hardware per- formance counter-based fine-grained malware detection,” ACM Trans- actions on Embedded Computing Systems (TECS), vol. 19, no. 5, pp. 1-17, 2020.
  6. [6] M. S. Karvandi, M. Gholamrezaei, S. Khalaj Monfared, S. Meghdadizan- jani, B. Abbassi, A. Amini, R. Mortazavi, S. Gorgin, D. Rahmati, and M. Schwarz, ”Hyperdbg: Reinventing hardware-assisted debugging,” in Proc. of the 2022 ACM SIGSAC Conference on Computer and Communications Security, pp. 1709-1723, 2022.
  7. [7] J. Demme, M. Maycock, J. Schmitz, A. Tang, A. Waksman, S. Sethu- madhavan, and S. Stolfo, ”On the feasibility of online malware detection with performance counters,” ACM SIGARCH Computer Architecture News, vol. 41, no. 3, pp. 559-570, 2013.
  8. [8] M. Alam, S. Sinha, S. Bhattacharya, S. Dutta, D. Mukhopadhyay and A. Chattopadhyay, ”Rapper: Ransomware prevention via performance counters,” arXiv preprint arXiv:2004.01712.
  9. [9] P. Mohan Anand, P. V. Sai Charan, and Sandeep K. Shukla, ”HiPeR - Early Detection of a Ransomware Attack using Hardware Performance Counters,” Digital Threats, vol. 4, no. 3, pp. 43, Sep. 2023.
  10. [10] G. O. Ganfure, C.-F. Wu, Y.-H. Chang, and W.-K. Shih, ”DeepWare: Imaging Performance Counters With Deep Learning to Detect Ran- somware,” IEEE Trans. Comput., vol. 72, no. 3, pp. 600-613, Mar. 2023
  11. [11] A. P. Kuruvila, A. Mahapatra, R. Karri, & K. Basu, ”Hardware Perfor- mance Counters: Ready-Made vs Tailor-Made,” ACM Transactions on Embedded Computing Systems (TECS), pp. 1-26, 2021.
  12. [12] C. P. Chenet, A. Savino, and S. Di Carlo, ”A Survey on Hardware-Based Malware Detection Approaches,” IEEE Access, vol. 12, pp. 54115- 54128, 2024.
  13. [13] K. Basu, P. Krishnamurthy, F. Khorrami, and R. Karri, ”A theoretical study of hardware performance counters-based malware detection,” in IEEE Transactions on Information Forensics and Security, vol. 15, pp. 512-525, 2019.