Security Challenges in Cloud Computing: A Closer Look

Slide Note
Embed
Share

Addressing the privacy compromise in cloud computing, this research delves into the vulnerabilities of transferring code and data to cloud providers. It explores the threat model where only the CPU and secure co-processor are trusted, shedding light on how encryption alone may not suffice to prevent memory access trace leaks. The study introduces Oblivious RAM (ORAM) as a means to conceal access patterns from untrusted servers, while also highlighting the drawbacks of ORAM implementations.


Uploaded on Aug 06, 2024 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

E N D

Presentation Transcript


  1. Chang Liu, Michael Hicks, Elaine Shi The University of Maryland, College Park

  2. Motivation Cloud computing compromise users privacy Transfer both code and data to the cloud provider Threat Model CPU and secure co-processor can be trusted All other hardware is not trusted Memory Memory bus Etc. Encryption is not enough Memory access trace may leak information about secret data

  3. Scenario 1 Program Memory bus a[x]:=1 read(x) readarr(a, x)

  4. Scenario 2 Program Memory bus read(s) true branch: write (x) false branch: write (y) if(s) then else x:=1 y:=1

  5. Scenario 3 Program Memory bus read(s) true branch: fetch instruction 2 false branch: fetch instruction 4 1: if(s) then 2: 3: else 4: x:=1 x:=1

  6. Oblivious RAM (ORAM) A primitive to hide access patterns from the untrusted server Practical implementation Ren et al. Design Space Exploration and Optimization of Path Oblivious RAM in Secure Processors, In Proc. of ISCA 13 Drawback ?(log3?) overhead for an ORAM of size ?

  7. Problem with ORAM Program 1 a[1]:=0 a[] can be store in DRAM w/o encryption Program 2 for i=1 10 a[] can be store in DRAM w/ encryption a[i]=1 Program 3 for i=1 10 b[a[i]]=i c[a[i]]=c[a[i]]+1 end for a[] can be stored in DRAM w/ encryption; b[] and c[] can be stored in two ORAM banks

  8. Observations Some data can be stored in DRAM w/ or w/o encryption Some data need be stored in ORAM We can use multiple ORAM banks to store different data

  9. Question pink-question-mark Normal Program Tradeoff (This work) ORAM Secure Secure Insecure Inefficient Efficient Efficient

  10. Questions: How to do this safely? Q1: What programs are secure Memory trace non-interference Q2: How to check if a program is secure A security type system with trace Q3: How to get a secure program A security compiler

  11. Language Syntax

  12. Trace ???? ?,???????? ?,?1,?2 ????? ?,????????? ?,?1,?2 ????? ? ? ?1@?2

  13. Memory Memory ? is a mapping, which maps a variable to a pair (?,?) ? is either a Nat or a mapping from Nat to Nat (i.e. array) ? is a security label which is either L or an ORAM A security environment is a mapping from variable to a type (i.e. Nat l, or Array l) ( -validity) ? is -valid ? = ??? ? ? ???.? ? = ?,? ? = ????? ? ? ??? ???.? ? = ?,?

  14. Semantics ? ? = (?,?) ? = ???(?,????(?,?)) ?,? ?? ?,? ??? ? = (? ,?) ? = ???(?,????? ?,? ) ?,? ? ?@? ?[? ?,? ]

  15. Memory Trace Non-interference DEF. Given a security environment , a program ? satisfies -memory trace obliviousness if for any two - valid memories ?1 ??2 if ?1,? ?1?1 ?2,? ?2?2 and , then ?1 ?2, and ?1 ??2

  16. Security Type System Cannot get trace without given memory configuration Trace Pattern ???? ???????? ? ?????(?)????????(?) ????(?,?,?) ?????(?) ?@? ? ? + ?

  17. Security Type System (contd) ?0 ? ? ?:??? ?;? ? = ??? ? ,?0 ? ?;?@??? ? ,????? ? ?:??? ?;? ? ?0 ? ?1 ??2 ? = ?1 ? ?0 ? ? = ?1+ ?2 ,? ?0 ??;?? ? = 1,2 ,?0 ?? ?,?1,?2;?@?

  18. Soundness Theorem 1. If ,? ?;?, then ? satisfies memory trace obliviousness

  19. Compilation 1. Type checking Standard 2. Allocating variables to ORAM banks Allocate each secret variable in a separate ORAM bank Other allocation strategy (open) 3. Insert padding instructions (for If) Least common subsequence problem

  20. Evaluation Programs Dijstra (100 nodes, 10,000 edges) K-means (100 data points, k=2) Matrix Multiplication (40 40, 20 20) Compilation Strategies Strawman: place all secret variables in a giant ORAM bank Opt 1: Store each variable in a separate ORAM bank, but store whole array in the same ORAM bank Opt 2: store each element in an array in a different ORAM bank when possible (equivalent to encryption only)

  21. Asymptotic Analysis Progra m Memory accesses for data Memory accesses for instructions Strawman Opt 1 Opt 2 Strawman Opt 1 Opt 2 ?(?2log2?) ?(?2log2?) ?(?2log2?) ?(?2?log??) ?(?2?) ?(?2?) Dijstra ?(???log??) ?(???log??) ?(????log??) ?(???) ?(????) ?(????) K-means Mat. mul. ?(?3logc?) ?(?3logc?) ?(?3) ?(?3?logc?) ?(?3?) ?(?3?) Find max. ?(?logc?) ?(?logc?) ?(??logc?) ?(?) ?(??) ?(??)

  22. Simulation Results

  23. Conclusion

  24. Q&A

Related


More Related Content