Docsity

Hierarchical Attribute-Based Encryption for Cloud Access Control, High school final essays of Computer science

Toggle sidebar
bg1
Singapore Management University
Institutional Knowledge at Singapore Management University
Research Collection School Of Information Systems School of Information Systems
4-2012
HASBE: A hierarchical attribute-based solution for
flexible and scalable access control in cloud
computing
Zhiguo WAN
Tsinghua University
Jun'e LIU
Tsinghua University
Robert H. DENG
Singapore Management University, [email protected]
DOI: https://doi.org/10.1109/TIFS.2011.2172209
Follow this and additional works at: https://ink.library.smu.edu.sg/sis_research
Part of the Information Security Commons
This Journal Article is brought to you for free and open access by the School of Information Systems at Institutional Knowledge at Singapore
Management University. It has been accepted for inclusion in Research Collection School Of Information Systems by an authorized administrator of
Institutional Knowledge at Singapore Management University. For more information, please email [email protected].
Citation
WAN, Zhiguo; LIU, Jun'e; and DENG, Robert H.. HASBE: A hierarchical attribute-based solution for flexible and scalable access
control in cloud computing. (2012). IEEE Transactions on Information Forensics and Security. 7, (2), 743-754. Research Collection
School Of Information Systems.
Available at:https://ink .library.smu.edu.sg/sis_research/1384
pf3
pf4
pf5
pf8
pf9
pfa
pfd

Partial preview of the text

Download Hierarchical Attribute-Based Encryption for Cloud Access Control and more High school final essays Computer science in PDF only on Docsity!

Singapore Management University

Institutional Knowledge at Singapore Management University

Research Collection School Of Information Systems School of Information Systems

HASBE: A hierarchical attribute-based solution for

flexible and scalable access control in cloud

computing

Zhiguo WAN

Tsinghua University

Jun'e LIU

Tsinghua University

Robert H. DENG

Singapore Management University , [email protected]

DOI: https://doi.org/10.1109/TIFS.2011.

Follow this and additional works at: https://ink.library.smu.edu.sg/sis_research

Part of the Information Security Commons

This Journal Article is brought to you for free and open access by the School of Information Systems at Institutional Knowledge at Singapore Management University. It has been accepted for inclusion in Research Collection School Of Information Systems by an authorized administrator of Institutional Knowledge at Singapore Management University. For more information, please email [email protected].

Citation

WAN, Zhiguo; LIU, Jun'e; and DENG, Robert H.. HASBE: A hierarchical attribute-based solution for flexible and scalable access control in cloud computing. (2012). IEEE Transactions on Information Forensics and Security. 7, (2), 743-754. Research Collection School Of Information Systems. Available at: https://ink.library.smu.edu.sg/sis_research/

IEEE TRANSACTIONS ON INFORMATION FORENSICS AND SECURITY, VOL. 7, NO. 2, APRIL 2012 743

HASBE: A Hierarchical Attribute-Based Solution

for Flexible and Scalable Access Control

in Cloud Computing

Zhiguo Wan, Jun’e Liu, and Robert H. Deng , Senior Member, IEEE

Abstract— Cloud computing has emerged as one of the most influential paradigms in the IT industry in recent years. Since this new computing technology requires users to entrust their valuable data to cloud providers, there have been increasing security and privacy concerns on outsourced data. Several schemes employing attribute-based encryption (ABE) have been proposed for access control of outsourced data in cloud computing; however, most of them suffer from inflexibility in implementing complex access con- trol policies. In order to realize scalable, flexible, and fine-grained access control of outsourced data in cloud computing, in this paper, we propose hierarchical attribute-set-based encryption (HASBE) by extending ciphertext-policy attribute-set-based encryption (ASBE) with a hierarchical structure of users. The proposed scheme not only achieves scalability due to its hierarchical struc- ture, but also inherits flexibility and fine-grained access control in supporting compound attributes of ASBE. In addition, HASBE employs multiple value assignments for access expiration time to deal with user revocation more efficiently than existing schemes. We formally prove the security of HASBE based on security of the ciphertext-policy attribute-based encryption (CP-ABE) scheme by Bethencourt et al. and analyze its performance and computational complexity. We implement our scheme and show that it is both efficient and flexible in dealing with access control for outsourced data in cloud computing with comprehensive experiments.

Index Terms— Access control, cloud computing, data security.

I. I NTRODUCTION

C

LOUD computing is a new computing paradigm that is built on virtualization, parallel and distributed com- puting, utility computing, and service-oriented architecture. In the last several years, cloud computing has emerged as one of the most influential paradigms in the IT industry, and has attracted extensive attention from both academia and industry. Cloud computing holds the promise of providing computing

