News for hackers. Stuff that matters.
Re:NetSpectre: Read Arbitrary Memory Over Network [pdf] by kentonv on Thursday July 26, 2018 @09:39PM (#17622837)
The paper seems to say that they attacked a victim program that was specifically written to include vulnerable gadgets.

Is code for this victim program available? I don't see it in the paper.

Have such gadgets been found in any real-world programs?

Re:NetSpectre: Read Arbitrary Memory Over Network [pdf] by tedunangst on Thursday July 26, 2018 @11:07PM (#17623166)
Checking a user provided index is valid before using it is certainly a common idiom. There are many reasons why attacking programs in the wild would be more complicated, but delaying publication until then is probably a poor option. The contribution here is not a single attack against vuln ware release 2.3.12, but a new (or expanded) attack class.
Re:NetSpectre: Read Arbitrary Memory Over Network [pdf] by kentonv on Thursday July 26, 2018 @11:37PM (#17623262)
Right but didn't we already know that this hypothetical attack class exists? The possibility of remote spectre exploits like this was discussed in the original spectre paper.

It's certainly interesting to construct an example and show it working, but this isn't surprising, is it?

Just trying to understand if I've missed something here.

(The AVX side channel is certainly new and interesting, though!)

Re:NetSpectre: Read Arbitrary Memory Over Network [pdf] by chandlerc1024 on Friday July 27, 2018 @12:08AM (#17623371)
Other than the AVX side channel, the interesting thing is that it demonstrates that the remote aspect definitely works. Before, it was theorized but might have proven to never give sufficient signal. While many were confident, now we know.

Further, it shows how to do it (classifier) and gives a very good model for what bandwidth can be expected in practice. And still further, that bandwidth is entirely sufficient for attacking long lived cryptographic key material. Before, it was easy to theorize that the bandwidth would simply be too low. Now it isn't.

This is also really good because the bandwidth is really low. For data larger than a key (or where you would need to scan a lot to find the data), we can be much more comfortable with infeasibility arguments by basing them on some security margin beyond these experiments. As an example, if it would take 1 <timeunit> to exfiltrate a single credit card number even if the technique got 10 times better, maybe that means it isn't a sufficient risk. Or maybe it is. (All depends on the time unit and the risk.) But now we can make that assessment with a real baseline instead of a guess.

Re:NetSpectre: Read Arbitrary Memory Over Network [pdf] by kentonv on Friday July 27, 2018 @12:25AM (#17623422)
Indeed, that makes sense. Thanks!
Re:NetSpectre: Read Arbitrary Memory Over Network [pdf] by Eit4Choh on Friday July 27, 2018 @06:42AM (#17624946)
> This is also really good because the bandwidth is really low.

Until someone improves on this work.