Visible to the public DifFuzz: Differential Fuzzing for Side-Channel Analysis

TitleDifFuzz: Differential Fuzzing for Side-Channel Analysis
Publication TypeConference Paper
Year of Publication2019
AuthorsNilizadeh, Shirin, Noller, Yannic, Pasareanu, Corina S.
Conference Name2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE)
KeywordsCorrelation, cryptography, differential fuzzing, DifFuzz, dynamic analysis, execution time, fuzzing, fuzzing-based approach, Instruments, Java, Java programs, Performance analysis, predictability, program diagnostics, pubcrawl, Resiliency, resource consumption, resource usage, resource-guided heuristics, Scalability, secret program data, secret-dependent paths, Security Heuristics, security of data, side-channel, side-channel analysis, side-channel attacks, Time factors, Tools, unknown side-channel vulnerabilities, vulnerability detection
AbstractSide-channel attacks allow an adversary to uncover secret program data by observing the behavior of a program with respect to a resource, such as execution time, consumed memory or response size. Side-channel vulnerabilities are difficult to reason about as they involve analyzing the correlations between resource usage over multiple program paths. We present DifFuzz, a fuzzing-based approach for detecting side-channel vulnerabilities related to time and space. DifFuzz automatically detects these vulnerabilities by analyzing two versions of the program and using resource-guided heuristics to find inputs that maximize the difference in resource consumption between secret-dependent paths. The methodology of DifFuzz is general and can be applied to programs written in any language. For this paper, we present an implementation that targets analysis of Java programs, and uses and extends the Kelinci and AFL fuzzers. We evaluate DifFuzz on a large number of Java programs and demonstrate that it can reveal unknown side-channel vulnerabilities in popular applications. We also show that DifFuzz compares favorably against Blazer and Themis, two state-of-the-art analysis tools for finding side-channels in Java programs.
DOI10.1109/ICSE.2019.00034
Citation Keynilizadeh_diffuzz_2019