Manuscript received July 06, 2011; revised October 05, 2011; accepted Oc- tober 05, 2011. Date of publication October 14, 2011; date of current version March 08, 2012. This work was supported in part by the Scientific Founda- tion for Returned Overseas Chinese Scholars, Ministry of Education, in part by the National Natural Science Foundation of China under Grant 61003223, and in part by the Office of Research, Singapore Management University. The as- sociate editor coordinating the review of this manuscript and approving it for publication was Dr. Elisa Bertino. Z. Wan and J. Liu are with Key Laboratory for Information System Security, Ministry of Education, Tsinghua National Laboratory for Information Science and Technology, and School of Software, Tsinghua University, Beijing 100084, China. R. H. Deng is with School of Information Systems, Singapore Management University, Singapore 178902, Singapore. Color versions of one or more of the figures in this paper are available online at http://ieeexplore.ieee.org. Digital Object Identifier 10.1109/TIFS.2011.

as the fifth utility [1] after the other four utilities (water, gas, electricity, and telephone). The benefits of cloud computing include reduced costs and capital expenditures, increased op- erational efficiencies, scalability, flexibility, immediate time to market, and so on. Different service-oriented cloud computing models have been proposed, including Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS). Numerous commercial cloud computing systems have been built at different levels, e.g., Amazon’s EC2 [2], Amazon’s S3 [3], and IBM’s Blue Cloud [4] are IaaS systems, while Google App Engine [5] and Yahoo Pig are representative PaaS systems, and Google’s Apps [6] and Salesforce’s Customer Relation Management (CRM) System [7] belong to SaaS systems. With these cloud computing sys- tems, on one hand, enterprise users no longer need to invest in hardware/software systems or hire IT professionals to maintain these IT systems, thus they save cost on IT infrastructure and human resources; on the other hand, computing utilities provided by cloud computing are being offered at a relatively low price in a pay-as-you-use style. For example, Amazon’s S3 data storage service with 99.99% durability charges only $0.06 to $0.15 per gigabyte-month, while traditional storage cost ranges from $1.00 to $3.50 per gigabyte-month according to Zetta Inc. [8]. Although the great benefits brought by cloud computing par- adigm are exciting for IT companies, academic researchers, and potential cloud users, security problems in cloud computing be- come serious obstacles which, without being appropriately ad- dressed, will prevent cloud computing’s extensive applications and usage in the future. One of the prominent security concerns is data security and privacy in cloud computing due to its In- ternet-based data storage and management. In cloud computing, users have to give up their data to the cloud service provider for storage and business operations, while the cloud service provider is usually a commercial enterprise which cannot be to- tally trusted. Data represents an extremely important asset for any organization, and enterprise users will face serious conse- quences if its confidential data is disclosed to their business competitors or the public. Thus, cloud users in the first place want to make sure that their data are kept confidential to out- siders, including the cloud provider and their potential competi- tors. This is the first data security requirement. Data confidentiality is not the only security requirement. Flexible and fine-grained access control is also strongly desired in the service-oriented cloud computing model. A health-care information system on a cloud is required to restrict access of protected medical records to eligible doctors and a customer relation management system running on a cloud may allow

1556-6013/$26.00 © 2011 IEEE

Published in IEEE Transactions on Information Forensics and Security, 2012 April, 7 (2), 743-754. http://doi.org/10.1109/TIFS.2011.

WAN et al. : HASBE: A HIERARCHICAL ATTRIBUTE-BASED SOLUTION FOR FLEXIBLE AND SCALABLE ACCESS CONTROL 745

525” so as to access course grades of other students who enroll in course 525. Such a feature cannot be implemented with the original CP-ABE algorithm. ASBE can enforce dynamic constraints on combining at- tributes to satisfy a policy, which provides great flexibility in access control. In the recursive attribute set assigned to a user, attributes from the same set can be combined freely, while attributes from different sets can only be combined with the help of translating items, whose function will be explained later. Consider attributes for students derived from courses they have taken. Every student has a set of attributes for each course he has taken. We want to have a policy “ Students who took a course that satisfies and and .” Enforcing such a policy with CP-ABE is difficult, since a stu- dent could have taken multiple courses and obtained different grades in them. The encryptor will have to ensure the student cannot select and combine attributes from different sets to circumvent the policy. In [19], several possible solutions with plain CP-ABE are described, but none of them is satisfactory. However, using ASBE, we can solve the problem simply by assigning multiple values to the group of attributes in different sets. For each course the student has taken, he gets a separate set of values for the attributes. In this way, ASBE can enforce efficient ciphertext policy encryption for situations where existing ABE schemes are inefficient. Furthermore, ASBE’s capability of assigning multiple values to the same attribute enables it to solve the user revocation problem efficiently, which is difficult in CP-ABE. The revoca- tion problem can be solved easily by assigning different expira- tion times. The above desirable feature and the recursive key structure is implemented by four algorithms, Setup , KeyGen , Encrypt , and Decrypt :

