Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD FOR STORING DATA BLOCKS FROM CLIENT DEVICES TO A CLOUD STORAGE SYSTEM
Document Type and Number:
WIPO Patent Application WO/2018/024658
Kind Code:
A1
Abstract:
The invention relates to a method for storing data blocks from client devices (1, 4) to a cloud storage system (3), the method comprising the steps of: d) storing an encrypted first data block (2) and a challenge of the first data block (2) of a first client device (1) on the cloud storage system (3), e) determining if a hash of a second data block (5) of a second client device (4) stored on the cloud storage system (3) equals the hash of the first data block (2), f) if yes, transmitting the challenge of the first data block (2) from the cloud storage system (3) to the second client device (4), g) extracting, at the second client device (4), the bits at the positions or at the range contained in the challenge, hashing the extracted bits, encrypting the hashed bits with a public key of the first client device (1) or of the second client device (4) and uploading the encrypted bits from the second client device (4) to the cloud storage system (3), and h) storing the encrypted bits from the second client device (4) on the cloud storage system (3).

Inventors:
SCHNEIDER JOHANNES (CH)
HARVAN MATUS (CH)
OBERMEIER SEBASTIAN (CH)
LOCHER THOMAS (CH)
PIGNOLET YVONNE ANNE (CH)
Application Number:
PCT/EP2017/069286
Publication Date:
February 08, 2018
Filing Date:
July 31, 2017
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ABB SCHWEIZ AG (CH)
International Classes:
H04L9/08; G06F11/14; G06F21/62; H04L9/32; H04L29/06
Domestic Patent References:
WO2011076463A12011-06-30
Foreign References:
US20130246790A12013-09-19
US8099605B12012-01-17
US20130246790A12013-09-19
Other References:
DI PIETRO ROBERTO ET AL: "Proof of ownership for deduplication systems: A secure, scalable, and efficient solution", COMPUTER COMMUNICATIONS, ELSEVIER SCIENCE PUBLISHERS BV, AMSTERDAM, NL, vol. 82, 24 February 2016 (2016-02-24), pages 71 - 82, XP029496889, ISSN: 0140-3664, DOI: 10.1016/J.COMCOM.2016.01.011
MARTIN MULAZZANI SBA RESEARCH SEBASTIAN SCHRITTWIESER SBA RESEARCH EDGAR WEIPPL SBA RESEARCH: "Dark Clouds on the Horizon: Using Cloud Storage as Attack Vector and Online Slack Space", USENIX,, 24 June 2011 (2011-06-24), pages 1 - 11, XP061011165
Attorney, Agent or Firm:
ABB PATENT ATTORNEYS (CH)
Download PDF:
Claims:
Claims

1 . Method for storing data blocks from client devices (1 , 4) to a cloud storage system (3), the method comprising the steps of:

d) storing an encrypted first data block (2), a challenge and a hash of the first data block (2) of a first client device (1 ) on the cloud storage system (3),

e) determining if a hash of a second data block (5) of a second client device (4) stored on the cloud storage system (3) equals the hash of the first data block (2),

f) if yes, transmitting the challenge of the first data block (2) from the cloud storage system (3) to the second client device (4),

g) extracting, at the second client device (4), the bits positions or at a range contained in the challenge, hashing the extracted bits, encrypting the hashed bits with a public key of the first client device (1 ) or of the second client device (4) and uploading the encrypted bits from the second client device (4) to the cloud storage system (3),

h) storing the encrypted bits from the second client device (4) on the cloud storage system (3),

i) sending the challenge and the encrypted bits from the cloud storage system (3) to the first client device (1 ).

j) extracting, at the first client device (1 ), the bits at the positions or at the range contained in the challenge, hashing the extracted bits, encrypting the hashed bits with a public key of the first client device (1 ) or a public key of the second client device (4) depending on the key chosen in step g) and comparing the encrypted bits with the challenge created in step c) or with the challenge received in step i),

k) if the comparison results in equality, encrypting the symmetric key used in step c) with the public key of the second client device (4) and sending the encrypted symmetric key together with a new challenge of hashed bits at randomly chosen bit positions of the first data block (2) or of a bit range of the first data block (2) from the first client device (1 ) to the cloud storage system (3), and

