Lightweight detection and classification of RISC-V hardware exploits using machine learning techniques
Joan-Tomàs Pujol, Beatriz Otero, Javier Verdú, Ramon Canal
Key points
From the paper's conclusion- These findings indicate that the proposed lightweight models provide partial and selective zero-day robustness, rather than uniform generalization across all attack types.
Abstract
This work proposes a hardware-assisted malware detection framework leveraging the HARPY-V-GEM5 dataset for RISC-V architectures. Using the GEM5 full-system simulator, we collect microarchitectural telemetry, specifically Hardware Performance Counters (HPC) and committed instruction mnemonics–from a balanced corpus of 32 benign and malicious applications. Unlike previous approaches relying on complex deep learning models or synthetic data augmentation, we employ a rigorous undersampling strategy to create a balanced dataset of 12,890 execution samples per program, collected at a fine-grained interval of 10,000 instructions. We evaluate supervised learning algorithms, demonstrating that Random Forest (RF) and Decision Tree (DT) classifiers achieve superior efficacy compared to Support Vector Machines (SVM) and Naive Bayes. The results show detection accuracies above 99.5% when using HPC features and 99.0% when using instruction-level features. We further evaluate zero-day resilience, showing that generalization to unseen programs is strongly attack-dependent: while some families remain reliably detectable, others exhibit very low detection rates. These findings indicate that the proposed lightweight models provide partial and selective zero-day robustness, rather than uniform generalization across all attack types.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Power, Performance, and Area of HPC-Based Malware Detectors: An FPGA and Open-PDK ASIC StudyarXiv · 2026
- Silent Blindness: Fault Vulnerability of Hardware Malware DetectorsarXiv · 2026
- EVAX: Towards a Practical, Pro-active & Adaptive Architecture for High Performance & SecurityarXiv · 2026
- Breaking Windows Malware Detection: A Comprehensive Evaluation of Problem-Space Adversarial RobustnessarXiv · 2026
- Securing the Unseen: A Comprehensive Exploration Review of AI ‐Powered Models for Zero‐Day Attack DetectionExpert Systems · 2026
- AgentHammer: Triggering Simulated Rowhammer Bit-Flips via LLM Agents with Hardware-Aware Simulation-in-the-Loop SkillsApplied Sciences · 2026