2016 · 43 citations · 27 references
ComputingComputer EngineeringComputer ScienceFault-tolerant ComputingFault-tolerant SystemsOperating SystemsFault DetectionFault DiagnosisSoftware Vulnerability DiscoveryStatic Vulnerability AnalysisCrash Dump AnalysisDebuggingFailure DiagnosisMemory CorruptionMemory Corruption VulnerabilitiesSoftware DebuggingSoftware Failure DetectionTrace-based Debugging
After a program has crashed and terminated abnormally, it typically leaves behind a snapshot of its crashing state in the form of a core dump. While a core dump carries a large amount of information, which has long been used for software debugging, it barely serves as informative debugging aids in locating software faults, particularly memory corruption vulnerabilities. A memory corruption vulnerability is a special type of software faults that an attacker can exploit to manipulate the content at a certain memory. As such, a core dump may contain a certain amount of corrupted data, which increases the difficulty in identifying useful debugging information (e.g. , a crash point and stack traces). Without a proper mechanism to deal with this problem, a core dump can be practically useless for software failure diagnosis. In this work, we develop CREDAL, an automatic tool that employs the source code of a crashing program to enhance core dump analysis and turns a core dump to an informative aid in tracking down memory corruption vulnerabilities. Specifically, CREDAL systematically analyzes a core dump potentially corrupted and identifies the crash point and stack frames. For a core dump carrying corrupted data, it goes beyond the crash point and stack trace. In particular, CREDAL further pinpoints the variables holding corrupted data using the source code of the crashing program along with the stack frames. To assist software developers (or security analysts) in tracking down a memory corruption vulnerability, CREDAL also performs analysis and highlights the code fragments corresponding to data corruption.
27
AddressSanitizer: a fast address sanity checker
Konstantin Serebryany, Derek Bruening, Alexander Potapenko et al. · USENIX Annual Technical Conference · 2012 · 642 citations
Locating causes of program failures
Holger Cleve, Andreas Zeller · 2005 · 554 citations
Isolating cause-effect chains from computer programs
Andreas Zeller · 2002 · 534 citations