A system for providing security policy for a Linux-based security operating system, which includes a template policy module configured to set an authority using policy information of a downloaded application so that the template policy module can set an access control rule for accessing a system resource of the application, a base policy module executing the access control rule for the system resource in accordance with the access control rule set by the template policy module, and a template policy module editor generating a custom application for the corresponding application using information output from the template policy module.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a Linux-based system having strengthened security, and more particularly to a method and a system for providing a security policy for downloaded applications in a security operating system.

2. Description of the Related Art

Presently, as the role of the Internet is extended from merely providing information to, or sharing information with intranet networks, electronic commerce, and the like, the need to protect against hacking is of increased importance. Hacking is an invasion of privacy, may cause the destruction of property, tarnish a corporation's image, compromise corporate trade secrets, interrupt service, and the like, and the scale of damage caused by hacking has been increasing at a high rate. Particularly, in the case of a corporation, whether the corporation can defend itself against hacking is vital to its survival.

Recently, with the development of the Internet, it has become possible to access personal computers and networks throughout the world. In such environments, the accessing of data from remote locations is convenient, but sensitive data may be exposed to unauthorized users, and malicious attacks may frequently occur. Accordingly, security technologies of application layers, such as encryption, firewalls, invasion detecting systems, and the like, for safe sharing and use of information have been developed to protect information of networks or servers. However, such security technologies of application layers have their own vulnerabilities and drawbacks such that it is difficult to cope with privacy violations by otherwise authorized users, misuse/abuse of authority, and attack through system hacking.

In order to solve this problem and to implement a Trusted Computing Base (TCB), research for a security operating system has been ongoing, and a representative security operating system may be SELinux (Security Enhanced Linux). SELinux is a security operating system developed by the National Security Agency (NSA) through application of a Flux Advanced Security Kernel (Flask) structure to Linux, and provides a structure that executes diverse access control policies, such as Type Enforcement (TE), role based access control, Multi-Level Security (MLS), and the like. SELinux also performs access control of not only files and device files but also various resources in the system, such as processes, signals, memory, and the like. SELinux also minimizes the range of damage through minimum authority allocation, and prevents the execution of malicious code. In structure, SELinux separates a policy decision module and a policy execution module from each other to provide flexibility to the security policy. On the other hand, a general UNIX operating system uses a Discretionary Access Control (DAC) method as an access control method. Also, in Trusted Computer System Evaluation Criteria (TCSEC), the same concept as the discretionary access control policy is defined as DAC. That is, a method of limiting the access of an object based on the discretion of the subject or a group to which the subjects belong is defined as DAC.

The biggest security problem in the DAC method is that the authority of a super user (i.e., root) is too great. That is, a super user can set all the environment variables of the system, and can delete all processes. Accordingly, once a hacker becomes a super user using a vulnerability, they can perform all the functions of a super user.

According to the DAC method, as many system files are changed or the kernel becomes larger and has many support functions, the kernel becomes modularized, and a part of the kernel performs a task after a module is inserted into the kernel. Accordingly, a serious problem may occur as malicious code is inserted into the kernel.

Although SELinux can perform more enhanced access control, there is a high possibility that, due to a type of a downloaded application that means a group having the same security attribute and Boolean designation, a special control element in SELinux policy controlling what part of policy is applied to an application, which are given during installation of the downloaded application, the given designation collides with the existing designation, and thus it is difficult for general users to set the security policy for the downloaded application to suit the users' purposes.

SUMMARY OF THE INVENTION

Accordingly, the present invention has been made to solve the above-mentioned problems occurring in the prior art, and the present invention provides a method and a system for providing security policy for a Linux-based security operating system, which enables a user having no specialized knowledge in security to easily set the security policy through an improvement in the complexity of the security policy.

In accordance with an aspect of the present invention, there is provided a system for providing a security policy for a Linux-based security operating system, which includes a template policy module configured to set using policy information of a downloaded application so that the template policy module can set an access control rule for accessing a system resource of the application; a base policy module executing the access control rule for the system resource in accordance with the access control rule set by the template policy module; and a template policy module editor generating a custom application for the corresponding application using information output from the template policy module.

In accordance with another aspect of the present invention, there is provided a method of providing security policy for a Linux-based security operating system, which includes acquiring a policy manifest and installation information of a downloaded application using policy information of the application; generating an application policy module based on the acquired policy manifest and installation information; and managing the generated application policy module.

