An Empirical Study on the Distance Metric in Guiding Directed Grey-box Fuzzing

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Wen, Tingke, Li, Yuwei, Zhang, Lu, Ma, Huimin, Pan, Zulie
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866914952709668864
author Wen, Tingke
Li, Yuwei
Zhang, Lu
Ma, Huimin
Pan, Zulie
author_facet Wen, Tingke
Li, Yuwei
Zhang, Lu
Ma, Huimin
Pan, Zulie
contents Directed grey-box fuzzing (DGF) aims to discover vulnerabilities in specific code areas efficiently. Distance metric, which is used to measure the quality of seed in DGF, is a crucial factor in affecting the fuzzing performance. Despite distance metrics being widely applied in existing DGF frameworks, it remains opaque about how different distance metrics guide the fuzzing process and affect the fuzzing result in practice. In this paper, we conduct the first empirical study to explore how different distance metrics perform in guiding DGFs. Specifically, we systematically discuss different distance metrics in the aspect of calculation method and granularity. Then, we implement different distance metrics based on AFLGo. On this basis, we conduct comprehensive experiments to evaluate the performance of these distance metrics on the benchmarks widely used in existing DGF-related work. The experimental results demonstrate the following insights. First, the difference among different distance metrics with varying methods of calculation and granularities is not significant. Second, the distance metrics may not be effective in describing the difficulty of triggering the target vulnerability. In addition, by scrutinizing the quality of testcases, our research highlights the inherent limitation of existing mutation strategies in generating high-quality testcases, calling for designing effective mutation strategies for directed fuzzing. We open-source the implementation code and experiment dataset to facilitate future research in DGF.
format Preprint
id arxiv_https___arxiv_org_abs_2409_12701
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle An Empirical Study on the Distance Metric in Guiding Directed Grey-box Fuzzing
Wen, Tingke
Li, Yuwei
Zhang, Lu
Ma, Huimin
Pan, Zulie
Cryptography and Security
Software Engineering
Directed grey-box fuzzing (DGF) aims to discover vulnerabilities in specific code areas efficiently. Distance metric, which is used to measure the quality of seed in DGF, is a crucial factor in affecting the fuzzing performance. Despite distance metrics being widely applied in existing DGF frameworks, it remains opaque about how different distance metrics guide the fuzzing process and affect the fuzzing result in practice. In this paper, we conduct the first empirical study to explore how different distance metrics perform in guiding DGFs. Specifically, we systematically discuss different distance metrics in the aspect of calculation method and granularity. Then, we implement different distance metrics based on AFLGo. On this basis, we conduct comprehensive experiments to evaluate the performance of these distance metrics on the benchmarks widely used in existing DGF-related work. The experimental results demonstrate the following insights. First, the difference among different distance metrics with varying methods of calculation and granularities is not significant. Second, the distance metrics may not be effective in describing the difficulty of triggering the target vulnerability. In addition, by scrutinizing the quality of testcases, our research highlights the inherent limitation of existing mutation strategies in generating high-quality testcases, calling for designing effective mutation strategies for directed fuzzing. We open-source the implementation code and experiment dataset to facilitate future research in DGF.
title An Empirical Study on the Distance Metric in Guiding Directed Grey-box Fuzzing
topic Cryptography and Security
Software Engineering
url https://arxiv.org/abs/2409.12701