2015 · 14 citations · 27 references
ComputingComputer ScienceComputer SystemsCompilersComputer SecurityOperating SystemsCode Obfuscation AnalysisControl-flow AnalysisSoftware Vulnerability DiscoveryStatic AnalysisStatic Code AnalysisStatic Vulnerability AnalysisAccessAvailable Expressions AnalysisBinary AnalysisBinary Analysis For ExploitabilityStatic Analysis Of Obfuscated CodeUse-after-free AnalysisUse-after-free DetectionVulnerability
Use-after-free conditions occur when an execution path of a process accesses an incorrectly deal located object. Such access is problematic because it may potentially allow for the execution of arbitrary code by an adversary. However, while increasingly common, such flaws are rarely detected by compilers in even the most obvious instances. In this paper, we design and implement a static analysis method for the detection of use-after-free conditions in binary code. Our new analysis is similar to available expression analysis and traverses all code paths to ensure that every object is defined before each use. Failure to achieve this property indicates that an object is improperly freed and potentially vulnerable to compromise. After discussing the details of our algorithm, we implement a tool and run it against a set of enterprise-grade, publicly available binaries. We show that our tool can not only catch textbook and recently released in-situ examples of this flaw, but that it has also identified 127 additional use-after-free conditions in a search of 652 compiled binaries in the Windows system32 directory. In so doing, we demonstrate not only the power of this approach in combating this increasingly common vulnerability, but also the ability to identify such problems in software for which the source code is not necessarily publicly available.
27
Patrick Cousot, Radhia Cousot · 1977 · 6.2K citations
Fast static analysis of C++ virtual function calls
David F. Bacon, Peter F. Sweeney · 1996 · 512 citations
Improving security using extensible lightweight static analysis
David Evans, David Larochelle · IEEE Software · 2002 · 470 citations