Earlier quoted context omitted.
So there's a bit of an unknown if AMD's most recent generation of processor has the Spectre vulnerability?
We know that the scariest attack "meltdown", cannot be reproduced on AMD or ARM chips at all[1]. The second attack "Spectre" is also greatly mitigated due the neural network predicting pathways for the application. Thus it's unlikely/less-likely that you'll be able to access other locations in memory[2]. However, it's definitely possible. [1] https://meltdownattack.com/meltdown.pdf [2] https://spectreattack.com/spect…
Reading privileged memory with a side-channel
411–420 of 639 posts
Re: Reading privileged memory with a side-channel
#412What are the odds that the NSA already knew about this? Roughly 100%?
Re: Reading privileged memory with a side-channel
#413Is there any information available about whether the Linux KPTI patch mitigates the ability to use eBPF to read kernel memory? I'm asking because eBPF seems to execute within the kernel, and KPTI seemed to be about unmapping kernel page table when userspace processes execute. Are there any mitigations to the eBPF attack vector?
I use eBPF all the time, but I never use it as non-root, so I haven't needed unprivileged bpf anyway.
update: that eBPF vector was already fixed, and another safety measure is already being considered https://lkml.org/lkml/2018/1/3/895
Re: Reading privileged memory with a side-channel
#414Earlier quoted context omitted.
> Spectre Spectre doesn't really care if it is cloud or bare metal. They are equally vulnerable unless disconnected from internet.
Pretty hard to have a neighbor vm execute Spectre on your same physical server if you have dedicated hardware. Add in that Spectre specifically is a js bug so in order to be vulnerable your server would need to execute untrusted JavaScript and I think we can assume the threat surface of this specific bug is smaller outside the cloud...
1) https://spectreattack.com/: "Spectre tricks other applications into accessing arbitrary locations in their memory. " Spectre does not let you execute code in another guest
2) Spectre is not javascript specific. I am not sure why you think it is, beyond the fact a PoC was written in js
Re: Reading privileged memory with a side-channel
#415Earlier quoted context omitted.
> Spectre Spectre doesn't really care if it is cloud or bare metal. They are equally vulnerable unless disconnected from internet.
Pretty hard to have a neighbor vm execute Spectre on your same physical server if you have dedicated hardware. Add in that Spectre specifically is a js bug so in order to be vulnerable your server would need to execute untrusted JavaScript and I think we can assume the threat surface of this specific bug is smaller outside the cloud...
https://gist.github.com/ErikAugust/724d4a969fb2c6ae1bbd7b2a9...
Its a technique, not a flaw in js, from my understanding
Re: Reading privileged memory with a side-channel
#416Earlier quoted context omitted.
Pretty hard to have a neighbor vm execute Spectre on your same physical server if you have dedicated hardware. Add in that Spectre specifically is a js bug so in order to be vulnerable your server would need to execute untrusted JavaScript and I think we can assume the threat surface of this specific bug is smaller outside the cloud...
Pretty sure that its not limited to js: https://gist.github.com/ErikAugust/724d4a969fb2c6ae1bbd7b2a9... Its a technique, not a flaw in js, from my understanding
Re: Reading privileged memory with a side-channel
#417Earlier quoted context omitted.
Pretty hard to have a neighbor vm execute Spectre on your same physical server if you have dedicated hardware. Add in that Spectre specifically is a js bug so in order to be vulnerable your server would need to execute untrusted JavaScript and I think we can assume the threat surface of this specific bug is smaller outside the cloud...
I don't think you understand the bug here. 1) https://spectreattack.com/ : "Spectre tricks other applications into accessing arbitrary locations in their memory. " Spectre does not let you execute code in another guest 2) Spectre is not javascript specific. I am not sure why you think it is, beyond the fact a PoC was written in js
Obviously it's not just a js bug, there are other PoCs in other languages.
I never said anything about executing code in another guest, not sure where you got that from.
Re: Reading privileged memory with a side-channel
#418Has Google the best security team in the world? It seems like Google security is in a complete different league. I cannot imagine how this impacts companies handling fiat money or cryptocurrencies in the cloud like Coinbase in AWS.
I wonder how much of it relates to their mastery in data science. I keep wondering if they got some “””AI””” fuzzer that helps them a ton? Plus tons of compute power to spend (remember SHA-256 clash they found “just because”?)
Re: Reading privileged memory with a side-channel
#419Has Google the best security team in the world? It seems like Google security is in a complete different league. I cannot imagine how this impacts companies handling fiat money or cryptocurrencies in the cloud like Coinbase in AWS.
Project Zero is very well known for things exactly like this. Partially, it's because they are incredibly talented, but there are also talented people in academia and in other security consultancies. The biggest difference with Project Zero is that their primary [0] goal is altruistic: find vulnerabilities, and let people who can fix them know (vs publishing papers, securing paying clients, auctioning zero-days, etc)…
Re: Reading privileged memory with a side-channel
#420Earlier quoted context omitted.
> Mitigation is to insert mfence instructions throughout jit generated sandboxed code making it very slow, ugh. Here's the synchronized announcement from Chrome/Chromium: https://sites.google.com/a/chromium.org/dev/Home/chromium-se... "Chrome's JavaScript engine, V8, will include mitigations starting with Chrome 64, which will be released on or around January 23rd 2018. Future Chrome releases will include additional…
The mitigations are to disable SharedArrayBuffer and severely round performance.now(). Not good that there aren’t other less intrusive ways to mitigate.
Edit: Apparently you can already do something like this. Seems to be an option for Chrome starting with 63. (Which was an October release I believe?
http://www.chromium.org/Home/chromium-security/site-isolatio...