News for hackers. Stuff that matters.
Re:Meltdown, aka “Dear Intel, you suck” by fny on Saturday January 06, 2018 @07:48AM (#16085054)
Is there not some sort of OS embargo consortium that could be created to resolve this?
Re:Meltdown, aka “Dear Intel, you suck” by sverige on Saturday January 06, 2018 @08:44AM (#16085205)
The problem with embargoes is that they tend to run so long that users are put at risk unnecessarily. Most of the reasons for extending embargoes way beyond the time needed to prepare and test patches are just bullshit.

For example, from the conversation on the KRACK embargo:

>Q. What is the rationale on extending the embargo so long? To give vendors a chance to patch? It seems like once people in the know know about a vulnerability, the shorter an embargo time the better.

> A. There’s a couple of different interests at play.

> For instance:

> Researchers want to make a timed media splash.

> Security agencies want to evaluate the problem and make sure they get patched before anyone else.

> Vendors want time to prepare patches, yes, but that alone does not justify such a long delay.

> Reviewing the patch, testing it, and preparing it for commit and publishing erratas took only a couple of hours of my free time.

Apparently Meltdown was discovered back in June, or seven months ago. Only a select few were told about it and have been working on it. It is apparent that some are more equal than others in the "free and open source community," which ironically apparently includes Microsoft, Apple, and the three-letter agencies.

Re:Meltdown, aka “Dear Intel, you suck” by xucheng on Saturday January 06, 2018 @10:07AM (#16085549)
I think there is another important reason to extend embargoes aside preparing patches. Vulnerabilities like Meltdown and Spectre are in fact a whole new family of attack methods. It would take time to fully evaluate the extent of the problem. I would not be surprised that we learn new variants of Spectre in the coming future.
Re:Meltdown, aka “Dear Intel, you suck” by emn13 on Saturday January 06, 2018 @10:23AM (#16085611)
These classes of attacks are not new. Timing attack in crypto have been widely used for a long time. And even specifically in CPU's there was stuff like http://www.daemonology.net/papers/htt.pdf and http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.190... over ten years ago(!).

To quote that last paper:

> We show how processor architecture features such as simultaneous multithreading, control speculation and shared caches can inadvertently accelerate such covert channels or enable new covert channels and side channels. We first illustrate the reality and severity of this problem by describing concrete attacks.

So not just were side-channel attacks on CPUs documented; specifically the dangers of speculative execution and caching on intel cpus (there: the Itanium) was documented.

It's inconceivable that this comes as a surprise to Intel. They're playing the public for fools.

Of course some of this is intrinsic: speculative loading, caching, and accurate timers are an intrinsic problem: an JIT running in the same process as the JITted code will not be able to keep secrets from that JITted code while all three are in play. But intel specifically also allowed this across memory protection boundaries, which isn't necessary.

Re:Meltdown, aka “Dear Intel, you suck” by xucheng on Saturday January 06, 2018 @10:33AM (#16085643)
Yes, I am aware of them and agree with you. In fact, cache-miss side channel attacks are known by academics for years as well. However, this is the first time someone combining various of previous techniques (timing, cache-miss, speculative loading etc.) together to make this attack work.

Quote from the meltdown paper:

> We expect that Meltdown and Spectre open a new field of research to investigate in what extent performance optimizations change the microarchitectural state, how this state can be translated into an architectural state, and how such attacks can be prevented.

So we won't see the last of Spectre.

Re:Meltdown, aka “Dear Intel, you suck” by emn13 on Sunday January 07, 2018 @05:05AM (#16090167)
Right, so to stick a label on it: the exploit is novel, the vulnerability is not.

Why does that matter? Because people seem to imply intel isn't to blame here; that since the attacks were unforeseen, it's essentially just bad luck. But that's not the case: the risky bits of architecture were known. It's like finding a memory corruption vulnerability and then deciding not to fix it since you don't also know of an exploit - that's just being careless.

Furthermore; finding holes like this isn't some divine act; although there is luck and skill involved there's no question that others can do so too. Even if an attack were completely new, you have to ask yourself how hard it was to find. Does a supplier have any responsibility to provide secure things? Then they should be looking for these kinds of holes. Obviously to a novice any hack like this looks almost magical - but there's a risk that by interpreting any novel attack as not-their-fault that the vulnerable supplier never bothers trying to make anything secure.

Intel was being careless. They should definitely have known this was exploitable even without knowing how to exploit it. And it's at least conceivable that they could have found this or an exploit like this if they had tried.

Re:Meltdown, aka “Dear Intel, you suck” by guitarbill on Saturday January 06, 2018 @02:21PM (#16086948)
> We expect that Meltdown and Spectre open a new field of research to investigate in what extent performance optimizations change the microarchitectural state, how this state can be translated into an architectural state, and how such attacks can be prevented.

Not to be cynical or downplay the research, but that's the kind of thing you (have to?) put into papers to make getting research funding easier in future. Hardly a new field, just very difficult to do research on.

Re:Meltdown, aka “Dear Intel, you suck” by throwaway2048 on Saturday January 06, 2018 @08:58AM (#16085254)
yes im sure security agencies spend as long as possible "evaluating the problem"
Re:Meltdown, aka “Dear Intel, you suck” by blibble on Saturday January 06, 2018 @07:51AM (#16085061)
they previously broke the KRACK embargo (among others): https://lobste.rs/s/dwzplh/krack_attacks_breaking_wpa2#c_pbh...

it's no surprise they're not high up on the list of important people to tell

Re:Meltdown, aka “Dear Intel, you suck” by temprature on Saturday January 06, 2018 @09:31AM (#16085402)
He told them they could go ahead, he then regretted it but that's not OpenBSD's fault.

From https://www.krackattacks.com/#openbsd :

> As a compromise, I allowed them to silently patch the vulnerability.

Receiving permission to patch is the opposite of breaking an embargo.

Re:Meltdown, aka “Dear Intel, you suck” by xucheng on Saturday January 06, 2018 @10:00AM (#16085517)
And it continues:

> As a compromise, I allowed them to silently patch the vulnerability. In hindsight this was a bad decision, since others might rediscover the vulnerability by inspecting their silent patch. To avoid this problem in the future, OpenBSD will now receive vulnerability notifications closer to the end of an embargo.

Re:Meltdown, aka “Dear Intel, you suck” by cm2187 on Saturday January 06, 2018 @08:13AM (#16085125)
And the guy complains in the same paragraph that there are embargoes and that he wasn't in on the embargo... If he doesn't want embargoes he should be happy to discover the vulnerability with everyone else.
Re:Meltdown, aka “Dear Intel, you suck” by blattimwind on Saturday January 06, 2018 @07:55AM (#16085077)
No one seems to have told the other BSDs, either.
Re:Meltdown, aka “Dear Intel, you suck” by kuschku on Saturday January 06, 2018 @09:23AM (#16085361)
FreeBSD was told in December, which is still a realistic timeline.
Re:Meltdown, aka “Dear Intel, you suck” by JdeBP on Saturday January 06, 2018 @11:51AM (#16086047)
Late December, i.e. a week or so before the cat actually got let out of the bag, and probably around a fortnight's notice until the originally planned coördinated announcement date.

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

That is hardly enough time, considering that it is likely a holiday period for most of the people concerned, to prepare what needed to be prepared. Google and Intel gave themselves six months, in contrast, and they gave Ubuntu since November 2017.

I still haven't nailed down how much advanced notice Matthew Dillion, author of DragonFly BSD, was given; although his apparent level of preparedness with patches on 2018-01-05 can be attributed to the fact that he actually talked publicly about the problem in April 2017, months before Google Project Zero secretly reported it to processor manufacturers in June 2017 in the first place.

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

Re:Meltdown, aka “Dear Intel, you suck” by kuschku on Saturday January 06, 2018 @12:10PM (#16086170)
> That is hardly enough time, considering that it is likely a holiday period for most of the people concerned, to prepare what needed to be prepared. Google and Intel gave themselves six months, in contrast, and they gave Ubuntu since November 2017.

Correct, but it’s significantly better than OpenBSD’s timeline (which learnt about it from the media). Mitigation for Meltdown is possible within of a week, or two. It requires working through the night, but it’s possible.

Mitigation after it’s in the media is a whole different situation.

Re:Meltdown, aka “Dear Intel, you suck” by JdeBP on Saturday January 06, 2018 @12:35PM (#16086364)
No, it is not significantly better. Contrasted with the months that the likes of Microsoft, Ubuntu, and (going by what Paolo Bonzini has already said on Hacker News) RedHat got, FreeBSD and OpenBSD were in practical terms in the same boat. The difference of a week, when that week is Christmastide, is insignificant when put alongside those.