RISC-V Hardware attack traces on gem5 O3 CPU performance and instruction counters (HARPY-V-GEM5)

DOI

Dataset containing monitoring of various hardware performance counters (HPCs) and executed instructions associated with the proof-of-concept of 16 side-channel attacks (access-retired, evict-reload, fence-flush, flush-fault, flush-fault-ret, flush-flush, flush-reload, ghostwrite, iflush-reload, interrupt-timing, page-walk, spectre-rsb, spectre-v1, spectre-v2, timer-drift, tlb-evict). Some attacks were modified so that the attack occurs more frequently to obtain a larger number of samples, together with the data collected for 16 benign programs/benchmarks (bitcoin, bubble-sort, bzip2, coremark, dhrystone, ffmpeg, mandelbrot, matrix, mybench, polybench, sha256sum, sieve, speedtest, stream, stress_c, stress_m). All programs are run on a RISC-V architecture — specifically, a single-core processor is modeled using gem5’s O3 CPU to simulate realistic speculative execution, using the RISC-V ISA at 3 GHz, with a memory hierarchy that includes 16 KiB L1 caches, a unified 256 KiB L2 cache, and 4 GiB DDR4-2400 memory, recording statistics every 10,000 instructions for detailed performance analysis.

The selection of the hardware attacks used to collect the data was made based on the benchmark set employed in the physical-hardware tests to verify whether the simulation produced results faithful to those obtained when running the exploits on a physical board. Concretely, we relied on the dataset "RISC-V hardware attack traces on on-chip hardware performance counters (HARPY-V Dataset)", https://doi.org/10.34810/data2538.

The selection of benign programs was primarily based on benchmark suites that offered reliable and reproducible execution behavior, thus enabling effective comparison with the workloads. A range of different benchmark suites with varied approaches was chosen to ensure optimal coverage of the dataset.

Identifier
DOI https://doi.org/10.34810/DATA2711
Metadata Access https://dataverse.csuc.cat/oai?verb=GetRecord&metadataPrefix=oai_datacite&identifier=doi:10.34810/DATA2711
Provenance
Creator Pujol Muñoz, Joan Tomàs; Otero, Beatriz (ORCID: 0000-0002-9194-559X); Canal, Ramon (ORCID: 0000-0003-4542-204X)
Publisher CORA.Repositori de Dades de Recerca
Contributor Otero Calvino, Beatriz; Universitat Politècnica de Catalunya; 160(RI)
Publication Year 2025
Funding Reference https://ror.org/003x0zc53 PID2024-156150OB-I00 ; https://ror.org/003x0zc53 EQC2024-008344-P ; https://ror.org/01bg62x04 2021-SGR-00326 ; https://ror.org/00k4n6c32 101093062
Rights CC0 1.0; info:eu-repo/semantics/openAccess; http://creativecommons.org/publicdomain/zero/1.0
OpenAccess true
Contact Otero Calvino, Beatriz (Universitat Politècnica de Catalunya)
Representation
Resource Type Experimental data; Dataset
Format text/tab-separated-values; text/plain
Size 695876; 5242062; 1113658; 12460843; 2089654; 15627355; 479084; 3858560; 749486; 6112152; 576675; 6054071; 903079; 11444170; 933040; 9221225; 521202; 3789389; 777947; 6675821; 1398120; 14414116; 720414; 6916778; 695407; 6201378; 822854; 6725211; 598871; 7416869; 610526; 7562060; 478623; 4362703; 772924; 4304165; 732596; 5287620; 382799; 3460783; 1267352; 11259599; 725839; 5615413; 839902; 6612849; 614909; 3347374; 693978; 5611237; 632582; 4428044; 927274; 4886984; 937983; 5842331; 747094; 5822786; 541317; 4060685; 358705; 2836955; 866375; 5039289; 51159; 47417; 51074
Version 1.1
Discipline Construction Engineering and Architecture; Engineering; Engineering Sciences