DETAILED DESCRIPTION OF THE PRESENT INVENTION

Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the following description, various specific definitions found in the following description are provided only to aid in the general understanding of the present invention, and it is apparent to those skilled in the art that the present invention can be implemented without such definitions.

For help in completely understanding the present invention, the basic principle of the present invention will now be described. A Linux-based terminal according to the present invention is a device that can transmit/receive data, and it would be apparent that the terminal could be applied to all information communication appliances, such as a mobile communication terminal, a digital broadcasting terminal, a Personal Digital Assistant (PDA), and the like, multimedia appliances, and applications thereof.

Also, in the description of the present invention, the term "module" means a unit that processes a specified function or operation, and can be implemented by hardware, software, or combination thereof.

FIG. 1 illustrates the configuration of an example of a Linux system used to set security policy according to the present invention.

Referring to FIG. 1, the Linux system includes a template policy module 112 and a base policy module 110.

The template policy module 112 is configured to set permissions using policy information of an application downloaded from a remote location.

More specifically, the template policy module 112 includes a conditional Access Control Rule (ACR) generation unit 114 and an unconditional ACR generation unit 116, which have different inputs in accordance with the existence/nonexistence of a Boolean identifier among policy constituent elements included in the policy information of the downloaded application, and an application file context number generation unit 118 having an application component path defined during generation of the downloaded application, security context and Type Enforcement (TE) technical terms.

The template policy module 112 includes a detection unit 107, which divides the downloaded application policy information into an application type identifier indicating the attribute of the application, a policy module identifier defined in the application, and a Boolean identifier which has a true or false value and can flexibly apply an authority of permitting/interrupting the conditional access control rule for an Access Control Interface (ACI) to accessible resources in the system, and outputs the divided identifiers to the conditional ACR generation unit 114 and the unconditional ACR generation unit 116, respectively.

Here, the detection unit 107 includes an application type identifier unit 102, a policy module identifier unit 104, and a Boolean identifier unit 106, to which the policy information of the downloaded application is input, respectively.

On the other hand, in the application file context number generation unit 118 having the application component path defined during generation of the downloaded application, the security context and the Type Enforcement (TE) technical terms, the security context of the corresponding application component is stored in the form of a file after the corresponding application is installed in the system, and one application file context has the following syntax description form.

/tpm_file_path_xxxxxxx_yyyyyyy-tpm_user_xxxxxxx:tpm_role_zzzzz Zz:tpm_app_exec_vvvvvvv_t

where xxxxxx, yyyyyyy, zzzzzzz, vvvvvvv—are the templates for further customization.

The Boolean identifier has the following syntax description form.

If(tpm_xxxxxxx_network_b){base_allow_network_for_app(tpm_app_yyyyyyy_t)}

In this case, the Boolean identifier sets the conditional policy of the accessible resources in the Linux system. For example, if the conditional policy is provided, it has syntax in the form of tpm_app_yyyyyyy_t type identifier, and in this case, it has a true value.

The above-described syntax form permits access to the resources in the system, and the resources include an application Access Control Interface (ACI), a network ACI, a storage ACI, a telephony ACI, and other conditional ACIs.

FIG. 2 illustrates a data flow in a conditional ACR generation unit of a template policy module in a Linux system used to set security policy according to the present invention.

The conditional ACR generation unit 25 includes an access permission list 214 to which application access permission list files from the Boolean identifier 212 are input. This refers to authorized entities 20, e.g. a camera, a phone, a network, and the like.

Also, the conditional ACR generation unit 25 includes an application access permission list input from the access permission list 214, an inherent identifier 218 of the corresponding application, and a component 220, which are provided in a downloaded application provider 22.

Accordingly, the conditional ACR generation unit 25 can acquire the policy manifest 222 of the corresponding application.

The policy manifest 222, which is generated from the downloaded application provider, includes information on the corresponding application component, an inherent application identifier, and an application access permission list.

Here, the access permission list is a list in which access rules given to the respective applications are recorded.

The application component is composed of executable data, configuration files, temporary files, and directories. The application component also includes information about executable file names, and such information is provided in an application installation path, and has the following syntax description form.

For application executable:

Exe: file /$INSTALL_PATH$/app_name

For application components (non-executable):

Comp: file /$INSTALL_PATH$/com_name1

Comp: file /$INSTALL_PATH$/com_name2

. . .

Comp: file /$INSTALL_PATH$/com_nameN

where $INSTALL_PATH$—is template for further customization with actual installation path of the application component.

