Machine Learning-Based Classification of Hardware Trojans in FPGAs Implementing RISC-V Cores
Paper in proceeding, 2024

Hardware Trojans (HTs) pose a severe threat to integrated circuits, potentially compromising electronic devices, exposing sensitive data, or inducing malfunction. Detecting such malicious modifications is particularly challenging in complex systems and commercial CPUs, where they can occur at various design stages, from initial HDL coding to the final hardware implementation. This paper introduces a machine learningbased strategy for the detection and classification of HTs within RISC-V soft cores implemented in FieldProgrammable Gate Arrays (FPGAs). Our approach comprises a systematic methodology for comprehensive data collection and estimation from FPGA bitstreams, enabling us to extract insights ranging from hardware performance counters to intricate metrics like design clock frequency and power consumption. Our ML models achieve perfect accuracy scores when analyzing features related to both synthesis, implementation results, and performance counters. We also address the challenge of identifying HTs solely through performance counters, highlighting the limitations of this approach. Additionally, our work emphasizes the significance of Implementation Features (IFs), particularly circuit timing, in achieving high accuracy in HT detection.

Feature Importance

RISC-V

Machine Learning

Hardware Security

Hardware Trojans

FPGA

Author

Stefano Ribes

Chalmers, Computer Science and Engineering (Chalmers), Data Science and AI

Fabio Malatesta

University of Siena

Grazia Garzo

University of Siena

Alessandro Palumbo

CentraleSupélec - Campus de Rennes

International Conference on Information Systems Security and Privacy

21844356 (eISSN)

Vol. 1 717-724

10th International Conference on Information Systems Security and Privacy, ICISSP 2024
Rome, Italy,

Subject Categories

Computer Science

Computer Systems

Other Electrical Engineering, Electronic Engineering, Information Engineering

DOI

10.5220/0012324200003648

More information

Latest update

5/2/2024 1