News for hackers. Stuff that matters.
Re:Zenbleed by Bluecobra on Monday July 24, 2023 @12:43PM (#36850784)
Yup! I worked at a few companies that would co-mingle Internet facing/DMZ VMs with internal VMs. When pointing this out and recommending we should airgap these VMs to it's own dedicated hypervisor it always fell on deaf ears. Jokes on them I guess.
Re:Zenbleed by Kwpolska on Monday July 24, 2023 @04:49PM (#36854002)
I'm pretty sure AWS/Azure/GCP don’t assign separate boxes to every customer, and somehow they’re fine.
Re:Zenbleed by yencabulator on Monday July 24, 2023 @05:00PM (#36854130)
You can pay AWS a premium to make sure you're the only tenant on the physical machine. You can also split your own stuff into multiple tenants, and keep those separate too.
Re:Zenbleed by nicolas_17 on Monday July 24, 2023 @06:19PM (#36855036)
At which point you don't really need the flexibility of AWS and you might as well get a Dedicated Server elsewhere?
Re:Zenbleed by yencabulator on Monday July 24, 2023 @06:21PM (#36855054)
It'll still let you do the elastic scaling stuff, billing for actual usage instead of racked hardware.
Re:Zenbleed by segfaultbuserr on Monday July 24, 2023 @11:55PM (#36857674)
Eric Brandwine (VP/DE @ AWS) said publicly in 2019 that EC2 had never scheduled different tenants on the same physical core at the same time, even before we learned about these kinds of side-channel attacks.

https://www.youtube.com/watch?v=kQ4H6XO-iao&t=2485s

Re:Zenbleed by yencabulator on Tuesday July 25, 2023 @12:01AM (#36857714)
Yes (lowest vCPU seems to be 2 everywhere), and that protects against this attack. However, this thread was talking about airgapping hosts, which is needed for the general threat of VM escapes.
Re:Zenbleed by fulafel on Tuesday July 25, 2023 @11:49AM (#36864119)
At least Fargate and Lightsail can select < 2 vCPU. (and maybe micro EC2 instance types?)
Re:Zenbleed by yencabulator on Tuesday July 25, 2023 @12:26PM (#36864864)
Well, that does sound like those were vulnerable then, if they happened to run on Zen 2. (Obviously microcode patched by now.)

As usual, cost is the biggest hindrance to security.

Re:Zenbleed by vetrom on Tuesday July 25, 2023 @12:58AM (#36858082)
Even before then, the sufficiently paranoid (but still bound to AWS for whatever reason) would track usage/steal/IO reporting along with best guesses for Amazon hardware expidenture and use that information to size instances to attempt to coincide with 1:1 node membership.
Re:Zenbleed by Bluecobra on Monday July 24, 2023 @06:00PM (#36854847)
Good point, I should have clarified that I was talking about on-prem VMs e.g. VMWare.
Re:Zenbleed by akyuu on Monday July 24, 2023 @08:34PM (#36856192)
Not sure if they're actually fine, some researchers have exploited this vulnerability on AWS instances that use affected EPYC CPUs: https://twitter.com/0xdabbad00/status/1683581484337348608
Re:Zenbleed by terom on Tuesday July 25, 2023 @07:19AM (#36860665)
That sounds like it's leaking across user/process boundaries on a single EC2 instance, which presumably also requires the processes to be running on the same core.

Leaks between different EC2 instances would be far more serious, but I suppose that wouldn't happen unless two tenants / EC2 instances shared SMT cores, or the contents of the microarchitectural register file was persisted across VM context switches in an exploitable manner.

Re:Zenbleed by mr_toad on Monday July 24, 2023 @08:43PM (#36856278)
Just running on a separate core would avoid this bug.
Re:Zenbleed by insanitybit on Monday July 24, 2023 @11:19PM (#36857452)
Yes but the Firecracker VMs are pinned to specific cores. So no two tenants never share a CPU core. Other than Rowhammer, has there been a hardware vulnerability of this nature that has worked x-core? I don't recall.

Still, I think that if your company is handling user data it's worth seriously considering dedicated instances for any service that encounters plaintext user information.

Re:Zenbleed by fulafel on Tuesday July 25, 2023 @04:32AM (#36859539)
Interesting. Physical cores or SMT virtual cores? Is there a link to their docs about this?
Re:Zenbleed by insanitybit on Tuesday July 25, 2023 @11:01AM (#36863312)
I honestly think I only ever saw an AWS Security Eng tweet about it lol sorry
Re:Zenbleed by skeggse on Tuesday July 25, 2023 @04:28PM (#36868900)
Re:Zenbleed by fulafel on Tuesday July 25, 2023 @04:31AM (#36859535)
They keep breaches quiet so we don't know how porous their security is in practice.