Automatic Analysis of Covert Channel Based on Source Codes of Linux Kernel

Author
ZhangYuFeng
Advisor
DiGaoShou
School
Beijing Jiaotong University
Major
Computer Science and Technology
Classification
TP309 Security and confidentiality
Degree
Master's thesis
Year
2009
Downloads
102
Citations
2

Request the full text

Abstract

In the social process of information-based,information has become an important resource for social development.And information security in information society will play a very important role.Operating system security is the fundamental issue to protect the security of information systems.In recent years,researching on secure operating systems is heated gradually.And effective covert channel analysis and processing mechanisms are important parts to ensure the operating system security.Building a operating system of high security level is also a bottleneck problem.This paper is to analyze covert channel in source codes of Linux kernel.Based on the summary of the existing analysis methods of covert channel,the main analysis combined with the information flow analysis method,shared resources matrix method and covert flow tree analysis method.The design proposal and prototype of covert channel identification and analysis tools are summarized and given.Specifically,the first step,source codes of Linux kernel are traversed and scanned to separate the shared variables and function names,and the result of the word segmentation is preserved;the second step,rules of information flow statements are formulated and information flow tree is constructed according to the corresponding rules;the third step,information flow tree should be simplified and result is preserved in the information flow diagram;the fourth step,shared resource matrix is constructed and transitive closure is computed in order to identify potential covert channels.Finally,Source codes of Linux2.4.18 kernel version are selected as the analysis object and potential covert channels are identified by automatic analysis of covert channel tool in order to verify the validity of the design tool.At the same time,parts of potential covert channels are confirmed factually.Furthermore,scene analysis of the potential covert channel is made and recommendations are given.In the end of the paper,existing problems of the research process are summed up and the directions of future efforts are forecasted.

Table of contents

Acknowledgements 5-6 Summary 6-7 ABSTRACT 7-10 1 Introduction 10-18 1.1 project background 10-14 1.1.1 Information Security and Operating System Security 10-12 1.1.2 Information Security Evaluation Criteria 12-13 1.1.3 covert channel analysis 13-14 1.2 research status 14-15 1.3 thesis content and technology roadmap 15-16 1.4 Thesis Organization 16-18 2 Covert Channel Analysis Method 18-41 2.1 covert channel basic concepts 18-22 2.1.1 covert channel definition 18-19 2.1.2 covert channel characteristics 19 2.1.3 covert channel classification 19-21 2.1.4 covert channel criterion of 21-22 2.2 Covert Channel Analysis and Processing Overview 22-34 2.2.1 covert channel analysis and safety evaluation level requirements 22-24 2.2.2 covert channel identification method 24-29 2.2.3 covert channel bandwidth calculation 29-32 2.2.4 covert channel processing 32-34 2.3 source code level covert channel analysis program 34-39 2.3.1 source code level covert channel identification method 35-36 2.3.2 Linux kernel source code based on covert channel analysis program 36-39 Summary 39-41 3 based on the Linux kernel source code analysis tool for covert channel automation design and implementation 41-70 3.1 overall design philosophy 41-42 3.2 source traversal module design and implementation 42-45 3.2.1 source walker design 43 3.2.2 The establishment of a global shared variable watches 43-44 3.2.3 Functions watches establish 44-45 3.3 source code scanner module design and implementation 45-46 3.3.1 source code scanner is designed 45-46 3.3.2 source code scanner to achieve 46 3.4 Information Flow Analysis Rules 46-52 3.4.1 Information Flow Analysis assignment rules 47 3.4.2 function return statement information flow analysis rules 47-48 3.4.3 function call statement information flow analysis rules 48-49 3.4.4 Information flow control statements analysis rules 49-52 3.5 information flow tree structure module design and implementation 52-59 3.5.1 binary information flow defined 52-54 3.5.2 binary tree structure information flow rules 54-55 3.5.3 binary tree structure of the flow of information to achieve 55-59 3.6 Information flow diagram generation module design and implementation 59-66 3.6.1 information flow tree simplification rules 59-60 3.6.2 Information Flow Tree Simplification 60-62 3.6.3 Information flow diagram generation 62-66 3.7 shared resource matrix calculation module design and implementation 66-69 3.7.1 a description of the shared resource matrix 66 3.7.2 Shared Resource Matrix generation algorithm 66-68 3.7.3 compute the transitive closure of the realization 68-69 Summary 69-70 4 prototype testing and results analysis 70-85 4.1 Linux kernel source code analysis 70-71 4.2 based on the Linux kernel source code for the prototype testing 71-77 4.2.1 source walker test 71-73 4.2.2 source code scanner test 73-75 4.2.3 covert channel analysis tools automate test 75-77 4.3 Analysis of test results 77-84 Summary 84-85 5 Conclusion 85-88 5.1 thesis work summarizes 85 5.2 thesis results and innovation 85-86 5.3 Research Prospects 86-88 References 88-90 Author Biography 90-92 dissertation dataset 92

