PSOFuzz: Fuzzing Processors with Particle Swarm Optimization
Authors:
- 28 October 2023
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-9
Abstract
Hardware security vulnerabilities in computing systems compromise the security defenses of not only the hardware but also the software running on it. Recent research has shown that hardware fuzzing is a promising technique to efficiently detect such vulnerabilities in large-scale designs such as modern processors. However, the current fuzzing techniques do not adjust their strategies dynamically toward faster and higher design space exploration, resulting in slow vulnerability detection, evident through their low design coverage. To address this problem, we propose PSOFuzz, which uses particle swarm optimization (PSO) to schedule the mutation operators and to generate initial input programs dynamically with the objective of detecting vulnerabilities quickly. Unlike traditional PSO, which finds a single optimal solution, we use a modified PSO that dynamically computes the optimal solution for selecting mutation operators required to explore new design regions in hardware. We also address the challenge of inefficient initial seed generation by employing PSO-based seed generation. Including these optimizations, our final formulation outperforms fuzzers without PSO. Experiments show that PSOFuzz achieves up to 15.25× speedup for vulnerability detection and up to 2.22× speedup for coverage compared to the state-of-the-art simulation-based hardware fuzzer.Keywords
All Related Versions
Funding Information
- US Office of Naval Research (N00014-22-1-2279)
- European Union (ERC, HYDRANOS) (101055025)
- European Research Council
This publication has 16 references indexed in Scilit:
- DirectFuzz: Automated Test Generation for RTL Designs using Directed Graybox Fuzzing2021
- DifuzzRTL: Differential Fuzz Testing to Find CPU Bugs2021
- Chipyard: Integrated Design, Simulation, and Implementation Framework for Custom SoCsIEEE Micro, 2020
- The Cost of Application-Class Processing: Energy and Performance Analysis of a Linux-Ready 1.7-GHz 64-Bit RISC-V Core in 22-nm FDSOI TechnologyIEEE Transactions on Very Large Scale Integration (VLSI) Systems, 2019
- Detecting malicious modifications of data in third-party intellectual property cores2015
- Particle swarm optimization2014
- Differential Evolution2013
- Coverage directed test generation for functional verification using bayesian networks2003
- A modified particle swarm optimizer2002
- Simulated AnnealingStatistical Science, 1993