Live data from Hacker News

Meltdown Proof-of-Concept

github.com

151–160 of 187 posts

Re: Meltdown Proof-of-Concept

#151

Earlier quoted context omitted.

Except if you are into *BSD. In that case you might want to label it "selective disclosure" instead of "responsible disclosure".

Well, since some of the BSD folks publicly stated that they’d ignore any embargo, that seems like a pretty predictable consequence. And in this case I understand that it took a while to develop workable mitigations. Immediate disclosure might have caused great harm.

Theo de Raadt (OpenBSD BDFL) does not represent FreeBSD in any way. FreeBSD's policy is to work with embargoes.

Re: Meltdown Proof-of-Concept

#152

I'm curious if someone can point me to any source that discusses how the next generation of CPUs that Intel, AMD, ARM might be working on is actually going to address this & the Spectre issue architecturally.. It's great that we have a potentially performance killing fix but the real "fix" or rather, solution, is to alter the architecture. Since I'm not an EE/CE dude... is anyone aware of where such discussions on th…

Intel's paper outlines a roadmap for future work.

* https://newsroom.intel.com/wp-content/uploads/sites/11/2018/... (https://news.ycombinator.com/item?id=16079910)

Re: Meltdown Proof-of-Concept

#153
post #100

Earlier quoted context omitted.

No, creating a block of machine code bytes to execute would be a privileged operation. All code would run through a privileged CPU-specific compiler first, and there'd be no way to run raw machine code bytes otherwise. If there are bugs that can be exposed through various machine code patterns, the compiler can centralize the restrictions of what may be executed, enforce runtime checks, or prevent certain instruction…

> no way to run raw machine code bytes otherwise [...] restrictions of what may be executed, enforce runtime checks, or prevent certain instructions from being used at all [...] everything optimized for your environment better, allow much better compatibility across systems and prevent entire classes of privilege escalation issues. So... basically re-inventing Java? :) "Raw machine code bytes" aren't distributed but…

No, reinventing the AS/400.

* https://news.ycombinator.com/item?id=16053518

Re: Meltdown Proof-of-Concept

#155
post #79

Earlier quoted context omitted.

> by the way, that PoC was intense. Makes you wonder if the NSA knew about it all along :) Colin Percival found a very similar issue with Intel's implementation of SMT on the Pentium 4 in 2005: http://www.daemonology.net/papers/htt.pdf So the general idea of using timing attacks against the cache to leak memory has been known for at least that long. In 2016, two researchers from the University of Graz gave a talk at…

Cache timing attacks have been known for a while, for example across VMs in 2009: https://cseweb.ucsd.edu/~hovav/dist/cloudsec.pdf

This paper from 2005 describes a cache timing attack that enabled an unprivileged process to another process' AES key:

https://www.cs.tau.ac.il/~tromer/papers/cache.pdf

IIRC, the only way to address the issue was the addition of the AES-NI instruction set, which came a few years later.

Re: Meltdown Proof-of-Concept

#156
post #109

Earlier quoted context omitted.

The point is what reading kernel memory would be useful for.

One wonders why /dev/mem was ever read restricted to start.

Reading /dev/mem is far easier/faster and typically provides more data than this attack would.

Re: Meltdown Proof-of-Concept

#157

Earlier quoted context omitted.

Main memory access take an order of hundred cycles. D1 cache hit access usually take usually 3-4 cycles. Microarchitecture designers will take heroic efforts to even shave a single cycle here. Adding an overhead of even a couple of cycles would be a huge deal. Having said that, AMD CPUs are the existence proof that you can be immune to meltdown with no significant overhead. Spectre is a completely different issue tho…

AMD CPUs have pretty poor single threaded performance. Perhaps that because they haven't taken the speed short-cuts that Intel took...?

With Ryzen, they're pretty much equal on an IPC basis.

Re: Meltdown Proof-of-Concept

#158
post #93

Earlier quoted context omitted.

It is patched on Sierra, this was part of the 2017-002[0] security update on the 6th of December. 0: https://support.apple.com/en-gb/HT208331

That link shows Meltdown in reference only to High Sierra, not Sierra. What am I missing?

You're right, can't believe I missed that.

Edit: See the archive[0] apparently I'm not going mad and it used to say that the patch was applied to Sierra and El Capitan, but Apple has since changed that.

0: https://web.archive.org/web/20180105102220/https://support.a...

Re: Meltdown Proof-of-Concept

#159
post #145

Earlier quoted context omitted.

Perhaps I've been living under a rock for the past 30 years, but transient instructions are a new idea for me

What's the "old" term for speculated instructions that aren't retired?

I've never heard of a term for them but I would find "speculated instructions" clear enough in context.

Re: Meltdown Proof-of-Concept

#160

Earlier quoted context omitted.

>the videos aren't very long, someone should compress it to There's no need to use an awful format like gif, just embed an efficiently compressed video file with the tag

I completely agree with the sentiment, however github currently does not support embedded video in markdown [1] Animated gifs do work when embedded, but need to be [1] https://stackoverflow.com/questions/4279611/how-to-embed-a-v... [2] https://stackoverflow.com/a/46701929

Oh wow, that's crazy - especially 8 years since they said they'd look at it! Thanks for the info
Post reply on HN