Lurker News
Looking 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

Earlier comments
nullc1 reply#
How else would they backup your command-line passed passwords and private keys for you?
cranekam2 replies#
I assume this is a joke comment because I have never heard of passing a private key (the contents of one, not the file name) as a command line argument. It’d be ten times worse than asking what someone’s wifi password was and being told some 40-digit hex string.
ben_bai#
i.e. with 7z (7zip) you have to specify the encode password as a command line argument. jikes
nullc#
People pass private keys on command-lines, particularly with ecc crypto (because the keys are short). It's a really bad idea, but that doesn't mean it isn't sometimes done.
akira25014 replies#
> Is there any way to prevent it?

Put it into it's own namespace, and only allow it to connect to your X11 session over TCP.

mishafb#
I think only Wayland has real security, X11 lets you do anything
phendrenad21 reply#
Does that prevent it from reading from `/proc`?
jraph#
In a PID namespace [1], it will be able to read /proc, but will see nothing interesting other than a strangely empty system. The process is isolated from the rest of the system as far as processes and PIDs are concerned.

[1] https://www.redhat.com/sysadmin/pid-namespace

zzo38computer1 reply#
If you want to prevent programs from accessing other windows, then (in addition to using its own namespace and file access) you would also need to proxy the X server, or run it in a nested X server (which does not have access to the one outside).
yjftsjthsd-h#
Specifically, Xephyr is generally the go-to option, although there are others.
kamray23#
For a more general solution, firejail.
the84723 replies#
> Is there any way to prevent it?

Firejail[0] allows cobbling together various linux sandboxing features, including namespaces which should result in an isolated proc filesystem which doesn't see the other processes. But I don't know if the default profile for zoom does that, you have to test it or write your own.
[0] https://github.com/netblue30/firejail

als0#
Just checked the default profile and it looks sufficiently isolated
guerrilla#
SELinux being another. Smack too, if people still use that.
kamray23#
AUR has a package for "zoom-firejail" which ships zoom binaries with a ready-made configuration and .desktop for launching it in firejail.

Goes to show how little people trust Zoom.

tryauuum1 reply#
(incompetence here) Maybe it's like discord, it does the same to display messages like "$username is playing terraria right now"
wwweston6 replies#
Discord leaks which apps you're using to other people?
Osiris#
It's a feature.
dcdc123#
Yeah, I highly recommend disabling it.
egypturnash2 replies#
So does Steam. It’s... a little creepier when it’s taken beyond “advertise which games you’re playing so your friends can potentially join you”, though.
delusional#
Are you sure? I think steam only does it for programs launched through it.
spockz#
Steam only does this when you launch an app through steam and only when it is enabled though.

That is quite a difference from broadcasting the name of any binary it recognises.

LegitShady1 reply#
by default, even.
humaniania#
That was the part that bothered me.
nrabulinski3 replies#
It “leaks” which apps you’re using if the developer explicitly talks to the discord client. Discord provides an SDK for game developers etc which can talk to discord client and show the game you’re playing and optionally let you invite people to your lobby straight from the discord chat. It doesn’t scan anything or open any processes, it just opens an IPC socket.
vbernat#
It also scans processes. Easy to check: run opensnoop.
voxic111 reply#
I think it does scan your processes. If I go to "User Settings " => "Activity Status" => "Not seeing your game? Add it!" => "Select" then I see many processes that almost certainly have no explicit discord integration. I believe they do this to allow the user to opt into showing their status based on running processes so that any application can be supported.

Continue this thread — 1 reply

npteljes#
Not leaks, proudly announces!

Load more comments