# US 2009/0271844 A1 · Safe and efficient access control mechanisms for computing environments

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2009/0271844 A1
- Document ID: US20090271844A1
- Status: Published application
- Kind: A1
- Application number: 12/108,455
- Filed: 2008-04-23
- Published: 2009-10-29
- Earliest claimed: 2008-04-23
- Assignees: Samsung Electronics Co., Ltd.
- Inventors: Xinwen ZHANG; Jean-Pierre SEIFERT; Onur ACIICMEZ; Afshin LATIFI
- Web page: https://patentgrep.com/patent/US20090271844A1

## CPC

- G06F 12/1458: {by checking the subject access rights}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Improved techniques for controlling access to accessible components of computing environments are disclosed. The techniques, among other things, can be used to provide Mandatory Access Control (MAC) mechanisms for mobile and embedded systems. One or more accessible components (e.g., accessible resources) which a component may attempt to access are determined so that one or more access permissions can be stored in a manner that they can be obtained if the component attempts to access the one or more accessible components, thereby allowing access to the one or more accessible components to be determined based on access permissions that are readily available. Generally, access permissions can be identified and stored in anticipation of need. Access permissions can be identified, for example, based on the likelihood of use, or all possible access permissions can be determined and stored. A safe (e.g., a trusted) access controlling (or monitoring) system (or component) can control access to resources of a computing environment. For example, a trusted access monitoring system can be provided in a secure and trusted operating environment utilizing Mandatory Access Control (MAC) capabilities of a secure operating system (e.g., SELinux Operating System).

## Claims

### Claim 1

An access monitoring system for controlling access to one or more accessible components of a computing environment, wherein said access monitoring system is operable to:
determine one or more accessible components of said computing environment that a first component may attempt to access, wherein said first component may attempt to access said one or more accessible components when said first component is operational on at least a first device;
obtain one or more access permissions for said one or more accessible components, wherein said one or more access permissions effectively indicate whether said first component is allowed or not allowed to access said one or more accessible components; and
store said one or more access permissions as first one or more stored access permissions in a manner that said first one or more access stored access permissions can be obtained if said first component attempts to access said one or more accessible components, thereby allowing access to said one or more accessible components to be controlled based on said stored access permissions.

### Claim 2 (depends on 1)

The access monitoring system of claim 1,
wherein said determining of said one or more accessible components is performed when said first component is not fully operational on said least a first device, and
wherein said obtaining of one or more access permissions comprises: determining said one or more access permissions when said first component is not fully operational for accessing said one or more accessible components, thereby allowing one or more access permissions for said first component to be readily known and alleviating the need to determine said one or more access permissions if said first component becomes fully operational and attempts to access said one or more accessible components of said device.

### Claim 3 (depends on 1)

The access monitoring system of claim 1, wherein said one or more accessible components are components of said at least one first device.

### Claim 4 (depends on 1)

The access monitoring system of claim 1, wherein said access monitoring system operates on said at least one first device.

### Claim 5

The access monitoring system 1,
wherein said one or more accessible components include one or more objects of a computing environment operating on said device,
wherein said first component include a first subject of said computing environment operating on said device, and
wherein said access monitoring system operates as a reference monitoring system to determine, based on said stored first one or more access permissions whether said first subject is allowed or not allowed to access said one or more objects.

### Claim 6 (depends on 5)

The access monitoring system of claim 5,
wherein said one or more objects of said computing environment include one or more of the following:
one or more resources,
one or more shared resources;
one or more files, sockets, interfaces, and/or network connections,
one or more Inter-Process Communication (IPC) objects, message objects passing, synchronization objects, shared memory objects, and remote procedure calls (RPC) objects, and
wherein said one or more subjects of said computing environment include one or more of the following: one or more: executable components, processes, threads, applications, client applications, user applications, services, domains, and/or engines.

### Claim 7 (depends on 1)

The access monitoring system of claim 1, wherein said obtaining of said one or more access permissions obtains said access permissions prior to said first device attempting to access said one or more accessible components.

### Claim 8 (depends on 1)

The access monitoring system of claim 1, wherein said obtaining of said one or more access permissions comprises determining said one or more access permissions.

### Claim 9 (depends on 1)