I) storing the new challenge and the encrypted symmetric key on the cloud storage system (3).

2. Method according to claim 1 , comprising the additional steps of: a) determining if a hash of the first data block (2) of the first client device (1 ) is stored on the cloud storage system (3),

b) if not, providing an upload request for the first data block (2) from the cloud storage system (3) to the first client device (1 ),

c) in response thereto, encrypting, at the first client device (1 ), the first data block (2) with a randomly generated symmetric key, creating the challenge of hashed bits at randomly chosen bit positions of the first data block (2) or of the bit range of the first data block (2) and encrypting the challenge with the private key of the first client device (1 ) and uploading the encrypted first data block (2) and the challenge from the first client device (1 ) to the cloud storage system (3),

3. Method according to any one of the previous claims, comprising the additional steps of:

m) sending the encrypted symmetric key from the cloud storage system (3) to the second client device (4),

n) decrypting the symmetric key with a private key of the second client device (4) and storing the symmetric key of the second client device (4).

4. Method according to any one of the previous claims, comprising the additional steps of:

o) sending a download request for the first data block (2) from the first client or second client device (1 , 4) to the cloud storage system (3),

p) in response thereto, sending the encrypted first data block (2) from cloud storage system (3) to the first client or second client device (1 , 4),

q) decrypting the received first data block (2) with the symmetric key at the first client or second client device (1 , 4).

5. Method according to any one of the previous claims, comprising the additional steps of:

if the first client device (1 ) cannot be accessed for executing step i) or step j), providing an upload request for the second data block (5) from the cloud storage system (3) to the second client device (4), in response thereto, encrypting, at the second client device (4), the second data block (5) with a further randomly generated symmetric key, creating a further challenge of hashed bits at randomly chosen bit positions of the second data block (5) or of a bit range of the second data block (5) and encrypting the further challenge with the private key of the second client device (4) and uploading the encrypted second data block (5) and the further challenge from the second device (4) to the cloud storage system (3),

temporarily storing the encrypted second data block (5) and the further challenge at the cloud storage system (3),

once the first client device (1 ) can be accessed again, perform step i) or steps i) and j), and, if the comparison is successful, delete the temporarily stored encrypted second data block (5) and the further challenge from the cloud storage system (3).

6. Method according to claim 1 , comprising the additional step of:

performing, at the cloud storage system (3), homomorphic encryption in regard to uploaded challenge and the uploaded encrypted bits from the second client device (4).

7. Method according to any one of the previous claims, comprising the additional step of:

sending an acknowledgment, by the first client device (1 ), second client device (4) and/or the cloud storage system (3), in response to an upload request.

8. Method according to any of the previous claims, comprising a public key infrastructure (6) for provisioning the public key of the first client device (1 ) and/or the public key of the second client device (4).

9. Method according to any of the previous claims, whereby the first data block (2) and/or the second data block (5) comprises a size of 0.5, 1 , 2 or 5 MB.

10. Method according to any of the previous claims, whereby an individual symmetric key is provided to each first data block (2) and/or each second data block (5).

Description:
Description

Method for storing data blocks from client devices

to a cloud storage system

Technical Field

[0001] The invention relates to a method for storing data blocks from client

devices to a cloud storage systenn, the method comprising the steps of: storing an encrypted first data block and a challenge of the first data block of a first client device on the cloud storage system and determining if a hash of a second data block of a second client device stored on the cloud storage system equals the hash of the first data block.

Background Art

[0002] Data backups of industrial devices and entire control systems can be

stored in a cloud, for example on a cloud storage system. In the case of a problem with the local control system, data including operating system, control system and customer-specific configurations can be restored from the remote backup stored in the cloud. Often there is a significant amount of similar or even identical backup data, for example operating system files, control system software, standard software, etc. between different customers and between different backups.

[0003] Generally, cloud storage system are designed towards the trade-offs

