Intel hardware bug

Ronald F. Guilmette rfg at tristatelogic.com
Fri Jan 5 08:33:20 UTC 2018


In message <736a2b77-d4a0-b03f-8a6b-6a717f5744d4 at metricspace.net>, 
Eric McCorkle <eric at metricspace.net> wrote:

>The attack looks like this:
>
>1) Fetch kernel/other process memory, which eventually faults
>2) Do a bit-shift/mask operation to pluck out one bit of the fetched
>value.  This gets executed speculatively on the fetched value in (1).
>3) Execute fetches of two different addresses depending on some bit in
>the fetched value in (1) (say, 0x100000 for 0 vs 0x200000 for 1).  This
>also gets executed speculatively despite the fact that (1) ends up faulting.
>4) Recover from fault in (1)
>5) Measure performance of accesses to the two addresses to determine
>which one is cached.


I must say, that's one hell of a round-about way to read just one bit that
you wern't supposed to have access to.  But of course, that doesn't really
matter if you are an attacker.

If the above steps can be repeated, programatically, ad infinitum, to read
bits from "protected" memory... and I see no reason why they can't be...
then yea, this bug is every bit as bad as the media is making it out to be,
and maybe even worse.

All your secrets are belong to us!

Time to invest in abacuses... or is that abacai?


Regards,
rfg


More information about the freebsd-security mailing list