The access monitoring system of claim 1,
wherein said one or more accessible components are one or more components of said first device,
wherein said determining of said one or more accessible components comprises one or more of the following:
determining said one or more accessible components when said first device is started;
determining said one or more accessible components when said first component is initiated, loaded, launched and/or started on said first device;
wherein said obtaining of said one or more access permissions comprises one or more of the following:
determining said access permissions when said first device is started; and
determining said access permissions when said first component is initiated, loaded, launched and/or started on said first device.

### Claim 10 (depends on 8)

The access monitoring system of claim 8, wherein said determining of said one or more access permissions determines all possible accessible components that said first component may access.

### Claim 11 (depends on 1)

The access monitoring system of claim 1, wherein said determining of said one or more access permissions comprises:
determining one or more accessible components that said first component is likely to access as one or more potential accessible components.

### Claim 12 (depends on 11)

The access monitoring system of claim 11, wherein said determining of said one or more accessible components which are likely to be accessed by said first component comprises one or more of the following:
selecting one or more accessible components that said first component has accessed and/or has attempted to access;
obtaining a first profile for said first component, wherein said first profile effectively indicates that said first component is likely to access said one or more potential accessible components; and
obtaining a second profile for a person associated with said component, wherein said second profile effectively indicates that said first component is likely to access said one or more potential accessible components; and
selecting one or more accessible components that said first component may access based on contextual information effectively representing a situation in which said one or more accessible components may be accessed.

### Claim 13 (depends on 11)

The access monitoring system of claim 11, wherein said access monitoring system is further operable to define and/or update said one or more potential accessible components which are likely to be accessed by said first component based on observed behavior, preferences, and/or habits of a person who effectively uses said first component.

### Claim 14 (depends on 1)

The access monitoring system of claim 1, wherein said access monitoring system is effectively provided as a safe monitoring system for said first device, wherein safety of said access monitoring system is verified before allowing it to be initiated on said first device.

### Claim 15 (depends on 1)

The access monitoring system of claim 1, wherein said obtaining of said one or more access permissions comprises:
verifying safety of said first component, and
determining said one or more access permissions based on said verification of safety of said first component.

### Claim 16 (depends on 1)

The access monitoring system of claim 1, wherein said obtaining of said one or more access permissions further comprises:
verifying safety of said one or more accessible components, and
determining said one or more access permissions based on said verification of safety of said one or more accessible components.

### Claim 17 (depends on 16)

The access monitoring system of claim 16, wherein said verifying of safety of said first component comprises one or more of the following:
verifying integrity of computer program code for said first component; and
verifying integrity of computer program code for said one or more accessible components.

### Claim 18 (depends on 15)

The access monitoring system of claim 15,
wherein said access monitoring system is effectively provided for and/or by said first device, and
wherein said first device is operable to effectively initiate a first safety component which is operable to:
verify safety of said access monitoring system before allowing it to be initiated on said device, and
initiate and/or allow initiation of said access monitoring system only when said verifying verifies safety of said access monitoring system.

### Claim 19 (depends on 16)

The access monitoring system of claim 16, wherein said first safety component is a trusted component and includes one or more of the following: a Trusted Platform Module (TPM), a Mobile Trusted platform Module (MTM), a Trusted Platform Module (TPM) provided as a Core Root of Trust Measurement (CRTM), and a Mobile Trusted platform Module (MTM) provided as a Core Root of Trust Measurement (CRTM).

### Claim 20 (depends on 15)

The access monitoring system of claim 15, wherein said determining of said one or more access permissions determines said access permissions based on a number of possible access types which is less than the number of possible access types available in server-based computing environments, thereby requiring less computations for determining all possible more access permissions than would be required in desk-top and server based computing environments.

### Claim 21 (depends on 20)

The access monitoring system of claim 20, wherein said number of possible access types is determined based on a number of domains including: a manufacturer domain type, a network provider domain type, a service provider domain type, and a user domain type.

### Claim 22 (depends on 15)

The access monitoring system of claim 15, wherein said determining of said one or more access permissions determines said access permissions based on access permissions assigned for a security context according to one or more following:
assigning a user to a type (user:type), and
assigning: a user to a role and said role to a type (user:role:type).

### Claim 23 (depends on 15)