Here, the inherent identifier 218 of the application is distinguished from other applications, and the application identifier is configured as a partial result of an application message authority code using a secret key of the application provider.

Also, the application access permission list 216 is provided by the access permission list 214 of the authorized entities, e.g. a camera, a network, a phone, and the like, and is supported by the template policy module 25.

The authorized entity corresponds to the permission name and the Boolean identifier 212 on the template, and the permission list 214 has the following syntax description form.

   
 

Boolean identifier

Permission Name

 
   
 

Tpm_xxxxxxx_network_b

Network access

 
 

Tpm_xxxxxxx_camera_b

Camera access

 
 

Tpm_xxxxxxx_sms_b

Send SMS

 
 

Tpm_xxxxxxx_call_b

Place phone calls

 
   

Also, the application permission list 216 has the following syntax description form.

Perm_name: Network access Required: Yes

Perm_name: Camera access Required: Yes

Perm_name: Send SMS

Perm_name: Place call

For example, the application provider 22 describes the application permission for accessing the network and camera device in the following syntax form.

Exe: file /$INSTALL_PATH$/app_name

Comp: file /$INSTALL_PATH$/app_name1

Comp: file /$INSTALL_PATH$/app_name2

. . .

Comp: file /$INSTALL_PATH$/appp_nameN

Perm_name: Network access Required: Yes

Perm_name: Camera access Required: Yes

Perm_name: Send SMS

Perm_name: Place call

. . .

AppID: 6dgGHd783

FIG. 3 illustrates the configuration of a template policy module editor in a Linux system used to set security policy according to the present invention.

The template policy module editor 300 generates a custom application of the corresponding application using information output from the template policy module.

For this, the template policy module editor 300 receives a policy manifest 310 and application setting information 314 from a template module 312.

That is, the template policy module editor 300 receives the input policy manifest 310 and the application setting information314 through a binary template policy module (not illustrated).

In this case, the application setting information 314 means the current setting path of the corresponding application.

Accordingly, the template policy module editor 300 customizes the template using the binary template policy module, the received application policy manifest and the application installation information, and generates a corresponding application policy module 316 and a customized Boolean list 318 of the respective applications.

Hereinafter, a method of providing security policy for a Linux-based security operating system according to the present invention using a system for providing security policy for a Linux-based security operating system according to an embodiment of the present invention will be described in detail with reference to FIGS. 4, 5, and 6.

FIG. 4 is a general flowchart illustrating a method of providing security policy for a Linux-based security operating system according to an embodiment of the present invention.

Referring to FIG. 4, the application policy manifest and install information are acquired using the policy information of the downloaded application in step 410.

This is to acquire the access rule capable of accessing the resources in the system from the template policy module of the security policy providing system for a Linux-based security operating system.

In step 412, a customized policy module of the corresponding application is generated using the template policy module editor based on the acquired policy manifest and install information.

In step 414, the generated application policy module is managed.

Hereinafter, the method of providing security policy for a Linux-based security operating system according to an embodiment of the present invention will be described in detail with reference to FIG. 5.

FIG. 5 is a detailed flowchart illustrating a method of installing an application generated by an application policy module in a Linux system in a method of providing security policy for a Linux-based security operating system according to an embodiment of the present invention.

Referring to FIG. 5, the application policy module of the corresponding application is acquired from the template policy module in step 510.

The corresponding identifier is acquired from the policy manifest of the acquired application policy module in step 512, and the customized Boolean list output from the template policy module editor is acquired in step 514.

In this case, the policy manifest is generated from the provider of the initially downloaded application, and generally refers to information on the corresponding application component, an inherent application identifier, and an application access permission list.

Also, the application component is composed of executable data, configuration files, temporary files, and directories, and includes information on executable names. Such information is provided from an application installation path.

Then, in step 516, the application policy module generated in the kernel is installed depending on whether the access control rule given to the kernel through the acquired Boolean list is satisfied.

In step 518, labeling of the respective components related to the corresponding installed application is performed.

The corresponding labeled application is registered in the form of setting the authority to the resources in the system in step520.

FIG. 6 is a detailed flowchart illustrating a method of deleting an application generated by an application policy module in a Linux system in a method of providing security policy for a Linux-based security operating system according to an embodiment of the present invention.

Referring to FIG. 6, in step 610, the identifier of the corresponding application is acquired from the policy manifest of the application policy module acquired in step 412 of FIG. 4.

