Defending-HMDs-against-Adversarial-Attacks This repository aims to protect Hardware-based Malware Detectors(HMDs) against adversarial attacks. We have provided a python script that collects Hardware Performance Counters (HPCs) using the "perf stat" command.