confidentiality versus space: On the one hand, if the data is stored in an encrypted way, the customer owns the encryption key. However, the encrypted data from each tenant typically differs, and, depending on the encryption algorithm, even from backup to backup. On the other hand, a cloud storage system that stores the data in an unencrypted way can reduce the storage space significantly by eliminating the storage of duplicate data. Practically, the backup storage space can be reduced by 90 to 95% for operating system files, control system software and standard software. [0004] Storing the backup data in an unencrypted faces the problenn of customer acceptance: Customers are reluctant to send their sensitive data to an unknown server that stores it without protection. Besides that, highly sophisticated targeted attacks may nowadays compromise clouds. Thus, any cloud offering in this area must offer data confidentiality to such an extent that even the service provider is not able to reconstruct the clear text of customer-owned data without the customer being involved.

[0005] US 2013/246790 A1 describes a storage method comprising encrypting data with a storage key to obtain encrypted data, encrypting the storage key with two different encryption methods to generate a personal key and a data key, respectively, wherein the personal key can be decrypted with a key from the user who owns the data to obtain the storage key, and the data key can be decrypted with the unencrypted data to obtain the storage key, and saving the encrypted data, personal key and data key in a server.

[0006] However, as outlined before the straightforward method of storing data that is encrypted with a customer's key faces the problem of massive data duplication: large quantities of data of different customers are identical and there is even more duplication between daily backups of the same customer. Duplications reduce the overall margin due to the costs for data storage. The backup also takes a longer time and requires more

bandwidth, for example, if a complete server image is uploaded daily or even hourly.

Summary of invention

[0007] Therefore, it is an object of the invention to provide a method for storing encrypted data that is not duplicated, even across customers, whereby a service provider of the storage space is not able to decrypt the data and whereby customers cannot find out what others store.

[0008] The object of the invention is solved by the features of the independent claim. Preferred embodiments are described in the dependent claims.

[0009] Thus, the object is solved by a method for storing data blocks from client devices to a cloud storage system, the method comprising the steps of: d) storing an encrypted first data block and a challenge of the first data block of a first client device on the cloud storage system,

e) determining if a hash of a second data block of a second client device stored on the cloud storage system equals the hash of the first data block,

f) if yes, transmitting the challenge of the first data block from the cloud storage system to the second client device,

g) extracting, at the second client device, bits at positions or at a range contained in the challenge, hashing the extracted bits, encrypting the hashed bits with a public key of the first client device or of the second client device and uploading the encrypted bits from the second client device to the cloud storage system, and

h) storing the encrypted bits from the second client device on the cloud storage system.

[0010] It is therefore a key point of the invention to encrypt backup data while at the same time avoiding duplicate data even across customers. The method is therefore a key enabler for any kind of backup service that suffers from duplication issues, while confidentiality of sensitive data is maintained. The method provides an increased margin as storage costs are decreased significantly. From a customer's perspective the method ensures low recovery times when a failure occurs as it only needs to download a recovery image from the backup service. Compared to a solution where a complete server and/or an application software needs to be reinstalled, the method reduces the production downtime and therefore offers a great incentive for investing in this kind of insurance. Compared to a local backup, the method ensures permanent, hassle-free backups. The customer does not need to take care of the data integrity of the backups or verify that a backup has been made but can outsource this service to the cloud storage system provider.

[001 1] Client devices are computing devices that are capable of accessing files and communicating across a network connection with the cloud storage system. For example, the client devices can be provided as a desktop computer, a laptop computer, a server, a tablet computer, a palm computer, a smart phone, a set top box, or a gaming console. The cloud storage system can be provided as server comprising multiple hard drives for storing the data blocks. The client devices are preferably coupled with the cloud storage system through a communication network, such as a local area network, a wireless network or wide area network.

[0012] The step of storing preferably comprises saving the encrypted first data block and the challenge of the first data block on the cloud storage system. The step of determining preferably comprises a comparison between the hash of the second data block and the stored hash of the first data block and reveals a positive response if the comparison results in equality respectively identity. The step of transmitting preferably comprises storing a copy of the challenge of the first data block on the cloud storage system. The step of extracting preferably comprises a logical operation for isolating said bits or the range.