Then, the name of the corresponding application is acquired in step 612, and the policy module of the corresponding application that is registered in the template policy module in the Linux system is unloaded using the acquired application identifier and the name thereof in step 614.

The labeling of the components of the unloaded application policy module is re-performed in step 616.

In this case, the component is composed of configuration files, temporary files, and directories, and also includes information on the executable file name.

Then, in step 618, the deletion of the application policy module registered in the template policy module in the Linux system in step 616 is performed.

As described above, according to the method and system for providing security policy for a Linux-based security operating system according to the present invention, the access control function of downloaded applications in the system is strengthened, and an operating system suitable for the purpose of the Linux-based system can be configured.

While the invention has been shown and described with reference to certain embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

SRC=https://www.google.com/patents/US20100287598

Method and system for providing security policy for linux-based security operating system的更多相关文章

  1. Security Policy:行级安全(Row-Level Security)

    行级安全RLS(Row-Level Security)是在数据行级别上控制用户的访问,控制用户只能访问数据库表的特定数据行.断言是逻辑表达式,在SQL Server 2016中,RLS是基于安全断言( ...

  2. General-Purpose Operating System Protection Profile

    1 Protection Profile Introduction   This document defines the security functionality expected to be ...

  3. Single-stack real-time operating system for embedded systems

    A real time operating system (RTOS) for embedded controllers having limited memory includes a contin ...

  4. Operating system management of address-translation-related data structures and hardware lookasides

    An approach is provided in a hypervised computer system where a page table request is at an operatin ...

  5. Method and apparatus for providing total and partial store ordering for a memory in multi-processor system

    An improved memory model and implementation is disclosed. The memory model includes a Total Store Or ...

  6. Method and Apparatus for Providing Highly-Scalable Network Storage for Well-Gridded Objects

    An apparatus comprising a plurality of storage nodes comprising a plurality of corresponding storage ...

  7. Linux、Windows Server Password Security Policy Strengthen

    catalog . windows Security and Protection(Logon and Authentication) . windows密码强制安全策略 . PAM(Pluggabl ...

  8. Content Security Policy 入门教程

    阮一峰文章:Content Security Policy 入门教程

  9. Xcode7 beta 网络请求报错:The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.

    Xcode7 beta 网络请求报错:The resource could not be loaded because the App Transport Xcode7 beta 网络请求报错:The ...

随机推荐

  1. 扩展的方法:es6 安装模块builder

    https://github.com/es-shims/es5-shim/ Image.png 检测浏览器可支持es5,不支持就扩展,做兼容: 扩展的方法: Image.png 取所有对象的键值: o ...

  2. Android 使用XML隐藏ActionBar中遇错的解决的方法

    今天我在使用Menifest.xml让程序隐藏标题栏是一直出错.主要内容是: You need to use a theme.AppCompat theme(descendant) with this ...

  3. 关于Altium Designer的BOM,元件清单

    在生成BOM列表的时候,要记得调整BOM的表格的宽度,以免显示不全, 还有就是BOM列表一共有 comment栏 ,description栏,designator栏,footprint栏,libref ...

  4. UVA 11178 - Morley's Theorem 向量

    http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&p ...

  5. 9.11 Binder系统_分层

    1.Binder系统过程分析,情景分析 server提供服务 (1)addService(服务名称,xxx)执行后会导致binder驱动在server的内核空间为服务创建一个binder_node结构 ...

  6. 9.10 Binder系统_Java实现_hello服务

    怎么做?2.1 定义接口: 写IHelloService.aidl文件, 上传, 编译, 得到IHelloService.java 里面有Stub : onTransact, 它会分辨收到数据然后调用 ...

  7. eclipse编译器错误、警告设置

    颜色配置步骤:Window->Preferences->General->Editors->Text Editors->Annotations

  8. ARCGIS动态画点

    小马哥淡定 原文 ARCGIS动态画点 private void DrawPointOnMap(double x, double y,bool clear) { IMapControl2 pMapCt ...

  9. 二、Reids基础命令--字符串

    11.一个字符串类型的KEY同意存储的数据的最大容量是 512MB 12.INCR 使key加1,key不存在时默认是0 . 返回递增后的值. 127.0.0.1:6379> incr num ...

  10. try~Catch语句中异常的处理过程

    [2014/10/12 21:40]文章待续~ 1.函数自身捕获处理异常的情况 以下的样例介绍了try~catch语句中出现异常时语句的运行顺序: package month10; import ja ...