# US 2020/0404023 A1 · Method and system for cryptographic attribute-based access control supporting dynamic rules

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

- Number: US 2020/0404023 A1
- Document ID: US20200404023A1
- Status: Published application
- Kind: A1
- Application number: 16/759,917
- Filed: 2018-01-31
- Published: 2020-12-24
- Earliest claimed: 2017-11-09
- Assignees: University of Science and Technology Beijing
- Applicants: University of Science & Technology Beijing
- Inventors: Yan ZHU; Ruyun YU; Hao YIN; Yao QIN
- Web page: https://patentgrep.com/patent/US20200404023A1

## CPC

- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- H04L 9/088: {Usage controlling of secret information, e.g. techniques for restricting cryptographic keys to pre-authorized uses, different access levels, validity of crypto-period, different key- or password length, or different strong and weak cryptographic algorithms (network architectures or network communication protocols for using time-dependent keys in a packet data network H04L63/068)}
- H04L 9/3073: {involving pairings, e.g. identity based encryption [IBE], bilinear mappings or bilinear pairings, e.g. Weil or Tate pairing}
- H04L 9/3268: {using certificate validation, registration, distribution or revocation, e.g. certificate revocation list [CRL]}
- H04L 63/06: {for supporting key management in a packet data network (cryptographic mechanisms or cryptographic arrangements for key management H04L9/08)}
- H04L 63/0807: {using tickets, e.g. Kerberos (cryptographic mechanisms or cryptographic arrangements for entity authentication using tickets or tokens H04L9/3213)}
- H04L 63/10: {for controlling access to devices or network resources}
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- H04L 63/045: {wherein the sending and receiving network entities apply hybrid encryption, i.e. combination of symmetric and asymmetric encryption (cryptographic mechanisms or cryptographic arrangements using a plurality of keys or algorithms H04L9/14)}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present invention mainly relates to the field of information technology, and specifically to a method and system for cryptographic attribute-based access control supporting dynamic rules. In the system, the protected object is stored in an encrypted form, only the access request satisfying the access policy in attribute-based access control can be authorized to decrypt the object, which ensures that the access to data in an unsecure environment can be authorized according to a security policy, and supports dynamic policy and real-time authorization of attributes. The method and system for cryptographic attribute-based access control supporting dynamic rules in this invention have already separated from traditional encryption system framework, are totally new attribute-based access control model, method and system supporting cryptographic determination, can achieve more secure, diversified, dynamic and flexible access authorization, are suitable for large-scale organizations or information systems, and can be applied to the environments such as Cloud computing, grid computing, and distributed computing.

## Claims

### Claim 1

A system for cryptographic attribute-based access control supporting dynamic rules comprising:
protected objects in the system are stored in an encrypted form;
access can be authorized to decrypt the objects only if access policy in the attribute-based access control is satisfied;
access authorization is based on security token which is dynamically acquired;
session key is escrowed into policy center in an encrypted form;
access policy is used to dynamically generate cryptographic policy.

### Claim 2 (depends on 1)

The system according to claim 1, adopting the attribute-based access control model, wherein the system comprises:
three storage modules and one perception module:
a policy storage module (PSM) is used to store access policies;
an attribute storage module (ASM) is used to store attributes and attribute assignments of entities in the system;
an object storage module (OSM) is used to store encrypted objects;
an environment perception module (EPM) is used to obtain environment attributes and attribute assignments in real-time and dynamically;
also comprising four function units:
a policy generation unit (PGU) selects an access policy from PSM, generates a cryptographic representation of the access policy, i.e., cryptographic policy (CP), and provides it to policy decision unit;
a token generation unit (TGU) acquires an attribute assignment of a specific attribute from ASM or EPM, and generates a cryptographic representation of the attribute assignment, i.e., attribute token (AttToken), and provides all possible AttTokens to policy decision unit;
a policy decision unit (PDU) obtains CP from PGU and AttTokens from TGU, makes cryptographic policy decision on them to generate the determination result information, i.e., decryption token (DecToken), which is provided to object decryption unit;
an object decryption unit (ODU) decrypts the encrypted object according to DecToken returned by PDU, i.e., ODU can decrypt the encrypted object if and only if the determination result of PDU is permission.

### Claim 3 (depends on 1)

The system according to claim 1, adopting the attribute-based access control model, wherein the system comprises:
an entity set of four attribute entities for subject, object, action, and environment, which are represented by S, O, A, E, respectively; and
a policy center P to manage access policies;
an access policy of several rules which can be converted into the form of Boolean function, i.e., using the Boolean function F(x1, x2, . . . xn)={True, False} to describe a logical relationship between any attribute variable xi∈X in the attribute entity X∈{S, O, A, E} and the access permission (True) or denial (False);
authorization process is used to obtain attribute values (v1, v2, . . . , vn)→(x1, x2, . . . , xn) from each attribute entity, and match them with the specified access policy, i.e., making evaluation on F(v1, v2, . . . , vn) to determine whether the access is authorized.

### Claim 4 (depends on 3)

