Research and Implementation of Transparent Encryption System Based on Double Cache Filter Driver

Author
LiuZuo
Advisor
WenJunHao
School
Chongqing University
Major
Applied Computer Technology
Classification
TP309.7 Encryption and decryption
Degree
Master's thesis
Year
2010
Downloads
156
Citations
1

Request the full text

Abstract

With the rapid development of the information construction in recent years, the confidential information of a company is stored in electronic documents, it is very important to encrypt and protect the vital data. The transparent encryption is approval since it is easy to use and has mandatory encryption without changing the user’s habit. There exist mainly two methods to implement transparent encryption, one is Hooking API, and the other one is file filter driver. Hooking API method is highly related to upper application, so it is difficult to ensure compatibility and efficiency. The transparent encryption base on single cache filter driver works in system kernel level, has no relationship with upper application and has high efficiency, good compatibility and strong security. But in order to meet the requirements that authorized and unauthorized programs access encrypted files at the same time, it needs to change the data status (encryption and decryption status) in cache frequently. So that it greatly reducs the buffer utilization efficiency, and also caused some compatibility issues.In order to eliminate the limitations of transparent encryption system based on single cache filter driver, this paper proposes to use double cache. That is to create two caches for a file, one is called encryption-cache which be used to save encryption data for unauthoried applications accessing, the other one is named decryption-cache that is available for authoried applications visiting, while both are independently of each other. In addtion to studying the related theory and technology of double cache filter driver, this paper also conducted a detailed design of the system to achieve, and apply it in Trending Data Loss Prevention system. The test indicates that transparent encryption base on double cache filter driver could enhance system performance and compatibility are improved significantly.This paper has accomplished the following tasks:①It analyzed the importance of data encryption and current status of the development of transparent encryption technology. it proposed solutions to the issues of current transparent encryption technology.②It researched the relevant technical and theoretical basis, and built solid foundation for the feasibility of transparent encryption based on double cache filter driver.③Firstly, it investigated how to break the single cache restrications of Windows Cache Manager to create double cache and data synchronization between the two cache and life-cycle control. Next, it researched the process identification based on authorized and unauthorized programs, and how to ensure the process does not forgery and tampering. At last, it analyzed and studied the file reading and writing methods in system kernel to ensure all data operations can be blocked by fileter driver.④It Researched and analysised how to identify encrypted files, and how to store and protect the encryption identity flag. At the same time, it investigated encryption algorithms and selected the encryption algorithms for the encryption system to ensure the balance between the efficiency and security.⑤According to the enterprise information security requirements, it designed a transparent encryption system based on double cache filter driver. It highlighting introduced the filter driver architecture and module design ideas, and implemented Trending Data Loss Prevention System. The function, performance and compatibility test results indicated the introduction of double cache filter driver could enhance system performance and compatibility is improved significantly.

Table of contents

