The Research and Implementation of CUDA-Assisted Software Protection Technology

Author
LiuJun
Advisor
ChenHao
School
Hunan University
Major
Computer Science and Technology
Classification
TP309.7 Encryption and decryption
Degree
Master's thesis
Year
2012
Downloads
12
Citations
0

Request the full text

Abstract

With the continuous development of industrial information technology, computer application has been popularized. However, software industry in substantial development process is also facing the enormous challenge, software piracy phenomenon occurs frequently. So software protection and software security receive more and more attention from the industry and academia.Based on IA-32instruction, traditional software protection technology architecture uses complex encryption algorithms. It significantly drags down system and causes the software monitoring and affect target software normal execution, even system. For that most converse researchers are not familiar with GPU’s execution environment and instruction set architecture, the appearance of general calculation of the GPU brings an opportunity for software protection. we can use efficient parallel GPU processing power accelerate complex cryptographic algorithms, On top of that, has a target software need freedom, not monitored the implementation of space.On the basis of a large number of researching work, we design combining with CBDE system (CUDA-Bulk and On-Demand Encryption), and CUDA is a GPU-based software development platform. First, we set out the overall encryption schemes, which is the entire image as a process object, the encryption and decryption scheme as a whole. Its design is by writing a Loader (loader files), which embed the whole exe. Loader which simulates operating system loader is responsible for loading the target program, and provides the corresponding decryption, encryption support. Because with CUDA code, the program cannot be directly compiled exe file and Loader as an exe embedded exe, so we design tools named Embed Tool. After compiling the target exe and Loader, embed the former to the latter.And then, on-demand encryption scheme, compared with bulk encryption, is not processing target software once, but controlling granularity in the running process. The paper processes function as a granularity, called the decrypt function-level. Solve single blocks size of the memory address and function virtual size by macro processing support mechanism and the PE section technology. Three main modules are included here, initial module work, decryption supporting prior to decryption function running before getting function, decryption supporting posterior to decryption function running before getting function. In addition, high-strength encryption algorithm AES (advanced encryption standard) is used to support this system.At last, we test and analysis the worked target process. Validity contains bulk encryption, encryption on demand for single thread and multiple threads, and test of combining with both two ways.In addition, we do performance test and analysis of samples between the beginning and the end. After GPU-assist acceleration, the performance loss is within a rational range. After a secure test on the current iterated testing technology and monitoring technology, we can conclude that the design is with better security and reasonable performance loss.GPU-assisted CBDE system offers an automatically encrypt and decrypt scheme when software is running. It has strong security and reliability, rational performance loss, as well as compatibility which provide a secure and reliable solution for software protection.

Table of contents

Summary 5-6 Abstract 6-10 illustrations index 10-11 Schedule Index 11-12 <br / > Chapter 1 Introduction 12-21 1.1 research background 12-13 1.2 software to protect the history 13-15 1.3 software Protection Research Status 15-19 1.3.1 code obfuscation technology 15-16 1.3.2 software encryption technology 16-18 1.3.3 traditional technical analysis software protection 18-19 1.4 main contents 19 1.5 thesis organization structure 19-21 CUDA programming Chapter 2 technical 21-29 2.1 GPU parallel computing 21-22 2.2 CUDA programming essentials 22-28 2.2.1 kernel level 23-24 2.2.2 thread -level 24-26 2.2.3 memory Hierarchy 26-27 2.2.4 heterogeneous programming 27-28 2.3 Summary 28-29 Chapter 3 CBDE software protection technology designed feasibility 29-37 3.1 CBDE system design 29-30 3.1.1 related monitoring technology 29-30 3.1.2 CUDA technology brings opportunities 30 3.2 CBDE system design 30-33 3.2.1 system Requirements Analysis 30-31 3.2.2 CBDE system architecture 31-33 3.3 designed to support technology 33-34 3.3.1 PE file basics 33-34 3.3.2 PE file loading step 34 3.4 overall encryption outline design 34-35 3.5 -demand encryption outline design 35-36 3.6 summary 36-37 Chapter 4 CBDE system implementation 37 -53 4.1 AES algorithm mode 37-38 4.2 overall encryption detailed design 38-45 4.2.1 API Hook technology 38 - 39 4.2.2 Loader design 39-44 4.2.3 EmbedTool design 44-45 4.3 -demand encryption detailed design 45-52 4.3.1 multi- thread synchronization access 45-46 4.3.2 macro handling mechanism 46-47 4.3.3 initialization module 47 - 48 4.3.4 decryption processing module 48-50 4.3.5 encryption processing module 50-52 4.4 Summary 52-53 Chapter 5 experimental results and analysis 53-62 5.1 experimental environment 53 5.1.1 hardware environment 53 5.1.2 software environment 53 5.2 correctness test 53-58 5.2.1 single-threaded test 54-55 5.2.2 multi-threaded test 55-57 5.2.3 encryption overall test 57-58 5.2.4 joint Test 58 5.3 performance test 58 - 60 5.4 system safety analysis 60-61 5.5 summary 61-62 summary and Outlook 62-64 References 64-68 Thanks 68-69 published in Appendix a master's degree during the academic catalog 69-70 Appendix B for master involved in the project during the degree 70

