Accurate and Robust Malware Detection: Running XGBoost on Run-Time Data from Performance Counters

Rana Elnaggar, Lorenzo Servadei, Robert Wille, Wolfgang Ecker, Krishnendu Chakrabarty

Research output: Contribution to journalArticlepeer-review

Abstract

Malware applications are one of the major threats that computing systems face today. While security researchers develop new defense mechanisms to detect malware, attackers continue to release new malware families that evade detection. New defense mechanisms must therefore be developed to effectively counter malware. Hardware Performance Counters (HPCs) have been recently proposed as a means to detect malware. However, recent work has also shown that malware detection is not effective when performance counters are sampled in realistic scenarios. We show how proper data pre-processing and the use of the XGBoost classifier can be used to improve the performance of malware detection using HPCs by at least 15%. We also show that the proposed method can detect malware early (shortly after its launch) by classifying HPC datastreams at short time intervals. In addition, we propose a multi-temporal classification model that ensures the early detection of a high percentage of malware while maintaining overall low false positive rates. Finally, we show that through robust training, the XGBoost classifier shows up to 50x less vulnerability to adversarial attacks that are intended to undermine its malware detection performance.
Original languageEnglish
Number of pages14
JournalIEEE Transactions on Computer Aided Design of Integrated Circuits and Systems (TCAD)
DOIs
Publication statusPublished - 2021

Fields of science

  • 102 Computer Sciences
  • 202 Electrical Engineering, Electronics, Information Engineering

JKU Focus areas

  • Digital Transformation

Cite this