Learning Fine-Grained Structured Input for Memory Corruption Detection

Inputs to many application and server programs contain rich and consistent structural information. The propagation of such input in program execution could serve as accurate and reliable signatures for detecting memory corruptions. In this paper, we propose a novel approach to detect memory corrupti...

Full description

Saved in:
Bibliographic Details
Main Authors: ZHAO, Lei, GAO, Debin, WANG, Lina
Format: text
Language:English
Published: Institutional Knowledge at Singapore Management University 2012
Subjects:
Online Access:https://ink.library.smu.edu.sg/sis_research/1702
https://ink.library.smu.edu.sg/context/sis_research/article/2701/viewcontent/isc12.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Singapore Management University
Language: English
id sg-smu-ink.sis_research-2701
record_format dspace
spelling sg-smu-ink.sis_research-27012018-07-13T03:07:23Z Learning Fine-Grained Structured Input for Memory Corruption Detection ZHAO, Lei GAO, Debin WANG, Lina Inputs to many application and server programs contain rich and consistent structural information. The propagation of such input in program execution could serve as accurate and reliable signatures for detecting memory corruptions. In this paper, we propose a novel approach to detect memory corruptions at the binary level. The basic insight is that different parts of an input are usually processed in different ways, e.g., by different instructions. Identifying individual parts in an input and learning the pattern in which they are processed is an attractive approach to detect memory corruptions. We propose a fine-grained dynamic taint analysis system to detect different fields in an input and monitor the propagation of these fields, and show that deviations from the execution pattern learned signal a memory corruption. We implement a prototype of our system and demonstrate its success in detecting a number of memory corruption attacks in the wild. In addition, we evaluate the overhead of our system and discuss its advantages over existing approaches and limitations. 2012-09-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/1702 info:doi/10.1007/978-3-642-33383-5_10 https://ink.library.smu.edu.sg/context/sis_research/article/2701/viewcontent/isc12.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University memory corruption dynamic taint analysis Information Security
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic memory corruption
dynamic taint analysis
Information Security
spellingShingle memory corruption
dynamic taint analysis
Information Security
ZHAO, Lei
GAO, Debin
WANG, Lina
Learning Fine-Grained Structured Input for Memory Corruption Detection
description Inputs to many application and server programs contain rich and consistent structural information. The propagation of such input in program execution could serve as accurate and reliable signatures for detecting memory corruptions. In this paper, we propose a novel approach to detect memory corruptions at the binary level. The basic insight is that different parts of an input are usually processed in different ways, e.g., by different instructions. Identifying individual parts in an input and learning the pattern in which they are processed is an attractive approach to detect memory corruptions. We propose a fine-grained dynamic taint analysis system to detect different fields in an input and monitor the propagation of these fields, and show that deviations from the execution pattern learned signal a memory corruption. We implement a prototype of our system and demonstrate its success in detecting a number of memory corruption attacks in the wild. In addition, we evaluate the overhead of our system and discuss its advantages over existing approaches and limitations.
format text
author ZHAO, Lei
GAO, Debin
WANG, Lina
author_facet ZHAO, Lei
GAO, Debin
WANG, Lina
author_sort ZHAO, Lei
title Learning Fine-Grained Structured Input for Memory Corruption Detection
title_short Learning Fine-Grained Structured Input for Memory Corruption Detection
title_full Learning Fine-Grained Structured Input for Memory Corruption Detection
title_fullStr Learning Fine-Grained Structured Input for Memory Corruption Detection
title_full_unstemmed Learning Fine-Grained Structured Input for Memory Corruption Detection
title_sort learning fine-grained structured input for memory corruption detection
publisher Institutional Knowledge at Singapore Management University
publishDate 2012
url https://ink.library.smu.edu.sg/sis_research/1702
https://ink.library.smu.edu.sg/context/sis_research/article/2701/viewcontent/isc12.pdf
_version_ 1770571479554981888