Study on Program Diversity for Software Security

Author
XinZhi
Advisor
MaoBing
School
Nanjing University
Major
Computer Software and Theory
Classification
TP311.1 Programming
Degree
Doctoral dissertation
Year
2013
Downloads
91
Citations
0

Request the full text

Abstract

Recently, program diversity techniques have been seriously developed to enhance system’s security, which make published software program behave extremely diversely in multiple levels. In one way, the randomized systems will raise big trouble to poten-tial attackers, because the diversity of program becloud them in observing the context of target system, and a little of misunderstanding may fail the whole attack. In the other way, the obfuscated systems also can hinder software crackers, because the real program semantic is dodged by multiple fake information formats. This paper stud-ies on how to enhance program’s security and obscurity by multiple program diversity techniques from both randomization and obfuscation aspects.This paper mainly includes three studies. The first is how to adopt data structure diversity technique for kernel rootkit defense purpose, which can automatically ran-domize the kernel data structures. Then kernel rootkit is very likely to fail the loading procedure because of the unknown constructions of kernel data structures. The second thing is how to launch data structure diversity technique to deceive memory layout sig-nature system. Signature system can identify program by snapping program runtime memory layout, but diversity technique make the layout volatile. The last is how to uti-lize system call diversity technique to stir the system call dependency relationship with equivalent replacement, which can baffle the matching procedure of the state-of-art software birthmark. All the researches are as follows:●Kernel rootkit has been demonstrated as a serious operating system kernel threat. With the injection of malicious rootkit into OS kernel, which tamper vital data structures, the intruder can deliver process hiding, log file deletion, privacy in-formation stealing and other malicious behaviors. Based on the basic insight of rootkit intrudes OS kernel through data structures, this paper presents a compiler-based data structure randomization technique, which can identify the randomiz-ability and achieve the randomization automatically without altering the original semantics. With the random and unexpected data structure field sequence, the in-trusion of kernel rootkit will fail. Through the experiments of eight well-known various rootkits in five categories, the approach is observed as an effective one with almost zero overload.●Program obfuscation techniques have been widely used to dodge reverse engi-neering tactics. However, signature based on the data structures appearing in the runtime memory makes traditional code obfuscation useless. Existing system implements this signature using Bayesian unsupervised learning, which cluster-s similar vectors of bytes in memory into the same class, which is particularly useful in polymorphic malware classification. This paper presents a novel obfus-cation technique that automatically obfuscates the data structure layout so that memory similarities between programs are blurred and hardly recognized. The automatic data structure obfuscation technique is designed and implemented as a GNU GCC compiler extension that can automatically distinguish the obfus-cability of the data structures. After evaluated by fourteen real-world malware programs, results present that the tool maintains a high proportion of obfuscated data structures and dodge the memory layout signature.●Software birthmarks utilize certain specific program characteristics to validate the origin of software, so it can be applied to detect software piracy. One state-of-the-art technology on software birthmark adopts dynamic system call depen-dence graphs as the unique signature of a program, which cannot be cluttered by existing obfuscation techniques and is also immune to the no-ops system call insertion attack. This paper analyzes its weaknesses and constructs replacemen-t attacks with the help of semantics-equivalent system calls to unlock the high frequent dependency between the system calls in an original system call depen-dence graph. Results show that the proposed replacement attacks can destroy the original birthmark successfully.

Table of contents

