arXiv:2610.36612cs.CROct 2026

Manuscript Offprint

arXiv:2610.36612

Silent Blindness: Fault Vulnerability of Hardware Malware Detectors

Alireza Abolhasani Zeraatkar, Parnian Shabani Kamran, Parsa Mirfasihi, Saleh Khalaj Monfared, Hussain Al-Asaad

Alireza Abolhasani Zeraatkar 1^{1}, Parnian Shabani Kamran 1^{1}, Parsa Mirfasihi 2^{2}, Saleh Khalaj Monfared 3^{3}, Hussain Al-Asaad 1^{1}

1^{1}Electrical and Computer Engineering Department, University of California, Davis, United States

2^{2}Electrical and Computer Engineering Department, San Francisco State University, San Francisco, United States

3^{3}Electrical and Computer Engineering Department, Worcester Polytechnic Institute, Worcester, United States

Email: {abolhasani, pkamran}@ucdavis.edu, smirfasihi@sfsu.edu, skmonfared@wpi.edu, hsalasaad@ucdavis.edu

Abstract—Hardware malware detectors (HMDs) classify hardware performance-counter measurements to identify malicious execution. Faults in their decision logic or parameters can weaken detection and allow malware to be classified as benign. We investigate this vulnerability through structural fault injection across a design space comprising 18 classifiers, four counter budgets, and AdaBoost and Bagging ensembles. The simulation evaluates 453,174 decision stuck-at and selected parameter bit-flip events on a 7,400-instance. Primary comparisons use 128 completed configurations. These completed-subset results are distinguished from the simulation summaries covering 140 configurations with enumerable fault sites. Fault outcomes are classified by their security consequences, including evasion, false-alarm increases, and metric silence. A fault is critical when malware recall decreases by at least five percentage points. Tree-based models exhibit a lower mean critical-fault fraction than function-based models, 5.3% versus 14.3%; exhaustive-only analysis preserves this ordering. Moreover, 72.3% of evaluated tree faults are metric-silent, changing both recall and false-positive rate by less than 0.1 percentage points without necessarily preserving individual predictions. Among the 27 completed matched comparisons, Bagging reduces criticality in 26, whereas AdaBoost increases it in two. Finally, an exact minimax selection method identifies protection candidates under additive unit costs and ideal correction. For a representative J48 detector, protecting 16 of 115 structural units reduces predicted maximum recall loss from 60.1 to 3.3 percentage points. These results characterize structural-model sensitivity and potential protection benefits; faulted RTL correspondence and physical hardening overhead remain unvalidated.

Index Terms—Hardware Malware Detection, Fault Injection, Stuck-at Faults, Bit-Flip Attacks, Hardware Security, Reliability

I. INTRODUCTION

A hardware malware detector (HMD) is a classifier that operates at the hardware level: it monitors the hardware performance counters (HPCs) of running programs and flags suspicious activity. It is a lightweight component of security silicon, and the system trusts it to keep monitoring. That trust makes the detector itself a target and turns its failure modes into a security concern rather than a minor reliability issue. A degraded branch predictor merely slows a processor, whereas a faulty malware detector can let malware execute while classifying its behavior as benign.

This study examines how failures in individual decision points and stored parameters, whether caused by manufacturing defects, aging, or deliberate fault injection, affect deployed HMDs. Rather than focusing on a single prototype, the analysis covers an entire published detector design space. The dataset is the 144 trained detector configurations of [20], 18 classifiers over 16-, 8-, 4-, and 2-counter feature sets, plus AdaBoost and Bagging ensembles. Their hardware implementations were validated bit-exactly against the corresponding trained models in [1]. We inject two hardware-relevant fault models into the 140 configurations with enumerable fault sites.

Our analysis is guided by the principle that a fault in a detector has security implications beyond functional correctness. Mean accuracy degradation, the conventional evaluation metric, obscures three distinct outcomes that require different defensive responses. An evasion fault reduces recall and lets malware execute undetected, directly serving the attacker's objective. A denial-of-service fault raises the false-positive rate enough that operators stop trusting the detector and may disable it. A silent fault leaves both recall and false-positive rate unchanged, so output monitoring alone cannot distinguish the defective detector from a healthy one.

Our measurements show that these outcomes are not evenly distributed and that their distribution depends on the classifier's dominant hardware primitive: comparators or multiply-accumulate units. In a 4-HPC J48 decision tree, only 3.9% of the 3,910 fault sites cause evasion, while 51.5% are silent; the worst single fault drops malware recall from 97.0% to 36.9%. In a 4-HPC SGD detector, the picture inverts. The design exposes only 25 fault sites, but 28% of them cause evasion and a further 44% cause denial of service. None are silent, and a single bit flip drives recall to 0%. Comparator-based detectors spread their decision logic across many nodes, whereas multiply-accumulate detectors concentrate it in a few weights, any one of which, if faulted, can cause severe failure.

This study addresses five research questions:

RQ1: For each classifier family (trees, rules, function-based models, and Bayesian models), what fraction of faults is security-critical? Is that fraction governed more by the classifier's dominant hardware primitive, comparators or multiply-accumulate units, than by its number of fault sites?

RQ2: How much damage can a detector sustain while its recall and false-positive rate remain indistinguishable from those of a healthy detector? Where in the detector’s structure do the damaging faults lie?

RQ3: When the feature set is reduced from 16 to 8, 4, and

2 counters to lower silicon cost, how does each classifier's fraction of critical faults change?

RQ4: At the same HPC budget, do AdaBoost and Bagging ensembles, which add little detection accuracy per unit area, reduce the fraction of critical faults? Does equal-weight Bagging tolerate faults better than weighted boosting?

RQ5: Can selective hardening guided by fault criticality bound the worst-case single-fault recall loss at a lower area cost than full redundancy? How large a hardening budget does that bound require?

This study makes five main contributions:

  • It introduces a fault taxonomy based on security consequences. Each injected fault is classified as evasion, denial of service, silent, noisy, or degraded according to its effect on the defender rather than by its mean accuracy loss.

  • It provides a comprehensive fault analysis of a published HMD design space. Decision stuck-at faults and parameter bit flips are injected into 140 validated configurations covering the tree, rule, function, and Bayesian classifier families, and the analysis quantifies how counter-budget reduction and ensembling change fault vulnerability.

  • It identifies a size-density inversion in the attack surface. Comparator-based detectors expose far more fault sites than multiply-accumulate detectors, yet a smaller fraction of their faults is critical, so fault-site count is a poor proxy for vulnerability. The mean critical-fault fraction differs across classifier families, among completed configurations, it is approximately 2.5 times higher for function-based detectors than for tree-based detectors (14.3% versus 5.7%).

  • It quantifies silent faults, which leave both recall and false-positive rate unchanged and therefore cannot be detected by output monitoring alone, and it identifies the structural regions in which critical faults concentrate.

  • It proposes selective hardening guided by the concentration of critical faults in a small subset of structural units. It provides an exact minimax selection algorithm under the assumptions of disjoint units, additive costs, and ideal correction, and it evaluates the predicted trade-off between normalized protection cost and residual worst-case recall loss over the evaluated fault set.

References (50)