The access monitoring system of claim 15, wherein said access monitoring system is further operable to:
determine a plurality of components that may be used on said first device, wherein said plurality of components include first and second components;
determine one or more accessible components that each of said plurality of components may attempt to access respectively;
determine a set of access permissions for said plurality of components, wherein said set of access permissions effectively indicates whether said first and second components are allowed or not allowed to access their respective one or more accessible components; and
store said set of one or more access permissions, thereby allowing access to said one or more accessible components to be controlled based on access permissions that have been already determined for said plurality of components.

### Claim 24 (depends on 1)

The access monitoring system of claim 1, wherein said access monitoring system is further operable to:
obtain at least one of said first one or more stored access permissions when said first component attempts to access at least one of said one or more accessible components; and
determine based on said at least one stored access permission whether to allow said first component to access said at least one accessible component.

### Claim 25 (depends on 1)

The access monitoring system of claim 1, wherein said access monitoring system is further operable to effectively detect and/or be notified that said first component is attempting to access said one or more accessible components.

### Claim 26 (depends on 23)

The access monitoring system of claim 23, wherein said determining of said plurality of components that may be used on said first device comprises:
determining a plurality of components that are likely to be used on said device based on one or more of the following:
selecting a plurality of components that have previously used on said device;
obtaining a first profile which effectively indicates that said plurality of components are likely to be used on said first device;
obtaining a user profile for a person using said device, wherein said user profile effectively indicates that said plurality of components are likely to be used on said first device; and
selecting said plurality of components based on contextual information effectively representing a situation.

### Claim 27

A method for protecting accessible resources of a device, wherein said method comprises:
determining whether an access monitoring component is safe before allowing said access monitoring component to be initiated on said device;
initiating said access monitoring component on said device as a safe access monitoring component only when said determining determines that said access monitoring component is safe, wherein said safe access monitoring component is operable to protect accessible resources of said device by effectively allowing access to said accessible resources to be granted or denied;
identify one or more executable components that may be executed on said device;
identify one or more accessible resources that said one or more executable components may respectively try to access;
determine whether said one or more executable components and/or accessible resources are safe to effectively assess their safety;
determine based on said assessed safety of said one or more executable components and/or accessible resources, one or more access permissions that effectively indicate whether said one or more executable components are allowed or not allowed to access said one or more accessible resources; and
store said one access permissions for use by said safe access monitoring system.

### Claim 28 (depends on 27)

The method of claim 27,
wherein said determining of whether said access monitoring component is safe comprises:
verifying integrity of computer program code for said access monitoring component to effectively verify it as a trusted component; and
wherein said method further comprises:
initiating said access monitoring component as a trusted access monitoring component only when said verifying verifies said integrity of said computer program code for said access monitoring component.

### Claim 29 (depends on 28)

The method of claim 28, wherein said method further comprises:
verifying integrity of computer program code for said one or more executable components and/or accessible resources to effectively verify them as trusted components.

### Claim 30 (depends on 28)

The method of claim 28, wherein said determining of whether said one or more executable components and/or accessible resources are safe comprises one or more of the following:
obtaining a safety level for said one or more executable components and/or accessible resources, wherein said safety level includes at least a safe level and an unsafe level;
determining, verifying, and/or assigning said safety level for said one or more executable components and/or accessible resources; and
obtaining a trustworthiness level for said one or more executable components and/or accessible resources, wherein said trustworthiness level includes at least a trusted level and an untrusted level.

### Claim 31 (depends on 30)

The method of claim 30, wherein said identifying of one or more executable components that may be executed on said device comprises one or more of the following:
identifying all the executable components that can be executed on said device;
identifying one or more executable components that have executed on said device;
obtaining a first profile which effectively indicates that said one or more executable components are likely to be used on said device;
obtaining a user profile for a person using said device, wherein said second profile effectively indicates that said one or more executable components are likely to be used on said first device; and
identifying said one or more executable components based on contextual information effectively representing a situation in which said device can be used.

### Claim 32 (depends on 30)

The method of claim 30, wherein said identify of one or more accessible resources that said one or more executable components may respectively try to access comprises one or more of the following:
identifying all of the accessible resources available on said device;
identifying all of the accessible resources that said one or more executable components may attempt to access on said device;
identifying one or more accessible components that said one or more executable components have accessed and/or have attempted to access on said device;
obtaining one or more profiles for said one or more executable components, wherein said one or more profiles effectively indicate that said one or more executable components are likely to access and/or attempt to access said one or more accessible resources; and
identifying said one or more accessible components based on contextual information effectively representing a situation in which said one or more accessible components may be accessed.

