How to check if your Apple Silicon Mac is booting securely

(eclecticlight.co)

85 points | by shorden 13 hours ago ago

16 comments

  • saagarjha 7 hours ago ago

    Note that checking anything in userspace on a compromised machine does not actually prove that the machine is not compromised. It is very easy to boot insecurely and then make everything lie that the boot was secure.

  • bduhan 10 hours ago ago

    I had to do this today for a Universal Audio Apollo audio interface. Glad it’s on a dedicated machine.

    https://help.uaudio.com/hc/en-us/articles/360057137692-Apple...

    • Barbing 10 hours ago ago

      Interesting. They need that for lowest-possible latency? And it should be fairly safe?

      • arcticbull 10 hours ago ago

        Assuming they're USB devices they shouldn't be a reason to do this... Apple moved third-party drivers for USB devices and audio HAL extensions to user space, so there's some minor overhead choosing DriverKit over IOKit. Everything I've dug up says it's low single digit percentages. I wouldn't be developing USB drivers against IOKit anymore personally and I'd be looking to move over pretty aggressively before Apple drops the hammer.

        • nottorp 4 hours ago ago

          How about file system drivers? If there is such a thing any more... fuse and friends...

    • SebFender 36 minutes ago ago

      UAD drivers have always been very creative... lol

  • userbinator 12 hours ago ago

    s/booting securely/running only the code Apple approves of/g

    • arcticbull 10 hours ago ago

      Not exactly, distribution conversation aside this is specific to kernel extensions. Apple's been moving drivers out of kernel space and into user space for several years [1]. There's a lot of good reasons for doing so, and not a lot of drawbacks. I'd consider this to be a strongly worded API deprecation notice.

      [1] https://developer.apple.com/documentation/driverkit

    • bapak 11 hours ago ago

      You can run unverified code if you build it yourself. You can distribute unverified code by just paying $99/year to Apple. Not great, but still no need for specific code approval.

      • Gigachad 9 hours ago ago

        You can run whatever scripts you want without paying anything. Pretty sure the signing thing only applies to .app programs.

      • cyberax 10 hours ago ago

        Not if you want to use some features like bridged networking. For that you need to go and beg Apple for an entitlement. Or you have to disable SIP entirely.

        • Barbing 10 hours ago ago

          They respond to the begging as incredibly well as they respond to feedback/bug reports, right?

          • cyberax 9 hours ago ago

            To be fair, they _do_ respond well in this particular case. But you have to write an email to a developer somewhere in Apple, as there is no established process.

  • Barbing 10 hours ago ago

    Useful, thank you! Looks like the author just enjoys helping fellow nerds. Nice

    • 8ig8 10 hours ago ago

      Dr Howard Oakley. I think of him as an OG Mac guy.

  • ostensible 10 hours ago ago

    `man csrutil`