Summary 4-6 Abstract 6-8 directory 8-13 Chapter 1 Introduction 13-27 <br / > 1.1 background 13 1.2 exploits and malicious code technology introduced 13-20 1.2.1 exploits 13-18 1.2. 2 malicious code technology 18-19 1.2.3 Summary of existing attack techniques 19-20 1.3 existing defense and attack code recognition technology introduced 20 -25 1.3.1 attack defense technology 20-23 1.3.2 code recognition technology 23-25 ?? 1.3.3 Summary of existing defense methods 25 1.4 papers arrangement 25-27 technical Overview Chapter II program diversity 27-37 nbsp 2.1 procedural issues arising isomorphism ; 27-28 2.2 program diversity technology 28-36 2.2.1 program diversity technology classification 28-29 2.2.2 diverse program technology development process 29-34 2.2.3 data Structure diverse technology 34-35 2.2.4 system Calls diversity technology 35-36 2.3 Summary 36-37 Chapter III data structure diversity technology 37-57 3.1 motivation 37-40 3.1 .1 based on the structure of the kernel random Rootkit defense 37-39 3.1.2 confused memory -based data structure signature disrupt 39-40 3.2 system Overview the diversity of technical construction principles 40-42 3.3 data structure extract 42-49 3.3.1 target collection 42-43 3.3.2 randomly resistance analysis 43-47 3.3.3 automatic structure randomized 47-49 3.4 system evaluation 49-54 3.4.1 kernel Rootkit defense 49-52 3.4.2 memory structure signature confusion 52-54 3.5 Summary 54-57 Chapter IV system call diversity technology 57-75 4.1 motivation 57-59 4.2 system Architecture 59-61 4.3 alternative confusion principle 61-64 4.3.1 construct alternative heuristic rules mentioned confusion 63-64 effectiveness nbsp 4.4 alternative confusion ; 64-67 4.4. Figure 1 - comparison of subgraph isomorphism algorithm effectiveness analysis algorithms against VF 65 4.4.2 alternative confusion 65-67 4.5 system implementation 67 - 69 4.6 system Evaluation 69-71 4.6.1 validity 69-71 4.6.2 performance 71 4.7 Summary 71-75 Chapter summary and Outlook inadequate and Prospect 75-81 5.1 of existing research work 75-77 5.2 future Research Prospects 77-81 References participate during 81-102 PhD research projects 102-103 participate nationwide completed during the PhD program scholarship contest published during the conference 103 PhD doctoral thesis completed during the academic achievements 103-104 PhD completed during the period of journals published PhD scholarship completed during the requested period 104 patent PhD PhD scholarship 104-105 Thanks 105-107

Related dissertations

  1. Research on the Attack and Defense Techniques of Code Reuse
    ChenPing ·Nanjing University ·2012 ·Doctoral dissertation
  2. Research on Software Vulnerability Analysis Oriented Parallel Symbolic Execution
    CaoZuo ·PLA Information Engineering University ·2013 ·Doctoral dissertation
  3. Protection of Non-Control-Data Based on LLVM Framework
    ShenDaYu ·Nanjing University ·2012 ·Master's thesis
  4. Research and implementation of software encryption key protection
  5. Certifying the Safety of Assembly Pointer Programs
  6. AOP Technology and Its Applications in Software Security
  7. Research on Process Model of Testing and Evaluation for Safety-critical Software
    WangJinBo ·Graduate School, Chinese Academy of Sciences ·2008 ·Doctoral dissertation
  8. Pointer Logic’s Extensions and Applications
  9. The Design and Implementation of an Automated Theorem Prover Used for Pointer Logic
  10. Improving the Dependability of Cloud Computing Systems
    ChenHaiBo ·Fudan University ·2008 ·Doctoral dissertation
  11. Research on Methods of Threat Model Driven Software Security Evaluation and Testing
    HeKe ·Tianjin University ·2010 ·Doctoral dissertation
  12. Software security research and development of key technologies to achieve
  13. The Design and Implementation of a Static Analysis System in Source Code
  14. Research on Balise Telegram Programming and Management Software
    PangDongMing ·Beijing Jiaotong University ·2008 ·Master's thesis
  15. Bank of intelligence back to the single - management software design and development
    BaiXiaoHui ·Zhejiang University ·2004 ·Master's thesis
  16. The Research on International Standards for Functional Safety
    LiYueFeng ·Zhejiang University ·2007 ·Master's thesis
  17. The Study of the Methods for Detecting Security Vulnerabilities in Computer Softwares
  18. Aspect-oriented software technology based security framework for research
    XiongJunFeng ·Chongqing University ·2004 ·Master's thesis
  19. On Code Obfuscation Technology and the Applying to Software Security Protection
  20. Application software security access control layer technology research and application of the chain lock
    ZhaoYue ·Fudan University ·2008 ·Master's thesis