News for hackers. Stuff that matters.
Re:Get root on macOS 13.0.1 the macOS Dirty Cow bug by pieresqi on Saturday December 17, 2022 @06:04PM (#34033200)
Then it's not root...
Re:Get root on macOS 13.0.1 the macOS Dirty Cow bug by waynecochran on Saturday December 17, 2022 @06:11PM (#34033265)
OK ... so w MacOS there is a user w more power than root? There has to be some entity that can ultimately install a new kernel and subsystem.
Re:Get root on macOS 13.0.1 the macOS Dirty Cow bug by anyfoo on Saturday December 17, 2022 @06:16PM (#34033295)
It’s more that there is far more protecting the system (and also e.g. data from different apps against each other, or things like access to your screen content), than the current user. Some of this is because we’re in a world where Macs and iPhones are far more likely to be single user machines than the UNIX machines of lore. See the PDF in my other answer.
Re:Get root on macOS 13.0.1 the macOS Dirty Cow bug by AgentME on Saturday December 17, 2022 @08:27PM (#34034169)
There could be code in the system that directs IO and only allows write requests to parts of the OS if they include a signature from Apple.

I'm not sure if "a user with more power than root" would be the right way to describe that. The code would have a permission that "root" doesn't, but I wouldn't call the code "a user". It's a Unix idea that "a specific set of permissions" and "a user" are synonyms. Systems can exist where some permissions aren't represented as users.

Re:Get root on macOS 13.0.1 the macOS Dirty Cow bug by olliej on Saturday December 17, 2022 @10:01PM (#34034676)
No, there is no more powerful user, it’s just that the root user no longer has arbitrary control - it means that if an attacker compromises a root owned process the attacker can’t turn around and control the kernel.

The kernel has a number of things it can do: if you try to do a special thing it could force authentication itself - eg a “root”/admin user can still do the action, but a process with “root privileges” cannot, it can require the process attempting the action have correct entitlements, it can simply reject the operation entirely, etc. it can do all of the above: I recall there being some operations that can only be performed by specific apps, with specific entitlements, as special users, with immediate authentication (startup items and the like)

Re:Get root on macOS 13.0.1 the macOS Dirty Cow bug by anyfoo on Saturday December 17, 2022 @06:06PM (#34033220)
root is essentially a POSIX concept, and from a POSIX perspective this is still root, it’s just that the POSIX security model is by far not the only thing in play here.
Re:Get root on macOS 13.0.1 the macOS Dirty Cow bug by NobodyNada on Saturday December 17, 2022 @07:16PM (#34033707)
When Apple introduced SIP, they marketed it as “Rootless”.
Re:Get root on macOS 13.0.1 the macOS Dirty Cow bug by varenc on Saturday December 17, 2022 @07:22PM (#34033742)
SIP is another system that exists besides POSIX and the root user. With SIP enabled, let me demonstrate:

    chris@chriscomp /usr/bin # sudo su root
    root@chriscomp /usr/bin # touch testo
    touch: testo: Operation not permitted