[0013] According to another preferred embodiment, the method comprises, prior to the steps d) to h), the following additional steps of:

a) determining if a hash of the first data block of the first client device is stored on the cloud storage system,

b) if not, providing an upload request for the first data block from the cloud storage system to the first client device, and

c) in response thereto, encrypting, at the first client device, the first data block with a randomly generated symmetric key, creating the challenge of hashed bits at randomly chosen bit positions of the first data block or of a bit range of the first data block and encrypting the challenge with the private key of the first client device and uploading the encrypted first data block and the challenge from the first client device to the cloud storage system.

[0014] Using a hash of the data block is advantageous as the hash represents a short and most likely unique metadata for each data block. By using a strong hash function computing the data block that corresponds to a given hash is infeasible and thus a secure measure. Further, creating the challenge by asking for the hash of bits at randomly chosen bit positions or ranges in the data block is advantageous as, if the data block is reasonably large in the order of megabytes, and if random ranges are chosen, it is infeasible for an attacker to retrieve the correct hash.

[0015] According to a further preferred embodiment, the method comprises the additional step of: i) sending the challenge and the encrypted bits from the cloud storage system to the first client device.

[0016] According to another preferred embodiment, the method comprises the additional steps of:

j) extracting, at the first client device, the bits at the positions or at the range contained in the challenge, hashing the extracted bits, encrypting the hashed bits with a public key of the second client device and

comparing the encrypted bits with the challenge created in step c) or, comprising step i), with the challenge received in step i),

k) if the comparison results an equality, encrypting the symmetric key used in step c) with the public key of the second client device and sending the encrypted symmetric key together with a new challenge of hashed bits at randomly chosen bit positions of the first data block or of the bit range of the first data block from the first client device to the cloud storage system, I) storing the new challenge and the encrypted symmetric key on the cloud storage system.

[0017] The cloud storage system can ask the first client device to verify the

received result by forwarding the old challenge and the response received from the second client device to the first client device. With steps j) to I) the first client device can then verify the second client's claim of ownership by computing the hash of the bits at the given ranges. Alternatively, the first client device can keep track of its currently issued challenges and store the hashes.

[0018] According to a further preferred embodiment, the method comprises the additional steps of:

m) sending the encrypted symmetric key from the cloud storage system to the second client device,

n) decrypting the symmetric key with a private key of the second client and storing the symmetric key of the second client device. [0019] The cloud storage system sends the encrypted key to the second client device preferably being signed by the first client device so that the second client device can verify the authenticity. As the symmetric key is encrypted with the private key of the second client, the second client device can decrypt it and store it for later use.

[0020] According to another preferred embodiment, the method comprises the additional steps of:

o) sending a download request for the first data block from the first client or second client to the cloud storage system,

p) in response thereto, sending the encrypted first data block from cloud storage system to the first client or second client device,

q) decrypting the received first data block with the symmetric key at the first client or second client device.

[0021] Steps o) to q) provide a retrieval mechanism for the first data block.

Preferably, the first or second client device send the hash of the first data block. In return thereto the cloud storage system sends the encrypted first data block. The first or second client device can then recover the first data block by using the corresponding symmetric key.

[0022] According to a further preferred embodiment, the method comprises the additional steps of:

if the first client device cannot be accessed for executing step i) or step j), providing an upload request for the second data block from the cloud storage system to the second client device,

in response thereto, encrypting, at the second client device, the second data block with a further randomly generated symmetric key, creating a further challenge of hashed bits at randomly chosen bit positions of the second data block or of a bit range of the second data block and encrypting the further challenge with the private key of the second client device and uploading the encrypted second data block and the further challenge from the first second device to the cloud storage system,

temporarily storing the encrypted second data block and the further challenge at the cloud storage system, once the first client device can be accessed again, perform step i) or steps i) and j), and, if the comparison is successful, delete the temporarily stored encrypted second data block and the further challenge from the cloud storage system.

[0023] If the first client device cannot be reached for example due to failure or network downtime, the second client device may not have access to a respective data block until the first client device vouches for the second client device's claim of ownership. For resolving such situation and for making the method independent from the availability of the client device, after receiving the hash of the first data block, the cloud storage system issues an upload request and multiple copies of the same data block are stored temporarily until all client devices owning the same data block have been verified. Thereafter, the "extra" copy of the data block can be deleted.