Related dissertations

  1. High-Performance Processing of Massive Remote Sensing Data and Its Visualization Application
    ZhouSongTao ·Wuhan University ·2013 ·Doctoral dissertation
  2. The Research of ICT Non-destructive Testing Volume Rendering Technology Based on CUDA
  3. Security Module Based on Command Code for Resource Constrained Wireless Sensor Networks
    HanYu ·Harbin Institute of Technology ·2012 ·Master's thesis
  4. Research of Efficient Computing Method on GPU-based LS-SVM
    BaoWenLei ·Harbin Institute of Technology ·2012 ·Master's thesis
  5. Research on Acceleration Technology of IPSec VPN Base on GPU
  6. Optimization of CUDA-based Parallel SOM Algorithm and Its Application
    ZhangJinChao ·Harbin Institute of Technology ·2012 ·Master's thesis
  7. Research on GPU General Computing on Text Classification
    LiZhiLong ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  8. Efficient Modelling of Smooth Surfaces with Branching Structures
    ZhuXiaoQiang ·Zhejiang University ·2013 ·Doctoral dissertation
  9. Research and Implementation of FIR Filtering Parallel Algorithm Based on GPU
    XiaoZuo ·Northeastern University ·2011 ·Master's thesis
  10. CUDA-based Real-Time Rendering of Transparent Object
    LiHaiMei ·Shanghai Jiaotong University ·2012 ·Master's thesis
  11. Research on Text Detecting and Removal in Video Image Based on CUDA
  12. Rapid Implementation of the Small Infrared Target Detection Algorithm on CUDA
  13. Parallel Face Detection CUDA Accelerating
  14. Research of Heuristic Unstructured Road Detection Algorithm Based on the Combination of Feature and Model
    XiongPeng ·Hunan University ·2013 ·Master's thesis
  15. Research on Boundary Face Method Base on GPU-acceleration
    YuLieXiang ·Hunan University ·2013 ·Master's thesis
  16. Real-time Eye-gaze Tracing System Based on CPU+GPU
    LiFeiFei ·Tianjin University ·2012 ·Master's thesis
  17. Research on Applying GPU Parallel Computation to Medical Image Processing
    LiYingMin ·Tianjin University ·2012 ·Master's thesis
  18. Research of Image Registration and Mosaic Technology Based on GPU
    ZouGang ·Tianjin University ·2012 ·Master's thesis
  19. Real-time Simulation of Fireworks Based on CUDA Platform and Particle System Technology
    LiuGang ·Shanghai University ·2013 ·Master's thesis
  20. Research and Implementation of Parallel Resampling Algorithm Based on GPU
    YuYinPing ·Northeastern University ·2013 ·Master's thesis