Passer à la navigation principale Passer à la recherche Passer au contenu principal

Side-Channel Attack Detection Using gem5 and Machine Learning: A Case Study on Fault-Based Attacks in RISC-V

  • Institut Polytechnique de Paris

Résultats de recherche: Le chapitre dans un livre, un rapport, une anthologie ou une collectionContribution à une conférenceRevue par des pairs

Résumé

Microarchitectural side-channel attacks pose a significant threat to modern computing architectures. This paper presents a machine learning-based methodology for detecting these attacks using the gem5 simulator, focusing on the recently discovered Flush+Fault attack [6] on RISC-V. Our approach follows a three-phase process. The first phase is data collection, where we simulate attack and non-attack scenarios in gem5 and extract microarchitectural features indicative of side-channel activity. The second phase is the training phase, where we utilize machine learning (ML) techniques to build a classification model capable of distinguishing between normal execution and attack patterns. The last phase is the testing phase, where we evaluate the trained model using various performance metrics to validate its accuracy and precision. To the best of our knowledge, this is the first detection framework for Flush+Fault attacks [6] on RISC-V, showcasing its effectiveness in mitigating emerging threats. Our results indicate that gem5 metrics combined with machine learning models can reliably detect Flush+Fault attacks, achieving 0.99 accuracy with random forest (RF), 0.96 with support vector machine (SVM), and 0.95 with naïve bayes (NB). Moreover, this methodology is adaptable to different side-channel attacks and architectures, making it a promising approach for strengthening microarchitectural security.

langue originaleAnglais
titreProceedings - 2025 IEEE 31st International Symposium on On-Line Testing and Robust System Design, IOLTS 2025
EditeurInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronique)9798331533342
Les DOIs
étatPublié - 1 janv. 2025
Evénement31st IEEE International Symposium on On-Line Testing and Robust System Design, IOLTS 2025 - Ischia, Italie
Durée: 7 juil. 20259 juil. 2025

Série de publications

NomProceedings - 2025 IEEE 31st International Symposium on On-Line Testing and Robust System Design, IOLTS 2025

Une conférence

Une conférence31st IEEE International Symposium on On-Line Testing and Robust System Design, IOLTS 2025
Pays/TerritoireItalie
La villeIschia
période7/07/259/07/25

Empreinte digitale

Examiner les sujets de recherche de « Side-Channel Attack Detection Using gem5 and Machine Learning: A Case Study on Fault-Based Attacks in RISC-V ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation