12 ms·
Zoom has a signed binary that runs any unsigned script
- d4n 7y agoHey! I posted this. Just want to be clear it still pops up and asks the user to authenticate as seen in the original post. Tried to clarify this in the thread I don’t want people to get confused and think this is worse than it is. Still really weird and follows malware patterns. Most likely not a gatekeeper bypass or anything because delivery would be difficult but seemed like a sketchy decision to basically write their own sudo tool into the pre install scripts.
- ajphdiv 7y agoWhy did you delete the tweet?
- kccqzy 7y agoTo clarify, this zoomAutenticationTool† is part of the preflight "script" that gets run inside the Zoom installer. It is a signed binary that happily runs anything, including unsigned scripts. This generic-looking tool can be used to bypass code signing requirements. (It does prompt the user for administrator privileges.) †: I didn't misspell the name of the executable. It's missing an h.
- zeepzeep 7y ago> †: I didn't misspell the name of the executable. It's missing an h. Ty for making me laugh.
- j4yav 7y agoIs this like when you have to spell cheese as something like "cheez" for legal reasons?
- NullPrefix 7y agoMeat flavored sausage. "flavored" is in extra small letters.
- decasteve 7y agoAnd it’s missing the ‘u’ *flavoured A little ‘humour’ is allowed, right?
- 7y ago
- OldTechSucks 7y agoI don't see anything wrongs here, you investigate the script and it just an installer. Did you even look at nvidia-installer? Why no one talks on that crap? So much hate on Zoom... I hate that too, I was at meeting yesterday and my interentet got disconnected and couldn't get back but even after reconnecting there was an audio issue.
- t0mas88 7y agoWhat's wrong here is that Zoom hacked together an installer against all normal structure that Apple recommends. And that installed includes a very stupidly designed component that will try to run whatever you ask it with admin privileges. This is yet another indication that nobody at Zoom has a single clue on how to build a secure and stable application. Another example of that mindset released today: https://www.theverge.com/2020/3/31/21201956/zoom-leak-user-information-email-addresses-photos-contacts-directory https://www.theverge.com/2020/3/31/21201956/zoom-leak-user-i... They are proving to completely not understand how to design security/privacy features. Frankly, their technology team sounds like total amateurs that hack things together.
- oefrha 7y ago“Total amateurs hacking things together” somehow managed to ship something functionally better than products from mature shops like MSFT that mean serious business. The irony there.
- dsr_ 7y agoIt has long been the legendary case that Microsoft takes three major versions to get a usable product, then encrusts it with ornamental features until it has trouble breathing around version 7 or 8.
- valuearb 7y agoIt's more like they gained better ease of use by bending platform rules, to the detriment of security.
- ycombonator 7y agoZoom is a Chinese shop, potentially compromised by CCP like most industries there.
- bwb 7y agoPlease explain how you are justifying that statement. Zoom is a publicly traded company in the USA, their HQ is in San Jose. The founder lives in the USA etc etc. Currently on LinkedIn out of the 1973 employes 1475 are in the USA on LinkedIn. Another site said they have 2532 employees, but even then that means 58% of the team is American.
- redis_mlc 7y agoChina passed a law, the National Intelligence Law from 2017, that residents must comply with the govt. But even before that, same deal, since China does not actually follow the rule of law in any meaningful manner. So any resident, or somebody who has family in China, can be coerced. Oh, and stop being a useful idiot of the CCP. "Huawei says it would never hand data to China’s government. Experts say it wouldn’t have a choice" https://www.cnbc.com/2019/03/05/huawei-would-have-to-give-data-to-china-government-if-asked-experts.html https://www.cnbc.com/2019/03/05/huawei-would-have-to-give-da...
- deleted 7y ago[deleted]
- rvnx 7y agoGitlab (partially) acknowledged the issue: https://gitlab.com/gitlab-com/www-gitlab-com/issues/5555 https://gitlab.com/gitlab-com/www-gitlab-com/issues/5555 but most of the conversation is missing: "This comment is currently under review for potential violation of the GitLab Code of Conduct. For more information, please reach out to conduct@gitlab.com." so we'll never know what's the end story there. If someone knows I'm curious. Though personally, I don't think China is more a danger than the US, or any local spying organisation of your choice.
- bwb 7y ago
- rvz 7y agoThat my friends is the text book definition of high quality malware.
- fouc 7y agoI wouldn't be surprised if some other MacOS apps pull similar tricks. Interesting that we didn't know Zoom did this until everyone started using it, and someone finally audited it.
- evolveyourmind 7y agoMeanwhile, apple doesn't accept my app because they claim the UI sucks
- galad87 7y agoApple didn't review or accept Zoom. It's not on the App Store.
- diggan 7y agoYeah, as much as I don't like the locked down nature of Apple devices/OS/software, this case with Zoom being able to do this stuff, is an argument for the locked down garden.
- NullPrefix 7y agoIsn't this the exact opposite? Zoom didn't bother to go get accepted into high requirement locked down garden, instead they choose to distribute the binaries on their own without having to deal with pesky rules about unsigned scripts.
- diggan 7y agoWell, if it was only possible to install apps via the App Store (Apples wet dream, but they'll lose a ton of users), then Zoom wouldn't be able to distribute their app any other way and forced to follow the guidelines. Again, I'm playing devils advocate for a pro-walled-garden opinion me myself don't believe in, so don't take my opinion too seriously.
- lloeki 7y agoIt's not an either/or. You can simultaneously have more trust in apps coming from the walled garden and cherry-pick with greater care the select number of potent applications that come from outside of it and are therefore harder to trust, precisely because they may be able to do more than what's allowed within the walled garden.
- pvg 7y agoI'm not super familiar with Apple's policies but is this really such a grave sin on OS X? The purpose of the signature, as I understand it, is mostly to assure the user of the provenance of the code and, in a pinch, let Apple disable it. It's not intended as some bulletproof runtime security mechanism and it's easy to think of lots of apps that would be signed but could legitimately execute some form of unsigned code.
- oefrha 7y agoIt’s not per se, otherwise Terminal.app and iTerm2.app would be among the most sinister signed apps ever. Signatures only protect the app bundle itself, not user-supplied code or code fetched to locations outside the bundle. However, it’s bafflingly weird to include such a thing just to skip a button press or two in the installer.
- pvg 7y agoI can see how skipping the installer flow might skeeve people out but this particular bit about some signed doodad in the installer being able to launch scripts seems like something between a nothingburger and mildly curious. Just wondering if I'm missing something here.
- oefrha 7y agoYeah I don’t think this additional swipe adds much to https://news.ycombinator.com/item?id=22736608 https://news.ycombinator.com/item?id=22736608.
- foobarian 7y agoI wonder if it's just a case of an opinionated junior developer. I've been there. I've written a Windows NT console app once upon a time and there was something about the console that bugged me to no end, so I ended up rewriting it as a graphical app using my own fonts and terminal emulation. Probably wasted days doing this for some minor artifact of the UI, but it felt like a huge accomplishment at the time. Similarly here, guy or gal get it in their head that the extra click just won't do, and then find a hack around it.
- ajconway 7y agoMeanwhile most of us curl stuff directly into our shells sometimes: https://brew.sh https://brew.sh
- DarkWiiPlayer 7y agoAt least in those cases we know it's happening and we can have a look at the script if we want.
- gregoriol 7y agoYes! I second that feeling: knowing we are executing something and that thing being open source, it's up to us to check (plus running shell scripts is for power users). Here the user, average joe doesn't know what's happening, and can't check anything as it is hidden.
- jtbayly 7y agoBut so what? All it’s doing is installing the tool he needs. He knows theoretically that this could be spyware or worse, but hey, everybody else is using it. Seems like no big deal. Same with that curl script. What are the chances it’s bad? Small. So you run it and hope for the best.
- tpxl 7y agoDaily reminder: You can detect whether the script is being piped to shell or not, so inspecting the script, then curl | shell might not get you the same script. curl > file, inspect file, ./file is (probably) safe.
- joombaga 7y agoIt'll get you the same script, it just may not execute the same, right? curl is the thing being redirected, and the http server doesn't know about curl's redirections.
- 7y ago
- dchest 7y agoHow would you bypass Gatekeeper with that? Something needs to run it. If you can, why can't you just do the same with osascript instead of running zoomAuthenticator? /usr/bin/osascript -e 'do shell script "touch /tmp/ran_successfully " with administrator privileges'
- Thomaschaaf 7y agoIn a couple weeks the public will have done a complete audit of all of zooms tools.
- iainmerrick 7y agoWith zero impact on Zoom’s practices or their popularity, probably. Edit to add: I mean, I hope they’ll lose a substantial number of paying customers over this? But I doubt it.
- TechBro8615 7y agoWhy do you hope that? As far as I've seen, Zoom is the best video conferencing software available. In the past, they've been quick to resolve every security issue that has been found. Would you rather some new company take over and start the cycle again?
- api 7y agoHistory has shown that ease of use is more important than privacy or security in nearly every case. The reason is that we are living in an age of cognitive overload and time poverty. Time and cognitive space are far more expensive than the long tail risks associated with bad security and privacy.
- kockic 7y agoI actually hope they will just fix all of their security/privacy issues, and that we will end up with a decent video conferencing app that actually values users privacy. I don't get why people are so negative. I mean zoom is not unique in this sense, many of the everyday apps we use share at least some of these issues. How many of us use Intel CPUs that had (still have) infinite number of vulnerabilities? Or MacOS that at some point allowed root to login without passwords? How many security issues we (software engineers) create on a daily bases simply because the management needs something for yesterday?
- iainmerrick 7y agoI actually hope they will just fix all of their security/privacy issues Yes, me too! I was going to edit my comment again to clarify, but I figured it wasn’t worthwhile trying to list all the caveats explicitly. But yes, if they fix this stuff and continue to be successful, that would be good. How many security issues we (software engineers) create on a daily bases simply because the management needs something for yesterday? I disagree with your premise there. Sure, security bugs can sneak in if you’re rushed, but that’s qualitatively different from actively exploiting security holes and using dark UI patterns to make your own life easier. I hope most engineers would refuse to implement feature requests like that. It should be considered a form of malpractice.
- erulabs 7y agoIt does make me feel a bit better though - sometimes I go overboard with security and spend hours making certificate validation work everywhere etc - the people actually making money skip all that and just ignore it. They typically get away with bad practices until they really get massive, as long as the software works well otherwise. Sometimes when coding I think there is technically an obscure race condition security flaw and, from time to time, leave a TODO instead of spending those grueling hours. This weirdly makes me sleep better at night. At any rate, "sunlight is the best disinfectant"!
- mikorym 7y agoIMHO those you mention who make money are, in this case, qualified further to a category of products that in essence are not complicated. Video conferencing is not complicated until you have scaling problems. Similarly, Facebook was not complicated until it got millions of users at which point most of their interesting code had to do with scaling. My point is that Zoom is replaceable and in fact, IMO should be replaced. Their tactics of using these dodgy techniques is because they want to have an edge over competition along the lines of "it just works". I would contrast this to pure research services that add value that would otherwise not be there. Examples of this would be at the time that they were startups: Google (search algorithms) or Spotify (music categorisation algorithms). I'm not saying that today either of Google or Spotify are paragons of morality. At the hardware level I would include Tesla (battery tech) and Intel (processors). My point is that the shady practises are at this point Zoom's product offering. If their video scaling algorithms are superior (and not just lifted from some open source libraries) then that should be their product offering. Not "it just works" via security exploits. Edit: Typos.
- gregoriol 7y agoNow that it's clear that Zoom developers do their best to do the worst, Apple should ban it entirely from their platforms
- gtirloni 7y agoIf I buy an Apple device, it's mine, not Apple's to decide what I run on it.
- Nextgrid 7y agoPart of Apple's value proposition (to me at least) is that they are (supposed) to keep the bad guys away from the platform and have a huge influence on app developers to force them to comply with their rules.
- amelius 7y agoBut it provides a false sense of security.
- ookdatnog 7y agoBut Apple does, in fact, decide what you can run on your device, at least on iPhones. That's _the_ primary reason why I never even considered buying one. In fact I never understood why the HN crowd finds this policy so inoffensive. I've always considered it a massive intrusion on computing freedom.
- deleted 7y ago[deleted]
- Puts 7y agoSome more shadiness from this company. The Zoom.us-website is explicitly allowing the browser with its content security policy-headers to load scripts from these domains: https://*.50million.club https://*.50million.club https://apiurl.org https://apiurl.org https://secure.myshopcouponmac.com https://secure.myshopcouponmac.com https://serve2.cheqzone.com https://serve2.cheqzone.com https://ad.lkqd.net https://ad.lkqd.net Doing a fast google for these domains shows they are mostly known for being associated with malware...
- TechBro8615 7y agoWow you're right. Here I was about to comment that you've probably got some browser extension installed doing that. To see for yourself, simply `curl -I https://zoom.us` https://zoom.us`
- gbea42d4 7y agoAt least it's shady enough :D cX
- badrabbit 7y agoYeah...about that: ad sites are contacted by malware a lot so google results will show as such. Adware is technically malware.
- cricalix 7y agoI saw somewhere on Twitter, possibly as a reply to Scott Helme, that they possibly added these URLs to their CSP because they were getting errors in their CSP logs from machines that had adware/malware loaded. Can't find the tweet though, so maybe it wasn't him (but I'm reasonably sure it was a discussion of CSP, ReportURI, and the fact the CSP changes depending on logged in/out of zoom's site). Pretty bad solution if that was indeed the case.
- macspoofing 7y agoCurious why the focus on Zoom specifically given that there are 10,000 different conferencing products out there. Are they the biggest?
- shrew 7y agoSince all the lockdowns and social distancing rules have come into play for COVID-19, Zoom has seen a huge increase in consumer usage. That in turn has lead to increased scrutiny as more people use it. Besides that, this certainly isn't the first time Zoom's shady practices have been exposed, where many other conferencing products haven't had such a track record.
- macspoofing 7y ago>Zoom has seen a huge increase in consumer usage. Moreso than others? I deal with customers/partners all the time, and I count the following desktop clients installed on my laptop: - Zoom - GoToMeeting - BlueJeans - Skype for Business - WebEx - Join.me Also: - Teams - Slack - Hangout Meet And I'm probably missing a bunch. Is Zoom that much bigger?
- lighthazard 7y agoYes, Zoom has recently been adopted by local non-business groups across the world. Anecdotally, my wife's momgroups have Zoom now, and she's also using it with her own family. None of the alternatives are even close to good comparatively in ease-of-use and stability.
- macspoofing 7y agoAh. Makes sense. I deal mostly with businesses, and Zoom, from my anecdotal experience, is a minor player there.
- shadowtree 7y agoIn mid-2019 Zoom was only behind Cisco WebEx: https://www.ciodive.com/news/zooms-rise-carving-market-share-from-microsoft-cisco/560526/ https://www.ciodive.com/news/zooms-rise-carving-market-share... Now it is the market leader. Hence all the bad P.R. Zoom's CEO was the head engineer for WebEx. Also public, profitable.
- tiborsaas 7y agoTweet got deleted :/ Just based on the title, consider that web browsers are signed binaries that run any unsigned script :)
- mnw21cam 7y agoIn a sandbox, yeah.
- _curious_ 7y agoCould someone kindly ELI5?
- zelivans 7y agoAny context as to why the tweet was deleted?
- api 7y agoLast straw. Goodbye Zoom. I'll use it in a VM if I must.
- ktm5j 7y agoGoogle cache has a copy of the deleted tweet: https://webcache.googleusercontent.com/search?q=cache:a7E7domEms0J:https://twitter.com/danamodio/status/1245032929635586053+&cd=1&hl=en&ct=clnk&gl=us https://webcache.googleusercontent.com/search?q=cache:a7E7do...
- badrabbit 7y agoNot a problem if everyone used Linux. (Sarcasm intended: no workable binary signing)
- e12e 7y agoYou're right, but there is signing of kernel and modules now, via secure boot, eg: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Kernel_Administration_Guide/sect-signing-kernel-modules-for-secure-boot.html https://access.redhat.com/documentation/en-US/Red_Hat_Enterp... I'm not sure about binaries in general - having secure boot as an anchor at least makes the exercise less futile - but there an interesting point brought up here: https://stackoverflow.com/questions/1732927/signed-executables-under-linux https://stackoverflow.com/questions/1732927/signed-executabl... Dynamic linker, dynamic libraries and dlopen. I see solaris has elfsign - and it appears to be in OpenSolaris too: https://github.com/joyent/illumos-joyent/blob/master/usr/src/cmd/cmd-crypto/elfsign/elfsign.c https://github.com/joyent/illumos-joyent/blob/master/usr/src... Not sure if it would work on Linux - and you'd might want to prevent running unsigned binaries. Not sure if that's a thing on OpenSolaris. Still, being able to verify a binary might help with handling random downloads, I suppose.
- badrabbit 7y agoYeah, module signing but not turned on by any distro. I can't even imagine not having driver signing on windows in 2020. There is IMA in Linux too. Even package signing barely started catching up in the last few years on most non-mainstream distros. It's practically unthinkable to have script signing too.
- e12e 7y agoAFAIK it's on by default in Ubuntu? > Modules built and shipped by Canonical with the official kernels are signed by the Canonical UEFI key and as such, are trusted. Custom-built modules will require the user to take the necessary steps to sign the modules before they loading them is allowed by the kernel. https://wiki.ubuntu.com/UEFI/SecureBoot https://wiki.ubuntu.com/UEFI/SecureBoot
- crazygringo 7y agoLegitimate question: what is bad about this? I've read all the comments and still don't see a convincing explanation. Code signing just says you can trust that the software you clicked on came from the actual developer. It doesn't say anything at all about what the software does. Of course signed software can do whatever it wants. It's not like there's supposed to be some chain of trust that it's only allowed to run further signed code. It's free to run a Python script or shell command or whatever it wants. And installers certainly run scripts. And as other comments here state, to do anything that requires root privileges, it pops up to ask for your admin password, so it's not getting around that. I see references to this being a "malware pattern" but no explanation of why or what that means specifically. Zoom is commercial software (not malware) and I don't see how this is a vulnerability (something malware could take advantage of) so I'm not getting it. Can someone explain what the problem is here? Or is there no problem?
- criddell 7y agoIf a script is signed, then there's a high probability that the script is going to do what it's supposed to do. If the binary runs an unsigned script, then that script could be modified to do something malicious. Signing isn't difficult or expensive so why not insist on it?
- INTPenis 7y agoBut isn't this an issue in the OS security system? Zoom is only using a loophole, just like any malware would. Same with the recent story on UNC links in Zoom chat. That's an issue in Windows. Why is windows sending your password out on the internet willy nilly? In this climate, 2020, Microsoft should know better.
- ghostpepper 7y agoOne could argue that legitimate software acting like malware is an issue in and of itself.
- UncleMeat 7y ago
- paulintrognon 7y agoReposted tweet: https://twitter.com/DanAmodio/status/1245329512889487361 https://twitter.com/DanAmodio/status/1245329512889487361
- gnachman 7y agoWhat’s the right way to sign a script? I’ve spent some time researching this and never found a satisfactory answer.
- saagarjha 7y agoPut it inside an app bundle?
- LockAndLol 7y agoGet your friends and family off of Zoom. Use Jitsi Meet https://jitsi.org/jitsi-meet/ https://jitsi.org/jitsi-meet/ It's opensource, free and doesn't require user accounts. Plus you can host it yourself.
- peterwwillis 7y agoThe tweet has already been deleted. You don't get substantive content from a tweet, you don't get detail, they're hard to follow when threaded, and usually they aren't well thought out or researched. Please don't submit (or upvote) tweets. It would actually be better if you created a blog post with a screenshot of it and posted that.
- Chlorus 7y agoNot sure why you're being downvoted - I expect more meat from a submission than 'here's a context-free few sentences on a tweet!'
- ptlu 7y agoLink to the cached version of the tweet: https://webcache.googleusercontent.com/search?q=cache:a7E7domEms0J:https://twitter.com/danamodio/status/1245032929635586053+&cd=3&hl=en&ct=clnk&gl=us https://webcache.googleusercontent.com/search?q=cache:a7E7do...
- emmelaich 7y agoTweet removed and re-posted as https://twitter.com/DanAmodio/status/1245329512889487361 https://twitter.com/DanAmodio/status/1245329512889487361
- dang 7y agoA thread from yesterday: https://news.ycombinator.com/item?id=22736608 https://news.ycombinator.com/item?id=22736608
- sethgoodluck 7y agoHow to completely remove zoom from a unix system... https://www.fosslinux.com/3534/how-to-completely-uninstall-applications-by-command-line-in-ubuntu.htm https://www.fosslinux.com/3534/how-to-completely-uninstall-a...