Earlier quoted context omitted.
See this[1] paper for more information. I think from the browser POV it is more about admitting that it just isn't possible to reliably mitigate Spectre and instead focusing on what can be done at the browser level. And at the browser level, it is possible to ensure that sensitive resources don't end up in processes running attacker JS. Of course this could be fixed at the CPU level, but realistically very few people…
But it's still going to help exploits against the browser, isn't it? Letting code poke around until it finds addresses it needs or something like that.
A Spectre proof-of-concept for a Spectre-proof web
21–30 of 33 posts
Re: A Spectre proof-of-concept for a Spectre-proof web
#22Earlier quoted context omitted.
> "just don't run bad JS code". It's not workable. A little NoScript goes a long way. At least that way you can pick what you want to run.
Oh yes, if you ask me, throw this JIT shit out. Whats the spectre rate like if you need to do it through slow as molasses bytecode? 1b/minute?
Netspectre was able to dump kernel memory just from untrusted received network packets, no jit required.
Re: A Spectre proof-of-concept for a Spectre-proof web
#23Doesn't this mean it's essentially game over for running untrusted JS by-default? Doesn't default-deny functionality like NoScript have to become mandatory in browsers for security? If not, why not?
Re: A Spectre proof-of-concept for a Spectre-proof web
#24Of course, this was during the race to claim as much gigahertz so it wasn't security (at this level, anyways) that people were interested in at all.
Re: A Spectre proof-of-concept for a Spectre-proof web
#25I will admit I don't fully understand the implications of this. Doesn't this mean it's essentially game over for running untrusted JS by-default? Doesn't default-deny functionality like NoScript have to become mandatory in browsers for security? If not, why not?
But no, this isn't game over for running untrusted JS. It just means that we need to assume that JS can access anything in the same process.
Re: A Spectre proof-of-concept for a Spectre-proof web
#26Wow! How come Apple, on this brand new processor, wasn’t able to mitigate against Spectre? (A quick google shows that many Apple fan sites hailed the M1 as being immune to what they called “intel bugs’)
Re: A Spectre proof-of-concept for a Spectre-proof web
#27Really? Their proposed mitigations are various Cross Origin Resource restrictions? That's the equivalent of saying "just don't run bad JS code". It's not workable. Have they given up?
> "just don't run bad JS code". It's not workable. A little NoScript goes a long way. At least that way you can pick what you want to run.
HN should work without reading timers at all for example.
Re: A Spectre proof-of-concept for a Spectre-proof web
#28> however, in our tests the attack was successful on several other processors, including the Apple M1 ARM CPU, without any major changes. Wow! How come Apple, on this brand new processor, wasn’t able to mitigate against Spectre? (A quick google shows that many Apple fan sites hailed the M1 as being immune to what they called “intel bugs’)
If you want to be invulnerable to this you're basically stuck with a microcontroller.
Re: A Spectre proof-of-concept for a Spectre-proof web
#29I will admit I don't fully understand the implications of this. Doesn't this mean it's essentially game over for running untrusted JS by-default? Doesn't default-deny functionality like NoScript have to become mandatory in browsers for security? If not, why not?
If you load Javascript from one site, that JS can read the entire state of memory for another site, if it is within the same OS process. This means that any site can include some nefarious javascript that reads all the cookies and passwords for the user on other sites, and then log in as them.
Re: A Spectre proof-of-concept for a Spectre-proof web
#30I will admit I don't fully understand the implications of this. Doesn't this mean it's essentially game over for running untrusted JS by-default? Doesn't default-deny functionality like NoScript have to become mandatory in browsers for security? If not, why not?
It means game over for users who run browsers like Safari, which don't isolate each site to their own OS process. If you load Javascript from one site, that JS can read the entire state of memory for another site, if it is within the same OS process. This means that any site can include some nefarious javascript that reads all the cookies and passwords for the user on other sites, and then log in as them.