Detecting hardware attacks in RISC-V with on-chip performance counters

Other authors

Universitat Politècnica de Catalunya. Departament d'Arquitectura de Computadors

Universitat Politècnica de Catalunya. Departament d'Enginyeria Minera, Industrial i TIC

Universitat Politècnica de Catalunya. CRAAX - Centre de Recerca d'Arquitectures Avançades de Xarxes

Universitat Politècnica de Catalunya. CROMAI - Computing Resources Orchestration and Management for AI

Publication date

2026-01-26



Abstract

Poster presentado en HiPEAC 2026 (Cracovia)


Malware is evolving faster than traditional defenses. Signature-based tools often miss new polymorphic and metamorphic variants, leaving modern systems exposed. Embedded platforms add further constraints, demanding lightweight and autonomous protection. Processor Hardware Performance Counters (HPCs) reveal microarchitectural footprints of malicious activity. When combined with Machine Learning, they enable real-time, low-overhead malware detection—even on resource-constrained devices. Across five evaluated ML models, a Random Forest trained on five key HPCs achieves over 99.5% accuracy and detects nearly all unseen attacks, demonstrating strong precision and generalization.


Funded by the European Union. Project number: 101093062.


Preprint

Document Type

External research report

Language

English

Related items

info:eu-repo/grantAgreement/EC/HE/101093062/EU/Virtual Environment and Tool-boxing for Trustworthy Development of RISC-V based Cloud Services/Vitamin-V

Recommended citation

This citation was generated automatically.

Rights

Open Access

This item appears in the following Collection(s)

E-prints [72896]