The system according to claim 3, wherein the rules have the same grammar structure as the access policy, and can be combined as a access policy by using Boolean logic; the rules can be represented as Boolean functions whose inputs are attribute variables, and Boolean function is composed of Boolean logics on several predicates, each of which is a logical decision on operator that acts on attribute variables; the Boolean logics include logical AND, OR, and NOT; the operators include Equality, Greater than, Less than, positive and negative membership, and containment relationship.

### Claim 5 (depends on 2)

The system according to claim 2, adopting two kinds of security tokens, AttToken and DecToken, which are temporary, unforgeable, and publicly verifiable digital certificate, and their validity can be proved by using cryptographic verification methods, wherein
the AttToken is a cryptographic certificate for attribute assignment, comprises non-tamperable information of attributes and attribute values, and time-varying parameter information to ensure unforgeability and instantaneous validity of the token; wherein
the time-varying parameter information can be a random number, a count value, or a time stamp;
the DecToken is a cryptographic certificate for decrypting the ciphertext of the session key, and comprises secret information and time-varying parameter information for retrieving the session key which is required for decrypting the encrypted object.

### Claim 6 (depends on 1)

The system according to claim 1, wherein
object is stored in an encrypted form, and the encryption algorithm can be any symmetric and asymmetric encryption algorithm;
distributed authorization is implemented by replacing decryption keys with AttTokens, and these tokens are publicly verifiable;
the AttToken can be acquired in real-time, and the policy determination result may be different when the same subject has the same access request to the same object in different environments;
cryptographic policy from PGU is dynamically generated such that it can be changed in real-time to affect the access authorization result;
whether the encrypted object can be decrypted is determined by PDU, i.e., the subject can access the object if and only if the determination result is permission.

### Claim 7 (depends on 1)

A method for cryptographic attribute-based access control supporting dynamic rules, which applies to claim 1, comprising:
1) object encryption: the object is stored in OSM in an encrypted form, and records all attribute information of the object in ASM;
2) subject's access request: a certain subject issues an access request to an encrypted object, the ODU receives the request and invokes the PDU to perform cryptographic determination on the request;
3) access authorization decision: after receiving the information of ODU, the PDU issues a policy query request to PGU and token query requests to TGUs for each attribute, performs cryptographic determination on the cryptographic policy returned by PGU and the AttTokens returned by TGUs, sends the determination result and the DecToken to ODU;
4) object decryption: ODU decrypts the encrypted object according to the DecToken returned by PDU, and then the subject can access the decrypted object.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the access authorization decision process comprises
the cryptographic determination of a given access request is to make decision on the AttTokens and the cryptographic policy CP, and output the DecToken for object decryption;
if the determination result of the cryptographic policy is permission, the DecToken is secret information for retrieval of the session key which can be used for the object decryption; otherwise, it is an invalid random number.

### Claim 9 (depends on 1)

A method for cryptographic attribute-based access control supporting dynamic rules, which applies to claim 1, comprising:
1) system initialization: invoke the system initialization algorithm Setup to generate the public key pkT and the private key skT of each entity T and the public key pkP and the private key skP of the policy center P, where T∈{S,O,A,E};
2) object encryption: invoke the object encryption algorithm Encrypt to encrypt the object, realize key escrow of the session key ek on the policy center P, i.e., applying the general encryption algorithm to encrypt the object by using ek, and then encrypting ek by using the public key pkP of the policy center P; this phase is used to implement the OSM;
3) policy generation: select a policy Π according to the current access request, invoke the policy generation algorithm PolicyGen to generate the cryptographic policy CP of Π by using the public key pkT of entity T and the private key skP of policy center P; this phase is used to implement the PGU;
4) token generation: obtain the attribute assignment attr in real-time, invoke the token generation algorithm TokenGen to generate AttToken corresponding to attr; this phase is used to implement the TGU;
5) object decryption: the object decryption algorithm Decrypt is divided into two stages, wherein,
a) policy verification: perform cryptographic determination according to the cryptographic policy CP and the AttTokens related to the policy Π, output the DecToken for object decryption; this phase is used to implement the PDU;
b) session key retrieval: if the DecToken is valid, the session key ek can be retrieved to decrypt the encrypted object and the requested action will be performed; otherwise, the key ek cannot be retrieved and the current access will be denied; this phase is used to implement the ODU.

### Claim 10 (depends on 9)

The method according to claim 9, further comprising
system initialization algorithm Setup: given a specified security strength, generate public key pkP and private key skP for the policy center P, and public key pkT and private key skT for each entity T∈{S, O, A, E};
object encryption algorithm Encrypt: given the public key pkP of policy center P, generate ciphertext Cek of session key ek, and the session key ek can be used for decrypting the encrypted object;
token generation algorithm TokenGen: given private key skT of entity T∈{s, O, A, E}, an attribute value attr, and a time-varying parameter t, generate the attribute token AttToken;
policy generation algorithm PolicyGen: given the public key pkT of each entity T∈{s, O, A, E}, the private key skP of policy center P, an access policy Π, the time-varying parameter t, and the ciphertext Cek of session key ek, generate cryptographic policy CP of Π;
object decryption algorithm Decrypt: given the ciphertext Cek of session key ek, the ciphertext CP of policy Π, and a set of AttTokens corresponding to the attribute assignments, the session key ek can be retrieved if and only if the attribute assignments satisfy the policy Π.
