Slicing Through the Noise: Efficient Crash Deduplication via Trace Reconstruction and Fuzzy Hashing

In contemporary software security testing, fuzzing is a pervasive methodology employed to identify vulnerabilities. However, one of the most significant challenges is the vast number of crash reports, many of which are repetitive, resulting in an increased analysis burden for security researchers. To address this issue, we propose a novel method for reducing crash redundancy and grouping similar crashes based on their execution traces. By leveraging the Intel Processor Trace (PT), we can reconstruct the instruction flow of the last executed function in each crash and extract its relevant instruction slice through data dependency backward slicing. The registers are abstracted, and the immediate values are generalized to normalize the instruction sequence. Subsequently, fuzzy hashing is applied to the generalized instruction sequences, and a similarity-based greedy strategy is employed for grouping. The method effectively reduces the workload by clustering crashes with similar root causes, leaving analysts with only representative samples to investigate. Furthermore, compared with conventional stack hashing techniques, our methodology demonstrates an average improvement in accuracy of 15.38% across four programs, with a total of 281 crashes.

Authors

Institutions

Publication Details

Journal
Electronics
Published
2024-12-06
DOI
https://doi.org/10.3390/electronics13234817
Primary Topic
Software Testing and Debugging Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Slicing Through the Noise: Efficient Crash Deduplication via Trace Reconstruction and Fuzzy Hashing

Jianwu Qin, Xiaohui Kuang, Ying Zang, Jiapeng Zhang et al.
Electronics
Software Testing and Debugging Techniques
article

Slicing Through the Noise: Efficient Crash Deduplication via Trace Reconstruction and Fuzzy Hashing

Jianwu Qin, Xiaohui Kuang, Ying Zang, Jiapeng Zhang, Ling Pang, Cheng Qian
article en

Abstract

In contemporary software security testing, fuzzing is a pervasive methodology employed to identify vulnerabilities. However, one of the most significant challenges is the vast number of crash reports, many of which are repetitive, resulting in an increased analysis burden for security researchers. To address this issue, we propose a novel method for reducing crash redundancy and grouping similar crashes based on their execution traces. By leveraging the Intel Processor Trace (PT), we can reconstruct the instruction flow of the last executed function in each crash and extract its relevant instruction slice through data dependency backward slicing. The registers are abstracted, and the immediate values are generalized to normalize the instruction sequence. Subsequently, fuzzy hashing is applied to the generalized instruction sequences, and a similarity-based greedy strategy is employed for grouping. The method effectively reduces the workload by clustering crashes with similar root causes, leaving analysts with only representative samples to investigate. Furthermore, compared with conventional stack hashing techniques, our methodology demonstrates an average improvement in accuracy of 15.38% across four programs, with a total of 281 crashes.

ElectronicsVol. 13(23)
Nankai University (CN)
Peace, Justice and strong institutions
Openalex Percentile: Top 77%
Software Testing and Debugging Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Slicing Through the Noise: Efficient Crash Deduplication via Trace Reconstruction and Fuzzy Hashing — Jianwu Qin, Xiaohui Kuang, et al. · Electronics (2024) | TGRS Research Map | TGRS