. Here is the depth of key structure. Take as input a depth parameter. It outputs a public key and master secret key. Take as input the master secret key , the identity of user , and a key structure. It out- puts a secret key for user. Take as input the public key , a message , and an access tree. It outputs a ciphertext . . Take as input a ciphertext and a secret key for user. It outputs a message. If the key structure associated with the secret key satisfies the access tree , associated with the ciphertext , then is the original correct message. Otherwise, is null. These algorithms are essentially similar to those of CP-ABE, except some extensions to support recursive key structure. The public key and the master key of ASBE are extended from CP-ABE to have components supporting recursive key structure. For depth , the corresponding public key component is and. The master key is extended by adding a new secret exponent for depth. The generated private keys are also different in ASBE and CP-ABE. There are translating components that enable attributes translation between different key sets.

The missing part of ASBE is the delegation algorithm, which is used in our proposed scheme to construct the hierarchical structure. We adopt the same four algorithms of ASBE, and ex- tend ASBE by proposing a new delegation algorithm.

B. Access Control Solutions for Cloud Computing The traditional method to protect sensitive data outsourced to third parties is to store encrypted data on servers, while the de- cryption keys are disclosed to authorized users only. However, there are several drawbacks about this trivial solution. First of all, such a solution requires an efficient key management mech- anism to distribute decryption keys to authorized users, which has been proven to be very difficult. Next, this approach lacks scalability and flexibility; as the number of authorized users be- comes large, the solution will not be efficient any more. In case a previously legitimate user needs to be revoked, related data has to be re-encrypted and new keys must be distributed to existing legitimate users again. Last but not least, data owners need to be online all the time so as to encrypt or re-encrypt data and dis- tribute keys to authorize users. ABE turns out to be a good technique for realizing scalable, flexible, and fine-grained access control solutions. Yu et al. [17] proposed an access control mechanism based on KP-ABE for cloud computing, together with a re-encryption technique for efficient user revocation. This scheme enables a data owner to delegate most of the computational overhead to cloud servers. The use of KP-ABE provides fine-grained access control grace- fully. Each file is encrypted with a symmetric data encryption key ( ), which is in turn encrypted by a public key corre- sponding to a set of attributes in KP-ABE, which is generated according to an access structure. The encrypted data file is stored with the corresponding attributes and the encrypted. If the associated attributes of a file stored in the cloud satisfy the ac- cess structure of a user’s key, then the user is able to decrypt the encrypted , which is used in turn to decrypt the file. The first problem with Yu et al. ’s scheme is that the encryptor is not able to decide who can decrypt the encrypted data except choosing descriptive attributes for the data, and has no choice but to trust the key issuer. Furthermore, KP-ABE is not naturally suitable to certain applications. An example of such applica- tions is a type of sophisticated broadcast encryption, where users are described by various attributes and the one whose attributes match a policy associated with a ciphertext can decrypt the ci- phertext. For such an application, a better choice is CP-ABE. Wang et al. [21] proposed hierarchical attribute-based encryption (HABE) to achieve fine-grained access control in cloud storage services by combining hierarchical identity-based encryption (HIBE) and CP-ABE. This scheme also supports fine-grained access control and fully delegating computation to the cloud providers. However, HABE uses disjunctive normal form policy and assumes all attributes in one conjunctive clause are administrated by the same domain master. Thus the same attribute may be administrated by multiple domain masters according to specific policies, which is difficult to implement in practice. Furthermore, compared with ASBE, this scheme cannot support compound attributes efficiently and does not support multiple value assignments.

746 IEEE TRANSACTIONS ON INFORMATION FORENSICS AND SECURITY, VOL. 7, NO. 2, APRIL 2012

Fig. 1. System model.

III. S YSTEM M ODEL AND A SSUMPTIONS

A. System Model

As depicted in Fig. 1, the cloud computing system under consideration consists of five types of parties: a cloud service provider , data owners , data consumers , a number of domain authorities , and a trusted authority. The cloud service provider manages a cloud to provide data storage service. Data owners encrypt their data files and store them in the cloud for sharing with data consumers. To access the shared data files, data consumers download encrypted data files of their interest from the cloud and then decrypt them. Each data owner/consumer is administrated by a domain authority. A domain authority is managed by its parent domain authority or the trusted authority. Data owners, data consumers, domain au- thorities, and the trusted authority are organized in a hierarchical manner as shown in Fig. 1. The trusted authority is the root authority and responsible for managing top-level domain authorities. Each top-level do- main authority corresponds to a top-level organization, such as a federated enterprise, while each lower-level domain authority corresponds to a lower-level organization, such as an affiliated company in a federated enterprise. Data owners/consumers may correspond to employees in an organization. Each domain au- thority is responsible for managing the domain authorities at the next level or the data owners/consumers in its domain. In our system, neither data owners nor data consumers will be always online. They come online only when necessary, while the cloud service provider, the trusted authority, and domain au- thorities are always online. The cloud is assumed to have abun- dant storage capacity and computation power. In addition, we assume that data consumers can access data files for reading only.

