An Advanced ROP Technique English ROP

Author
QinJiaJia
Advisor
XieLi , MaoBing
School
Nanjing University
Major
Computer technology
Classification
TP309 Security and confidentiality
Degree
Master's thesis
Year
2012
Downloads
28
Citations
0

Request the full text

Abstract

Code-injection attacks are perhaps one of the most common attacks on modern computer systems. As W⊕X was introduced, it largely mitigate the thread of code-injection attacks. However, a new type of code-reuse technique, Return-oriented pro-gramming(ROP), was introduced. It has been proved that ROP can circumvent W⊕X mechanism and perform arbitrary computation. After that, a lot of approaches were proposed to defend or detect the return-oriented attack. Recently, some new defenses were proposed. E.g., the deRop used to convert a ROP exploit into shellcode and the ROPScan used to scan the payload. These methods mainly focus on the ROP pay-load. They detected if there are continuous gadgets addresses included in the payload via dynamic and static techniques to make sure whether there is a ROP attack. In order to bypass these defenses, in this paper, we present an advanced ROP technique-English ROP. English ROP not only can achieve ROP’s capability, but also have the same representation and structure with the normal english text. Namely, it is diffi-cult to distinguish English ROP with normal english text without considering semantic information. Different from traditional ROP, English ROP is composed of printable gadgets and printable data. In this paper, we first prove that English ROP is turing-completeness, and then propose an algorithm for automatically constructing English ROP. In addition, based on English ROP, we construct two specific ROP obfuscation tools. One is a self-contained English ROP decoder which can be used to decode the encoded ROP payload. Using this decoder, we can construct any polymorphic ROP to circumvent payload-based defenses.The other is an English ROP Packer which can be used to get unprintable address.Our English ROP can include the gadgets ending in ret as well as the gadgets ending in call or jmp.

Table of contents

Summary 4-5 Abstract 5-7 directory 7-12 Chapter 1 Introduction 12-18 <br / > 1.1 Background 12-16 1.2 the main work and papers organization 16-18 1.2.1 the main work of this paper 16-17 1.2.2 The paper is organized 17-18 chapter related work 18-29 2.1 ROP evolution 18-25 2.1.1 return into libc (RILC) 18-20 2.1.2 return oriented programming 20-23 2.1.3 JOP 23-25 ?? 2.2 for ROP payload defensive approach 25-27 2.3 malware attack techniques 27-28 2.4 Summary 28-29 Chapter III English ROP Turing completeness 29-38 3.1 Turing complete description 29-30 3.2 English ROP concept 30-31 3.3 English ROP Turing completeness nbsp 31-37 3.3.1 memory access operation ; 31-32 3.3.2 arithmetic and logic operations 32 - 35 3.3.3 control Flow 35-36 3.3.4 function call 36-37 3.4 Summary 37-38 <br / > Chapter 4 System design and Implementation 38-52 4.1 disassembler introduced 38-39 4.1.1 linear sweep algorithm 38-39 <br / > 4.1.2 recursive traversal algorithm 39 4.2 automatically search gadget 39-42 4.3 English ROP converter 42-44 4.4 English ROP implementation process 44-48 4.4.1 Step One: build the assembly code to achieve functional English ROP Packer 44 4.4.2 Step Two : Find implement each function of the assembly candidate statement gadgets 44-46 4.4.3 step Three: build English ROP 46-48 4.5 English ROP extended 48-50 4.6 Summary 50-52 Chapter 5 System Evaluation and Analysis 52-61 5.1 English ROP Decoder 52-54 <br / > 5.2 to bypass DEP protection ROP attack 54-58 5.3 comparison with related work 58 5.4 Summary 58-61 first summary and future Work chapters meaning 61-63 6.1 This work is 61 6.2 is currently insufficient work and improve 61-62 6.3 Summary 62-63 References 63-71 resume and research 71-72 Thanks 72-73

Related dissertations

  1. Research on Security Mechanisms Evasion of Windows 7 Based on Reverse Analysis
    HanZhuo ·PLA Information Engineering University ·2011 ·Master's thesis
  2. Research on ROP Attack and Defense Technolodge on ARM
    QianYi ·Shanghai Jiaotong University ·2012 ·Master's thesis