Automated detection of race condition vulnerabilities in binary programs using symbolic execution

dc.contributor.authorMakan, Keith
dc.date.accessioned2025-10-09T08:46:52Z
dc.date.available2025-10-09T08:46:52Z
dc.date.issued2025
dc.description.abstractIdentifying race conditions in binary programs is challenging due to limited research on the subject and the lack of thoroughly evaluated methods, especially those applied to consumer-grade, off-the-shelf binary programs without requiring source code. Symbolic execution is a static analysis technique that significantly enhances vulnerability identi- fication, especially in fuzzing-driven security analysis. However, its scalability is often restricted by the computational demands of constraint solving, high memory consump-tion, and the state explosion problem—the rapid increase in the number of states caused by program structures. To overcome these challenges, many vulnerability analysis meth-ds incorporate techniques to manage state explosion, enabling the analysis of more complex programs. The approach presented by this thesis employs symbolic vulnerability analysis for bi-naries by introducing a novel approach called "Xegmap" which uses Directed Symbolic Execution to strategically guide the exploration of program states. Xegmap is designed to prioritise the detection of Global Memory Access Points, operating on the premise that identifying these points facilitates the detection of potentially race-prone threadinteractions. It accomplishes this through a two-phase process: a naive symbolic execu-tion phase, Negmap, followed by a directed phase, Degmap. Degmap directs symbolic execution toward global memory access points and evaluates memory interactions using a hybrid lock-set and happens-before analysis. Experimentation demonstrates Xegmap’s enhanced capacity to increase code coverage in consumer-grade, off-the-shelf binaries and to detect race conditions in binaries of varying complexity, including those with intricate input constraints and numerous threads, all without the need for source code.
dc.identifier.urihttps://hdl.handle.net/10566/21042
dc.language.isoen
dc.publisherUniversity of the Western Cape
dc.subjectRace Conditions
dc.subjectBinary Programs
dc.subjectConsumer-Grade
dc.subjectXegmap
dc.subjectDegmap
dc.titleAutomated detection of race condition vulnerabilities in binary programs using symbolic execution
dc.typeThesis

Files

Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
makan_nsc_m_2025.pdf
Size:
2.43 MB
Format:
Adobe Portable Document Format
License bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: