Professional Documents
Culture Documents
Enabling Public Auditability and Data Dynamics
Enabling Public Auditability and Data Dynamics
I NTRODUCTION
Several trends are opening up the era of Cloud Computing, which is an Internet-based development and use
of computer technology. The ever cheaper and more
powerful processors, together with the software as a
service (SaaS) computing architecture, are transforming
data centers into pools of computing service on a huge
scale. Meanwhile, the increasing network bandwidth
and reliable yet flexible network connections make it
even possible that clients can now subscribe high quality
services from data and software that reside solely on
remote data centers.
Although envisioned as a promising service platform
for the Internet, this new data storage paradigm in
Cloud brings about many challenging design issues
which have profound influence on the security and
performance of the overall system. One of the biggest
Qian Wang, Cong Wang, and Kui Ren are with the Department of
Electrical and Computer Engineering, Illinois Institute of Technology, 3301
South Dearborn Street, Suite 103 Siegel Hall, Chicago, IL, 60616 USA.
E-mail: {qian,cong,kren}@ece.iit.edu.
Wenjing Lou is with the Department of Electrical and Computer Engineering, Worcester Polytechnic Institute, 100 Institute Road, Worcester,
MA 01609 USA. E-mail: wjlou@ece.wpi.edu.
Jin Li is with the School of Computer Science and Educational Software,
Guangzhou University, Guangzhou 510006, China. E-mail: jli25@iit.edu.
A preliminary version [1] of this paper was presented at the 14th European
Symposium on Research in Computer Security (ESORICS09).
concerns with cloud data storage is that of data integrity verification at untrusted servers. For example, the
storage service provider, which experiences Byzantine
failures occasionally, may decide to hide the data errors
from the clients for the benefit of their own. What is more
serious is that for saving money and storage space the
service provider might neglect to keep or deliberately
delete rarely accessed data files which belong to an
ordinary client. Consider the large size of the outsourced
electronic data and the clients constrained resource
capability, the core of the problem can be generalized
as how can the client find an efficient way to perform
periodical integrity verifications without the local copy
of data files.
In order to solve the problem of data integrity checking, many schemes are proposed under different systems and security models [2][11]. In all these works,
great efforts are made to design solutions that meet
various requirements: high scheme efficiency, stateless
verification, unbounded use of queries and retrievability
of data, etc. Considering the role of the verifier in the
model, all the schemes presented before fall into two
categories: private auditability and public auditability.
Although schemes with private auditability can achieve
higher scheme efficiency, public auditability allows anyone, not just the client (data owner), to challenge the
cloud server for correctness of data storage while keeping no private information. Then, clients are able to
uri ty l ow
Sec ge F
sa
Third Party Auditor
s
Me
Clients
Cloud
Storage
Servers
Data Flow
w
Security Mess age Flo
two basic solutions (i.e., the MAC-based and signaturebased schemes) for realizing data auditability and discuss their demerits in supporting public auditability and
data dynamics. Secondly, we generalize the support of
data dynamics to both proof of retrievability (PoR) and
provable data possession (PDP) models and discuss the
impact of dynamic data operations on the overall system
efficiency both. In particular, we emphasize that while
dynamic data updates can be performed efficiently in
PDP models more efficient protocols need to be designed
for the update of the encoded files in PoR models. For
completeness, the designs for distributed data storage
security are also discussed in Section III-E. Thirdly,
in Section III-D, we extend our data auditing scheme
for the single client and explicitly include a concrete
description of the multi-client data auditing scheme.
We also redo the whole experiments and present the
performance comparison between the multi-client data
auditing scheme and the individual auditing scheme in
Section V. Finally, for the proposed theorems in this
article, we provide formal security proofs under the
random oracle model, which are lacking in [1].
Organization. The rest of the paper is organized as
follows. In section II, we define the system model, security model and our design goals. Then, we present our
scheme in section III and provide security analysis in
section IV, respectively. We further analyze the experiment results and show the practicality of our schemes
in section V. Finally, we conclude in section VI.
Third Party Auditor (TPA): an entity, which has expertise and capabilities that clients do not have, is
trusted to assess and expose risk of cloud storage
services on behalf of the clients upon request.
In the cloud paradigm, by putting the large data files
on the remote servers, the clients can be relieved of
the burden of storage and computation. As clients no
longer possess their data locally, it is of critical importance for the clients to ensure that their data are being
correctly stored and maintained. That is, clients should
be equipped with certain security means so that they
can periodically verify the correctness of the remote data
even without the existence of local copies. In case that
clients do not necessarily have the time, feasibility or
resources to monitor their data, they can delegate the
monitoring task to a trusted TPA. In this paper, we only
consider verification schemes with public auditability:
any TPA in possession of the public key can act as
a verifier. We assume that TPA is unbiased while the
server is untrusted. For application purposes, the clients
may interact with the cloud servers via CSP to access
or retrieve their pre-stored data. More importantly, in
practical scenarios, the client may frequently perform
block-level operations on the data files. The most general
forms of these operations we consider in this paper are
modification, insertion, and deletion. Note that we dont
address the issue of data privacy in this paper, as the
topic of data privacy in Cloud Computing is orthogonal
to the problem we study here.
c
MesSe
sag euritFylo
w
P ROBLEM S TATEMENT
T HE P ROPOSED S CHEME
Root
hr
A
ha
hb
h(x1)
hd
h(x2)
x1
hc
h(x3)
x2
h(x4)
x3
F
hf
he
h(x5)
x4
h(x6)
x5
h(x7)
x6
h(x8)
x7
x8
is an ordered collection of blocks {mi }, and outputs the signature set , which is an ordered collection of signatures {i }
on {mi }. It also outputs metadata-the signature sigsk (H(R))
of the root R of a Merkle hash tree. In our construction, the
leaf nodes of the Merkle hash tree are hashes of H(mi ).
(P ) GenP roof (F, , chal). This algorithm is run by the
server. It takes as input a file F , its signatures , and a
challenge chal. It outputs a data integrity proof P for the
blocks specified by chal.
{T RU E, F ALSE} V erif yP roof (pk, chal, P ). This algorithm can be run by either the client or the third party
auditor upon receipt of the proof P . It takes as input the public
key pk, the challenge chal, and the proof P returned from the
server, and outputs T RU E if the integrity of the file is verified
as correct, or F ALSE otherwise.
(F , , Pupdate ) ExecU pdate(F, , update). This algorithm is run by the server. It takes as input a file F , its
signatures , and a data operation request update from
client. It outputs an updated file F , updated signatures
and a proof Pupdate for the operation.
{(T RU E, F ALSE, sigsk (H(R )))} V erif yU pdate(pk,
update, Pupdate ). This algorithm is run by the client. It
takes as input public key pk, the signature sigsk (H(R)),
an operation request update, and the proof Pupdate from
server. If the verification successes, it outputs a signature
sigsk (H(R )) for the new root R , or F ALSE otherwise.
3.3 Basic Solutions
Assume the outsourced data file F consists of a finite
ordered set of blocks m1 , m2 , . . . , mn . One straightforward way to ensure the data integrity is to pre-compute
MACs for the entire data file. Specifically, before data
outsourcing, the data owner pre-computes MACs of F
with a set of secret keys and stores them locally. During
the auditing process, the data owner each time reveals
a secret key to the cloud server and asks for a fresh
keyed MAC for verification. This approach provides
deterministic data integrity assurance straightforwardly
as the verification covers all the data blocks. However,
the number of verifications allowed to be performed in
this solution is limited by the number of secret keys.
Once the keys are exhausted, the data owner has to
retrieve the entire file of F from the server in order to
compute new MACs, which is usually impractical due
to the huge communication overhead. Moreover, public
auditability is not supported as the private keys are
required for verification.
Another basic solution is to use signatures instead of
MACs to obtain public auditability. The data owner precomputes the signature of each block mi (i [1, n])
and sends both F and the signatures to the cloud
server for storage. To verify the correctness of F , the
data owner can adopt a spot-checking approach, i.e.,
requesting a number of randomly selected blocks and
their corresponding signatures to be returned. This basic
solution can provide probabilistic assurance of the data
TPA
CSS
1. Generate a random
set {(i, i )}iI ;
{(i,i )}iI
2. Compute =
3. Compute =
{,,{H(mi ),i }iI ,sigsk (H(R))}
P
i mi ;
Q i i
i
i ;
Integrity proof P
4. Compute R using
{H(mi ), i }iI ;
5. Verify sigsk (H(R))
and output FALSE if fail;
6. Verify {mi }iI .
sc
X
i=s1
i mi Zp
and
sc
Y
ii G,
i=s1
where both the data blocks and the corresponding signature blocks are aggregated into a single block, respectively. In addition, the prover will also provide the
verifier with a small amount of auxiliary information
{i }s1 isc , which are the node siblings on the path
from the leaves {h(H(mi ))}s1 isc to the root R of
the MHT. The prover responds the verifier with proof
P = {, , {H(mi ), i }s1 isc , sigsk (H(R))}.
V erif yP roof (pk, chal, P ). Upon receiving the responses
from the prover, the verifier generates root R using
{H(mi ), i }s1 isc and authenticates it by checking
?
e(sigsk (H(R)), g) = e(H(R), g ). If the authentication
fails, the verifier rejects by emitting FALSE. Otherwise,
e(, g) =
e(
sc
Y
H(mi )i u , v).
i=s1
Client
1. Generate
CSS
(H(mi )
umi ) ;
(M(I),i,mi ,i )
2. Update F and
compute R .
(i ,H(mi ),sigsk (H(R)),R )
3. Compute R using
{H(mi ), i };
4. Verify sigsk (H(R)).
Output FALSE if fail.
5. Compute Rnew using
{i , H(mi )}. Verify
update by checking
sigsk (H(R ))
6. Update Rs signature.
TABLE 2: The protocol for provable data update (Modification and Insertion)
hr
A
ha
h(n1)
h(n3)
hb
h(n2)
Root'
hr
h(n4)
h'a
h(n1)
hb
h(n3)
h(n2)
h(n4)
Root'
hr
hr
Root
A
B
ha
hb
hb
C
h(n1)
h(n1)
h'a
h(n2)
h(n3)
hc
h(n3)
h(n4)
h(n4)
h(n2)
h(n*) n3
hr
ha
hc
hr
Root
B
hd
he
ha
Delete h(n5)
hb
hc
hf
Root
B
A
hb
hd
hf
h(n6)
h(n4)
h(n8)
h(n4)
h(n7)
h(n8)
QK
uk k,i ]xk i ).
The prover then responses the verifier with
{, {k }1kK , {k,i }, {H(mk,i )}}. In the VerifyProof
phase, similar as the single client case, the verifier first
authenticates tags H(mk,i ) by verifying signatures on
the roots (for each clients file). If the authentication
succeeds, then, using the properties of the bilinear map,
the verifier can check if the following equation holds:
k=1 (
e(, g)
K
Y
e(
k=1
= e(
K
Y
i
k,i
), g)
= e(
K
Y
K
Y
e([
k=1
K
Y
k=1
e(
m
i i grows linearly with the block size.
1
Recall that h(H(mi )) are used as the MHT leaves, upon
receiving the challenge the server can calculate these tags
on-the-fly or pre-store them for fast proof computation.
In fact, one can directly use h(g mi ) as the MHT leaves
instead of h(H(mi )). In this way, at the verifier side
the job of computing the aggregated signature should
be accomplished after authentication of g mi . Now the
computation of aggregated signature is eliminated at
the server side, as a trade-off, additional computation
S ECURITY A NALYSIS
10
hhh
Scheme
hhhh
hhh
Metric
hhh
Data dynamics
Public auditability
Sever comp. complexity
Verifier comp. complexity
Comm. complexity
Verifier storage complexity
[2]
[4]
[12]
[14]
Our Scheme
Yes
O(1)
O(1)
O(1)
O(1)
No
O(1)
O(1)
O(1)
O(1)
Yes
No
O(log n)
O(log n)
O(log n)
O(1)
Yes
O(log n)
O(log n)
O(log n)
O(1)
No
Yes
O(1)
O(1)
O(1)
O(1)
TABLE 3: Comparisons of different remote data integrity checking schemes. The security parameter is eliminated
in the costs estimation for simplicity. The scheme only supports bounded number of integrity challenges and
partially data updates, i.e., data insertion is not supported. No explicit implementation of public auditability is
given for this scheme.
Metric \ Rate-
Sever comp. time (ms)
Verifier comp. time (ms)
Comm. cost (KB)
[14]
99%
14.13
782.56
280
TABLE 4: Performance comparison under different tolerance rate of file corruption for 1GB file. The block size
for RSA-based instantiation and scheme in [14] is chosen to be 4KB.
P ERFORMANCE A NALYSIS
11
400
380
DPDP
Our RSAbased Instantiation
360
340
320
300
280
260
240
220
200
20
40
60
80
100
120
140
160
180
Fig. 6: Comparison of communication complexity between our RSA-based instantiation and DPDP [14], for
1 GB file with variable block sizes. The detection probability is maintained to be 99%.
C ONCLUSION
A PPENDIX A
P ROOF OF THE T HEOREM 1
Proof: It is easy to prove that the signature scheme
is existentially unforgeable with the assumption that
BLS [16] short signature scheme is secure. In concrete,
assume there is a secure BLS signature scheme, with
public key y = g and a map-to-point hash function
H. If there is an adversary that can break our signature
scheme, we show how to use this adversary to forge a
BLS signature as follows: Set u = g x0 by choosing x0
from Zp . For any signature query on message m, we
can submit this message to BLS signing oracle and get
= H(m) . Therefore, the signing oracle of this new
signature scheme can be simulated as = y mx0 =
(H(m)g mx0 ) . Finally, if there is any adversary can forge
12
290
815
810
805
800
795
790
785
780
775
770
765
760
20
40
60
80
100
285
280
275
270
265
260
255
250
245
240
20
40
60
80
100
Fig. 7: Performance comparison between individual auditing and batch auditing. The average per client auditing
time is computed by dividing total auditing time by the number of clients in the system. For both tolerance rate
= 99% and = 97%, the detection probability is maintained to be 99%.
ACKNOWLEDGMENTS
The authors would like to thank the editor and anonymous reviewers for their valuable suggestions that significantly improved the quality of this paper. This work
was supported in part by the US National Science Foundation under grant CNS-0831963, CNS-0626601, CNS0716306, CNS-0831628 and CNS-0716302.
13
R EFERENCES
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
[11]
[12]
[13]
[14]
[15]
[16]
[17]
[18]
[19]
[20]
Kui Ren is an assistant professor in the Electrical and Computer Engineering Department
at Illinois Institute of Technology. He obtained
his PhD degree in Electrical and Computer Engineering from Worcester Polytechnic Institute
in 2007. He received his B. Eng and M. Eng
both from Zhejiang University in 1998 and 2001,
respectively. In the past, he has worked as a
research assistant at Shanghai Institute of Microsystem and Information Technology, Chinese
Academy of Sciences, at Institute for Infocomm
Research, Singapore, and at Information and Communications University, South Korea. His research interests include network security
& privacy and applied cryptography with current focus on security &
privacy in cloud computing, lower-layer attack & defense mechanisms
for wireless networks, and sensor network security. His research is
sponsored by US National Science Foundation. He is a member of IEEE
and ACM.
Wenjing Lou earned a BE and an ME in Computer Science and Engineering at Xian Jiaotong University in China, an MASc in Computer
Communications at the Nanyang Technological
University in Singapore, and a PhD in Electrical
and Computer Engineering at the University of
Florida. From December 1997 to July 1999, she
worked as a Research Engineer at Network
Technology Research Center, Nanyang Technological University. She joined the Electrical and
Computer Engineering department at Worcester
Polytechnic Institute as an assistant professor in 2003, where she is now
an associate professor. Her current research interests are in the areas of
ad hoc, sensor, and mesh networks, with emphases on network security
and routing issues. She has been an editor for IEEE Transactions on
Wireless Communications since 2007. She was named Joseph Samuel
Satin Distinguished fellow in 2006 by WPI. She is a recipient of the
U.S. National Science Foundation Faculty Early Career Development
(CAREER) award in 2008.