Ask HN: Why does Zoom Desktop examine all processes and arguments?
547 pointsLooking at syscalls, I see Zoom desktop reads all processes and arguments.
[pid 3844872] stat("/proc/1", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 3844872] openat(AT_FDCWD, "/proc/1/stat", O_RDONLY) = 4
[pid 3844872] openat(AT_FDCWD, "/proc/1/cmdline", O_RDONLY) = 4
[pid 3844872] readlink("/proc/1/exe", 0x20c0520, 1024) = -1 EACCES (Permission denied)
[pid 3844872] stat("/proc/2", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 3844872] openat(AT_FDCWD, "/proc/2/stat", O_RDONLY) = 4
[pid 3844872] openat(AT_FDCWD, "/proc/2/cmdline", O_RDONLY) = 4
[pid 3844872] stat("/proc/3", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid 3844872] openat(AT_FDCWD, "/proc/3/stat", O_RDONLY) = 4
[pid 3844872] openat(AT_FDCWD, "/proc/3/cmdline", O_RDONLY) = 4
...
Why would it do that? Is there any way to prevent it?
Comments (263) 39 threads
Show all comments
Showing thread 5 of 39
You can use hidepid=2 to prevent users from seeing other user's processes list.[1]
But I don't want my OS to ask me "do you want to allow htop to access the list of your processes" — à la Windows Vista — every time I want to run htop to see my user processes.
The issue here is closed source software with no way to inspect what they do.
If one really want to run closed source programs which were not vetted by their distro's maintainers, they should use firejail.[2]
[1] https://www.cyberciti.biz/faq/linux-hide-processes-from-othe...
[2] https://firejail.wordpress.com/
Why would it be every time? Say yes once to htop, no to Zoom. Sort of like Android/iOS permissions.
Or just require root. No way I'd give it to Zoom, htop maybe.
The security model on Linux is based on blacklist, with solutions like firejail.
Also, what's the points of these nags? Most people will just say "OK" anyway because they want to access the features they were promised.
I see it differently, for me the main issue is the fact that people run random software that were not even vetted.
If you dnf/apt install everything from the official repos of your distro, you wont have any misbehaving apps. And that model still holds.
And as I explained, other security models don't work either. People will just whitelist the app, or click "Accept" anyway, because they want the feature now! What's the point of nagging with a modal window "your random app, that you installed from a random website on the internet, which means you really want to use this specific app, is behaving in a shady manner, are you okay with this?"
How do you know this?
I hear this a lot, I've built packages myself, only because I needed them in a hurry. I never really went through the source code to make sure it's safe. Maybe others did, but I didn't, people installed the package, maybe they were hacked, who knows?
Just saying...
I usually do this directly on the source project, but some people in this subculture do it in their distro.
Also I'm surprised your packages landed in Debian/Fedora, because there is a review process… I'm not talking about a ppa repo or a copr repo, anybody can run that. I'm talking about packages in the official repositories. Installing software from a random ppa or copr repo is the same as curl | sudo sh, nobody vetted this.
[1] Type of bugs they report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=792580
[2] https://www.fsf.org/blogs/community/who-actually-reads-the-c...
Continue this thread — 1 reply
At least they get the choice? If they need something so badly they're happy to give it whatever permissions, fine, but at least they're aware and consented.
I don't know why you think nobody ever would decline, I and I assume many people do on mobile devices. Especially now that more recent (Android anyway) versions allow/require a sort of 'progressive' acquiring of permissions, prompt when it's needed and not before.
Apple & Google clearly think some people want to decline some of the time (and enough that it should be an option), or at least that it's a good way to deliver awareness.
STOP DOING THAT.