Week 9: Establishing that the hardware is shared
Colocation as a precondition every shared-hardware channel depends on, and as a problem a provider can defend on its own terms
19 April 2027
Before a shared-hardware channel can be used it has to be found, and locating the sharing is a separate problem with its own separate defence.
This week introduces no new channel, which is the reason it exists. Every shared-hardware channel in this course — week 6’s cache timing most obviously, but equally the acoustic and thermal channels once the room is shared rather than the silicon — carries a precondition that the previous seven weeks quietly assumed: the attacker is already next to the victim. On a machine you own, that is trivially true and not worth a sentence. On rented hardware it is the whole problem, and it is defensible independently of the channel it enables.
Ristenpart, Tromer, Shacham and Savage’s 2009 paper “Hey, You, Get Off of My Cloud” is the study that separated the two questions. Its extraction results are, by this course’s standards, weak — a coarse same-core cache-contention measurement, five years before week 6’s technique existed and far below it in resolution. Its placement results are the contribution: the authors mapped a commercial provider’s instance-assignment policy from the outside, using internal IP allocation and round-trip times, and showed they could then launch instances until one landed on a chosen target’s physical host, confirming the landing cheaply. No misconfiguration was involved at any point. The enabling condition was the provider’s own economics, which reward packing tenants densely.
Splitting the problem this way changes what a defender can do. The extraction step is closed with the expensive, per-channel countermeasures the rest of this course prices out. The placement step is closed with scheduling and accounting: randomised assignment, dedicated hosts sold at a premium, and not publishing the allocation structure an attacker maps from. Providers spent the following decade on the second, because it is cheaper and it defends every channel at once — which is the first appearance in this course of a defence that is not channel-specific, and a preview of the argument week 12 closes on.
Outline#
- what a precondition is worth defending separately from what it enables
- how allocation structure and round-trip time were used to infer, and then arrange, colocation on a commercial provider
- why the placement defence generalises across channels while every extraction defence in this course does not
Readings
- Thomas Ristenpart, Eran Tromer, Hovav Shacham and Stefan Savage (2009). Hey, You, Get Off of My Cloud: Exploring Information Leakage in Third-Party Compute Clouds. ACM CCS 2009, 199-212.
- Venkatanathan Varadarajan, Yinqian Zhang, Thomas Ristenpart and Michael Swift (2015). A Placement Vulnerability Study in Multi-Tenant Public Clouds. USENIX Security 2015, 913-928.
Teaching team
- Marisol Quaye — convenor