基于硬件性能计数器的恶意软件检测分类器性能研究 On the Performance of Malware Detection Classifiers Using Hardware Performance Counters 预印本
原文摘要
查看英文原文摘要
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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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.