News for hackers. Stuff that matters.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by ben7799 on Friday June 10, 2022 @11:56AM (#31695906)
The author is here and ought to make it all clear but if you google the title of the article you can download the paper already despite everyone being coy about it and the ACM not having published it yet. It's kind of ridiculous it's getting this kind of press before the paper is officially published and available. If the paper was published and security experts were allowed to analyze it before the tech press went nuts the stories would probably have a different tone.

This is interesting theoretically but the amount of access required is pretty high, this is hardly an exploitable zero day.

Having read the paper, in a nutshell it requires:

- Login to the Mac in question

- Ability to install a custom kext to make the PACMAN Gadget work. The exploit requires access to undocumented registers on the M1 that are apparently not accessible from user space, but this is a bit unclear.

- Also need an exploitable kernel buffer overflow against Mac OS (they made a custom kext with a buffer overflow)

- Run the bufferflow + Pacman Gadget together to do the final elevation

If someone can find a way to do this without installing kexts then it becomes way more serious. As is it certainly is a super interesting paper and presents a bunch of work for chip designers.

Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by jprx on Friday June 10, 2022 @12:12PM (#31696128)
Hi! I think I can clear a few things up here.

Our goal is to demonstrate that we can learn the PAC for a kernel pointer from userspace. Just demonstrating that this is even possible is a big step in understanding of how mitigations like pointer authentication can be thought of in the spectre era.

We do not aim to be a zero day, but instead aim to be a way of thinking about attacks/ an attack methodology.

The timer used in the attack does not require a kext (we just use the kext for doing reverse engineering) but the attack itself never uses the kext timer. All of the attack logic lives in userspace.

Provided the attacker finds a suitable PACMAN Gadget in the kernel (and the requisite memory corruption bug), they can conduct our entire attack from userspace with our multithread timer. You are correct that the PACMAN Gadget we demonstrate in the paper does live in a kext we created, however, we believe PACMAN Gadgets are readily available for a determined attacker (our static analysis tool found 55,159 potential spots that could be turned into PACMAN Gadgets inside the 12.2.1 kernel).

Our paper is available at our website: https://pacmanattack.com/paper.pdf

Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by ben7799 on Friday June 10, 2022 @12:36PM (#31696392)
Something definitely went wrong here though that more guidance was not provided to the tech journalists.

Most of the mainstream articles make it seem like they a) did not read the paper b) are incapable of understanding the paper c) were not provided any guidance about what any of this actually means in the real world.