B. Security Model

We assume that the cloud server provider is untrusted in the sense that it may collude with malicious users (short for data owners/data consumers) to harvest file contents stored in the cloud for its own benefit. In the hierarchical structure of the system users given in Fig. 1, each party is associated with a public key and a private key, with the latter being kept secretly by the party. The trusted authority acts as the root of trust and authorizes the top-level domain authorities. A domain authority is trusted by its sub- ordinate domain authorities or users that it administrates, but may try to get the private keys of users outside its domain. Users may try to access data files either within or outside the scope of their access privileges, so malicious users may collude with each other to get sensitive files beyond their privileges. In

Fig. 2. Example key structure.

addition, we assume that communication channels between all parties are secured using standard security protocols, such as SSL.

IV. O UR C ONSTRUCTION In this section, we first present our HASBE scheme, which extends the ASBE algorithm with a hierarchical user structure. We then show how HASBE is applied for hierarchical user grant, data file creation, file access, user revocation, and file deletion.

A. Preliminaries Bilinear Maps: Let , be cyclic (multiplicative) groups of prime order. Let be a generator of. Then : is a bilinear map if it has the following properties:.

  • Bilinearity : for all and , .
  • Nondegeneracy :. is called a bilinear group if the group operation and the bilinear map are both efficiently computable. In our HASBE scheme, a data encryptor specifies an access structure for a ciphertext which is referred to as the ciphertext policy. Only users with decryption keys whose associated at- tributes, specified in their key structures, satisfy the access struc- ture can decrypt the ciphertext. Key Structure: We use a recursive set based key structure as in [19] where each element of the set is either a set or an element corresponding to an attribute. The depth of the key structure is the level of recursions in the recursive set, similar to definition of depth for a tree. For a key structure with depth 2, members of the set at depth 1 can either be attribute elements or sets but members of a set at depth 2 may only be attribute elements. Consider the example shown in Fig. 2, where , , is a key structure of depth 2. It represents the attributes of a person who is both a director of level 3 for a unit and a coordinator of level 6 for another unit in the Defense Ad- vanced Research Projects Agency (DARPA) of the Department of Defense (DoD). The key structure defines unique labels for sets in it. For key structures of depth 2, just an index of the sets at depth 2 is suf- ficient to uniquely identify the sets. Thus if there are sets

748 IEEE TRANSACTIONS ON INFORMATION FORENSICS AND SECURITY, VOL. 7, NO. 2, APRIL 2012

support key structure of depth , will range from 1 to. This algorithm sets the public key and master key as follows:

Top-Level Domain Authority Grant: A domain authority is associated with a unique ID and a recursive attribute set , where with being the th attribute in and being the number of at- tributes in. When a new top-level domain authority, i.e., DA , wants to join the system, the trusted authority will first verify whether it is a valid domain authority. If so, the trusted authority calls to generate the master key for DA. After get- ting the master key, DA can authorize the next level domain authorities or users in its domain.

. This algorithm creates the master key for top-level DA. It selects a unique number for the domain authority, which is also for the set , and selects random numbers , one for each set . Furthermore, it picks a random number for each . It computes the master key for DA as follows:

In the above master key, is for translation from of to of at the translating node. Elements and can be used as to translate to at the translating nodes , we will give the details later in the algorithm. New Domain Authority/User Grant: When a new user, denoted as , or a new subordinate domain authority, de- noted as DA , wants to join the system, the administrating domain authority, denoted as DA , will first verify whether the new entity is valid. If true, DA assigns the new entity a key structure corresponding to its role and a unique ID. Note that is a subset of , where is the key struc- ture of DA. In , every element is labeled the same as it is in. For example, , , and , then is labeled as set in both and , and is labeled as (2, ). For a new user , DA calls to gen- erate the secret key for this user. Otherwise, if it is a new domain authority DA , DA calls to generate the master key for DA. Then DA can authorize the lower level domain authorities or users in its domain.

. This algorithm uses the master key of , which is for the key structure , and a new key struc-

Fig. 5. Format of a data file on the cloud.

ture , which is a set of. The master key of is in the form

. As in the algorithm, this al- gorithm randomly chooses a unique number for each user or domain authority, a random number for each set , and a random number for each. Then it computes the new secret key as