[0024] According to another preferred embodiment, the method comprises the additional step of: performing, at the cloud storage system, homomorphic encryption in regard to uploaded challenge and the uploaded encrypted bits from the second client device. Homomorphic encryption has been proven especially advantageous and effective. According to a further preferred embodiment, the method comprises the additional step of:

sending and acknowledgment, by the first client device, second client device and/or the cloud storage system, in response to an upload.

[0025] According to another preferred embodiment, the method comprises a public key infrastructure for provisioning the public key of the first client device and/or the public key of the second client device. Such public key infrastructure is preferably connected via a communication network with the client devices and/or the cloud storage system.

[0026] According to a further preferred embodiment, the first data block and/or the second data block comprises a size of 0.5, 1 , 2 or 5 MB. According to another preferred embodiment, an individual symmetric key is provided to each first data block and/or each second data block.

Brief description of drawings [0027] These and other aspects of the invention will be apparent from and elucidated with reference to the embodiments described hereinafter.

[0028] In the drawings:

[0029] Fig. 1 shows an arrangement for performing the method according to a preferred embodiment of the invention in a schematic view, and

[0030] Figs. 2 to 6 show different flow charts for the method according to the

preferred embodiment of the invention.

Description of embodiments

[0031] Fig. 1 shows a basic mechanism of the method according to a preferred embodiment of the invention. When a first client device 1 wants to upload a sensitive first data block 2 onto a cloud storage system 3, the first client device 1 first sends plaintext metadata in form of a hash of the first data block 2 to the cloud storage system 3 to check if the first data block 2 has been stored already on the cloud storage system 3 (Step 1.1 ). This metadata is short and uniquely identifies the first data block 2. If the first data block 2 does not exist on the cloud storage system 3 yet, the first client device 1 sends the first data block 2 in encrypted form together with cryptographic material to the cloud storage system 3 (Step 1.3) upon receiving an upload request (Step 1.2). Subsequently, the cloud storage system 3 stores the encrypted first data block 2 plus the cryptographic material (Step 1.4).

[0032] If the second client device 4 wants to store a second data block 5, the cloud storage system 3 uses the metadata provided by the second client device 4 (Step 2.1 ) to check whether the cloud storage system 3 already stores the second data block 5. If the cloud storage system 3 has not seen this metadata before, i.e., the cloud storage system 3 received the upload request for a new block i.e. the second data block 5, the same steps as for the first client device 1 (Step 1.2 to 1.4) are carried out. Otherwise, the cloud storage system 3 uses the cryptographic material for a challenge- response exchange with the second client device 4 (Steps 2.2 to 2.3) to verify that the stored first data block 2 and the second data block 5 that the second client device 4 wants to upload are the same. Thus, second client device 4 proves ownership of the same data block 2, without revealing any information on the content of the first data block 2. If the verification is successful, second client device 4 is added as an owner of the first data block 2, granting second client device 4 the right to access it in the future (Step 2.4).

[0033] The method ensures that each individual data block 2, 5 is not only stored only once but also transferred to the cloud storage system 3 only once, which minimizes the bandwidth usage, while guaranteeing the

confidentiality of the data of the data block 2, 5 in the sense that the cloud storage system 3 does not learn anything about the content of the data block 2, 5 itself except for the metadata derived from the data. Since the data is sent block by block, as opposed to sending files, an attacker with access to the cloud storage system 3 further cannot deduce anything about the size of the stored data block 2, 5 because all data blocks 2, 5 are of equal size.

[0034] Depending on the implementation of the cryptographic challenge, it is

advantageous for the cloud storage system 3 to interact with the first client device 1 as the original uploader of the first data block 2 in order to grant access to the second client device 4 that passed said ownership test, as described later. If the first client device 1 cannot be reached (all the time), the second client device 4 may not have access to the first data block 2 until the first client device 1 vouches for the second client device's 4 claim of ownership.

