nomad mitigating arbitrary cloud side channels via
play

Nomad : Mitigating Arbitrary Cloud Side Channels via - PowerPoint PPT Presentation

Nomad : Mitigating Arbitrary Cloud Side Channels via Provider-Assisted Migration Soo-Jin Moon, Vyas Sekar Michael K. Reiter Context: Infrastructure-as-a-Service Clouds Client API Cloud Controller VM VM Machine VM VM VM Machine Machine


  1. Nomad : Mitigating Arbitrary Cloud Side Channels via Provider-Assisted Migration Soo-Jin Moon, Vyas Sekar Michael K. Reiter

  2. Context: Infrastructure-as-a-Service Clouds Client API Cloud Controller VM VM Machine VM VM VM Machine Machine

  3. Information Leakage via Co-Residency Co-Residency Cloud Controller VM VM Machine

  4. Information Leakage via Co-Residency Co-Residency Cloud Controller Shared resources VM VM Machine Shared Resources

  5. Information Leakage via Co-Residency Co-Residency Cloud Controller Shared resources Side Channels VM VM Machine Shared Resources

  6. Information Leakage via Co-Residency Co-Residency Cloud Controller Shared resources Side Channels VM VM Machine Information Leakage Shared Resources

  7. Limitations of Current Defenses 1. Requires significant/detailed upgrades OS OS e.g., Noise injection Hypervisor e.g., Deterministic execution Hardware e.g., New cache design 2. Attack-specific Proposed defense includes but not limited to: Y. Zhang et al., CCS2013; T. Kim et al., USENIXSec 2012; F. Liu and R. Lee, Micro 2014

  8. Limitations of Current Defenses 1. Requires significant/detailed upgrades OS OS e.g., Noise injection Hypervisor e.g., Deterministic execution Hardware e.g., New cache design 2. Attack-specific What about future side-channel attacks? Proposed defense includes but not limited to: Y. Zhang et al., CCS2013; T. Kim et al., USENIXSec 2012; F. Liu and R. Lee, Micro 2014

  9. Ideal Properties 1) General 2) Immediately deployable

  10. Ideal Properties 1) General 2) Immediately deployable Single-tenancy?

  11. Ideal Properties 1) General 2) Immediately deployable Single-tenancy?

  12. Nomad Ideas 1) General 2) Immediately deployable

  13. Nomad Ideas 1) General Tackle root-cause → Minimize co-residency 2) Immediately deployable

  14. Nomad Ideas 1) General Tackle root-cause → Minimize co-residency 2) Immediately deployable Migration

  15. Nomad Vision: Migration-as-a-Service Provider-assisted • Cloud Controller VM VM VM VM Machine Machine Machine

  16. Nomad Vision: Migration-as-a-Service Provider-assisted • Cloud Controller Move VMs {…} VM VM VM VM Machine Machine Machine

  17. Nomad Vision: Migration-as-a-Service Opt-in Service • Service offering Cloud Clients Provider Opt-in? Provider-assisted • Cloud Controller Move VMs {…} VM VM VM VM Machine Machine Machine

  18. Nomad Practical Challenges Logic Characterize information leakage due to co-residency Cloud Controller VM VM VM VM Machine Machine Machine

  19. Nomad Practical Challenges Scalable Design Logic e.g., can Amazon EC2 run this? Characterize information leakage due to co-residency Cloud Controller VM VM VM VM Machine Machine Machine

  20. Nomad Practical Challenges Scalable Design Logic e.g., can Amazon EC2 run this? Characterize information leakage due to co-residency Practical Impact (cloud) Minimal modifications? Cloud Controller VM VM VM VM Machine Machine Machine

  21. Nomad Practical Challenges Scalable Design Logic e.g., can Amazon EC2 run this? Characterize information leakage due to co-residency Practical Impact (cloud) Minimal modifications? Cloud Controller VM VM VM VM Machine Machine Machine Practical Impact (applications) 1) Advancement of VM migration techniques 2) Many cloud workloads with in-built resilience to migration

  22. Our Work 1. Idea General side-channel defense via migration

  23. Our Work 1. Idea 2. Logic Characterize information General side-channel leakage due to co-residency defense via migration

  24. Our Work 1. Idea 2. Logic Characterize information General side-channel leakage due to co-residency defense via migration 3. Scalable Design Scalable VM migration strategy that can handle large cloud deployments

  25. Our Work 1. Idea 2. Logic Characterize information General side-channel leakage due to co-residency defense via migration 3. Scalable Design Scalable VM migration strategy that can handle large cloud deployments 4. Practical Impact Practical OpenStack implementation with minimal modifications

  26. Our Work 1. Idea 2. Logic Characterize information General side-channel leakage due to co-residency defense via migration 3. Scalable Design Scalable VM migration strategy that can handle large cloud deployments 4. Practical Impact Practical OpenStack implementation with minimal modifications

  27. Threat Model Objective: Extract secrets via co-residency • Can use any kind of resource • Can launch/terminate VMs at will • VMs of a given client can collaborate

  28. Threat Model Objective: Extract secrets via co-residency • Can use any kind of resource • Can launch/terminate VMs at will • VMs of a given client can collaborate • Cannot control VM placement • No info. sharing across distinct clients

  29. Threat Model Objective: Extract secrets via co-residency • Can use any kind of resource • Can launch/terminate VMs at will • VMs of a given client can collaborate • Cannot control VM placement • No info. sharing across distinct clients ? Don’t know which other clients are malicious • Provider

  30. Information Leakage (InfoLeak) Model InfoLeak ? Clients

  31. Information Leakage (InfoLeak) Model InfoLeak ? Clients Replicated? (R or NR) R B2 B1 VM-level view

  32. Information Leakage (InfoLeak) Model InfoLeak ? Clients Replicated? (R or NR) R B2 B1 VM-level view NR B1 B2

  33. Information Leakage (InfoLeak) Model InfoLeak ? Clients Replicated? (R or NR) Collaborating? (C or NC) C R R1 R2 B2 B1 VM-level view NR B1 B2

  34. Information Leakage (InfoLeak) Model InfoLeak ? Clients Replicated? (R or NR) Collaborating? (C or NC) C R R1 R2 B2 B1 VM-level view NR NC R2 R1 B1 B2

  35. Information Leakage ( InfoLeak ) Model Replicated? NR R <NR,NC> <R,NC> NC Least InfoLeak Collaborating? Most InfoLeak C <NR,C> <R,C>

  36. Our Work 1. Idea 2. Logic Characterize information General side-channel leakage due to co-residency defense via migration 3. Scalable Design Scalable VM migration strategy that can handle large cloud deployments 4. Practical Impact Practical OpenStack implementation with minimal modifications

  37. System Overview Cloud Controller Move VMs {…} VM VM VM VM Machine Machine Machine

  38. System Overview Deployment model (e.g., <NR,NC>) Cloud Clients Provider Opt-in? Cloud Controller Move VMs {…} VM VM VM VM Machine Machine Machine

  39. Operational Timeline 1 epoch = D time units Time (epoch) Sliding Window of ∆ epochs Run placement algorithm every epoch

  40. Operational Timeline 1 epoch = D time units Time (epoch) Sliding Window of ∆ epochs Run placement algorithm every epoch Side-channel Parameters: • K: Information leakage rate (i.e., bits per time unit) • P: secret length (i.e., bits)

  41. Operational Timeline 1 epoch = D time units Time (epoch) Sliding Window of ∆ epochs Run placement algorithm every epoch Extracted secret (bits) if two VMs are co-resident for ∆ epochs Provider chooses D and ∆ to AT LEAST satisfy: D * ∆ * K < P

  42. Placement Algorithm Deployment Client Model Recent VM Workloads & (e.g.,<NR,NC>) Placements Constraints Placement Algorithm VM Placement

  43. � Placement Algorithm Deployment Client Model Recent VM Workloads & (e.g.,<NR,NC>) Placements Constraints Goal (per epoch): Minimize a global sum of a client- pair InfoLeak across past ∆ epochs Placement i.e., Algorithm ! 𝐽𝑜𝑔𝑝𝑀𝑓𝑏𝑙 * →* - ([𝑢 − ∆, 𝑢]) *,*7 subject to a fixed migration budget VM Placement

  44. � Placement Algorithm Deployment Client F (Deployment Model) Model Recent VM Workloads & (e.g.,<NR,NC>) Placements Constraints Goal (per epoch): Minimize a global sum of a client- pair InfoLeak across past ∆ epochs Placement i.e., Algorithm ! 𝐽𝑜𝑔𝑝𝑀𝑓𝑏𝑙 * →* - ([𝑢 − ∆, 𝑢]) *,*7 subject to a fixed migration budget VM Placement

  45. � Placement Algorithm Deployment Client F (Deployment Model) Model Recent VM Workloads & (e.g.,<NR,NC>) Placements Constraints Goal (per epoch): Minimize a global sum of a client- pair InfoLeak across past ∆ epochs Placement i.e., Algorithm ! 𝐽𝑜𝑔𝑝𝑀𝑓𝑏𝑙 * →* - ([𝑢 − ∆, 𝑢]) *,*7 subject to a fixed migration budget VM Placement F (Network Capacity)

  46. Challenge: Scalability Inputs Should handle tens of thousands of servers Placement Algorithm VM Placement

  47. Challenge: Scalability Inputs Should handle tens of thousands of servers ILP (Integer Linear Programming) • Placement Algorithm For 40 machines, D > 1 day VM Placement

  48. Challenge: Scalability Inputs Should handle tens of thousands of servers ILP (Integer Linear Programming) • Placement Algorithm For 40 machines, D > 1 day VM Placement

  49. Challenge: Scalability Inputs Should handle tens of thousands of servers ILP (Integer Linear Programming) • Placement Algorithm For 40 machines, D > 1 day Basic Greedy • For 400 machines, D > 1 day VM Placement

Recommend


More recommend