Related dissertations

  1. Study on Identifying Covert Channels for Operating Systems
    WangRuiChang ·Beijing Jiaotong University ·2007 ·Master's thesis
  2. Research on Secure Operating System Testing Methodology
    CuiYongZuo ·Institute of Software ·2004 ·Master's thesis
  3. Secure operating system in the Covert Channel
    LuLianHao ·Zhejiang University ·2006 ·Master's thesis
  4. Research on Key Technologies for Access Control of High-level Secure Operating System
    WangDaHai ·Beijing University of Technology ·2012 ·Master's thesis
  5. Research on Automatic Generation Mechanism for Security Policy Based on Trusted Computing
    GaoZuo ·Beijing University of Technology ·2013 ·Master's thesis
  6. Design and Realize on Secure Label Mechanism for High-level Secure Operatiing System
    WangLei ·Beijing University of Technology ·2013 ·Master's thesis
  7. Researching of Implementation of High Level Secure Trusted Operationg System
    HuJun ·Institute of Electronics ·2008 ·Doctoral dissertation
  8. Research on Function Isolation Mechanism of Secure Operating System
    TangLing ·University of Science and Technology of China ·2007 ·Doctoral dissertation
  9. Study on Access Control and Real-Time Alert of Secure Operating System
    LiHongJiao ·Shanghai Jiaotong University ·2008 ·Doctoral dissertation
  10. Research on the Trusted Operating System
  11. Research on Covert Channel Analysis and Related Techniques in Secure Database Systems
    CuiBinGe ·Harbin Engineering University ·2006 ·Doctoral dissertation
  12. Research on Authentication and Access Control Technologies Based on Trustworthiness in Secure Operating System
  13. Research on Security Techniques of Embedded Operating System
  14. Security Audit and Audit-Based Intrusion Detection
    ZhangXiangFeng ·Institute of Software ·2004 ·Doctoral dissertation
  15. Research on Trusted Process Mechanism and Related Problems
    LiangBin ·Institute of Software ·2004 ·Doctoral dissertation
  16. Research on Some Key Technologies of Secure Operating System
    LiuHaiFeng ·Institute of Software ·2002 ·Doctoral dissertation
  17. Research on Some Key Technologies of Structured Protection Level Secure Operating System Development
    LiuWenQing ·Institute of Software ·2002 ·Doctoral dissertation
  18. Research on the Framework for Multi-Policies and Practice in Secure Operating System
    DanZhiYong ·Institute of Software ·2002 ·Doctoral dissertation
  19. Research on and Enforcement of Malware-Defending Technology of Secure Operating Systems
    ZhaoQingSong ·Institute of Software ·2002 ·Doctoral dissertation
  20. Safe operation of the system model and the implementation structure
    ZhuLuHua ·PLA Information Engineering University ·2002 ·Doctoral dissertation