1 / 22

Security and Privacy in Cloud Computing

Security and Privacy in Cloud Computing. Ragib Hasan University of Alabama at Birmingham CS 491/691/791 Fall 2011. Lecture 10 09/15/2011. Securing Cloud Computations. Goal : Learn about techniques for verifying computations outsourced to a cloud Review Assignment #5

ashtyn
Télécharger la présentation

Security and Privacy in Cloud Computing

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Security and Privacy in Cloud Computing Ragib HasanUniversity of Alabama at BirminghamCS 491/691/791 Fall 2011 Lecture 10 09/15/2011

  2. Securing Cloud Computations Goal: Learn about techniques for verifying computations outsourced to a cloud Review Assignment #5 Du et al., RunTest: Assuring Integrity of Dataflow Processing in Cloud Computing Infrastructures, AsiaCCS 2010 Fall 2011 Lecture 10 | UAB | Ragib Hasan

  3. Outsourcing Computations • Goal? • Outsource a computation by sending the following to a cloud • A computation (e.g., a (sequence of operations)) • Input data • Get back the final result data set Fall 2011 Lecture 10 | UAB | Ragib Hasan

  4. Outsourcing Computations: Examples Send a large scale image processing job to a cloud Analyzing a large scale data set Fall 2011 Lecture 10 | UAB | Ragib Hasan

  5. Outsourcing Computations: Model Dataflow computing is the dominant model Declares how things connect(unlike imperative programming, which focuses on how things happen) Data objects flow from one node to another, Each node applies a specific function to data inputs to produce output data Fall 2011 Lecture 10 | UAB | Ragib Hasan

  6. Verifying Dataflow Computations in a Cloud Scenario User sends her data processing job to the cloud. Clouds provide dataflow operation as a service (e.g., MapReduce, Hadoop etc.) Problem: Users have no way of evaluating the correctness of results Fall 2011 Lecture 10 | UAB | Ragib Hasan

  7. Threat Model • Assets: • Confidentiality of • Input data • Output data • Intermediate data • Functions • Integrity of computations Fall 2011 Lecture 10 | UAB | Ragib Hasan

  8. Threat Model • Attacker: • The cloud provider, or an intruder who controls part of the cloud • The attacker can (selectively) modify code running on the inputs, create invalid outputs etc. Fall 2011 Lecture 10 | UAB | Ragib Hasan

  9. Map Reduce Most popular dataflow computing system Invented by Google and at one time widely used for indexing webpages and pageranks Allows large scale reliable computation Fall 2011 Lecture 10 | UAB | Ragib Hasan

  10. MapReduce Overview • Master Assign MapTask • Assign ReduceTask Write to DFS Remote Read Local Write • Read from DFS P1 P1 P1 Output 1 ... … … … … … Pr Pr Pr • R1 • M1 B1 • … … • … … B2 • Input • M2 • … … … … Output r • Rr Bn • Mn • Mapper • Reducer • Map Phase Intermediate Result Reduce Phase • DFS • DFS Fall 2011 Lecture 10 | UAB | Ragib Hasan • 10/32

  11. map map k k k v v v k k k v v v MapReduce: The Map Step Input key-value pairs Intermediate key-value pairs … … k v Fall 2011 Lecture 10 | UAB | Ragib Hasan

  12. Intermediate key-value pairs Key-value groups reduce reduce k k v v k v v v k k k v v v k v v group k v … … k v k v MapReduce: The Reduce Step Output key-value pairs … Fall 2011 Lecture 10 | UAB | Ragib Hasan

  13. Word Count using MapReduce map(key, value): // key: document name; value: text of document for each word w in value: emit(w, 1) reduce(key, values): // key: a word; value: an iterator over counts result = 0 for each count v in values: result += v emit(result)

  14. MapReduce – WordCount Application (Hello, 1) (Bye, 1) Hello World, Bye World!  (World, 1) (World, 1) (Hello, 2) (Bye, 1) (Welcome, 1) (to, 3) • M3 • M2 • M1 R1 (Welcome, 1) (to, 1) (to, 1) Welcome to ACSAC, Goodbye to ACSAC. (ACSAC, 1) (Goodbye, 1) (ACSAC, 1) (World, 2) (ACSAC, 2) (Goodbye, 2) (MapReduce, 2) R2 (Hello, 1) (to, 1) Hello MapReduce, Goodbye to MapReduce. (MapReduce, 1) (Goodbye, 1) (MapReduce, 1) • Map Phase Intermediate Result Reduce Phase • DFS • DFS Fall 2011 Lecture 10 | UAB | Ragib Hasan

  15. Verification in Clouds Problem Given just the inputs to each node, how to verify the computation done in a cloud Possible approaches? Re-computation Sampling Replication Auditing Attestation Trusted computing Fall 2011 Lecture 10 | UAB | Ragib Hasan

  16. Re-computation • Key idea: • Re-do the computation • Advantages: • 100% guarantee that any mistakes will always be detected • Disadvantages: • Worst case cost (a check requires equal time and same computation cost as the original computation) Fall 2011 Lecture 10 | UAB | Ragib Hasan

  17. Sampling • Key idea: • Feed known values in the inputs, check for known outcomes in the corresponding outputs • Advantages • Efficient • Disadvantages: • A clever attacker can figure out the test inputs and be honest for that cycle Fall 2011 Lecture 10 | UAB | Ragib Hasan

  18. Replication • Key idea: • Replicate the same computation using multiple set of nodes • Use majority voting to verify correctness • Advantages: • Computationally faster (same speed since all computations can run in parallel) • Disadvantages: • Costly, since multiple copies of same computations need to be run • Can be defeated by a clever adversary Fall 2011 Lecture 10 | UAB | Ragib Hasan

  19. Auditing • Key idea: • Have each node sign inputs, what it has done, and outputs • Later, an auditor can check for correct computation • Advantages: • Provides non-repudiation • Allows forensic investigation • Disadvantages: • Adds to computation time due to the crypto • Expensive audits Fall 2011 Lecture 10 | UAB | Ragib Hasan

  20. Attestation • Key idea: • Verify a code or path of a computation • Advantages: • Can ensure that the correct code was run on the data • Disadvantages: • Expensive to compute Fall 2011 Lecture 10 | UAB | Ragib Hasan

  21. Trusted Computing • Key idea: • Ensure that the cloud nodes are using trustworthy configuration and software • Advantages • Disadvantages Fall 2011 Lecture 10 | UAB | Ragib Hasan

  22. Summary Verifying computations is difficult Provably secure approaches are often very computation-intensive, and therefore not practical Fall 2011 Lecture 10 | UAB | Ragib Hasan

More Related