News for hackers. Stuff that matters.
Re:New flaw in Intel chips lets attackers slip their own dat... by bayindirh on Tuesday March 10, 2020 @02:51PM (#22538325)
I'm considering to upgrade my primary computer this summer and considering an AMD system. Following is my thought process:

- Maybe I should buy an Intel system again because of the performance counters and other nice things.

Another Intel attack surfaces

- Yep, I shall go AMD this time...

Re:New flaw in Intel chips lets attackers slip their own dat... by mynameisvlad on Tuesday March 10, 2020 @03:03PM (#22538462)
https://www.techspot.com/news/84309-amd-cpus-vulnerable-seve...

From 2 days ago, in case you weren't aware.

Re:New flaw in Intel chips lets attackers slip their own dat... by makomk on Wednesday March 11, 2020 @04:53AM (#22544200)
It's a cache-based timing sidechannel attack that leaks the address of memory accesses. In general, you should probably assume that every CPU with caches is susceptible to those (so every one with reasonable performance). As the paper mentions, there have been other cache side channel attacks that broke cryptographic implementations and only had working exploits on Intel - people didn't count those as Intel-specific attacks along with the Meltdowns or L1TFs either then or now, though, because there was no fundamental reason why it shouldn't be possible to exploit other chips the same way. Treating this one differently and somehow comparable to Intel CPUs just outright leaking data across privilege boundaries seems like a false attempt at injecting balance where none exists.
Re:New flaw in Intel chips lets attackers slip their own dat... by temac on Tuesday March 10, 2020 @03:08PM (#22538506)
The "new" AMD attack depends on lack of already existing spectre mitigations. If I understand correctly, this one is a real new one that works against a correctly patched system.
Re:New flaw in Intel chips lets attackers slip their own dat... by paulmd on Tuesday March 10, 2020 @05:24PM (#22539873)
the new AMD attack effectively breaks KASLR (the "metadata" that the attack reveals is page table layouts) and AMD has announced they're not going to patch it.

itself it's not a problem but if you pair it with something else it destroys a major line of defense against that something else.

AMD is still architecturally vulnerable to some variants of SPECTRE, they just consider it "hard to exploit", but they do recommend you run KASLR to harden against it. Well, so much for that.

Re:New flaw in Intel chips lets attackers slip their own dat... by AnthonyMouse on Wednesday March 11, 2020 @02:00AM (#22543425)
Wasn't KASLR (really KPTI, originally a KASLR hardening technique) a mitigation against Meltdown, which AMD isn't vulnerable to, rather than Spectre?
Re:New flaw in Intel chips lets attackers slip their own dat... by chousuke on Wednesday March 11, 2020 @02:47AM (#22543652)
As far as I understand it, KASLR is a general hardening technique to shuffle the kernel address space so that it's harder for attackers to use vulnerabilities successfully to attack the kernel. I don't think it's specifically for Meltdown.
Re:New flaw in Intel chips lets attackers slip their own dat... by AnthonyMouse on Wednesday March 11, 2020 @11:22AM (#22546572)
ASLR is a general technique to try to prevent memory corruption vulnerabilities from being turned into code execution when the attacker can determine the location of already-existing code in memory and use the memory corruption to cause program flow to jump to it.

It works pretty well against remote code execution because it's hard for an attacker who can't already execute arbitrary code on your machine to determine the address space layout. In principle it can also be used to protect the kernel against user processes, but that's much harder because a process that can already execute arbitrary user code on the same machine can use a variety of side channel attacks like this to determine the kernel address space layout.

KPTI was originally proposed to close some of those side channels, but it's kind of expensive. It only got enabled by default (on Intel) because it also mitigates Meltdown, which is a much worse problem. It also doesn't handle all of the side channels:

http://www.cs.ucr.edu/~nael/pubs/micro16.pdf

Meanwhile, if some kernel code is vulnerable to Spectre (i.e. the Spectre mitigations are not implemented properly), it could allow the attacker to read arbitrary kernel memory. That is obviously very bad, but the ability to read arbitrary kernel memory implies that the attacker can already determine the kernel address space layout, so I'm not sure how KASLR would be helpful in mitigating that.

Re:New flaw in Intel chips lets attackers slip their own dat... by avianes on Wednesday March 11, 2020 @05:26AM (#22544331)
> The "new" AMD attack depends on lack of already existing spectre mitigations.

No, it's a misunderstanding to say that the flaw in the "Take A Way" whitepaper depends on a mechanism already patched. Attack scenarios which are used in the paper to show the feasibility of the 2 new side channels are patched (except the KASLR entropy reduction), but the side-channels themselves are not patched.

Re:New flaw in Intel chips lets attackers slip their own dat... by kllrnohj on Wednesday March 11, 2020 @01:03PM (#22547467)
> but the side-channels themselves are not patched.

And might never be patched just like FLUSH+RELOAD never was. And the paper itself even points out that FLUSH+RELOAD is a more applicable attack than Load+Reload is:

> Comparison with Flush+Reload. While Flush+Reload invalidates a cache line from the entire cache hierarchy, Load+Reload only evicts the data for the sibling thread from the L1D. Thus, Load+Reload is limited to cross-thread scenarios, while Flush+Reload is applicable to cross-core scenarios too.

Collide+Probe is more interesting as it can use virtual address instead of physical address in comparison to Prime+Probe. That may get a microcode update to do a way flush on context switch as part of general Spectre mitigations (just like the branch predictors are), but it can also be handled entirely in software by adjusting how the AES implementation works as the paper also talks about.

But fundamentally what these attacks enable are super old & well known, with multiple existing mechanisms that fulfill similar roles. It's why Spectre/Meltdown never focused on the side-channel part of the attack, because it seems to just be assumed side-channels will always exist. And why the paper used existing, documented vulnerabilities to do the exploit side of their PoC, just changing the side-channel used to ex-filtrate the data.

Is there something particularly unique or severe about "Take A Way" other than techchrunch's bad reporting of it?

Re:New flaw in Intel chips lets attackers slip their own dat... by avianes on Wednesday March 11, 2020 @07:00PM (#22551718)
> But fundamentally what these attacks enable are super old & well known, with multiple existing mechanisms that fulfill similar roles.

It still has to be published. The article doesn't claim to break all the isolation mechanisms of the processor like Spectre/Meltdown. Why should we compare this paper with Spectre/Meltdown?

> Is there something particularly unique or severe about "Take A Way" other than techchrunch's bad reporting of it?

Yes, there are at least three things in "Take A Way" which is interesting:

- These side-channels are harder to detect because it doesn't require a very intensive use of the cache (no flush / filling all cache ways / etc.). A single collision is enough to evict a targeted cache line.

- It allows to set up a covert channel that can transfer up to 588.9 kB/s.

- They did a reverse engineering job on a processor mechanism and its undocumented hash function.

Re:New flaw in Intel chips lets attackers slip their own dat... by kllrnohj on Thursday March 12, 2020 @01:00PM (#22558906)
> The article doesn't claim to break all the isolation mechanisms of the processor like Spectre/Meltdown. Why should we compare this paper with Spectre/Meltdown?

That was sort of my point, we shouldn't be making that comparison but further up in the comment chain that's exactly what was being done.

The paper itself is great and definitely should exist. But it's not a counter-argument to "yet another Intel attack surfaces" either.

Re:New flaw in Intel chips lets attackers slip their own dat... by cosmiccatnap on Tuesday March 10, 2020 @04:02PM (#22539058)
You are correct. No AMD vulnerability is in the same universe as the Intel vulnerabilities from this year alone. Good luck on your new build
Re:New flaw in Intel chips lets attackers slip their own dat... by afiori on Wednesday March 11, 2020 @06:29AM (#22544594)
Curiosity: is this down voted because it is false/exaggerated? As someone that is far from being an expert I would be interested in a counterexample
Re:New flaw in Intel chips lets attackers slip their own dat... by saagarjha on Wednesday March 11, 2020 @06:43AM (#22544655)
I think the current outlook on this is "the only reason we're not seeing speculative bugs with AMD is because nobody is looking and they're probably more annoying to find", not that they're not there.
Re:New flaw in Intel chips lets attackers slip their own dat... by MatthiasP on Tuesday March 10, 2020 @04:04PM (#22539073)
There are good reasons to go with AMD over Intel CPUs at the moment, the number of published security exploits should not be one. There is nothing fundamentally more insecure in the Skylake CPU architecture than in Zen 2, just one has more marketshare and gets scrutinized more intensely.
Re:New flaw in Intel chips lets attackers slip their own dat... by kllrnohj on Tuesday March 10, 2020 @04:46PM (#22539517)
> There is nothing fundamentally more insecure in the Skylake CPU architecture than in Zen 2

Except there is. Hence why Skylake suffered from Meltdown while AMD didn't. Skylake's design is to do ACL checks at instruction retirement instead of up front. AMD's is the reverse.

Software workarounds for Meltdown exist, yes, but the Skylake architecture still fundamentally has that insecure design.

Re:New flaw in Intel chips lets attackers slip their own dat... by spectramax on Tuesday March 10, 2020 @03:33PM (#22538745)
“Fanboyism” needs to stop for AMD and Intel. It’s clouding facts and objectivity. These days people have a hard on for AMD as if it’s some kind of a religious messiah saving them from doom.

It bothers me and I don’t really understand. There are some really vile comments about Intel and unreasonable praise for AMD - simply because it’s the “underdog”. What is this? Some kind of a sport that one is rooting for the “underdog”. It’s a multi billion dollar corporation.

Re:New flaw in Intel chips lets attackers slip their own dat... by bayindirh on Tuesday March 10, 2020 @03:43PM (#22538840)
Mine is not about "Fanboyism". I'm going to upgrade my system after 7 years and will go for a multi-core performance system for parallel software development.

I consider AMD for its new Infinity Fabric and multi-core performance. I also use performance counters a lot to optimize my code and improve my understanding of modern processors even further.

This will be my 5th build and I've built 2 AMD and 3 Intel systems for long-term use in a span of ~20 years. I think it's logical to go for a high-performance system with lower attack count/surface to reduce the chance of getting performance-crippling uCode or Kernel patches in the future.

I was probably a fanboy while overclocking my 1433MHz 1700+ to 2.2GHz with ABIT ultra mother boards. These days and mindset has long gone, at least for me.

OTOH, I have more than enough cutting edge hardware from major vendors to manage and play with. So, I'm not hungry for anything really.

Re:New flaw in Intel chips lets attackers slip their own dat... by spectramax on Tuesday March 10, 2020 @03:53PM (#22538970)
I’m sorry, I was alluding to the general trend, not specifically inclined to your message although it appears so. Bad wording on my part.
Re:New flaw in Intel chips lets attackers slip their own dat... by bayindirh on Tuesday March 10, 2020 @04:04PM (#22539071)
No problem. We're discussing stuff here. I also didn't want to sound angry or aggressive. I'm sorry if I did (English is not my native language).

I also did root for AMD when I was younger however, in a more down-to-earth fashion. AMD was providing 90% of the performance of a comparable Intel system and, Intel was so dominating that AMD was at the brink of collapse.

I rooted for AMD because I wanted them to survive. I wanted competition. I wanted to see more interesting ideas from more vendors. I also reacted to that infamous "AMD's thermal management doesn't work" video from Tom's Hardware because my and my friends' AMD systems' thermal management features were working fine.

I rooted for AMD because they were more dynamic when compared to Intel. They allowed overclocking, experimenting. They had more chipset choices and some of these chipsets did interesting things that Intel was not daring to try.

Intel was a company wearing suits even in weekends, while AMD was going to work putting on jeans and, it was exciting for young enthusiasts.

AMD still has this in its gene though. They were kind and open enough to revise their GPU silicon to enable truly open source drivers sans HDCP. Their company culture is different and I root for the underdogs sometimes because, I root for competition.

Re:New flaw in Intel chips lets attackers slip their own dat... by ghusbands on Tuesday March 10, 2020 @03:41PM (#22538820)
The post you're replying to fairly clearly states that security issues in Intel chips are pushing them to buy AMD, next. It doesn't look at all like "fanboyism".
Re:New flaw in Intel chips lets attackers slip their own dat... by spectramax on Tuesday March 10, 2020 @03:55PM (#22538987)
I’m just talking about the general theme of AMD/Intel discussions on HN. There is a heavy bias for AMD, not just on HN but everywhere on the internet. Just go to Anandtech forums.

I should clarify that my frustration isn’t about what the OP said. It’s a general observation.

Re:New flaw in Intel chips lets attackers slip their own dat... by amiga-workbench on Tuesday March 10, 2020 @04:50PM (#22539555)
Intel have a history of anti-competitive practices and high prices. We're all just enjoying seeing them get the kicking they deserve.

The schadenfreude isn't coming from nowhere.

Re:New flaw in Intel chips lets attackers slip their own dat... by spectramax on Tuesday March 10, 2020 @05:27PM (#22539902)
Yea but you do realize that it’s a legislative issue? We need better controls for anti-competitive behavior.

You can just flip the sides, if AMD controlled 85% market share, the shareholders would demand the same unless we have laws preventing anti-competitive behavior.

That said, I do acknowledge the business leadership at Intel and their toxic attempts to prevent competition.

Re:New flaw in Intel chips lets attackers slip their own dat... by yjftsjthsd-h on Tuesday March 10, 2020 @05:54PM (#22540169)
Why would we legislate it when the underdog is winning? This is the market fixing itself without help.
Re:New flaw in Intel chips lets attackers slip their own dat... by spectramax on Tuesday March 10, 2020 @07:06PM (#22540925)
You're twisting my entire argument around. I did not say anything about the market fixing itself. Intel did a lot of things to prevent the market from fixing itself: https://en.wikipedia.org/wiki/Intel#Litigation_and_regulator...

Legislation has nothing to do with "underdog" or marketshare. It has to do with anti-competitive practices regardless of the party. The same laws would apply to Intel or AMD regardless of their market share.

Re:New flaw in Intel chips lets attackers slip their own dat... by cosmiccatnap on Tuesday March 10, 2020 @04:05PM (#22539085)
Its not a bias it's just true. Intel has chips that are objectively underperformannt and less secure based on everything we know currently. There are no good reasons anyone should pick an Intel chip for their desktop system for the foreseeable future.
Re:New flaw in Intel chips lets attackers slip their own dat... by spectramax on Tuesday March 10, 2020 @04:28PM (#22539345)
We are talking about server chips? Can you point to some comparisons?
Re:New flaw in Intel chips lets attackers slip their own dat... by kllrnohj on Tuesday March 10, 2020 @04:52PM (#22539566)
> We are talking about server chips?

What gave you that idea? This thread was clearly about someone building a local PC. There's no reason to assume that'd be a server chip?

But even in the server world go look up any comparison of Epyc Rome vs. Intel Xeon and you'll still struggle to find a reason to go Intel. The Epyc 7742 is in a league of its own at this point.

Re:New flaw in Intel chips lets attackers slip their own dat... by spectramax on Tuesday March 10, 2020 @05:19PM (#22539832)
I’m trying to get a point across for favoritism of AMD beyond objective measures.

This entire post is about Intel security flaw where we just had one discovered for AMD yesterday! But people are not as vile about AMD but become hostile when it comes to Intel. Why? There are some toxic people defending both sides with passion. I’m baffled. If this isn’t “Fanboys”, what is?

Regarding comparisons, I’m yet to see a conclusive source that points at AMD > Intel for server workloads - benchmarking these things is complex. Power, efficiency, workload types, etc matter. So it’s not as simple as saying “Hey, AMD won”.

I’m disappointed at the hostility for pointing out fanboyism on HN. It’s present whether one denies it or not.

Edit: Holyshit. I won’t be responding anymore. This has become an unproductive discussion simply for pointing out the bias in supporting the “underdog”. I have no way to prove this but I stand by my observations and what my eyes see - given Apples and Apples comparison for metric X or security flaw X, people have a deep bias for supporting the “underdog”. I saw this first hand back in 2006 when Intel was the “underdog”. This is a fact and no amount of massaging on HN or the Internet forums will change that. I’m again disappointed in the HN community’s response.

Re:New flaw in Intel chips lets attackers slip their own dat... by bayindirh on Tuesday March 10, 2020 @05:51PM (#22540139)
It sounds like I'm trying to debunk you, but I just want to answer your questions.

I work as an HPC administrator and I just want to tell a single thing:

We were unable to buy first generation EPYC processors because almost all of the production run is bought by Google, Amazon and Dropbox. They weren't offered by many vendors as general availability servers because it wasn't possible.

It's a bit late here so, I cannot do much research but I'll leave this Phoronix article [0] about RocksDB performance.

Phoronix Test Suite sounds a bit cheesy but, as far as I can see, it's becoming a reputable benchmark suite. I was troubleshooting a server from a big manufacturer and, its official live CD has this thing installed to see how system performs.

Also our fellow HPC centers says that EPYC is not vaporware in terms of performance.

[0]: https://www.phoronix.com/scan.php?page=article&item=intel-am...

Re:New flaw in Intel chips lets attackers slip their own dat... by bmelton on Tuesday March 10, 2020 @05:53PM (#22540164)
> I’m disappointed at the hostility for pointing out fanboyism on HN

Because it very much comes across as though you've got an axe to grind. OP was "maybe sort of" going to build an AMD box, for which there are a lot of good reasons irrespective of the bug on topic, and this set him over the top.

His post doesn't really exude fanboy behavior, and your comment - while possibly appropriate for some other post - isn't really appropriate to OP.

Re:New flaw in Intel chips lets attackers slip their own dat... by spectramax on Tuesday March 10, 2020 @07:01PM (#22540873)
I don't know if I have an axe to grind - I've said time and again my response had nothing to do with the OP. It was a general observation. I should have actually put it up at the root level instead of responding to OP. Did you see my messages about "general observation"?
Re:New flaw in Intel chips lets attackers slip their own dat... by kllrnohj on Tuesday March 10, 2020 @06:00PM (#22540252)
> where we just had one discovered for AMD yesterday

AMD's was a new side channel that doesn't appear to be that different from existing side channels like flush+reload. Some pros (and cons) over the established ones, but you're not attacking anything with those either. It's how you ex-filtrate data after a successful attack.

This, by comparison, is a new attack vulnerability. They are different severity, and I'd expect here of all places to recognize & acknowledge that. I'm baffled as to why you seem to be expecting something different?

> Regarding comparisons, I’m yet to see a conclusive source that points at AMD > Intel for server workloads - benchmarking these things is complex. Power, efficiency, workload types, etc matter. So it’s not as simple as saying “Hey, AMD won”.

Did you look? Yes benchmarking these is complex, but when one CPU wins the overwhelming majority of every comparison on every metric it reeks of fanboyism to then claim it's "not conclusive." There's no shortage of server CPU benchmarks done in this space. If you have a specific comparison that's missing then say it. Otherwise you're just accusing people of the fanboy behavior that you're exhibiting.

But here: https://www.anandtech.com/show/14694/amd-rome-epyc-2nd-gen/1...

"For those with little time: at the high end with socketed x86 CPUs, AMD offers you up to 50 to 100% higher performance while offering a 40% lower price. Unless you go for the low end server CPUs, there is no contest: AMD offers much better performance for a much lower price than Intel, with more memory channels and over 2x the number of PCIe lanes. These are also PCIe 4.0 lanes. What if you want more than 2 TB of RAM in your dual socket server? The discount in favor of AMD just became 50%.

So has AMD done the unthinkable? Beaten Intel by such a large margin that there is no contest? For now, based on our preliminary testing, that is the case. The launch of AMD's second generation EPYC processors is nothing short of historic, beating the competition by a large margin in almost every metric: performance, performance per watt and performance per dollar."

Like every review of Rome is like this. AMD released an incredible product. Credit where credit is due is not fanboyism.

Re:New flaw in Intel chips lets attackers slip their own dat... by samatman on Tuesday March 10, 2020 @11:46PM (#22542793)
There are certain things that get consistently hammered on HN.

Referring to people as "fanboys" is one of them. There's a reason for this: it's an insult, for starters. Furthermore, it leads to unproductive discussions. More heat than light.

There's almost always a way to express yourself that doesn't involve being dismissive and insulting. You may not realize that's what you're doing by saying "fanboy". But it is what you're doing.

If you'd pulled a highfalutin' word like "partisanship" you would probably find a productive conversation. Just avoid fanboy, circlejerk, and other obvious flamebait, and you'll be fine.

Re:New flaw in Intel chips lets attackers slip their own dat... by bmelton on Tuesday March 10, 2020 @05:49PM (#22540124)
I mean, TFA is about an exploit exclusive to Intel SGX processors, which of course includes E3 Xeons.
Re:New flaw in Intel chips lets attackers slip their own dat... by saagarjha on Wednesday March 11, 2020 @06:45AM (#22544667)
No, it's not. The paper chooses SGX because it's easy to write a PoC against, but there's nothing in it limiting it to SGX. (It's a general technique against any kind of memory load in a privileged context.)
Re:New flaw in Intel chips lets attackers slip their own dat... by BoorishBears on Tuesday March 10, 2020 @05:16PM (#22539794)
You’re a hundred percent right and I’ve noted it before, but this is exactly what happens if you call it out (your post gets buried) because there’s a nice mix of people who are emotionally attached to AMD and see AMD as their best bud who's showing Intel what’s what and not a profit driven company that would squeeze them exactly as much as they could afford if they were in a better position...

and people who bought AMD stock, but none of Intel or anything much else, because they see the CPU market as a 0 sum game. AMD was a darling of first time investors on a certain platform and they don't diversify. It’s not that their constant wall of pro-AMD stock noise is going to affect the stock price, but it also becomes a bit of an emotional thing for them.

All the AMD posts here end up looking a lot more like Reddit than Hacker News

Re:New flaw in Intel chips lets attackers slip their own dat... by spectramax on Tuesday March 10, 2020 @07:03PM (#22540885)
I am pointing it out as an observation but apparently it feels like I've poked the hornet's nest. So much hostility for criticizing HN.
Re:New flaw in Intel chips lets attackers slip their own dat... by BoorishBears on Tuesday March 10, 2020 @07:23PM (#22541080)
It’s not (just) HN, it’s AMD.

HN is not exactly the source of truth for anything technical, but generally people are either in the ballpark on technical comments, or (more likely) get corrected by someone who is.

On AMD posts that doesn’t happen and it just becomes a low quality cesspool of “I just bought a gaming PC and chose AMD”, “Intel is on life support right now omg”, and a few poorly supported rationalizations of the post's topic.

And when you call it out these people assume you’re defending Intel (because to them it’s a holy war)