Iowa State University
A recompilation and instrumentation-free monitoring architecture for detecting heap memory errors and exploits
Abstract
dc:description.abstract<p>Software written in programming languages that permit manual memory management, such as C and C++, are often littered with exploitable memory errors. These memory bugs enable attackers to leak sensitive information, hijack program control flow, or otherwise compromise the system and are a critical concern for computer security. Many runtime monitoring and protection approaches have been proposed to detect memory errors in C and C++ applications, however, they require source code recompilation or binary instrumentation, creating compatibility challenges for applications using proprietary or closed source code, libraries, or plug-ins. This work introduces a new approach for detecting heap memory errors that does not require applications to be recompiled or instrumented. We show how to leverage the calling convention of a processor to track all dynamic memory allocations made by an application during runtime. We also present a transparent tracking and caching architecture to efficiently verify program heap memory accesses. Security analysis using a software prototype shows our architecture detects 98% of heap memory errors from selected test cases in the Juliet Test Suite and real-world exploits. Performance simulations of our architecture using SPEC benchmarks and real-world application workloads show our architecture achieves hit rates over 95% for a 256-entry cache, resulting in only 2.9% runtime overhead.</p>
Degree
thesis:*- Name thesis:degree_name
- Master of Science
- Level thesis:degree_level
- thesis
- Discipline thesis:degree_discipline
- Computer Engineering
- Department dc:contributor.department
- Department of Electrical and Computer Engineering
- Year dc:date.issued
- 2016
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Grieve, Alex
- Advisor dc:contributor.advisor
-
- Joseph Zambreno
Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Identifier URI
- https://dr.lib.iastate.edu/handle/20.500.12876/30104
- Identifier
- archive/lib.dr.iastate.edu/etd/15921/
- Dc Identifier Other
-
6928
11169298 - Mods Identifier Filename
- archive/lib.dr.iastate.edu/etd/15921/Grieve_iastate_0097M_16073.pdf|||Fri Jan 14 20:48:43 UTC 2022