Which is all scary as the paper is well written and very accessible IMO.

Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by bee_rider on Friday June 10, 2022 @04:25PM (#31698997)
Based on the article, I think the journalist basically understands the situation (and if they don't, they should investigate further, that's the job). The headline is just intentionally over-dramatic to get clicks. This shouldn't be treated as a good-faith error, more guidance isn't required and wouldn't help.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by rmbyrro on Saturday June 11, 2022 @03:39AM (#31702709)
It's sad that we reached a point where assuming bad faith from public informers is acceptable and, worse, reasonable.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by jonathanwallace on Saturday June 11, 2022 @06:58AM (#31703557)
Worth noting that someone else usually writes the headline for the articles, not the journalist / the author of an article.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by thereddaikon on Saturday June 11, 2022 @12:50PM (#31705931)
OK, but that doesn't excuse things. There's a problem with journalism and its mostly about how they are incentivized and compensated. I don't know what the fix is but its clear that trust is so low, and rightfully so that journalism has largely failed as an industry at its job.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by not2b on Saturday June 11, 2022 @01:05PM (#31706055)
Journalism is paid for by ads, mostly. For online journalism, unless people click there is no money to pay the producers. Hence clickbait. This is a problem but there are worse problems.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by resters on Saturday June 11, 2022 @07:03PM (#31709334)
In my opinion the requirement that HN submissions match the article's title is quite absurd because of this phenomenon.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by bscphil on Saturday June 11, 2022 @10:22PM (#31710674)
Uh, that isn't the rule, for exactly that reason.

> Otherwise please use the original title, unless it is misleading or linkbait; don't editorialize.

https://news.ycombinator.com/newsguidelines.html

Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by resters on Monday June 13, 2022 @03:05PM (#31730119)
I've seen many cases where mods revert an informative title in favor of a less informative one. Also, the idea that the title of a submission should match the title of the resulting article is quite silly, since often the article is written for a different audience and the informed HN submitter can sometimes craft a title that better summarizes to HN readers why the story is interesting / worth reading / controversial.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by Aeolun on Saturday June 11, 2022 @11:33PM (#31711115)
Expected, yes. Reasonable or acceptable, no.

But what can you do about it?

Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by TrevorJ on Friday June 10, 2022 @06:48PM (#31700223)
>Most of the mainstream articles make it seem like they a) did not read the paper b) are incapable of understanding the paper

This seems pretty par for the course in terms of science/tech journalism to be honest.

Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by nomel on Friday June 10, 2022 @08:12PM (#31700735)
> It's kind of ridiculous it's getting this kind of press

> Something definitely went wrong here though

Both of these have the same reason: it's about Apple. I know someone that avoids telling people that they work at Apple, to avoid similar drama.

Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by cyanydeez on Friday June 10, 2022 @09:43PM (#31701202)
I mean, it's been like months of random press about the M1 despite there being anything special other than , _Apple_ so that's basically what you get when your marketing is super effective.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by marcosdumay on Friday June 10, 2022 @03:33PM (#31698474)
a) did not read the paper

Yeah, that's a given. Journalists do not have time for optional tasks.

b) are incapable of understanding the paper

That's a safe bet.

c) were not provided any guidance

Asking for guidance or clarifications is another one of those optional tasks.

Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by nl on Friday June 10, 2022 @08:00PM (#31700659)
Clearly "did not read the article" applies to some internet commentators.

The article is pretty good and shows good understanding of what the attack is.

Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by azinman2 on Friday June 10, 2022 @01:34PM (#31697122)
Welcome to tech journalism.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by opheliate on Friday June 10, 2022 @03:07PM (#31698194)
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by sirspacey on Friday June 10, 2022 @02:23PM (#31697649)
Welcome to journalism.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by rTX5CMRXIfFG on Friday June 10, 2022 @03:34PM (#31698493)
It’s not just a problem with journalism but with humans in general. People are more imprecise with their comprehension of things than they are willing to admit.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by highwaylights on Friday June 10, 2022 @07:44PM (#31700582)
How many synonyms did you try before you landed on “imprecise”?

It’s a very diplomatic choice. Moreso than I’d have gone with. I admire your restraint!

Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by SantalBlush on Friday June 10, 2022 @04:13PM (#31698887)
Thank you. Even here on HN, plenty of folks will comment on all kinds of research they know little about.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by passivate on Friday June 10, 2022 @07:41PM (#31700568)
> Even here on HN, plenty of folks will comment on all kinds of research they know little about.

I don't see anything wrong with that, because all opinions are not equal.

I think there is some level of pressure to get one's word in quickly, otherwise the nebulous cloud of commenters moves on to the next story, and your well-thought-out comment that took hours to write is seen by no-one. If you're responding to someone hoping to get into a nice conversation, you're out of luck since they have no idea you just responded to them.

Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by JohnJamesRambo on Friday June 10, 2022 @07:26PM (#31700460)
Any thread about nutrition is so painful here.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by dbsmith83 on Friday June 10, 2022 @07:42PM (#31700575)
Anything related to medicine/biochemistry can get cringe-y pretty quickly here. I think the problem is that the crowd here is generally pretty intelligent, but they know it and it's a coefficient > 1 on the Dunning-Kruger effect
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by thibauts on Friday June 10, 2022 @05:39PM (#31699640)
Welcome to advertising driven journalism.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by Fnoord on Saturday June 11, 2022 @06:52AM (#31703529)
If the information was given solely to public security experts with blog presence (Matthew Green, Bruce Schneier, and a plethora of others) we could've linked to them and either ignore the 'clickbait middleman' or do most of the work for them allowing them an easier time to write up something half decent.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by steelframe on Saturday June 11, 2022 @02:55PM (#31707115)
Matthew Green once publicly criticized something I created by simply parroting what someone else had said without bothering to do his own investigation. The original criticism turned out to be hogwash, and Matthew failed to recognize an obvious real crypto problem with the first version of my feature because he was too busy trying to just quickly stick his name into someone else's feature announcement while it was still "hot off the press."

I would take anything Matthew Green blogs about with a grain of salt. It's not clear how much of what he says is just cheap amplification of what others claim.

Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by DSingularity on Saturday June 11, 2022 @06:48PM (#31709242)
MG shows here that even a small dose of fame can ruin the biggest of nerds.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by geerlingguy on Friday June 10, 2022 @08:58PM (#31700982)
I can imagine some of the Tech YouTube channel headlines this week:

"Apple is DOOMED!"

"Turn off your iPhone, Apple's security BUSTED!"

Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by chihuahua on Sunday June 12, 2022 @05:37AM (#31713204)
Youtube titles with CAPITALIZED words make me sad. I don't want to click on any video with a title like that, but creators are incentivized to use those titles because they get more views. Some fine videos end up with those titles and I would miss out on some good stuff if I refuse to click on clickbait titles.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by nl on Friday June 10, 2022 @08:02PM (#31700674)
The Techcrunch article is well written and I thought summarises this rather well.

The headline is pretty reasonable too. Apple can't patch this, and as other commentators point out subsequent attack techniques are only going to make this flaw worse.

Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by ksec on Friday June 10, 2022 @07:57PM (#31700645)
Everything you listed are at the very end of the list of things that matter to modern day Journalist. If they even make the list.

But reading your comment does sort of put a smile on my face though. The what others would called a non-cynical world view.

Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by jazzyjackson on Friday June 10, 2022 @05:35PM (#31699606)
d) were given about 90 minutes to write the article
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by slime3377 on Sunday June 12, 2022 @11:53PM (#31720882)
95% of journalism is at this level of understanding for anything non liberal arts that is commonly offered as a 4 year degree, and has been for as long as journalism has existed.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by fulafel on Saturday June 11, 2022 @02:50AM (#31702518)
I really sympathise how your research is being misunderstood based on the reporting and responses to the press stuff missing the main point. And everyone equating modern ARM with "M1".. Anyway, awesome work! Let's hope pointer authentication gets a thorough treatment from the research community and you and other people can build further exciting results on your work!
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by vinay_ys on Saturday June 11, 2022 @02:25AM (#31702421)
Given there are "55,159 potential spots that could be turned into PACMAN Gadgets" do you think it is highly probably this attack is now part of a zero-day kill-chain?
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by ungamed on Saturday June 11, 2022 @07:36AM (#31703728)
100% chance.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by egberts1 on Sunday June 12, 2022 @09:07AM (#31714191)
Yep, 100% chance. (Despite the above downvotes, and this is coming from a JavaScript engine researcher).
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by ungamedplayer on Sunday June 12, 2022 @08:42PM (#31719721)
Yeah, I work on Linux security for a big Red I mean Blue, company. Wrote poc for spectre/meltdown and more, but what do I know. ;)
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by KennyBlanken on Friday June 10, 2022 @01:49PM (#31697283)
You didn't clear up anything about publicizing this heavily in mainstream press before it's been reviewed by your peers.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by elseless on Friday June 10, 2022 @09:11PM (#31701059)
It has been reviewed by the author’s peers — it was accepted to ISCA ‘22.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by nostrebored on Friday June 10, 2022 @03:08PM (#31698208)
What are you hoping for here? Look at the facts as written.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by gjsman-1000 on Friday June 10, 2022 @12:08PM (#31696075)
Also important to mention that PAC is a new ARMv8.2 feature and previous versions of ARM have no PAC system at all. The only ARM chips with PAC are from Apple and AWS Graviton3 - any other chip has no hardware protections against this.

So ultimately, right now, it's just downgrading a very new protection to as if it didn't exist, which is exactly how 98% of ARM chips in the world operate right now. Not great, not terrible, A for effort, was worth a shot, speculative execution breaks everything.

Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by adrian_b on Friday June 10, 2022 @03:18PM (#31698330)
Besides the Apple CPUs and Graviton 3 (Armv8.4-A), the cores introduced by ARM in 2021 and present in some 2022 smartphones (Cortex-X2, Cortex-A710, Cortex-A510), which implement Armv9.0-A, also support PAC.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by fulafel on Saturday June 11, 2022 @06:12AM (#31703358)
The doc in the kernel tree is dated 2017, so it's percolated to products quite slowly: https://www.kernel.org/doc/html/latest/arm64/pointer-authent...
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by shp0ngle on Friday June 10, 2022 @11:52PM (#31701762)
Ah thanks, this finally makes sense in context
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by gjsman-1000 on Friday June 10, 2022 @02:38PM (#31697853)
Edit: Correction, ARMv8.3, not ARMv8.2.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by fulafel on Saturday June 11, 2022 @03:12AM (#31702613)
From the home page: " For our demo, we add our own bug to the kernel using a kext. In a real world attack, you would just find an existing kernel bug."

This is attacking a memory safety exploitation mitigation tech, there needs to be a memory safety bug. Otherwise there's no need for PAC in the first place.

Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by woliveirajr on Friday June 10, 2022 @02:15PM (#31697567)
> "PACMAN is an exploitation technique- on its own it cannot compromise your system. While the hardware mechanisms used by PACMAN cannot be patched with software features, memory corruption bugs can be."

reading the "official" site of the Researchers gives more clues than the headline of the article.

Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by MBCook on Friday June 10, 2022 @12:59PM (#31696707)
Once you can get someone to install your kext aren’t you basically at game over anyway?

Or do they have strong limits as well?

Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by ungamed on Saturday June 11, 2022 @07:37AM (#31703736)
This was just to expose the gadget easier, there are other gadgets in kernel that you can abuse too.

The full fix will require a complete recompile of the full kernel/toolchain, if they can do any kind of microcode update (I have not checked) that allows for mitigation.

Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by ungamed on Saturday June 11, 2022 @07:35AM (#31703724)
> - Ability to install a custom kext to make the PACMAN Gadget work. The exploit requires access to undocumented registers on the M1 that are apparently not accessible from user space, but this is a bit unclear.

^ This is not the case, you can trigger these from userspace in valid syscalls. The same behaviour was in spectre.

Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by Aleksdev on Sunday June 12, 2022 @02:17AM (#31711989)
Yeah, the tech news just runs with it because fear sells. This is the “intel backdoor” all over again.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by WuxiFingerHold on Friday June 10, 2022 @11:31PM (#31701676)
> - Login to the Mac in question

Really? Usually malicious stuff is installed by the user themselves being unaware of it.

Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by throwaway290 on Friday June 10, 2022 @01:48PM (#31697267)
Installing a kext is a password prompt away, I believe, so all that's needed technically seems to be "install something not reviewed by Apple, fill in a genuine OS password prompt when asked, and run it" which strikes me as a very common scenario.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by bhj on Friday June 10, 2022 @01:59PM (#31697370)
Enabling 3rd-party extensions is much more involved on AS Macs: https://support.apple.com/guide/mac-help/change-security-set...

Then the extension needs to be allowed in System Preferences > Security (this step has been required on Intel Macs too)

Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by jprx on Friday June 10, 2022 @02:00PM (#31697385)
Additionally, if can find a way to trick a user into installing a malicious kext, why even bother with PACMAN? You already have arbitrary kernel code execution!
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by throwaway290 on Friday June 10, 2022 @03:33PM (#31698480)
Perhaps the kext with the overflow may not necessarily look malicious? It can serve as an actually useful kext and pass review.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by aenis on Saturday June 11, 2022 @12:11AM (#31701850)
These days all kexts look malicious.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by ntauthority on Saturday June 11, 2022 @04:45AM (#31702966)
Yeah. The bundled ones in the main OS image are the worst. Who the hell knows what nefarious acts lie behind IOPCIFamily.kext?!

/s, though not entirely, moving more stuff to unprivileged contexts would be nice

Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by shp0ngle on Friday June 10, 2022 @11:52PM (#31701761)
yeah but if you can trick the user to do that, you can already trick him to do more
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by sgjohnson on Saturday June 11, 2022 @01:05PM (#31706057)
First you need to trick Apple into signing that kext (which is getting more difficult by the day even for legitimate uses), or get the user to disable SIP first.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by throwaway290 on Sunday June 12, 2022 @03:04PM (#31717272)
Didn't many tools require disabling SIP, like Homebrew? Is this no longer true?
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by sgjohnson on Monday June 13, 2022 @09:47AM (#31725498)
This hasn't been true for at least 2 major macOS releases.

But yes, there was a time when editing even /etc/sudoers required disabling SIP. That time is long gone.

Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by metamuas on Friday June 10, 2022 @07:49PM (#31700601)
I downloaded Brave after googling it and got a .pkg instead of a .dmg because someone wanted to hack my new laptop, and didn't want to risk a hack that leveraged an exploit only nation states know about. They are sMArt. Like me! I still installed it because I am gullible and lazy.
Re:MIT researchers uncover ‘unpatchable’ flaw in Apple M1 chips by beckman466 on Friday June 10, 2022 @09:20PM (#31701108)
> Login to the Mac in question

right, ok? as Snowden thankfully heroically warned us, the NSA already has root-level access to most devices.

“ Remember the Spectre vulnerability. Now we have more than 7 variants of Spectre. No one guarantees that new, more destructive versions of this vulnerability will not be discovered in the future.”

> If someone can find a way to do this without installing kexts then it becomes way more serious.

right, yeah, you’re onto the right trail now.