Live data from Hacker News

ZombieLoad: Cross Privilege-Boundary Data Leakage on Intel CPUs

cyberus-technology.de

121–130 of 337 posts

Re: ZombieLoad: Cross Privilege-Boundary Data Leakage on Intel CPUs

#121
post #82

Earlier quoted context omitted.

Security by obscurity is no security

This saying rubs me the wrong way, because confidentiality is 1/3 of security. Obscurity is critical or this wouldn't be a vulnerability.

Confidentiality is a valid layer of security, however security solely by obscurity is wrong.

You can have unintentional exploits/vulnerabilities in free/open source software or hardware too.

Re: ZombieLoad: Cross Privilege-Boundary Data Leakage on Intel CPUs

#122

Earlier quoted context omitted.

You can kiss any semblance of reasonable performance goodbye if you eliminate "speculative execution". Pipelining is the most basic tool in the toolbox. Even microcontrollers do it.

Pipelining isn't strictly the same thing as speculation, though, is it? If I have, add %rax, %rbx add %rcx, %rdx I can pipeline those without needing to speculate on anything. If there is a dependency on a previous instruction, then we might have to speculate, but hopefully there is still some case for pipelining? Have any of these bugs been completely based on speculation, or is it always speculating across privileg…

It's related. If you want decent performance with pipelining, you're going to want to speculate at least a bit -- assume that FP math doesn't trigger exceptions, assume that you predicted branches correctly, assume that memory accesses don't fault, etc.

Intel does more speculation, but you won't find anything beyond the tiniest embedded CPUs which don't do any.

Re: ZombieLoad: Cross Privilege-Boundary Data Leakage on Intel CPUs

#123

Do cloud providers commonly float cores between VMs? I could see instances like the AWS T family (burstable) sharing, but I had always assumed that most instance types don't over-provision CPU. If that's the case, my CPUs are likely pinned to my VM. I could still have evil userland apps spying on my own VM, but I would not expect this to allow other VMs to spy on mine.

I don't think many cloud providers explicitly pin the VMs to the cores even if they don't over provision the servers.

Re: ZombieLoad: Cross Privilege-Boundary Data Leakage on Intel CPUs

#124
post #72

Earlier quoted context omitted.

> AMD are not better. They’re probably worse. This argument makes zero sense and fails real world inspection. You see, researchers did publish the fact that it affected AMD on Spectre. For this vulnerability, they were unable to reproduce the bug on AMD (their words). Which means that they tried.

Intel and AMD don't have to share the same bugs for AMD to be worse. Consider you've got two sets of vulnerabilities: [1, 2, 3] and [2, 4, 5, 6, 7, 8]. If I label set 1 Intel, and set 2 AMD, then you can see how doing your research on Intel first will make it seem like Intel has 3x the vulnerabilities as AMD - even though it actually has half.

By your logic both of the sets could be infinite and we will never find out who has the more vulnerabilities.

Re: ZombieLoad: Cross Privilege-Boundary Data Leakage on Intel CPUs

#125

So at what point do we start producing CPUs specifically aimed at running a kernel/userland? Why don't we have a CPU architecture where a master core is dedicated to running the kernel and a bunch of other cores run userland programs? I am genuinely curious. I understand that x86 is now the dominant platform in cloud computing. But it's not like virtualization needs to be infinitely nested, right? Why not have the ho…

You cannot give each VM their own core. The business model of the cloud is that multiple VMs with virtual cores run on a single real core.

Very little of the cloud compute business actually involves compute.

Businesses move to the cloud for lower TCO compared to solutions they would have to hire entire teams of engineers to deploy and manage.

Something like AWS, the CPU cores account for a small percentage of the revenues they make.

The vast majority of their EC2 instance types have dedicated CPU cores. This may not necessarily mean that VMs are pinned to cores, but just that the overall compute power available is pretty tightly segmented.

But regardless, as a technical decision maker, I’ll move my organization to the cloud because of scalability, fault-tolerance, reliability & security - things that would be impossible or prohibitively expensive to do on-prem. CPU cores are rounding errors in comparison.

Re: ZombieLoad: Cross Privilege-Boundary Data Leakage on Intel CPUs

#126
post #96

Earlier quoted context omitted.

The focus is on Intel partially because it's the most valuable target, so we might be looking at selection bias.

That's really not the case. Once you know of an attack of this sort it's pretty easy to test everyone's chips for it. Bascially every Intel chip since Nehalem is vulnerable to Meltdown, as are IBM's POWER chips, as is one out-of-order ARM core but not any of the others. And we know that AMD chips are safe from that vulnerability. Whether you run security checks in sequence or in parallel with a data access is pretty…

I agree with everything you say, but security researchers will still prefer searching for new vulnerabilities in Intel (which is hard, I hope we agree on that) and verify they don't work on AMD, rather than the other way around.

Re: ZombieLoad: Cross Privilege-Boundary Data Leakage on Intel CPUs

#127
post #82

Earlier quoted context omitted.

Security by obscurity is no security

This saying rubs me the wrong way, because confidentiality is 1/3 of security. Obscurity is critical or this wouldn't be a vulnerability.

The critical part is understanding that confidentiality is temporal.

All “secrets” are eventually revealed, security is about managing the risks and timing associated with this revelations

Re: ZombieLoad: Cross Privilege-Boundary Data Leakage on Intel CPUs

#128

So at what point do we start producing CPUs specifically aimed at running a kernel/userland? Why don't we have a CPU architecture where a master core is dedicated to running the kernel and a bunch of other cores run userland programs? I am genuinely curious. I understand that x86 is now the dominant platform in cloud computing. But it's not like virtualization needs to be infinitely nested, right? Why not have the ho…

You'd also need to duplicate the whole memory hierarchy of CPU caches to prevent cache attacks against your "kernel CPU".

Re: ZombieLoad: Cross Privilege-Boundary Data Leakage on Intel CPUs

#129
post #101
post #88

Earlier quoted context omitted.

The stream of critical CPU vulnerabilities starting with Spectre/Meltdown last year are related to speculative execution , not just Intel. (AMD and ARM CPUs are also vulnerable to Spectre, for example.) Intel CPUs are sometimes vulnerable to additional attacks because they speculate in more scenarios than other designs. But fundamentally, as long as multiple different trust domains are sharing one CPU that speculates…

> Spectre/Meltdown, which leak the speculative information via the cache side-channel, completely blindsided the architecture community; it wasn't just one incompetent company. In the x86 space, Meltdown absolutely was down to one company apparently deciding to over-optimize for performance. I can't find it now, but I remember reading a thread from (I think) the OpenBSD devs about how the Intel MMU documentation desc…

> In the x86 space, Meltdown absolutely was down to one company

Serious weasel wording, outside of x86 space every other high end architecture also had Meltdown issues, ARM, and IBM's POWER and mainframe designs.

Re: ZombieLoad: Cross Privilege-Boundary Data Leakage on Intel CPUs

#130
post #76

What is the recommended course of action? Stop buying Intel products, and devices which contain them? What about devices with older processors? I'm still running a Sandy Bridge rig and it works fine, except for the side channel vulnerablities. It's probably not going to be patched. I also have a cheaper computer with a Skylake processor, which is newer yet still vulnerable! It's only a matter of time until something…

Vulnerabilities are everywhere, in everything. They just haven't been discovered yet.
Post reply on HN