The new secret key or is a secret key for the key structure. Because the algorithm rerandomizes the key, a delegated key is equivalent to one received directly from the trusted authority. New File Creation: To protect data stored on the cloud, a data owner first encrypts data files and then stores the encrypted data files on the cloud. As in [16], each file is encrypted with a symmetric data encryption key , which is in turn encrypted with HASBE. Before uploading to the cloud, a data file is pro- cessed by the data owner as follows:

  • Pick a unique ID for this data file.
  • Randomly choose a symmetric data encryption key , where is the key space, and encrypt the data file using.
  • Define a tree access structure for the file and encrypt with using algorithm of HASBE which returns ciphetext. Finally, the encrypted data file is stored on the cloud in the format as shown in Fig. 5. . is the message to encrypt. In the New File Creation operation, is the of a data file. is the tree access structure. Encrypt algorithm is the same as that of ASBE [19]. The algorithm associates a polynomial with each node in the tree , which is chosen randomly in a top-down manner from the root node. For every node in , the degree of is set to be one less than the threshold value of and denoted as. If is a leaf node, then is set to 0. For each nonroot node ,. The other points of are randomly chosen. For the root node , , where is a random number, and the other points of are randomly selected. This algorithm computes the Ciphetext as follows:

WAN et al. : HASBE: A HIERARCHICAL ATTRIBUTE-BASED SOLUTION FOR FLEXIBLE AND SCALABLE ACCESS CONTROL 749

where denotes the set of leaf nodes in , denotes the set of translating nodes in the access tree. User Revocation: Whenever there is a user to be revoked, the system must make sure the revoked user cannot access the associated data files any more. One way to solve this problem is to re-encrypt all the associated data files used to be accessed by the revoked user, but we must also ensure that the other users who still have access privileges to these data files can access them correctly. HASBE inherits the advantage of ASBE in efficient user revocation. We add an attribute to a user’s key, which indicates the time until which the key is considered to be valid. Then the policy associated with data files can include a check on the attribute as a numer- ical comparison. For example, assuming a user has a key with and a data file whose access policy is associated with , then can decrypt this data file only when and the rest of the policy matches ’s attributes. This numeric comparison of attributes can be implemented by the “bag of bits” as in [18]. In practice, the validity period of sensitive attributes must be kept small to reduce the window of vulnerability when a key is compromised, for example, a day, a week, or a month [19]. With this feature, we allow multiple value assignments to the attribute so as to add a new expiration value to the existing key. In this way, we can update user’s key without entire key regenerating and redistributing at the end of expiration time. On the other hand, the data owner can change the policy over data files by updating the attribute associated with the leaf node in the access tree. The update of user’s key and re-encryption of data files can be done as follows: Key Update. Suppose that there is a user , who is adminis- trated by the domain authority DA. DA maintains some state information about ’s key and adds a new value of to ’s existing key when it wants to up- date ’s key. Then DA computes the secret key compo- nents corresponding to the attribute and sends them to. Transmission of the secret key compo- nents to the user can be accomplished with an out-of-band channel between DA and the user. While DA is re- quired to maintain some state information about user’s key, DA avoids the need to generate and distribute the entire keys on a frequent basis. This reduces the workload on DA and saves considerable computing resources. Data Re-encryption. When the data owner wants to re-encrypt a data file, he changes the value of the attribute in the key policy and com- putes the new ciphertext components and , where is the leaf node on the access tree corresponding the attribute. Then the data owner sends these new ciphertext components to the cloud and the cloud service provider can re-encrypt the data file by simply updating these ciphertext components. So when re-encrypting a data file, the data owner just needs to compute the ciphertext components associated with the attribute while other parts of the cipher- text remain unchanged, which effectively reduces the workload of the data owner. Furthermore, in this process

the cloud just knows the two ciphertext components and can not get the plaintext of the data file. File Access: When a user sends request for data files stored on the cloud, the cloud sends the corresponding ci- phertexts to the user. The user decrypts them by first calling to obtain and then decrypt data files using. algorithm is as follows:

. This algorithm accepts ciphetext CT and user ’s key structure as input. The algorithm first calls to verify whether the key structure in satisfies the tree access structure associated with the CT. The func- tion is performed recursively. For each node in , there is a set of labels returned by. If does not satisfy , the algorithm returns null; otherwise the algorithm picks one from the set returned by , and calls function on the root node of , where is a node from. is defined as follows: If is a leaf node, and if , where , then . If , where , then . If is a nonleaf node, then is defined as follows:

  • Let be an arbitrary sized set of child nodes such that only if (1) label or (2) label for some and is a translating node. If no such set exists then return.
  • For each node , if , then call and store output in.
  • For each node , if and , then call and store output in. Then if , translate to as follows:

Otherwise, if , then translate to as follows:

  • Compute using polynomial interpolation as follows: , where . So when , , else when ,. So the function on the root node returns. If , then . If , then and. Then the message can be computed as . File Deletion: Encrypted data files can be deleted only at the request of the data owner. To delete an encrypted data file, the data owner sends the file’s unique ID and its signature on this ID to the cloud. Only upon successful verification of the data owner and the request, the cloud deletes the data file.

