Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ...
by CountSessine on Tuesday October 20, 2020 @12:23PM
(#24839232)
Try to bypass kexts and you’re just asking for kernel stability issues and Mac customer crashes. Pushing these guys out of the kernel lets Apple cheat them and Mac users clean and easy.
[ Parent
| on HN ]
Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ...
by gruez on Tuesday October 20, 2020 @12:38PM
(#24839452)
>Try to bypass kexts and you’re just asking for kernel stability issues and Mac customer crashes
why would that be the case? All you'd need to do is provide some sort of private network api, and only allow apple signed code to use it.
Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ...
by throwaway2048 on Tuesday October 20, 2020 @12:39PM
(#24839467)
that is not how kexts work(ed), they can do completely arbitrary things to the kernel, including removing any theoretical code signing requirement.
Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ...
by gruez on Tuesday October 20, 2020 @12:50PM
(#24839599)
any access? On Windows, you can write a driver that would run in kernel mode, but critical sections can't be modified[1]. I'd imagine there's something similar for mac.
Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ...
by SCHiM on Tuesday October 20, 2020 @01:06PM
(#24839831)
KPP is not considered a security boundary. That means, in Windows security jargon, that it's a feature that helps security. But not something that you or anyone else should consider a fail proof solution, or even something that would result in a patch if breached.
Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ...
by gruez on Tuesday October 20, 2020 @01:32PM
(#24840129)
If patching the kernel to intercept network requests is sufficiently hard enough that you're forced to use their "approved" way of intercepting network requests, then it's very easy for them to sneak requests through. Even if patching the kernel wasn't an issue, it still turns into a game of whack a mole because apple can sneak as many changes as they want with each macos release. It heavily favors apple, not the developers of such firewalls.
Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ...
by CountSessine on Tuesday October 20, 2020 @02:29PM
(#24840780)
Even if patching the kernel wasn't an issue, it still turns into a game of whack a mole
Exactly - but the game itself is the problem. Firewall vendors will go hunting through kernel code for jump targets and structs to plug into hidden interfaces, and Apple will remove and change them, causing crashes and instability. Apple has some leverage if they have a program like WHQL, but even then driver writers will commit shenanigans. Push them out of the kernel altogether and now only Apple can engage in shenanigans and break user trust. Which they already have.
Re:Apple's apps bypass firewalls like LittleSnitch and LuLu ...
by comex on Tuesday October 20, 2020 @01:15PM
(#24839933)
There hasn’t been anything like that on macOS. macOS on Apple Silicon will have a form of kernel patch protection, like on iOS, but it’s designed to guard against exploits from userland, not approved kexts. It’s definitely possible for third party kexts to bypass that somehow, but possibly only by disabling Secure Boot; I haven’t looked into it.