Skip to main navigation Skip to search Skip to main content

Decoding Attack Behaviors by Analyzing Patterns in Instruction-Based Attacks using gem5

  • Institut Polytechnique de Paris
  • DALI/LIRMM
  • Rivos Ins

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

The diversity of Instruction Set Architectures (ISAs), each with its unique constraints and optimization strategies, presents significant opportunities and challenges in processor design. Modern processor vendors exploit these ISAs to enhance security, reliability, and performance. Recent security vulnerabilities, notably Spectre and Meltdown, have highlighted the critical need for robust hardware security measures. In this paper, we employ gem5, a state-of-the-art cycle-accurate simulation tool, to simulate the Spectre attack. We developed and modified scripts for both x86 and ARM architectures to ensure compatibility with gem5 version 23.1. Our simulation setup involved running attack scenarios under various configurations to gather comprehensive data on cache misses, cache hits, mispredicted branches, and level 2 cache hits and misses. In the simulation, we analyzed the trace files generated by gem5, utilizing a range of debug flags such as Exec for disassembly (dasm) insights. By detailed analysis of cache and branch prediction using detailed debug data revealed by gem5 traces, we identify some specific attack patterns that are useful for automating the detection of the attacks. Our future work aims to expand this analysis to include additional attack vectors and find more attack patterns, thereby strengthening our attack pattern recognition capabilities.

Original languageEnglish
Title of host publicationProceedings of the 2024 35th International Workshop on Rapid System Prototyping
Subtitle of host publicationShortening the Path from Specification to Prototype, RSP 2024
PublisherIEEE Computer Society
Pages1-6
Number of pages6
ISBN (Electronic)9798331519537
DOIs
Publication statusPublished - 1 Jan 2024
Event35th International Workshop on Rapid System Prototyping, RSP 2024 - Raleigh, United States
Duration: 3 Oct 2024 → …

Publication series

NameProceedings of the International Workshop on Rapid System Prototyping
ISSN (Print)1074-6005

Conference

Conference35th International Workshop on Rapid System Prototyping, RSP 2024
Country/TerritoryUnited States
CityRaleigh
Period3/10/24 → …

Keywords

  • Attacks Patterns
  • Attacks Simulation
  • Embedded Systems
  • Hardware Attacks
  • Hardware Security

Fingerprint

Dive into the research topics of 'Decoding Attack Behaviors by Analyzing Patterns in Instruction-Based Attacks using gem5'. Together they form a unique fingerprint.

Cite this