Skip to main content
QUICK REVIEW

[Paper Review] Malware Detection at the Microarchitecture Level using Machine Learning Techniques

Abigail Kwan|arXiv (Cornell University)|May 25, 2020
Advanced Malware Detection TechniquesComputer Science26 references5 citations
TL;DR

This paper proposes a hardware-based malware detection system that leverages machine learning on microarchitectural data from Hardware Performance Counters (HPCs) to classify malware with high accuracy. It compares binary and multi-class classification models using lightweight algorithms like J48 and JRip, finding they outperform complex models in robustness and false positive control despite slightly lower accuracy, demonstrating their effectiveness for real-time detection at the microarchitecture level.

ABSTRACT

Detection of malware cyber-attacks at the processor microarchitecture level has recently emerged as a promising solution to enhance the security of computer systems. Security mechanisms, such as hardware-based malware detection, use machine learning algorithms to classify and detect malware with the aid of Hardware Performance Counters (HPCs) information. The ML classifiers are fed microarchitectural data extracted from Hardware Performance Counters (HPCs), which contain behavioral data about a software program. These HPCs are captured at run-time to model the program's behavior. Since the amount of HPCs are limited per processor, many techniques employ feature reduction to reduce the amount of HPCs down to the most essential attributes. Previous studies have already used binary classification to implement their malware detection after doing extensive feature reduction. This results in a simple identification of software being either malware or benign. This research comprehensively analyzes different hardware-based malware detectors by comparing different machine learning algorithms' accuracy with binary and multi-class classification models. Our experimental results indicate that when compared to complex machine learning models (e. g. Neural Network and Logistic), light-weight J48 and JRip algorithms perform better in detecting the malicious patterns even with the introduction of multiple types of malware. Although their detection accuracy slightly lowers, their robustness (Area Under the Curve) is still high enough that they deliver a reasonable false positive rate.

Motivation & Objective

  • To investigate the effectiveness of machine learning models in detecting malware using microarchitectural data from Hardware Performance Counters (HPCs).
  • To compare binary and multi-class classification approaches in malware detection accuracy and robustness.
  • To evaluate the performance of lightweight machine learning algorithms (e.g., J48, JRip) versus complex models (e.g., Neural Networks, Logistic Regression) in real-time malware detection.
  • To reduce feature dimensionality using feature reduction techniques while preserving detection capability.
  • To assess the trade-off between detection accuracy and false positive rates in hardware-based malware detection systems.

Proposed method

  • Collects runtime microarchitectural behavior data from Hardware Performance Counters (HPCs) to represent program execution patterns.
  • Applies feature reduction techniques to minimize the number of HPCs used, focusing on the most essential attributes for detection.
  • Trains multiple machine learning classifiers, including J48, JRip, Neural Networks, and Logistic Regression, on the reduced HPC feature set.
  • Implements both binary (malware/benign) and multi-class (multiple malware types) classification models for comparative analysis.
  • Evaluates model performance using metrics such as accuracy, Area Under the Curve (AUC), and false positive rate.
  • Uses cross-validation and standard evaluation protocols to ensure reliable comparison across models.

Experimental results

Research questions

  • RQ1How do different machine learning algorithms perform in classifying malware using microarchitectural HPC data?
  • RQ2What is the comparative effectiveness of binary versus multi-class classification in detecting diverse malware types?
  • RQ3Do lightweight machine learning models like J48 and JRip maintain high robustness and low false positive rates compared to complex models?
  • RQ4How does feature reduction impact detection accuracy and model efficiency in hardware-based malware detection?
  • RQ5What trade-offs exist between detection accuracy and false positive rates across different classification models?

Key findings

  • Lightweight machine learning models such as J48 and JRip achieve higher robustness, as measured by Area Under the Curve (AUC), compared to complex models like Neural Networks and Logistic Regression.
  • Despite slightly lower detection accuracy, J48 and JRip maintain a reasonable false positive rate, making them suitable for real-time deployment.
  • Multi-class classification models show improved detection capability for diverse malware families compared to binary classification.
  • Feature reduction effectively reduces HPC dimensionality without significantly degrading model performance.
  • The use of HPC data enables effective behavioral profiling of software, allowing detection of malicious patterns at the microarchitectural level.
  • The results indicate that model robustness and low false positive rates are prioritized over raw accuracy in practical malware detection systems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.