WAN et al. : HASBE: A HIERARCHICAL ATTRIBUTE-BASED SOLUTION FOR FLEXIBLE AND SCALABLE ACCESS CONTROL 751

the algorithm using the attributes in only, and returns the result to.

  • Challenge. When decides that Phase 1 is over, it out- puts an access structure and two messages , which it wishes to be challenged. gives the two messages to CP-ABE challenger, and is given the challenge cipher- text . Then computes the challenge ciphertext for from as: . In , , , and are readily ob- tained from. Note that is a linear combination of and other known values, which are determined by the public access structure. Thus can be computed from and other known values. Finally, the challenge cipher- text is returned to the adversary.
  • Phase 2. issues queries not issued in Phase 1. responds as in Phase 1.
  • Guess. Finally, outputs a guess , and then concludes its own game by outputting. According to the formal security model, the advantage of the adversary against HASBE is

This means has nonnegligible advantage against the CP-ABE scheme, which completes the proof of the theorem.

B. Discussion

In this subsection, we compare our scheme with the one pro- posed by Yu et al. [17] on security features in implementing access control for cloud computing.

  1. Scalability: We extend ASBE with a hierarchical structure to effectively delegate the trusted authority’s private at- tribute key generation operation to lower-level domain au- thorities. By doing so, the workload of the trusted root au- thority is shifted to lower-level domain authorities, which can provide attribute key generations for end users. Thus, this hierarchical structure achieves great scalability. Yu et al. ’s scheme, however, only has one authority to deal with key generation, which is not scalable for large-scale cloud computing applications.

  2. Flexibility: Compared with Yu et al. ’s scheme, HASBE or- ganizes user attributes into a recursive set structure and al- lows users to impose dynamic constraints on how those attributes may be combined to satisfy a policy. So HASBE can support compound attributes and multiple numerical assignments for a given attribute conveniently. As illus- trated with the example key structure in Fig. 2 and access structure in Fig. 3, HASBE can enforce more complex ac- cess policies than Yu et al. ’s scheme.

  3. Fine-grained access control: Based on HASBE, our scheme can easily achieve fine-grained access control. A data owner can define and enforce expressive and flexible access policy for data files as the scheme in [17].

  4. Efficient User Revocation: To deal with user revocation in cloud computing, we add an attribute to each user’s key and employ multiple value assignments for this attribute. So we can update user’s key by simply adding a new expiration value to the existing key. We just require a domain authority to maintain some state infor- mation of the user keys and avoid the need to generate and distribute new keys on a frequent basis, which makes our scheme more efficient than existing schemes.

  5. Expressiveness: In HASBE, a user’s key is associated with a set of attributes, so HASBE is conceptually closer to tra- ditional access control methods such as Role-Based Ac- cess Control (RBAC) [18]. Thus, it is more natural to apply HASBE, instead of KP-ABE, to enforce access control.

VI. P ERFORMANCE A NALYSIS AND I MPLEMENTATION In this section, we first analyze theoretic computation com- plexity of the proposed scheme in each operation. Then we im- plement an HASBE toolkit based on the toolkit devel- oped for CP-ABE [18], and conduct a series of experiments to evaluate performance of our proposed scheme.

A. Performance Analysis We analyze the computation complexity for each system op- eration in our scheme as follows. System Setup. When the system is set up, the trusted au- thority selects a bilinear group and some random numbers. When and are generated, there will be several exponentiation operations. So the computation complexity of System Setup is. Top-Level Domain Authority Grant. This oper- ation is performed by the trusted authority. The master key of a domain authority is in the form of , where is the key structure associated with a new domain authority, is the set of. Let be the number of at- tributes in , and be the number of sets in. Then the computation of consists of two exponentiations for each attribute in , and one exponentiations for every set in. The computation complexity of Top-Level Domain Authority Grant operation is. New User/Domain Authority Grant. In this operation, a new user or new domain authority is associated with an at- tribute set, which is the set of that of the upper level domain authority. The main computation overhead of this opera- tion is rerandomizing the key. The computation complexity is , where is the number of attributes in the set of the new user or domain authority, and is the number of sets in. New File Creation. In this operation, the data owner needs to encrypt a data file using the symmetric key and then encrypt using HASBE. The complexity of en- crypting the data file with depends on the size of the data file and the underlying symmetric key encryption al- gorithm. Encrypting with a tree access structure consists of two exponentiations per leaf node in and one exponentiation per translating node in. So the compu- tation complexity of New File Creation is ,

752 IEEE TRANSACTIONS ON INFORMATION FORENSICS AND SECURITY, VOL. 7, NO. 2, APRIL 2012