### Claim 33

A method for providing access to accessible resources of a device, said method comprising:
identifying one or more applications that may be executed on said device;
identifying one or more accessible resources of said device that said one or more applications may attempt to access when executing on said device
determining, based on one or more trust levels of one or more applications and/or accessible resources, one or more access permissions that effectively indicate whether said one or more applications are allowed or not allowed to access said one or more accessible resources of said device; and
storing said one or more access permissions as one or more stored access permissions in a secure storage that is not accessible to said one or more application but accessible to a trusted reference monitor operable to effectively allow or deny access to said one or more application based on said one or more access permissions, thereby allowing said trusted reference monitor to control access to accessible resources of said device based on said one or more stored access permissions.

### Claim 34 (depends on 33)

The method of claim 33, wherein said method further comprises:
initiating a Trusted Platform Module (TPM) for said device;
verifying integrity of computer program code for a reference monitoring component before allowing it to be executed on said device;
initiating a reference monitoring component as said trusted reference monitoring component only when said verifying verifies said integrity of computer program code for said reference monitoring component;
determining by said trusted reference monitor that at least one of said one or applications is requesting and/or attempting to access at least one of said one or accessible resources; and
determining by said trusted reference monitor based on at least one of said stored access permissions whether to allow or deny said at least one application access to said at least one accessible resource.

### Claim 35 (depends on 34)

The method of claim 34,
wherein said trusted reference monitor operates in a kernel space of an operating system that is SELinux compliant; and
wherein said trusted reference monitor is operable to be effectively notified by one or more system monitoring components of said operating system that said at least one application program is requesting and/or attempting to access said at least one accessible resource via a Mandatory Access Control (MAC) mechanism which is also SELinux compliant.

### Claim 36 (depends on 35)

The method of claim 35, wherein said one or more system monitoring components include one or more hooks provided for one or more operating system calls of said operating system.

### Claim 37

A method for controlling access to one or more components accessible components of a computing environment, wherein said method comprises:
determining one or more accessible components that a first component may attempt to access, wherein said first component may attempt to access said one or more accessible components when said first component is operational on at least a first device;
obtaining one or more access permissions for said one or more accessible components, wherein said one or more access permissions effectively indicate whether said first component is allowed or not allowed to access said one or more accessible components; and
storing said one or more access permissions as first one or more stored access permissions in a manner that said first one or more access stored permissions can be obtained if said first component attempts to access said one or more accessible components, thereby allowing access to said one or more accessible components to be controlled based on said stored one or more access permissions.

### Claim 38

A computer readable medium including computer program code for controlling access to one or more components accessible components of a computing environment, wherein said computer program code includes:
computer program code for determining one or more accessible components of said computing environment that a first component may attempt to access, wherein said first component may attempt to access said one or more accessible components when said first component is operational on at least a first device;
computer program code for obtaining one or more access permissions for said one or more accessible components, wherein said one or more access permissions effectively indicate whether said first component is allowed or not allowed to access said one or more accessible components; and
computer program code for storing said one or more access permissions as first one or more stored access permissions in a manner that said first one or more access stored permissions can be obtained if said first component attempts to access said one or more accessible components, thereby allowing access to said one or more accessible components to be controlled based on said stored one or more access permissions.

### Claim 39

A computing system comprising: an access monitoring system and an access storage, wherein said access monitoring system is operable to:
determine one or more accessible components of said computing system that a first component may attempt to access;
obtain one or more access permissions for said one or more accessible components, wherein said one or more access permissions effectively indicate whether said first component is allowed or not allowed to access said one or more accessible components; and
store said one or more access permissions in said access storage as first one or more stored access permissions in a manner that said first one or more access stored access permissions can be obtained if said first component attempts to access said one or more accessible components.

### Claim 40 (depends on 39)

The computing system of claim 39, wherein access monitoring system is operable to:
retrieve said one or more access permissions from said access storage when said first component attempts to access said one or more accessible components;
effectively indicate, based on said one or more access permissions, whether to grant or deny said first component access to said one or more accessible components.

### Claim 41 (depends on 40)

The computing system of claim 40, wherein said computing system is provided for a mobile and/or embedded device.

### Claim 42 (depends on 40)

The computing system of claim 40, wherein said computing system is provided for a mobile phone and/or Smartphone.
