| ▲ | Silent Replacement of Trusted macOS App Executables(mysk.blog) | |||||||
| 29 points by jurip 4 hours ago | 6 comments | ||||||||
| ▲ | yogorenapan 25 minutes ago | parent | next [-] | |||||||
Ah I remember a very similar bug. I remember back in the day, I'd use a fork of TheBackdoorFactory so that the replaced app still functions as usual and in the background request permissions & stuff to then be able to do stuff like key logging. Apple also responded with won't fix, but I think at some point silently patched it. | ||||||||
| ▲ | jwatzman an hour ago | parent | prev | next [-] | |||||||
Not sure I understand the risk here, and seem to agree with Apple this is a non-issue. You already have code execution in order to exploit this. You don’t get the cryptographic identity of the victim app so you can’t steal keychain secrets. How is this any different than just bundling your own second-stage malware with a victim bundle ID, then using your existing code execution to remove the quarantine flag and then run the second-stage malware? Or just doing the evil things with your existing code execution? | ||||||||
| ||||||||
| ▲ | hyperhello an hour ago | parent | prev | next [-] | |||||||
Instead of replacing the executable, couldn’t it be wrapped and augmented, so it’s just running payload in the background with the original permissions and keychain access? It does seem pretty bad. | ||||||||
| ||||||||
| ▲ | tekacs 2 hours ago | parent | prev [-] | |||||||
Not what I immediately expected: it doesn't give you the cryptographic identity of the target app, but it does read a lot like a high-quality phishing attack where you get to e.g. issue permissions prompts with the totally specific visual identity of the app that you dropped your binary into. A highly technical user might, if we're very lucky, question why they're being asked for permissions again, but an ordinary user never would, for sure. If Apple is going to attest to identity, they need to make sure it's combinatorially right. I totally understand why the author would love to see this fixed. But I'd honestly continue to go the other direction, (software freedom), and say that I rather wish that we would instead make this whole architecture less rigid. Apple seem to have looked at Windows Vista era UAC... and taken all the worst parts of it. I tend to think that if we were to give the user a lot more information: people aren't as dumb as Apple treats them. Absolutely many users just do not care, but I think that making the UX as terse as it is is half of what's doing the damage. --- Imagine:
---[1]: this would be the quarantine attr's source [2]: this would be from the signing identity – but no need to explain that [3]: I would literally check this and display the prose [4]: yes, this involves a bunch of localization strings [5]: This is where you'd have to decide whether you want to provide an opinion or completely disclaim liability, like Apple has had a tendency to do. This would leave the door open to incrementally more relaxed versions of this posture, including allowing an unsigned app, or less common apps with more alarming language, up to and including color, to communicate how different that is. Even just a (localized to region) traffic light style appearance would go a long way. I totally acknowledge that, for example, the Chrome folks decided that they have to hide and bury this, because users can't be trusted not to proceed anyway when advised to do so. But this is why I think spelling it out in more detail would go a long way, which Chrome never (competently) did. Even with HTTPS certificates, I'd rather write an EXTREMELY high-quality explainer paragraph to the user about WHAT they're accepting. | ||||||||