The Ohio State University
Exploring Value Set Analysis for Binary Code Hardening and Vulnerability Detection
Abstract
dc:descriptionValue set analysis (VSA) is a static binary program analysis technique, which over-approximates the set of possible values of each data object in the program at every program point. Value set analysis can be used in binary code hardening and bug detection and thus protect software systems, especially legacy software systems without source code access, against program bugs such as notorious memory corruption bugs.In this dissertation, we explore value set analysis in three categories of software defenses- taint analysis, data race detection, and binary similarity analysis. Specifically, we first present SelectiveTaint, an efficient static binary rewriting based, selective taint analysis framework for binary executables. SelectiveTaint leverages value set analysis to conservatively determine whether an instruction operand needs to be tainted or not, and then selectively taints the instructions of interest. We show that SelectiveTaint is times faster than that of the state-of-the-art taint analysis framework.We also leverage value set analysis in data race detection of Intel SGX enclave binary code. We observe that unlike a traditional data race which occurs non-deterministically, a data race in SGX can be controlled, via manipulating thread creation, enclave call making, and thread execution. We propose a static binary analysis framework that automatically detect the controlled data races in enclave binary. Particularly, we systematically identify the possible shared variables via value set analysis and then explore the concurrent enclave calls from both intended and unintended thread interleavings to detect whether a data race can occur.In addition to exploring value set analysis in taint analysis and data race detection, we present vDiff, a novel binary code search framework that uses an architecture-generalized value set as a signature to capture function semantics for binary similarity comparison. A prototype implementation of vDiff searches binary code across five architectures (viz, x86, x86-64, ARM, AArch64, and MIPS), which achieves higher accuracy.
Degree
thesis:*- Name thesis:degree_name
- Doctor of Philosophy
- Level thesis:degree_level
- doctoral
- Discipline thesis:degree_discipline
- Computer Science and Engineering
- Grantor dc:publisher
- The Ohio State University
- Year dc:date
- 2021
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Chen, Sanchuan
- Advisors dc:contributor.advisor
-
- Lin, Zhiqiang
- Zhang, Yinqian
Subjects
dc:subject × 1Rights
dc:rights- Statement dc:rights
-
- unrestricted
- This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://rave.ohiolink.edu/etdc/view?acc_num=osu1626389081386194