Study on Security Testing of Linux Kernel
- Author
- YangNa
- Advisor
- DiGaoShou
- School
- Beijing Jiaotong University
- Major
- Computer Software and Theory
- Classification
- TP316.81
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 174
- Citations
- 0
Abstract
With the extensive application of information systems in the various fields of social life, the security of information systems has become an integral part of IT research. Furthermore, the security of the operating system is fundamental to protect the security of the entire information system security testing and security evaluation of the operating system is the operating system safe and reliable means necessary and basic security. The meantime, the system calls as the operating system kernel to provide services to the user or the user program interface, security constitutes the main content of the safety testing of the operating system. Linux 2.6.29.4 kernel source code analysis, discussed Linux system to call implementation mechanism, given the system to perform specific process from user mode into kernel mode and involved a variety of source files and functions. The same time, the system call with the Linux 2.4.18 kernel version into mechanisms for the control and analysis in order to improve the existing system call security test automation prototype system, making it truly a direct call of the corresponding system call kernel functions to ensure that credible and reliable test results. A large number of Linux system calls, Linux 2.6.29.4 kernel alone, there are 332 system calls, so this article select the six systems is closely related to the file system calls open, creat access, faccessat to, read, write kernel source expand specific analysis and research. Highlighting the open system call, for example, a detailed analysis of the file open throughout the implementation process as well as during the function call. The paper also gives a creat access, faccessat, read, write system call relations to achieve the basic procedure and function calls, as well as covering the system call access to check the map and dependencies classification. As we all know, the design of test cases for testing is critical, its relationship to the test workload and coverage, especially safety tests for the Linux kernel. Mandatory access control mechanism SELinux enabled Linux 2.6.29.4 test environment, combined with front access to check the map and the analysis of the results of the dependencies of system calls, a variety of methods to eliminate redundant test cases example analysis shows and validation, which involved a system call access, open, read, write, close, fcntl. Finally, the work done on this article summarized, and given the subsequent recommendations.
Table of contents
Acknowledgements 5-6
summary 6-7
ABSTRACT 7-11
1 Introduction 11-21
1.1 Background topics 11-14
1.1.1 operating system security 11
1.1.2 operating system security testing method 11-13
1.1.3 Linux kernel and system call 13-14
1.2 research status 14-17
1.3 thesis content and technology roadmap 17
1.4 papers organizational structure 17-21
2 thesis foundation 21-33
2.1 operating system security test automation 21-24
2.1.1 operating system security testing 21
2.1.2 operating system security test automation 21-23
2.1.3 Linux kernel security test 23-24
2.2 Linux kernel and security mechanisms 24-27
2.2.1 Linux kernel development process 24-25
2.2.2 Linux kernel security mechanisms 25-27
2.3 security testing methods 27-31
2.3.1 black box testing 28-29
2.3.2 white-box testing 29-30
2.3.3 gray-box testing 30-31
Chapter Summary 31-33
3 Linux system call analysis 33-55
3.1 system call mechanism 33-34
3.2 Linux system calls into the kernel process analysis 34-38
3.3 Linux system call classification research 38-41
3.3.1 Linux 2.6.29.4 version of the system call classification 38-39
3.3.2 file operations related system calls 39-41
3.4 open system call source analysis 41-53
3.4.1 open system call the overall architecture 42-43
3.4.2 tail call optimization 43-44
3.4.3 key subfunction 44-53
Chapter Summary 53-55
4 security test case design and optimization 55-69
the
the 4.1 documents related system call access check analysis 55-57
4.2 file related system calls dependency analysis 57-58
4.3 test cases in the test data design considerations 58-60
4.4 redundant test elimination 60-65
4.4.1 eliminate access checks redundant test method 60-63
4.4.2 based access checks dependencies redundant test eliminate methods 63-65
4.5 cycle testing relies eliminate 65-67
Chapter Summary 67-69
5 security testing implementation 69-79
5.1 experimental program and the operating system platform configuration 69
5.2 system call security test program design improvement program 69-72
5.3 test implementation process 72-77
Chapter Summary 77-79
6 Conclusion 79-83
6.1 thesis work summarizes 79-80
6.2 follow-up recommendations 80-81
6.3 Research Prospects 81-83
the
References 83-85
Appendix A 85-97
Appendix B 97-101
of resume The 101-105
the
Dissertation datasets 105
Related dissertations
- Research and Realization of Fieldbus Conversion and Monitoring System Based on ARM
- The Research of CANopen Protocol Based on Embedded Systems
- Research and Realization of Embedded Wireless Sensor Networks
- Research and Application of Multi-Processing Load Balancing Technology Based on Multi-Core in Cloud Computing
- The Research on the Intrusion Detection Model Based on Actions’ Hierarchical Relation Analysis
- The Tailoring of Linux Kernel Based on Testing Coverage
- Porting and Research on Android Based on CK810
- Reseacrh and Realization of Steam Turbine Bearing Temperature Monitoring and Recording Embedded System Based on ARM
- Research and Application of Multifunctional Industrial Gas Manufactuirng Monitoring System Based on ARM Platform
- Post-audit Based on Bayesian Network Technology Research and Implementation of Security Log Audit System
- The Design and Implement of Internet Monitoring Equipment
- Research and Implementation of Intelligent Handheld RFID Reader
- A Research of FRAM-based Linux Kernel Crash Dump Mechanism
- Realization on Achieving Wineserver Mechanism in the Linux Kernel
- Research of Auto-tracing and Analysis in Kernel Running of Linux2.6Based on ARM Simulation Platform
- Driver Development of PCIE Data Acquisition Card in Embedded Linux
- Design of a Source-Level Linux Kernel Debugger Based on Xen
- Analysis and Research of the Task Logical Relations based on Traces
- The Design and Implementation of Automated Test Platform Oriented Towards Mobile Application Platform
- Multifunctional diary of the design and implementation of Android system based on mobile phone