Live data from Hacker News

A Reverse Engineer's Anatomy of the macOS Boot Chain and Security Architecture

stack.int.mov

31–40 of 52 posts

Re: A Reverse Engineer's Anatomy of the macOS Boot Chain and Security Architecture

#31
post #12
post #5

This is a really interesting deep dive but why does the article hedge so much? For example, in the first few sections it says things like "... typically reveals the following sequence" or "The Boot ROM sets a specific control bit in the AES configuration register (e.g., AES_CMD_USE_GID)", which makes it sound like the author wasn't actually sure if any of this was accurate and was guessing.

It's AI assitance. If you search for "e.g." the page lights up like a christmas tree. There's 90 appearances if "e.g." I have never seen this frequency before.

Damn is that a new signal? I use "e.g." all the time. Now I can't use the em dash or that I suppose or risk being called out for ai gen content

Re: A Reverse Engineer's Anatomy of the macOS Boot Chain and Security Architecture

#32
post #12

Earlier quoted context omitted.

It's AI assitance. If you search for "e.g." the page lights up like a christmas tree. There's 90 appearances if "e.g." I have never seen this frequency before.

Damn is that a new signal? I use "e.g." all the time. Now I can't use the em dash or that I suppose or risk being called out for ai gen content

I use it too but 106 "e.g."s in a single page? That's how many there are now. Not to mention it's full of inconsistencies and being edited multiple times.

I think the author might have left an LLM agent in a loop fixing it whenever HN points out an error or finds something new to add on the internet.

Re: A Reverse Engineer's Anatomy of the macOS Boot Chain and Security Architecture

#33
post #27
post #19

Earlier quoted context omitted.

All of these errors have now been stealth-corrected. New strategy discovered: Ask LLM to write article, nerdsnipe HN into correcting it, feed corrections back into LLM until people stop complaining

Yeah, definitely not at all a fan of stealth editing. I suspected LLM rewriting or generation but I don't possess enough knowledge into how the Apple pre-boot environment works to make an accurate judgement on the accuracy of the post. But I definitely had very strong suspicions of LLM influence with all the bullet lists and hem-hawing the post does; I would expect that someone who successfully reverse engineered the…

That's exactly how LLMs are so effective: the text looks impressive to people who don't possess enough knowledge to make an accurate judgement. Meanwhile actual researchers with Apple experience found clear errors on a quick skim.

The large amount of rewriting being done within 5 minutes is another sign of LLM...

Re: A Reverse Engineer's Anatomy of the macOS Boot Chain and Security Architecture

#34

Earlier quoted context omitted.

Apple Silicon doesn't support UEFI, so no.

Obviously, this article might not result in any concrete improvements for Apple owners, but why do you say that UEFI the only way to boot to a thumb drive?

Boot loaders like GRUB etc only work with UEFI/BIOS to state the obvious.

Re: A Reverse Engineer's Anatomy of the macOS Boot Chain and Security Architecture

#35
post #5

This is a really interesting deep dive but why does the article hedge so much? For example, in the first few sections it says things like "... typically reveals the following sequence" or "The Boot ROM sets a specific control bit in the AES configuration register (e.g., AES_CMD_USE_GID)", which makes it sound like the author wasn't actually sure if any of this was accurate and was guessing.

> e.g., AES_CMD_USE_GID Sometimes people mix up “i.e.” (“id est”; “that is”) and “e.g.” (“exempli gratia”; “for example”). Of course, only the author knows if this case was a mix up, or if they really wrote what they meant.

Sometimes? Even on HN, where people are in the top 20% of "not making writing mistakes", compared to the general population, I see more people using i.e. wrong than I see people using it right. And sure descriptivism so now it just means that blahblah, it sucks because we already have e.g. for that and it makes i.e. pointless.

Re: A Reverse Engineer's Anatomy of the macOS Boot Chain and Security Architecture

#36
The security of the Apple ecosystem is miles ahead of others. Every time I reverse engineer some component of their OS, it is very different from what I've seen before. I always find myself surprised by their thoughtfulness and engineering craft.

Recently I've taken on their code signing component. The concepts they've created, such as identifying applications by their "designated requirements" is a stroke of genius. It makes the system completely stateless and capable of almost anything without auxiliary data structure or additional code.

I've seen other engineering teams try and fail at building something similar, and never with such powerful simplicity.

Re: A Reverse Engineer's Anatomy of the macOS Boot Chain and Security Architecture

#37

Earlier quoted context omitted.

I smell AI writing assistance. Which is a shame because this is otherwise very good and well-collated information about Apple's security. But AI loves to use bullet point lists just for the hell of it and it makes the information here smell way less reliable than it actually is. I'm also not sure if it's 100% accurate. My (possibly wrong) understanding of the guarded execution feature is that each GL is paired with a…

There's many factual errors in this AI slop. For example, it says quite unambiguously that the bootloader is encrypted directly with the GID key (loading the LLB ciphertext into the AES engine), but that's not how it works, the GID key is used to decrypt the LLB's KBAG into an AES key:IV pair and that is used to decrypt the LLB. More: > The behavior of the Boot ROM changes fundamentally based on the "Security Domain"…

Can you recommend a more factual and complete overview on Apple security architecture and bootchain than this bug-ridden article? I'm interested in hardware security (models).

Re: A Reverse Engineer's Anatomy of the macOS Boot Chain and Security Architecture

#38
post #36

The security of the Apple ecosystem is miles ahead of others. Every time I reverse engineer some component of their OS, it is very different from what I've seen before. I always find myself surprised by their thoughtfulness and engineering craft. Recently I've taken on their code signing component. The concepts they've created, such as identifying applications by their "designated requirements" is a stroke of genius.…

> The security of the Apple ecosystem is miles ahead of others.

cough iMessage, hardware backdoors cough

Re: A Reverse Engineer's Anatomy of the macOS Boot Chain and Security Architecture

#39
post #38
post #36

The security of the Apple ecosystem is miles ahead of others. Every time I reverse engineer some component of their OS, it is very different from what I've seen before. I always find myself surprised by their thoughtfulness and engineering craft. Recently I've taken on their code signing component. The concepts they've created, such as identifying applications by their "designated requirements" is a stroke of genius.…

> The security of the Apple ecosystem is miles ahead of others. cough iMessage, hardware backdoors cough

That's a bit disingenuous. Can you substantiate your claims?

Re: A Reverse Engineer's Anatomy of the macOS Boot Chain and Security Architecture

#40
post #28
post #5

This is a really interesting deep dive but why does the article hedge so much? For example, in the first few sections it says things like "... typically reveals the following sequence" or "The Boot ROM sets a specific control bit in the AES configuration register (e.g., AES_CMD_USE_GID)", which makes it sound like the author wasn't actually sure if any of this was accurate and was guessing.

It's basically all AI-generated. There are significant omissions and errors for any flow that hasn't previously been reversed engineered. The launchd stuff has details that are just wrong.

Do you know of a much more accurate deep dive? I'd love to learn all this from a source that is actually trustworthy/authentic.
Post reply on HN