Fig. 6. Experiments on system setup and top-level domain authority grant. (a) Setup operation; (b) top-level domain authority grant (the number of subsets in the key structure is 1); (c) top-level domain authority grant (the total number of attributes in the key structure is 50).

TABLE I C OMPARISON OF COMPUTATION C OMPLEXITY

where denotes the leaf nodes of and denotes the translating nodes of. User Revocation. In this operation, a domain authority just maintains some state information of users’ keys and as- signs new value for expiration time to a user’s key when updating it. When re-encrypting data files, the data owner just needs two exponentiations for ciphertext components associated with the attribute. So the com- putation complexity of this operation is. File Access. In this operation, we discuss the decrypting operation of encrypted data files. A user first obtains with the algorithm and then decrypt data files using. We will discuss the computation complexity of the algorithm. The cost of decrypting a cipher- text varies depending on the key used for decryption. Even for a given key, the way to satisfy the associated access tree may be various. The algorithm consists of two pairing operations for every leaf node used to satisfy the tree, one pairing for each translating node on the path from the leaf node used to the root and one exponentia- tion for each node on the path from the leaf node to the root. So the computation complexity varies depending on the access tree and key structure. It should be noted that the decryption is performed at the data consumers; hence, its computation complexity has little impact on the scalability of the overall system. File Deletion. This operation is executed at the request of a data owner. If the cloud can verify the requestor is the owner of the file, the cloud deletes the data file. So the computation complexity is. Computation complexity of each system operation is shown in Table I, in which denotes the number of attributes in the key structure, is the attribute set of the data file, is the set of leaf nodes of the access tree or policy tree, and is the set of translating nodes of the policy tree.

B. Implementation