Chinese Abstract 3-4 English summary 4-9 1 Introduction 9-13 the 1.1 research background and research significance 9-10 1.2 research status 10-11 1.3 of this paper mainly work 11-12 1.4 This chapter Summary 12-13 2 technical analysis 13-17 2.1 file system filter driver model analysis 13-14 2.2 IRP technical analysis 14-15 2.3 file buffer manager 15-16 2.4 This chapter Summary 16-17 3 double buffering filter drive technology 17-37 3.1 double buffering theoretical research 17-22 3.1.1 buffer file read and write 17-19 3.1.2 double buffering to create 19-22 3.1.3 double buffering synchronization and clear 22 the of 3.2 authorized and unauthorized program recognition technology research 22-26 3.2.1 authorization process and the process of unauthorized 22-23 3.2.2 Get process name 23-25 3.2.3 prevent process to deceive 25-26 3.3 to read and write data to intercept analysis 26-32 3.3.1 IRP intercept filter 26-29 3.3.2 Memory Mapping 29-31 3.3.3 fast I / O 31-32 3.4 file system control device volume device binding studies 32-35 3.4.1 to generate filtering equipment 32-33 3.4.2 file system control equipment binding analysis 33-34 3.4.3 file system volume device binding Analysis 34-35 3.5 This chapter Summary 35-37 4 transparent encryption technology research 37-47 4.1 encrypted file identifies 37-38 4.1.1 encryption identifies the saved position, select 37 4.1.2 encryption logo generator and judgment 37-38 4.2 encryption algorithm analysis 38-43 4.2.1 encryption algorithm classification 38-39 4.2.2 encryption algorithm choose 39-43 the the 4.3 files encrypted sheet 43-46 4.3.1 cryptographic operations perform timing 43-44 4.3.2 file encryption table structure and initialization 44-45 the 4.3.3 file encryption table operation 45-46 4.4 This chapter Summary 46-47 5 driver transparent encryption system based on double buffering filter design and realization 47-69 5.1 Needs Analysis 47 5.2 design goals 47-48 5.3 system architecture 48-49 5.4 driver initialization 49-51 5.4.1 DriverEntry initialization 49-50 5.4.2 User Configuration initialization 50-51 5.5 file read and write pretreatment 51-57 5.5.1 file path filtering 51-53 5.5.2 file open pretreatment 53-57 5.6 encryption and decryption modules 57-62 5.6.1 read decryption 57-58 5.6.2 allocation and release of MDL 58-59 5.6.3 write to request encrypted 59-62 5.7 Policy Management 62-64 5.7.1 Strategies to add, modify and delete 62-63 5.7.2 policy file protection 63-64 5.8 Key Management 64-66 5.8.1 Design Analysis 64 5.8.2 design 64-66 5.9 other modules 66-68 5.9.1 communication module 66-67 5.9.2 avoid reentrant 67-68 5.9.3 memory decrypt data protection 68 5.10 This chapter Summary 68-69 6 system testing and analysis 69-78 6.1 system test 69-77 6.1.1 Functional Test 69-71 6.1.2 compatibility testing 71-72 6.1.3 stability test 72-73 6.1.4 Performance Test 73-77 6.2 system analysis and evaluation 77 6.3 This chapter Summary 77-78 7 Conclusion and Prospects 78-80 7.1 Conclusion 78 7.2 Job Outlook 78-80 Acknowledgements 80-81 the References 81-84 Appendix 84 A. author published during the master's degree thesis 84 B. of the master's degree during participation in scientific research 84

Related dissertations

  1. Implementation of Windows File System Virtualization Based on Sandbox Technology
  2. Design and Implementation of Cross-platform Website Anti-tamper System Based on File Filter Driver
    LinYiXin ·South China University of Technology ·2013 ·Master's thesis
  3. The design and implementation of internal network security systems in the file transparent encryption / decryption of
    ZhouXiaoJuan ·Northwestern University ·2008 ·Master's thesis
  4. The Study and Implement of WFSFD-based File Encryption/Decryption Technology
    LiMin ·Sichuan University ·2006 ·Master's thesis
  5. Research and Implementation of Transparent Encryption File System Model
    MaoRui ·Dalian University of Technology ·2008 ·Master's thesis
  6. File protection system transparent encryption and decryption technology design and implementation
  7. The Study and Implement of a Encryption/Decryption System Based on the Windows File System Filter Manager
    LinHaiYuan ·Zhejiang University of Technology ·2009 ·Master's thesis
  8. Research and Implementation of Transparent Encryption File System
  9. Research on Key Technologies for Data Security Managing System Based on Trusted Cryptography Module
  10. Terminal design of fault diagnosis system of intelligent equipment under a cloud service environment
  11. Research on Multi-attribute-based File Organization Mechanism
  12. The Design and Implementation of Distributed File System Based on Linux
  13. The Linux Kernel Porting, Profiling Driven Development and Cryptographic Applications Based on CK810
  14. Design and Implementation of Project Management System for Technology Sector Based on B/S Model
  15. SharePoint-based Meeting Minutes Management System
    NanShiJin ·Tianjin University ·2012 ·Master's thesis
  16. The Full Life Cycle of the Data Security Technology in the Cloud Computing
  17. Security in Cloud Computing with Multi-User Data Sharing
    LiuQin ·Central South University ·2012 ·Doctoral dissertation
  18. Research on Lossless Watermarking Technology for2D-vector Maps
    CaoLiuJuan ·Harbin Engineering University ·2013 ·Doctoral dissertation
  19. Research on the Malicious Codes Monitoring Technology Based on the File System
    SunHaiPeng ·Northwest Normal University ·2013 ·Master's thesis
  20. Towards Practical Schemes for Searching the Encrypted Cloud Data