Research on virtual protection technology based on virtual stack

Author
XuFangHua
Advisor
LiTong
School
Yunnan University
Major
Software Engineering
Classification
TP311.53 Software Maintenance
Degree
Master's thesis
Year
2013
Downloads
0
Citations
0

Request the full text

Abstract

Looking at today’s virtual protection technology, it occupies a pivotal position.It mainly divided into two parts, stack-based and register-based virtual protection, but both of these two models have their own shortcomings.Due to all data will be put on registers on register-based model, it greatly reduces the degree of flexibility, it is easier to be cracked than a stack-based virtual machine. Because of every operations are on the stack,stack-based virtual machine model analysis only need to find and lock the virtual stack, that can understand the flow of the entire program. This thesis is committed to build a new virtual protection model, The main work of this paper is as follows:First, this thesis will put forward a new virtual model of protection, and this will be named as Heap-Based Virtual Machine Model. This is fundamentally different from these two main kinds of virtual model, it will virtualize in the heap space, this virtual protection model will both virtualize the hardware and code.Second, make the virtual heap to a small top heap, because of the memory segments are not continuous, and a large quantity of data duplication, so as for hardware virtualization, heap-based virtual protection will put all registers and stack to the virtual heap, and abolish the concept of the stack and registers, so it can confusion the data operations and heap operations.Third, as for code virtualization, it also build the dispatch function table of random rotation, it will rotate all the contents of the function table several times, and then correct sequence of virtual instructions, this mechanism will make the dispatch table not same for anytime,and make the protected program more difficult to trace.Finally, this thesis builds the process architecture of the Heap-Based virtual protection model, point out every step of the key steps.In summary, the Heap-based virtual protection model is put forward by this thesis, after two main model of virtual protection model have been published. Heap-Based virtual protection model has the advantage of the both main models. this article will build the whole architecture of Heap-Based virtual protection model, and it will have a certain value in the field of software protection. In addition, in the trend of cloud and cloud computing, the protection of sharing resource rights is increasingly important. Heap-based virtural protection will brings a more secure protection for for these sharing resource, and it also has a important value in cloud and cloud computing field.

Table of contents

Summary 3-4 Abstract 4-5 directory 5-8 first chapter 8-14 <br / > 1.1 Background 1.2 domestic and foreign research status quo 8-9 9-10 1.3 Research innovation 10-11 1.4 analysis of research objectives 11-12 1.4.1 research objectives 11-12 1.4.2 research conditions, limitations 12 1.5 The main work 12 1.6 thesis structure 12-13 1.7 Summary 13-14 Chapter II Summary and related work 14-22 <br / > 2.1 introduces research environment 14-15 2.1.1 virtual machine 14 2.1.2 C inline assembler 14 2.1.3 Ollydbg 14 2.1.4 IDAPro 14-15 2.1.5 PE file format 15 2.2 software shell 15-16 2.3 NAND gate logic 16 2.4 software protected encryption processing means 16-18 2.4.1 Add a new section 16-17 2.4.2 encryption introducing table 17-18 processing 2.4.3 TLS table 18 2.5 flower instruction 18 2.6 register 18-19 2.7 directive 19 2.8 heap 19-20 2.9 virtual heap 20-21 2.10 virtual heap advantage 21 2.11 Summary 21-22 Chapter III protection model based on virtual heap overall architecture 22-26 3.1 based on virtual protection model based virtual heap 22-23 3.2 stack -based virtual hardware virtual 23-24 3.3 code -based virtual heap virtual 24 3.4 Summary 24-26 Chapter IV virtual heap model construction 26-34 4.1 virtual stack model structure 26-27 4.2 virtual heap allocation 27-29 4.2.1 virtual heap allocation framework 27-28 4.2.2 virtual heap allocation model 28 - 29 4.3 virtual heap heap operations 29-30 4.4 heap stack -based virtual virtualization 30-31 4.5 -based virtualization virtual heap register changing the way 31-32 4.5.1 register 31-32 4.5.2 register shift model 32 virtualization nbsp 4.6 register ; 32-33 4.6.1 register virtualization model 32-33 4.7 Summary 33-34 Chapter V based virtual heap directive model construction architecture 34-50 5.0 directive system 34-36 5.1 directive addresses dispatch mechanism 36-43 5.1 structure .1 dispatch table 36-37 5.1.2 directive dispatch function function 37-38 5.1.3 dispatch function function model 38 - 43 5.2 directive executable prototype architecture 43-49 5.2.1 HVM directive executable prototype 43-44 5.2.2 register operations directive model 44-45 5.2.3 stack manipulation directives model 45-46 5.2.4 invoke operations directive model 46-47 5.2.5 operation Jump directive model 47-48 5.2.6 arithmetic operations directive model 48 5.2.7 memory operations directive model 48 -49 5.3 Summary 49-50 Chapter VI virtual stack -based virtual instruction execution architecture 50-60 6.1 HVM virtual protection model process model encryption 50-51 6.2 protected program 51 6.2.1 process is protected program 51 6.3 process model based on virtual protection of virtual heap framework prepare 51-58 executed before 6.3.1 HVM needs 51-52 6.3.2 HVM executive entrance 52 6.3.3 initialization nbsp HVM 's ; 52-55 6.3.4 HVM directive extract rotary nbsp 55-56 6.3.5 dispatch function table ; 56-58 <br / > 6.3.6 into a pseudo- instruction execution function 58 6.4 HVM virtual instruction combined with the implementation of 58-59 6.4.1 achieve anti-debug 58-59 6.5 Chapter Summary 59-60 Chapter VII of the work summary and Outlook 60-61 7.1 summary 60 7.2 work Prospects 60-61 References 61-63 Thanks 63-64

Related dissertations

  1. Software-based Shell Research and Implementation