[0035] A delay-tolerant variant to the basic scheme described before solves this issue: After receiving the metadata, the cloud storage system 3 always issues an upload request and multiple copies of the same data block 2, 5 are stored temporarily until all clients devices 1 , 4 owning the same data block 2, 5 have been verified. At this point, the extra copy (or copies) of the data block 5 can be deleted. The advantage of this scheme is clearly that there is no dependency on the availability of clients 1 , 4. However, slightly more disk space is used temporarily at the cloud storage system 3 and also more bandwidth is consumed due to the repeated upload of the same data block 2, 5. Overall, the space requirements on the cloud storage system 3 is lowered substantially while preserving the

confidentiality of the stored data.

[0036] Fig. 2 shows a more concrete embodiment of the method described before for storing the first data block 2 and a challenge for the first data block 2 in the cloud storage system 3. A hash of the data item is used as the short and (most likely) unique metadata for each data item. Given a strong hash function, computing the data block that corresponds to a given hash is infeasible. Each data block 2, 5 is encrypted using a new randomly generated symmetric key. The first client device 1 holds the symmetric keys. Since symmetric keys are small, key storage does not require much space.

[0037] A challenge is implemented by asking for the hash of bits at randomly chosen bit positions or ranges in the first data block 2. If the first data block 2 is reasonably large, e.g., in the order of megabytes, and random ranges are chosen, it is infeasible for an attacker to get the correct hash. Fig. 2 shows a insertion mechanism using hashes and cryptographic challenges based on ranges. Note that the first client device 1 respectively client A signs the challenge so that it its authenticity can be verified, i.e., by a public key infrastructure 6.

[0038] Second client device 4 respectively client B can prove that it owns the same data block 2, 5 by extracting the bits at the ranges given in the challenge, hashing them, encrypting the result with its own public key, and sending the signed result to the cloud storage system 3, see Fig. 3 showing the second client device 2 trying to store the same data block 5 on the cloud storage system 3. Instead of storing the data block 5 again, the second client device 4 must prove that it has the data block 5 by submitting the right response to a challenge. Alternatively, it can also use the first client device's 1 public key to encrypt the result. [0039] The cloud storage system 3 can then ask the first client device 1 to verify the received result by forwarding the old challenge and the response received from the second client device 4 to the first client device 1. The first client device 1 verifies the second client device's 4 claim of ownership by computing the hash of the bits at the given ranges, encrypting this hash with the second client device's 4 public key and checking for equality.

[0040] Alternatively, the first client device 1 can keep track of its currently issued challenges and store the hashes. In this case, the first client device 1 must only encrypt the hash with the second client device's 4 public key to verify that the second client 4 indeed possesses the same data block 2, 5. If the verification is successful, the first client device 1 encrypts the symmetric key K that it used to encrypt this block with the second client device's 4 public key and sends it to the cloud storage system 3, together with a new challenge for the same data block 2, 5. The cloud storage system 3 stores the new challenge and the encrypted key K, see Fig. 4.

[0041] Finally, the cloud storage system 3 sends the encrypted key K to the

second client device 4. This message is signed by the first client device 1 so that the second client device 4 can verify the authenticity of the message. Since the block key K is encrypted with the second clients device's 4 public key the second client device 4 can decrypt it and store it for later use, see Fig. 5.

[0042] The data block retrieval mechanism works in an analogous manner. The first client device 1 asks for a specific data block 2, 5 by sending the blocks metadata, e.g., a hash of the data block 2,5. The cloud storage system 3 returns the encrypted data block 2, 5. The first client device 1 can then use the corresponding symmetric key to recover the first data block 2, see Fig. 6.

[0043] While the invention has been illustrated and described in detail in the

drawings and foregoing description, such illustration and description are to be considered illustrative or exemplary and not restrictive; the invention is not limited to the disclosed embodiments. Other variations to be disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed invention, from a study of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the indefinite article "a" or "an" does not exclude a plurality. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage. Any reference signs in the claims should not be construed as limiting scope. Reference signs list

1 first client device

2 first data block

3 cloud storage system

4 second client device

5 second data block

6 public key infrastructure