Analysis Capabilities for Linux security mechanisms and Improvement
- Author
- WuXiaoMing
- Advisor
- GuoYuDong
- School
- PLA Information Engineering University
- Major
- Computer Software and Theory
- Classification
- TP316 Operating system
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 142
- Citations
- 3
Abstract
Capabilities Secure Model is an access control mechanism over privileged operations described in POSIX.le. Capability means a partitioning of all the powerful root privilege into a set of distinct privileges. It was brought forward for enabling more specific control over what privileged operations a process can do.Capabilities Secure Model had been implemented in Linux kernel from the version v2.1. But Linux does not support the executable file’s Capabilities for the limit of the file systems. So we still can not use the Capabilities mechanism to enhance the security of Linux Operating System.This paper mainly described the improvements we have done on the implement of the Capabilities mechanism in Linux. We improved it mainly in two aspects. For the first one, we supported the executable files’ capabilities, enabling users to control what capabilities a process can have via configuring the executable files’ capabilities. For another one, we changed the rules which the system gives processes capabilities, so that different user’s process can have different capabilities when execute the same program with the same setting of capabilities. And we also implemented the files’ access control mechanism of Access Control List based on process identifying in Linux. So we can give better protection on the capabilities settings of the executable files’ and other resources in the system.This paper also proposed some methods of how to gather the minimum capabilities info which a process or a program need to fulfill its services. And this paper finally discussed how to use the improved Capabilities mechanism to enhance the security of Linux Operating System.
Table of contents
Summary 2-3
Abstract 3-6
Introduction safety status 6-7
chap Linux systems 7 - 12
1.1 Linux system user model 7
1.2 file access 7-8
1.3 file attribute flags 8-9
1.4 setuid mechanism 9-10
1.5 Capabilities security mechanisms Capabilities 10-12
Chapter II under Linux 12-17
2.1 POSIX.1e the Capabilities 12
Capabilitie nbsp 2.2 Linux under ; 12-17
2.2.1 root split nbsp authority ; 13-14
2.2.2 empowerment process , said power 14
2.2.3 executable file 14 <br / > 2.2.4 empowerment boundary set cap_bset 14-15
2.2.5 empowerment process to determine 15-16
2.2.5.1 new process computing power of 15
patch 2.2.5.2 Setuid process of empowerment of 15-16
2.2.5.3 process capability of directly modifying 16
2.2.6 access control process capability 16-17
Chapter Capabilties improvement and perfection 17-24
3.1 improvements target 17
3.2 to achieve power executable file 17-21
3.2.1 executable file static power storage 17-18 < br /> 3.2.2 executable capability represents information build 18
3.2.3 power profile 18-19
3.2.4 establish core capabilities repository 19-20
3.2.5 query capabilities nbsp information ; 20-21
3.3 improved power calculation formula 21 - 24
3.3.1 introduced the concept of user empowerment 21-22
3.3.3 allows processes to inherit power from centralized power users 22-23
3.3.4 cancellation by ordinary users setuid get power protection 23-24
Chapter IV power profile 24-32
4.1 based on Linux ACL access control procedures identified 24-29
4.1.1 ACL access Control Profile 24-25
4.1.2 implementation 25 < br /> 4.1.3 file type of security and security domain information security domains 25-26
4.1.4 process 26
4.1.5 access control lists 26-28
4.1.6 ACL access control 28-29
4.2 using ACL control file access program 29-30 visit user
4.3 using power control file 30-32
fifth chapter the process of obtaining a minimum set of information capabilities 32-35
5.1 audit the minimum power process set 32
5.2 terminate the process to get the minimum capability set 32-33
5.3 does not terminate the process to obtain the minimum capability set 33-35
Chapter VI using Capabilities improve system security 35-37
6.1 how to Use Capabilities mechanism 35
6.2 how to use Capabilities to improve system Security 35-37
Conclusion 37-38
Thanks 38-39
References 39-41
Related dissertations
- Design of Embedded Construction Safety Video Monitoring System Based on S3C6410
- Research of120Emergency Vehicle Terminal Multi-channel Data Acquisition System Based on Beidou Navigation Satellite System
- Design of Embedded Motion Controller Based on ARM and Motion Control Chip
- Video Capture and Coding System Based on Embedded Systems
- Research and Realization of Key Technology in OpenFlow-hybrid Switch
- Design and Implementation about ALSA Audio Driver Based on the ARM Platform
- Based on Design and Research of Beidou and GPRS Vehicle Terminal
- Research and Design of Water Stop Remote Terminal Based on Embedded System
- Design and Implementation of Home Monitoring System Based on ARM
- Research of Ethernet/Ip and Modbus-TCP Communication Adapter Based on Dual-port RAM
- Design and Implementation of Self-tracking Robot
- Design and Implementation of Sensors Management Platform Based on Embedded System
- Design and Implementation of Session Count Limit Firewall System Based on Access Control List
- Research on Network Data Flow Analysis and Network Optimization for Enterprises
- Research and Implementation of Intelligent Home Gateway Based on Triple Play
- The Generic Driver Framework Design of USB Wireless Network Adapter Based on Linux
- The Design and Implementation of Home Gateway Configuration System Based on Linux
- Design of a Intelligent Video Surveillance System Based on the ARM
- Research on Environmental Change Perception and Adaptive Moving Object Detection
- Hardware Research and Implementation of Intelligent Detection of Image Quality System in Intelligent Transportation Systems