|Numéro de publication||US7392383 B2|
|Type de publication||Octroi|
|Numéro de demande||US 10/672,261|
|Date de publication||24 juin 2008|
|Date de dépôt||25 sept. 2003|
|Date de priorité||25 sept. 2003|
|État de paiement des frais||Caduc|
|Autre référence de publication||US7752439, US20050071641, US20080289034|
|Numéro de publication||10672261, 672261, US 7392383 B2, US 7392383B2, US-B2-7392383, US7392383 B2, US7392383B2|
|Inventeurs||Mounir Emil Basibes, Julianne Frances Haugh|
|Cessionnaire d'origine||International Business Machines Corporation|
|Exporter la citation||BiBTeX, EndNote, RefMan|
|Citations de brevets (12), Citations hors brevets (4), Référencé par (16), Classifications (10), Événements juridiques (7)|
|Liens externes: USPTO, Cession USPTO, Espacenet|
1. Technical Field
The present invention relates generally to an improved data processing system and in particular to an improved data processing system having multiple processes and multiple resources. Still more particularly, the present invention provides a method, apparatus, and computer instructions for providing process-based access controls on multiple computer resources to multiple processes.
2. Description of Related Art
As computer systems become increasingly complex, the task of managing access to various system resources also becomes more difficult. System resources involved are not only limited to common shared file and program data. Resources such as network printers and physical memory also are shared among multiple processes on multiple systems. Control mechanisms are needed to ensure the resource access types, such as the form of access being requested. These accesses include, for example: read a file, write a file, bind a shared memory segment, and opening a device. Furthermore, control mechanisms that prevent propagation of enhanced privileges or access rights also are needed.
Various approaches to solve the problem of process-based access controls have been proposed. One access control system uses a set user identification bit (SUID) to change the effective user ID from the actual user to the owner of the executable file. As a result, during the execution of the program, the current user appears to be the owner of the executable file and all the data files accessible by the owner of the executable file are accessible to the program. However, this SUID exposes a potential security flaw and privilege leak. Since the SUID has meaning outside of the applications subsystem, the SUID can grant more privileges than an ordinary user may require. In addition, a privilege leak may occur when a program, granted root access, inadvertently executes another program, which results in a security violation.
Another proposed solution to solve the process-based access controls problem is called a Flask/Fluke concept. This concept uses an object manager to enforce security policy decisions on objects. A security policy labels the object with a set of security attributes called security context, which consists of attributes such as: user identity, classification level, and role. In one example implementation of Flask/Fluke, a process manager is responsible for ensuring each process is securely initialized. However, the process manager provides support for fork and execve operations, which means the security ID may be changed through an execve operation. In addition, Flask/Fluke lacks the ability to selectively alter the capabilities of the process based on the identity of the invoker or the path by which the process came to be executed.
Therefore, it would be advantageous to have an improved method, apparatus, and computer instructions for providing process-based access controls on computer resources by creating an identifier that has no meaning outside of the application, has no meaning if a given system resource that has not requested that specific identifier is required, and has a limited potential for security exposures. Moreover, it would be advantages to have a mechanism that provides a level of granularity to ensure that system resource access and corresponding access rights are limited a specific application.
The present invention provides an improved method, apparatus, and computer instructions for process-based access controls on computer resources to processes. An access mechanism is provided in which this mechanism indicates that a specific invoker obtains an object access identity. Another mechanism is provided in which a specific object, such as a file system resource, requires a specific object access identity to obtain one of the forms of access denoted by an access control list. A process may “grant” an identifier that is later “required” for a specific form of system resource access. Each object may specify its own access requirements and permitted modes of access. The granted identifier, object access identifier, is stored in the process's credentials once these credentials match a specific “grant” entry in the access control list. This identifier has no meaning outside of being used to make an access decision for a specific resource. When a process tries to access the object (system resource), the object's access control list is scanned for “required” entries. If a match occurs between the “required” entry's identifier and the object access identifier stored in the process's credentials, access to the object is granted with access rights specified in the “require” entries. The capabilities of a process may be selectively altered based on either the identity of the invoker or the path by which the process came to be executed. A process may obtain information of the execution path by which processes are executed and may convey the execution path information to the subsequent trusted processes.
The novel features believed characteristic of the invention are set forth in the appended claims. The invention itself, however, as well as a preferred mode of use, further objectives and advantages thereof, will best be understood by reference to the following detailed description of an illustrative embodiment when read in conjunction with the accompanying drawings, wherein:
With reference now to the figures and in particular with reference to
With reference now to
An operating system runs on processor 202 and is used to coordinate and provide control of various components within data processing system 200 in
Those of ordinary skill in the art will appreciate that the hardware in
For example, data processing system 200, if optionally configured as a network computer, may not include SCSI host bus adapter 212, hard disk drive 226, tape drive 228, and CD-ROM 230, as noted by dotted line 232 in
The depicted example in
The processes of the present invention are performed by processor 202 using computer implemented instructions, which may be located in a memory such as, for example, main memory 204, memory 224, or in one or more peripheral devices 226-230.
The present invention provides a method, apparatus, and computer instructions for managing process-based access controls on computer resources by providing a mechanism for creating identifiers, which are usable in the system resource access decision to determine a specific type of access. The identifier created by the mechanism of the present invention has no meaning outside of the file access decision in these examples. In addition, the identifier created has no meaning if a system resource has not requested it to be required.
Currently, if the identifier is a set user identification bit (SUID), the identifier may be reused by other applications. The SUID is assigned to be the owner of the executable file. Since the SUID has meaning outside the application space, another application may use the same SUID to access resources that it should not be allowed to access.
On the other hand, if the identifier has process capabilities such as a privilege to be the root process, this privilege enables a process to have access rights to other processes and resources, which violate the access control policy. The violation occurs because a given resource has not requested the identifier to be required. Therefore, by using the identifier created using the present invention, the scope for system resource access is limited and security exposures are greatly reduced, as compared to a SUID.
The mechanism of the present invention also introduces an access control list facility that allows a process to “grant” an identifier that is later “required” to access a specific system resource. The identifier of the present invention may be granted by any of the existing access checking mechanisms. For example, a user, a group or a combination of a user and a group. The identifier may be added to a process's credentials only if the process executes specific binary that contains an entry granting the identifier. Once a process grants an identifier, that identifier is no longer available to other processes. From a security standpoint, this identifier is not reused. In this manner, each state within a number of possible execution states is uniquely identifiable. If an unrelated execution path exists, the identifiers may be reused such that the intersection of the two sets of identifiers and their execution pathway are empty.
In one example, the mechanism of the present invention indicates a specific invoker obtains an object access identity (OAI) and a specific object or resource requires a specific OAI in order to obtain one form of access denoted in the access control list (ACL).
Turning now to
Once the identifier is granted, access control mechanism 306 of the present invention then determines whether to grant access to resource 308 by scanning ACL 310 of the resource that has the grant entry for “require” entries. If the “require” entry in the ACL 310 of the resource has a matching OAI that corresponds to the OAI in the process's 300 credentials, access to the resource 308 is granted to the process 300 for the given access rights specified in the “required” entry in the ACL 310.
Turning next to
Also in ACL 400, object “user_list_file” 410 contains a “require_oai” entry 412 that has prefix “require_oai:<identifier>”, in this example “required oai:create_new user” 414. This entry, “required oai:create_new_user” 414, causes the remainder of the entry to be performed if identifier is contained within the process's credentials set of OAI. In this example, using the mechanism of the present invention, each object may specify its own access requirements and permitted modes of access, for example “read” 416 access. In addition, the enumeration of object accesses by a given subject can lend itself readily to the enumeration of “require” entries for each target entry. For example, if the “create_new_user” process creates a new home directory for newly created user in the “/home” file system 418, “require_oai” entry 420 may be added to the ACL, granting any process with “create_new_user” 422 identity to have the access right “append” 424 to add a new directory.
In another example implementation illustrated in
On the other hand, “admin_change_password” process 428 may be executed by member of system group “administrators” 430, system users “root” 432 or system user “security_admin” 434. “view_password_status” 436 is a process that may be executed by any system user to allow the user to view protected information about their password. “view_password_status” 436 is a process that may contain logic required to determine the invoking user. Therefore, “view_password_status” 436 is assigned read access to the “user_password_file” 426.
Also depicted in
The “allow:execute” 446 suffix has a different set of identifiers from the previous entries because this difference may be useful if the batch job directory requires one object identifier for creating entries, for example the “append” 424 permission described above for “/home” 418 file directory. In addition, the mechanism of the present invention provides the ability to modify the credentials of the process by using “grant_oai:<identifier>” suffix, for example “grant_oai:remove_batch_jobs” suffix 448. This suffix modifies the credentials of “remove_user” 438 by granting “remove_batch_jobs” as an OAI of “remove_user” 438. The <identifier> used in this example implementation is not related to either the file owner or the file group identifier and is not dependent upon the ability of the process to execute the object.
Turning next to
As depicted in
After an identifier is granted to the process credentials in step 510, the object may be accessed by the process with the granted OAI (step 512). An access determination process then takes place to scan the ACL of the desired object for entries that has “require_oai” type (step 514). Next, the granted OAIs are scanned (step 516) in the process credentials when a “require_oai” entry is found.
A determination is then made as to whether the granted OAI from the process credentials matches the required OAI in the ACL (step 518). If a match occurs, the desired object is granted for access by the current process with specified access rights in the ACL (step 520) with the process terminating thereafter. If a match does not occur, access is denied (step 522) with the process terminating thereafter.
Turning now to
For example, a process with SID7 600 is granted “read” access to file1 602. In this case, the SID is an identity. The SID is granted by using a SetSID operation. For example, SetSID operation grants SID13 604 to members of system group “security” when program2 606 is executed. In addition, a granted SID may be changed to a new SID within an ACL entry. For example, a process with a SID of 10 has its SID changed to 11 608 when program3 610 is executed. In this case, the SID of 11 is a right.
Also shown in
Three other tools of this example: user_admin 622, printer_admin 624 and disk_admin 626 may determine its path of execution by examining its SID. This is another innovative feature of the present invention since no existing prior art may selectively alter the capabilities of a process based on the identity of the invoker. In this example, user_admin 622 changes a process with a SID of 200 to a SID of 210 628, printer_admin 624 changes a process with SID 300 to a SID 310 630 and disk_admin 626 changes a process with SID 400 to a SID 410 632.
From the above assignment, the other tools such as create_directory 634 and create_device 636 may determine its own execution path only allowing a certain process with a particular SID to execute. For example, create_directory 634 only allows a process with SID 210 638 and SID 310 640 to execute and create_device 636 only allows a process with SID 310 642 and SID 410 644 to execute.
From the above example, create_directory 634 tool may only be executed through the path: admin_tool 612, user_admin 622, create_directory 634 or another path: admin_tool 612, printer_admin 624, create_directory 634. Next, the tool create_device 636, is similar to create_directory 634 and may only be executed through the path: admin_tool 612, printer_admin 624, create_device 636 or another path: admin_tool 612, disk_admin 626, create_device 636.
Turning now to
Therefore, a tool may know its path of execution by examining its SID and determining from which identity is the current program being invoked. In this example, create_directory 710 knows it may be invoked by user_admin 708 after admin_tool 706 by examining SID 210 and create_directory 710 also knows it may be invoked by printer_admin 702 after admin_tool 706 by examining SID 310. As illustrated in the above example, the SID only has meaning when defined and appeared in an ACL; therefore, SID has no intrinsic meaning outside of the ACL.
Turning next to
Finally, turning to
Also depicted in
Thus, the present invention provides an improved method, apparatus, and computer instruction for providing process-based controls on computer resources to multiple processes. The mechanism of the present invention solves the problem of potentially granting more privilege than a user may require by limiting the scope of the identifier to only within the application space. So that the identifier is only meaningful when the object resource has requested the identifier to be required. Moreover, the identifier is not propagated during the fork/execve operations; therefore, the security policy may be violated.
In addition, the mechanism of the present invention allows process credentials to be modified based on the identity of the invoker or the path by which the process came to be executed. This mechanism enables a process to obtain information of the execution path by which processes are executed and enables a process to convey the execution path information to the subsequent trusted processes.
Furthermore, using the innovative features of the present invention, an object or resource may specify its own access requirements and permitted modes of access. Hence, propagation of access rights or privileges is prevented by specifying access rights, such as read or write, to be limited to a specific application.
It is important to note that while the present invention has been described in the context of a fully functioning data processing system, those of ordinary skill in the art will appreciate that the processes of the present invention are capable of being distributed in the form of a computer readable medium of instructions, a variety of forms, and that the present invention applies equally regardless of the particular type of signal bearing media actually used to carry out the distribution. Examples of computer readable media include recordable-type media, such as a floppy disk, a hard disk drive, a RAM, CD-ROMs, DVD-ROMs, and transmission-type media, such as digital and analog communications links, wired or wireless communications links using transmission forms, such as, for example, radio frequency and light wave transmissions. The computer readable media may take the form of coded formats that are decoded for actual use in a particular data processing system.
The description of the present invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiment was chosen and described in order to best explain the principles of the invention, the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.
|Brevet cité||Date de dépôt||Date de publication||Déposant||Titre|
|US4135240||9 juil. 1973||16 janv. 1979||Bell Telephone Laboratories, Incorporated||Protection of data file contents|
|US5321841||29 janv. 1993||14 juin 1994||Digital Equipment Corporation||System for determining the rights of object access for a server process by combining them with the rights of the client process|
|US5867646 *||12 juil. 1996||2 févr. 1999||Microsoft Corporation||Providing secure access for multiple processes having separate directories|
|US6044373||29 sept. 1997||28 mars 2000||International Business Machines Corporation||Object-oriented access control method and system for military and commercial file systems|
|US6308181||19 déc. 1998||23 oct. 2001||Novell, Inc.||Access control with delayed binding of object identifiers|
|US6412070||21 sept. 1998||25 juin 2002||Microsoft Corporation||Extensible security system and method for controlling access to objects in a computing environment|
|US6438549||3 déc. 1998||20 août 2002||International Business Machines Corporation||Method for storing sparse hierarchical data in a relational database|
|US6453353||12 févr. 1999||17 sept. 2002||Entrust, Inc.||Role-based navigation of information resources|
|US20010056494||9 mars 2001||27 déc. 2001||Hatem Trabelsi||Device and method for controlling access to resources|
|US20020077803||7 sept. 2001||20 juin 2002||Michiharu Kudoh||Access control system and methods|
|US20030105796||5 déc. 2001||5 juin 2003||Sandri Jason G.||Method and apparatus for controlling access to shared resources in an environment with multiple logical processors|
|US20030154397 *||1 févr. 2002||14 août 2003||Larsen Vincent Alan||Method and apparatus for implementing process-based security in a computer system|
|1||Blakley et al, http://www.ietf.org/proceedings/98...raft-ietf-ldapext-act-model-00.txt, "Access Control Model for LDAP", Jun. 6, 2003, pp. 1-31.|
|2||IBM Technical Disclosure Bulletin, "Enhanceable Authorization Mechanism", vol. 30, No. 1, Jun. 1987, pp. 179-181.|
|3||IBM Technical Disclosure Bulletin, "Extensible Access Control List Mechanism", vol. 34, No. 7B, Dec. 1991, pp. 114-117.|
|4||Ott et al., "The 'Rule Set Based Access Control' (RSBAC) Framework for Linux", pp. 1-18, 2001.|
|Brevet citant||Date de dépôt||Date de publication||Déposant||Titre|
|US7809897||19 févr. 2009||5 oct. 2010||Osr Open Systems Resources, Inc.||Managing lock rankings|
|US7949693||23 août 2007||24 mai 2011||Osr Open Systems Resources, Inc.||Log-structured host data storage|
|US8024433||24 avr. 2007||20 sept. 2011||Osr Open Systems Resources, Inc.||Managing application resources|
|US8346926 *||11 févr. 2011||1 janv. 2013||Emc Corporation||Granting access to a content unit stored on an object addressable storage system|
|US8521752||3 juin 2005||27 août 2013||Osr Open Systems Resources, Inc.||Systems and methods for arbitrary data transformations|
|US8539228 *||24 août 2006||17 sept. 2013||Osr Open Systems Resources, Inc.||Managing access to a resource|
|US8903874||2 nov. 2012||2 déc. 2014||Osr Open Systems Resources, Inc.||File system directory attribute correction|
|US8990228||22 juil. 2013||24 mars 2015||Osr Open Systems Resources, Inc.||Systems and methods for arbitrary data transformations|
|US8990561||9 sept. 2011||24 mars 2015||Microsoft Technology Licensing, Llc||Pervasive package identifiers|
|US9118686||6 sept. 2011||25 août 2015||Microsoft Technology Licensing, Llc||Per process networking capabilities|
|US9600486||1 déc. 2014||21 mars 2017||Osr Open Systems Resources, Inc.||File system directory attribute correction|
|US9679130||5 mars 2015||13 juin 2017||Microsoft Technology Licensing, Llc||Pervasive package identifiers|
|US9773102||9 sept. 2011||26 sept. 2017||Microsoft Technology Licensing, Llc||Selective file access for applications|
|US9800688||12 sept. 2011||24 oct. 2017||Microsoft Technology Licensing, Llc||Platform-enabled proximity service|
|US20060277153 *||3 juin 2005||7 déc. 2006||Osr Open Systems Resources, Inc.||Systems and methods for arbitrary data transformations|
|US20080270587 *||24 avr. 2007||30 oct. 2008||Mason W Anthony||Managing application resources|
|Classification aux États-Unis||713/167, 713/185, 726/19, 726/5|
|Classification internationale||H04K1/00, G06F21/00, H04L9/32, H04L9/00|
|25 sept. 2003||AS||Assignment|
Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW Y
Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:BASIBES, MOUNIR EMIL;HAUGH, JULIANNE FRANCES;REEL/FRAME:014561/0322
Effective date: 20030915
|6 févr. 2012||REMI||Maintenance fee reminder mailed|
|18 juin 2012||SULP||Surcharge for late payment|
|18 juin 2012||FPAY||Fee payment|
Year of fee payment: 4
|5 févr. 2016||REMI||Maintenance fee reminder mailed|
|24 juin 2016||LAPS||Lapse for failure to pay maintenance fees|
|16 août 2016||FP||Expired due to failure to pay maintenance fee|
Effective date: 20160624