The end result of these side channel attacks would be to have CPUs that perform no optimizations at all and all opcodes would run in the same number of cycles in all situations. But that will never happen. No one wants a slow CPU. As long as these effects cannot be exploited remotely, it's not a concern. Of course multi-tenant cloud-based virtualization would be a no go.
We need to drop all the untrusted code on some horrible in-order, no speculative execution, no prefetching, 5 stage pipeline from architectures 101 class core.
GoFetch: New side-channel attack using data memory-dependent prefetchers
51–60 of 100 posts
Re: GoFetch: New side-channel attack using data memory-dependent prefetchers
#52Earlier quoted context omitted.
We need to drop all the untrusted code on some horrible in-order, no speculative execution, no prefetching, 5 stage pipeline from architectures 101 class core.
If untrusted code includes JavaScript that would make Web apps ridiculously slow. (I know what you're thinking...)
Re: GoFetch: New side-channel attack using data memory-dependent prefetchers
#53Earlier quoted context omitted.
I almost gave you up an upvote until your third paragraph, but I have to now give a hard disagree. We're running more untrusted code than ever, and we absolutely should trust it less than ever and have hardware and software designed with security in mind. Security should be priority #1 from here on out. We are absolutely awash in performance and memory capacity but keep getting surprised by bad security outcomes beca…
Turning off bounds checks is like a 5% performance penalty. Turning off prefetching is like using a computer from twenty years ago.
Re: GoFetch: New side-channel attack using data memory-dependent prefetchers
#54Re: GoFetch: New side-channel attack using data memory-dependent prefetchers
#55Earlier quoted context omitted.
Is this exploitable through JavaScript? In general from what I've seen, most of these JS-based CPU exploits didn't strike me as all that practical in real world conditions. I mean, it is a problem, but not really all that worrying.
> Is this exploitable through JavaScript? Why wouldn't it be?
Re: GoFetch: New side-channel attack using data memory-dependent prefetchers
#56As long as we're getting efficiency cores and such, maybe we need some "crypto cores" added to modern architectures, that make promises specifically related to constant time algorithms like this and promise not to prefetch, branch predict, etc. Sort of like the Itanium, but confined to a "crypto processor". Given how many features these things wouldn't have, they wouldn't be much silicon for the cores themselves, in…
https://support.apple.com/guide/security/secure-enclave-sec5...
Re: GoFetch: New side-channel attack using data memory-dependent prefetchers
#57Earlier quoted context omitted.
> I fundamentally don't understand the mindset of people who want to take that kind of risk for a 10% boost in their games' FPS[1] Me either. But, lots of engineers are out there just writing single threaded matlab and python codes with lots of data-dependencies and just hoping the system manages to do a good job (for those operations that can’t be offloaded to BLAS). So I'm glad gamer dollars subsidize the developme…
How is RISC-V going to solve anything here?
Re: GoFetch: New side-channel attack using data memory-dependent prefetchers
#58Earlier quoted context omitted.
How is RISC-V going to solve anything here?
It is significantly less complex yet without compromising anything. This means a larger portion of a chip's design effort can be put elsewhere such as into preventing side channel attacks.
Re: GoFetch: New side-channel attack using data memory-dependent prefetchers
#59As long as we're getting efficiency cores and such, maybe we need some "crypto cores" added to modern architectures, that make promises specifically related to constant time algorithms like this and promise not to prefetch, branch predict, etc. Sort of like the Itanium, but confined to a "crypto processor". Given how many features these things wouldn't have, they wouldn't be much silicon for the cores themselves, in…
Re: GoFetch: New side-channel attack using data memory-dependent prefetchers
#60> Can the DMP be disabled? > Yes, but only on some processors. We observe that the DIT bit set on m3 CPUs effectively disables the DMP. This is not the case for the m1 and m2. Surely there is a chicken bit somewhere to do this?
Like can you do it from Swift? Or need assembly?