We have implemented a multilevel HASBE toolkit based on the toolkit (http://acsc.csl.sri.com/cpabe/) developed for CP-ABE [18] which uses the Pairing-Based Cryptography library (http://crypto.stanford.edu/pbc/). Then comprehensive experiments are conducted on a laptop with dual core 2.10-GHz CPU and 2-GB RAM, running Ubuntu 10.04. We make an analysis on the experimental data and give the statistical data. Similar to the toolkit, our toolkit also provides a number of command line tools as follows: hasbe-setup : Generates a public key and a master key . hasbe-keygen : Given and , generates a private key for a key structure. The key structure with depth 1 or 2 is supported. hasbe-keydel : Given and of DA , delegates some parts of DA ’s private keys to a new user or DA in its domain. The delegated key is equivalent to generating private keys by the root authority. hasbe-keyup : Given , the private key, the new at- tribute and the subset, generates a new private key which contains the new attribute. hasbe-enc : Given , encrypts a file under an access tree policy specified in a policy language. hasbe-dec : Given a private key, decrypts a file. hasbe-rec : Given , a private key and an encrypted file, re-encrypt the file. Note that the private key should be able to decrypt the encrypted file. Fig. 6(a) shows the time required to setup the system for a different depth of key structure. Our scheme can be extended to support any depth of key structure. The cost of this operation increases linearly with the key structure depth, and the setup can be completed in constant time for a given depth. Except for this experiment, all other operations are tested with the key structure depth of 2. Top-Level Domain Authority Grant is performed with the command line tool. The cost is determined by the number of subsets and attributes in the key structure. When there is only one subset in the key structure, the cost grows linearly with the number of attributes as Fig. 6(b) shows. While the number of attributes in the key structure is fixed to be 50, the cost also increases linearly with the number of subsets as

754 IEEE TRANSACTIONS ON INFORMATION FORENSICS AND SECURITY, VOL. 7, NO. 2, APRIL 2012

of attributes. We formally proved the security of HASBE based on the security of CP-ABE by Bethencourt et al.. Finally, we implemented the proposed scheme, and conducted comprehen- sive performance analysis and evaluation, which showed its ef- ficiency and advantages over existing schemes.

A CKNOWLEDGMENT

The authors would like to thank the anonymous reviewers for their valuable comments.

R EFERENCES

[1] R. Buyya, C. ShinYeo, J. Broberg, and I. Brandic, “Cloud computing and emerging it platforms: Vision, hype, and reality for delivering com- puting as the 5th utility,” Future Generation Comput. Syst. , vol. 25, pp. 599–616, 2009. [2] Amazon Elastic Compute Cloud (Amazon EC2) [Online]. Available: http://aws.amazon.com/ec2/ [3] Amazon Web Services (AWS) [Online]. Available: https://s3.ama- zonaws.com/ [4] R. Martin, “IBM brings cloud computing to earth with massive new data centers,” InformationWeek Aug. 2008 [Online]. Available: http:// www.informationweek.com/news/hardware/data_centers/ [5] Google App Engine [Online]. Available: http://code.google.com/ap- pengine/ [6] K. Barlow and J. Lane, “Like technology from an advanced alien cul- ture: Google apps for education at ASU,” in Proc. ACM SIGUCCS User Services Conf. , Orlando, FL, 2007. [7] B. Barbara, “Salesforce.com: Raising the level of networking,” Inf. Today , vol. 27, pp. 45–45, 2010. [8] J. Bell, Hosting Enterprise Data in the Cloud—Part 9: Investment Value Zetta, Tech. Rep., 2010. [9] A. Ross, “Technical perspective: A chilly sense of security,” Commun. ACM , vol. 52, pp. 90–90, 2009. [10] D. E. Bell and L. J. LaPadula, Secure Computer Systems: Unified Ex- position and Multics Interpretation The MITRE Corporation, Tech. Rep., 1976. [11] K. J. Biba, Integrity Considerations for Secure Computer Sytems The MITRE Corporation, Tech. Rep., 1977. [12] H. Harney, A. Colgrove, and P. D. McDaniel, “Principles of policy in secure groups,” in Proc. NDSS , San Diego, CA, 2001. [13] P. D. McDaniel and A. Prakash, “Methods and limitations of secu- rity policy reconciliation,” in Proc. IEEE Symp. Security and Privacy , Berkeley, CA, 2002. [14] T. Yu and M. Winslett, “A unified scheme for resource protection in automated trust negotiation,” in Proc. IEEE Symp. Security and Pri- vacy , Berkeley, CA, 2003. [15] J. Li, N. Li, and W. H. Winsborough, “Automated trust negotiation using cryptographic credentials,” in Proc. ACM Conf. Computer and Communications Security (CCS) , Alexandria, VA, 2005. [16] V. Goyal, O. Pandey, A. Sahai, and B. Waters, “Attibute-based encryp- tion for fine-grained access control of encrypted data,” in Proc. ACM Conf. Computer and Communications Security (ACM CCS) , Alexan- dria, VA, 2006. [17] S. Yu, C. Wang, K. Ren, and W. Lou, “Achiving secure, scalable, and fine-grained data access control in cloud computing,” in Proc. IEEE INFOCOM 2010 , 2010, pp. 534–542. [18] J. Bethencourt, A. Sahai, and B. Waters, “Ciphertext-policy attribute- based encryption,” in Proc. IEEE Symp. Security and Privacy , Oak- land, CA, 2007.

[19] R. Bobba, H. Khurana, and M. Prabhakaran, “Attribute-sets: A practi- cally motivated enhancement to attribute-based encryption,” in Proc. ESORICS , Saint Malo, France, 2009. [20] A. Sahai and B. Waters, “Fuzzy identity based encryption,” in Proc. Acvances in Cryptology—Eurocrypt , 2005, vol. 3494, LNCS, pp. 457–473. [21] G. Wang, Q. Liu, and J. Wu, “Hierachical attibute-based encryption for fine-grained access control in cloud storage services,” in Proc. ACM Conf. Computer and Communications Security (ACM CCS) , Chicago, IL, 2010.

Zhiguo Wan received the B.S. degree in computer science from Tsinghua University, Beijing, China, in 2002, and the Ph.D. degree in wireless network se- curity from the National University of Singapore, in

He is a lecturer in the School of Software, Tsinghua University. His main research interests include cryp- tography and security in wireless networks.

Jun’e Liu received the B.S. degree in software en- gineering from Northeastern University of China in

  1. She is working toward the masters degree at the School of Software, Tsinghua University, Beijing, China. Her research interests include cloud computing and information security. Ms. Liu has been named Excellent Graduate of Liaoning Province in 2009, and received a number of awards, including National Scholarship, IBM Scholarship for outstanding students, and first level Scholarship of Northeastern University.

Robert H. Deng (A’03–M’04–SM’04) received the bachelor degree from National University of Defense Technology, China, and the M.Sc. and Ph.D. degrees from the Illinois Institute of Technology. He has been with the Singapore Management University since 2004, and is currently professor, associate dean for Faculty and Research, School of Information Systems. Prior to this, he was principal scientist and manager of the Infocomm Security Department, Institute for Infocomm Research, Singapore. He has 26 patents and more than 200 technical publications in international conferences and journals in the areas of computer networks, network security, and information security. He has served as general chair, program committee chair, and program committee member of numerous international conferences. He is an Associate Editor of the IEEE T RANSACTIONS ON I NFORMATION F ORENSICS AND S ECURITY , Associate Editor of Security and Communication Networks Journal (John Wiley), and member of Editorial Board of the Journal of Computer Science and Technology (the Chinese Academy of Sciences). Dr. Deng received the University Outstanding Researcher Award from the National University of Singapore in 1999 and the Lee Kuan Yew Fellow for Re- search Excellence from the Singapore Management University in 2006. He was named Community Service Star and Showcased Senior Information Security Professional by ISC under its Asia-Pacific Information Security Leadership Achievements program in 2010.