8 ms·
Safely open apps on your Mac
- latexr 6y agoThe new section (at the bottom), reads: <quote> Privacy protections macOS has been designed to keep users and their data safe while respecting their privacy. Gatekeeper performs online checks to verify if an app contains known malware and whether the developer’s signing certificate is revoked. We have never combined data from these checks with information about Apple users or their devices. We do not use data from these checks to learn what individual users are launching or running on their devices. Notarization checks if the app contains known malware using an encrypted connection that is resilient to server failures. These security checks have never included the user’s Apple ID or the identity of their device. To further protect privacy, we have stopped logging IP addresses associated with Developer ID certificate checks, and we will ensure that any collected IP addresses are removed from logs. In addition, over the the next year we will introduce several changes to our security checks: * A new encrypted protocol for Developer ID certificate revocation checks * Strong protections against server failure * A new preference for users to opt out of these security protections </quote>
- dane-pgp 6y agoAs a sign of how rushed this was, it really does say "over the the next year".
- deleted 6y ago[deleted]
- purplecats 6y agoneat! can't wait for those words to be slightly loosened and one day omitted.
- smnrchrds 6y agoLike the plans to encrypt iCloud backups.
- justapassenger 6y ago> To further protect privacy, we have stopped logging IP addresses associated with Developer ID certificate checks Apple has a really strong brand. If this was from Google or Facebook, there’d be angry mob about how dear they logged IP in the first place.
- gentleman11 6y agoGoogle or Facebook would not post this because they would be combining the data. Instead it would be some meaningless claim that they don’t use the data for advertising or don’t sell the data, leaving themselves free to do anything else with it (plus, the “we can change the terms at any time” clauses)
- refulgentis 6y agoI would argue it's because Google has to value security and privacy in a way Apple doesn't - Google has to build platforms instead of gardens, so there's an 'adversarial' incentive to make sure you're not held liable due to a 3rd parties actions. Also, these incidents would be a thermonuclear event for search due to the intimacy and inherent 'Internet-ness' of the data - versus Apple, who can get away with incidents like introducing Intelligent Tracking Prevention - two years later, it turned out it was a globally unique identifier that also leaked your web history [1] Yet, because Apple didn't have a perceived incentive to leak this information, people see it as a 'mere' competency issue and move on. [1] https://blog.lukaszolejnik.com/curious-case-of-privacy-vulnerability-in-intelligent-tracking-prevention/ https://blog.lukaszolejnik.com/curious-case-of-privacy-vulne...
- stingraycharles 6y agoNah it’s because Google and Facebook earn their money with advertising, which implies data. Apple, on the other hand, earns their money by selling hardware. It’s a different value exchange, and Apple doesn’t really have a lot to gain by becoming a “bad actor” with data. See also, for example, their planned advertising tracking protections coming up in 2021. They don’t have a lot to lose in this area, and a lot to gain.
- throwaway546456 6y agogood first start. What I still would like to see extra: * option to notify user certificate got revoked. Short description why twitter style and link to details and give user choice to quarantine it or to still use it. This is in similar style what antiviruses do it telling you: 'this kind of malware name was potentially found but if we are wrong feel free to remove from quarantine'. * revocation list is checked twice a day locally on the machine and twice a week (always on the same days) the current way remotely to strike a good balance as a default. Allow user to adjust frequency.
- djxfade 6y ago* and a built-in method in system preferences to turn it off
- the_lucifer 6y agoThis should be added for literally every single "security" thing they've added since at least High Sierra. They've continually added features for improving system security that have proved to be major impediments to a computer being used as a general purpose computing device. A separate section (maybe under Security & Privacy, add in loads of warnings, I don't care) with a deep dive allowing users to enable/disable security features of macOS would be ideal The general taboo asking users to even disable any of the security protections of macOS needs to disappear in my honest opinion. With Big Sur and Apple Silicon, I don't think that it's hyperbole anymore of a locked up macOS just tailored towards casual users and dragging along developers in the process.
- sneak 6y agoLet it be known: one asshole yelling on his personal blog can bully the largest company in the world into encrypting their shit and deleting their logs, and, most importantly, providing a way of turning it off. Remember that, kids. I’m as surprised as you are. Now I have an even bigger and more difficult writing task ahead of me: rms cold emailed me today to ask me, point blank (and presumably non-rhetorically), why I am still running macOS. That’s going to be a doozy, because he’s damn well right.
- saagarjha 6y agoApple listens to bad PR, the problem is that you have to be lucky, competent, or gifted enough to get it. Otherwise you might as well pound sand. As for RMS…well, the issue is that the way he lives is just exceedingly difficult to keep up with in modern society. That being said, you could be instead taking steps to improve yourself by using Linux, but perhaps there exists a place in this world for people to slowly propose changes to macOS and make it better for millions of people alongside those who shout for radical change immediately. Maybe you should probe for what he thinks you should do.
- sneak 6y agoThere was absolutely a whole lot of luck involved here, no doubt. It wouldn’t have been possible at all without HN, dhh, Louis Rossmann and many, many others boosting the signal. I’m just thrilled that so many people care about privacy. I mostly assumed it was a lost cause, given the status quo on mobile (where basically every app launch notifies 3+ companies and data brokers, with no way to turn it off). Oh, what I wouldn’t give for Apple to sherlock Little Snitch and port it to iOS! I’m going to assume that their Safari ad privacy backtracking for Facebook means that this probably won’t happen, though.
- musicale 6y ago> A new encrypted protocol for Developer ID certificate revocation checks Apple's online verification scheme still seems to be the wrong approach both for privacy (since it leaks information) and for security (since apps still need to keep working offline and during service outages.) Encrypted queries can still leak information to observers, and we apparently still have to trust Apple to "remove" information from their logs (rather than simply not logging to begin with.) Dev certificate revocations are rare enough that they can be handled by periodic updates to an on-device revocation list. This is similar to what Chrome does with its CRLSet.
- ksec 6y ago>* Strong protections against server failure I am still waiting for someone providing a plausible explanation as to why it has to be online check and not like AntiVirus where signatures are pushed to the client. Instead everything were derailed into Apple Data Collection.
- hyper_reality 6y agoThis is in response to the issue last week where slowness of Apple's OCSP responders caused hangs in apps launching. It was a bad look for privacy-conscious Apple especially considering that basic OCSP queries are unencrypted HTTP requests. In my post (https://blog.cryptohack.org/macos-ocsp-disaster https://blog.cryptohack.org/macos-ocsp-disaster) I argued that OCSP was inherently a poor way to perform certificate revocation in this scenario, and that an approach based on Certificate Revocation Lists (CRLs) could be preferable. Regardless, it looks like Apple might be doubling down on OCSP but encrypting the requests, or possibly adding a new protocol altogether.
- lifthrasiir 6y ago> But it’s also fundamentally different since Apple has total control over its own chain of trust. Other certificate authorities are not allowed to issue valid certificates for code signing as all certificates must chain back up to Apple. To me this was the most curious part of the entire situation. The post briefly mentions CRLite and bloom filters; they rely on the list of all if not most valid certificates (which were impossible before CT) and it's understandable that they are not yet widely deployed. But Apple does surely know the list of all developer certificates and can simply publish a (probably compressed) list of serial IDs of revoked developer certificates that would be otherwise valid. I don't see a good reason to use big moving parts like OCSP here especially given the soft-fail behavior.
- lawnchair_larry 6y agoNow if they would just address the more serious issue that allows them to evade network restrictions and VPNs.
- m463 6y agoSeriously, why do they have to collect ANYTHING without opt-in? People pay them for hardware, their revenue stream has a different source than facebook or google. I think it's fear (useful telemetry) or greed (valuable telemetry) or vanity (look how many people launch x). Really, just do it. So some customers shoot themselves in the foot. That is how they learn. Others who are perfectly capable of managing things will also be happy with actual privacy. That is how trust is built up, and with trust comes unfettered trade. Right now power users are alienated, regular customers feel deceived and apple could just do better.
- aemreunal 6y agoWhile I'm a fan of having a choice (as I consider myself a "power user"), I do think Apple is making the right decision in making certain things (like this OCSP check) default-on. It is true that the overwhelming majority of Apple users won't ever know enough of the technical details to make an informed decision about this, nor should they need to know. Where Apple went wrong, IMHO, is: 1) not giving people a way to opt out (not just for OCSP, but so many power user-hostile decisions they're making recently), and 2) programming it in a poor way where slow responses ground the machine to a halt (it did mine in the middle of the work day, stopping my work completely for 30-45 minutes). I don't think malice (i.e. greed) was involved in how this whole thing turned out. As Hanlon's Razor states: Never attribute to malice that which is adequately explained by incompetence.
- sneak 6y agoThey also did wrong by not encrypting the connection, and by not doing it in a privacy-preserving way like with a bloom filter precheck. This is a company that has world class cryptosystem designers on staff, remember. They know how to pcap a fresh install before the GM goes out the door to see if it’s still speaking plain HTTP like OSes did in the years back before we ever heard the name Ed Snowden. Cut them some slack, but not an infinite amount. They can and should well know better, and pledging to delete the logs, encrypt it, and add a knob to turn it off is as close to a “we fucked up” as you’ll ever get from them. I appreciate their response.
- brigandish 6y agoToo late for me, and this... debacle is one of the all too many reasons I will move my development onto a machine running a BSD or a Linux in future.
- Tepix 6y agoFor me the fact that they are working on improvements (including the ability to disable these checks) is a reason to take Apple devices into consideration again
- the_lucifer 6y agoI've been soured by this whole episode tbh (and I'm big on the Apple ecosystem). I'm gonna hang on until there's a communication about Apple services in Big Sur bypassing Firewalls and VPNs
- ponker 6y agoThe principle here is good (check if the developer’s certificate is revoked) but the implementation is completely batshit. Why not cache the result and send a push notification through the centralized channels if there is a Sev1 revocation incident?
- jozzas 6y agoThis is a really good point, there is no good reason to have millions of devices phone home for permission on every single app open. If Apple's claim is to be believed there are a million patterns that make more sense for achieving this goal. Blacklists, whitelists, caching, etc. I get "never attribute to malice what can be explained by incompetence", but this is Apple. Are we to believe that this public, unencrypted endpoint was set up and is being called tens of millions of times a day because Apple engineers were too incompetent to come up with a better solution for something so fundamental (to Apple) as the security of the software running on their devices? And flying so blatantly in the face of their claim to protect user privacy? This whole incident is completely bonkers. People should be getting fired over this and there should be an apology and a massive step back from this horrible, horrible approach.
- bobbylarrybobby 6y agoAfter this incident I’ve found it hard to buy the “but this is Apple” line of reasoning. I think their processes are just plain bad. https://arstechnica.com/information-technology/2017/11/macos-bug-lets-you-log-in-as-admin-with-no-password-required/ https://arstechnica.com/information-technology/2017/11/macos...
- rsfinn 6y agoThis article by Jacopo Jannone refutes the notion that macOS sends an application's hash to Apple "on every single app open": https://blog.jacopo.io/en/post/apple-ocsp/ https://blog.jacopo.io/en/post/apple-ocsp/ Also in that article, the OCSP protocol is supposed to go over HTTP and not HTTPS: "If you used HTTPS for checking a certificate with OCSP then you would need to also check the certificate for the HTTPS connection using OCSP." Furthermore, the returned information apparently includes a timeout period for the result to be cached at the endpoint, and according to Jeff Johnson, Apple has raised that timeout in the wake of Thursday's incident from 5 minutes to 12 hours: https://lapcatsoftware.com/articles/ocsp.html https://lapcatsoftware.com/articles/ocsp.html There's certainly room to argue about Apple's approach, but let's make sure we're arguing about the actual behavior.
- askmike 6y agoWhile everyone on HN (including me) is mad about the privacy implications of what's happening here - including how all this doesn't do much good for programmers dealing with all kinds of binaries updated daily, I quickly want to point out that I think this type of functionality is a great idea for most non technical users. Apple has always been at the forefront of extreme usability (kids using iPads, seniors sending iMessages) and the internet has a lot of toxic stuff that needs to be kept away from many non technical users (for my parents' computer, I rather have this ping home to Apple with hashes of apps they open than them being exposed to tons of malware). That said they really need to work on the privacy aspect..
- camhart 6y ago"Apple has always been at the forefront of extreme usability (kids using iPads, seniors sending iMessages)" I've always understood this to be a marketing victory on Apple's side. From what I've seen, using Mac/iOS isn't any easier or more difficult than Windows/Android.
- lotsofpulp 6y agoAnd yet when I tried Nexus tablets with all my elders and hangouts or skype whatever video call app was around then, they couldn’t figure it out. As soon as I gave them all iPad mini and iPhone, they all found it easier to FaceTime. Although, the chat issue was solved by WhatsApp in my opinion, by requiring phone numbers thereby reducing the need for passwords and reducing spam, greatly simplifying chat for the non tech and English literate in my family.
- wlesieutre 6y agoWhile it's good that they're going to improve Gatekeeper's certificate checks, don't forget the other major issue raised recently: all of Big Sur's system network traffic is deliberately leaked around VPNs. Will they change course on that issue? Or will you have to carry a raspberry pi around as a hardware firewall if you want to have an actually private network connection? (or alternately, not use a Mac)
- dannyw 6y agoThat is unbelievable. Breaking VPNs is literally a life-or-death situation for many journalists and activists in certain countries; not to mention something that would (justifiably) give network admins a heart attack. It also increases the attack surface, as malicious programs may find ways to hijack their traffic, or attach their traffic to OS traffic. All you need is an Apple service that relays the information somehow -- for example, a hypothetical Apple service that requests information/metadata from an application specified URL.
- sneak 6y agoThe malicious firewall bypass is already here: https://twitter.com/patrickwardle/status/1327726807089520640 https://twitter.com/patrickwardle/status/1327726807089520640 Believe me, I won’t be using a mac not via an external VPN router ever again. I already needed to take that step for iPad/iPhone and was putting it off. This sort of seals the deal, as all of the devices can use the same wifi device.
- coldtea 6y agoThe 'malicious firewall bypass' is "lemme add a rule to bypass firewall, o gee, now I can bypass the firewall". You can do this with any existing software firewall on any OS, here it just happens on a secondary whitelist (as opposed to the firewall configuration).
- saagarjha 6y agoUh, isn’t the concern that Apple’s services cannot be firewalled?
- tbodt 6y agoThey should be downloading a bloom filter of revoked certificates, instead of checking with a server every time. This is known as CRLite, and Firefox is implementing it for HTTPS certificates. https://blog.mozilla.org/security/2020/01/09/crlite-part-1-all-web-pki-revocations-compressed/ https://blog.mozilla.org/security/2020/01/09/crlite-part-1-a...
- chrisshroba 6y agoSince Bloom filters allow for false positives, wouldn’t that make them inappropriate here? You wouldn’t want a valid certificate to be perceived as revoked. (I recognize that I’m probably wrong, given that Mozilla is doing this - where is my mistake in logic?)
- saagarjha 6y agoThat would be better than what we have here, though, where every application launch gets checked. The fallback with a Bloom filter is that you check a few apps, not all of them.
- chrisshroba 6y agoIt’s better with a trade off. It removes the call-home to Apple, but adds the possibility of false positives for certificate revocation. Is this in fact the trade-off we’re considering, or am I misunderstanding?
- sirsar 6y agoYou are misunderstanding. The bloom filter is only a preliminary check; if it indicates a revoked certificate, you then verify that it's a true positive the traditional way.
- chrisshroba 6y agoOh of course. Thank you for clearing that up for me.
- jzer0cool 6y agoIs there a mac tool which scans for uncertified apps installed? What about kernel extensions? Is it hard to tell which are certified or not and how to go about safely seeing if you can remove/delete any.
- saagarjha 6y agoApple menu > About This Mac, click on "System Report…" to show the System Information window. From the sidebar, select Software > Applications.