← Lab /Systems

Tree- and rule-based hardware malware detectors use far less area

Tree- and rule-based HMDs achieve the highest detection performance with an order of magnitude less area and several times lower energy than function-based classifiers

Systems arXiv 8 Oct 2026 Measurement Prototype evidence

Published as “Power, Performance, and Area of HPC-Based Malware Detectors: An FPGA and Open-PDK ASIC Study”

Why it matters

Designers of security-focused processors can adopt a 4-HPC J48 detector to obtain near- malware detection with minimal area and energy overhead.

Summary

Tree- and rule-based hardware malware detectors achieve the best detection-to-cost trade-offs, with a 4-HPC J48 classifier reaching 94.08% F1 using only 12,731 μm2 and 27.3 pJ per inference. Ensembles improve F1 by up to 1.7 points but require 9-11× more ASIC area, and function-based classifiers suffer low recall (as low as 62%). The evidence is based on 120 classifier configurations evaluated on an Intel Cyclone V FPGA and a SkyWater 130-nm ASIC, using a real-world dataset of 7,400 program executions.

What they found 5

  1. Tree and rule classifiers dominate in detection-to-cost ratio, using far less area and energy than function-based models.

    “The results show that tree- and rule-based detectors achieve the highest detection performance with nearly an order of magnitude less area and several times lower energy than function-based classifiers.”

  2. With four HPCs, the function-based family has 7.9× the median ASIC area of the tree family and 12.7× that of the rule family.

    “First, certain tree- and rule-based classifiers offer good detection-to-cost ratios on both targets. With four HPCs, the function-based family has 7.9 times the median ASIC area of the tree-based family and 12.7 times that of the rule-based family.”

  3. Reducing J48 from 16 to 4 HPCs cuts area by 48.3% while F1 drops from 96.63% to 94.08%.

    “Reducing J48’s budget from 16 to 4 HPCs lowers area by 48.3%, while its F1 score decreases from 96.63% to 94.08%.”

  4. AdaBoost ensemble improves J48’s F1 by ~1.7 points at the cost of 9.4-11.3× ASIC area.

    “When using four HPCs, AdaBoost improves J48’s F1 by approximately 1.7 percentage points, which is mainly due to increased precision and reduced false positive rates.”

  5. The recommended design is a single 4-HPC J48 detector occupying 12,731 μm2 and 27.3 pJ per inference on ASIC, using 398 ALMs on FPGA.

    “The resulting recommendation is a single 4-HPC J48 detector for the evaluated counter-constrained setting. Its implementation occupies 12,731 μm2 and requires an estimated 27.3 pJ per inference on the ASIC, while using 398 ALMs on the FPGA.”

Caveats 6

  • The 4-HPC ensembles within one percentage point of the best F1 in the design space require about 9.4 to 11.3 times the ASIC area of the single 4-HPC J48.
  • Evaluating a larger design space also reveals an implementation limit: some configurations cannot be routed with the limited number of metal layers in the SkyWater 130-nm process technology [40].
  • This study evaluates datapaths with fully parallel, registercontrolled inputs and outputs.
  • Because the ASIC flow uses a fixed design without per-classifier optimization, the reported costs are representative of the selected architecture, tool settings, and technology level.
  • ASIC power and energy were estimated from unit-delay gate-level simulations of shuffled dataset samples at the typical process corner.
  • Uniform cell delays do not capture routed delays or interconnect effects, and shuffled samples do not preserve temporal correlations between successive counter readings during program execution.

What’s new here 4

  • Evaluates a comprehensive design space of 120 HPC-based malware detector configurations across both FPGA and ASIC targets.
  • Provides a validated RTL generation pipeline that reconstructs trained models and verifies functional equivalence.
  • Measures area, power, and timing for each classifier family, revealing hardware cost differences not previously quantified.
  • Identifies routing failures in the SkyWater 130-nm process, highlighting scalability limits of certain designs.