News for hackers. Stuff that matters.
Re:I looked at all the ways Microsoft Teams tracks users by gnicholas on Monday January 18, 2021 @12:17AM (#25818433)
I can't believe how aggressive Teams is at inserting itself in my login items (on a Mac).

At first, I thought it just happened when I installed the application. But nope — any time I open Teams, it will re-insert itself in my list of login items. This happens no matter how many times I have manually removed it.

I think it even happens more than once per launch because I recently launched it to join a call and then immediately removed it from my login items before the call even started. But after the call, there it was again in my login items.

I have never seen an application behave this way that was not widely considered to be malware.

Re:I looked at all the ways Microsoft Teams tracks users by keeganpoppen on Monday January 18, 2021 @01:06AM (#25818693)
apps in windows are, and have always been, more like this than mac apps. it seems like the worst offenders on mac are ports from / native residents of windows. steam does this, for example. it drives me BONKERS. at least on Mac it's kind of rare. on windows, i swear to god every single thing you install does this. razer mouse? better run at startup! weird USB peripheral you use once in a blue moon? better run at startup!
Re:I looked at all the ways Microsoft Teams tracks users by lifty on Monday January 18, 2021 @04:45AM (#25820032)
This is an abject failure of OS design. If an app is allowed by the OS to insert itself in the startup list without explicit user consent first an foremost I blame the operating system. You can’t trust every app and every developer out there. I would love if there would be a Linux distro out there that would adopt some of the principles and values embodied in iOS, without the draconian Apple walled garden.
Re:I looked at all the ways Microsoft Teams tracks users by luckman212 on Monday January 18, 2021 @07:58AM (#25821330)
I agree: this should be part of any reasonably secure OS. One thing you can do in absence of it is install Patrick Wardle's BlockBlock[0] which adds alerts for this behavior (also open source)

[0] https://objective-see.com/products/blockblock.html

Re:I looked at all the ways Microsoft Teams tracks users by unpixer on Monday January 18, 2021 @08:33AM (#25821587)
Eh, I don't know if you can exclusively blame Apple for this one. I've observed the same behavior in the MATE environmment, both on Fedora and Pop! OS. I'd install Teams, it would autostart on login, I'd remove it from my list of startup items, then the very next time I fired up Teams it would reinsert itself. The only way to disable it was inside Teams' own preference dialog, which I found to be an extremely tone-deaf mechanic.
Re:I looked at all the ways Microsoft Teams tracks users by tenebrisalietum on Monday January 18, 2021 @08:24AM (#25821524)
Get Sysinternals' Autoruns and simply just run it on a Windows system. There are so many ways executable code can run automatically without you knowing.
Re:I looked at all the ways Microsoft Teams tracks users by gnicholas on Monday January 18, 2021 @01:23AM (#25818806)
Honestly I’m surprised that Apple doesn’t block applications from inserting themselves into a user’s login items after the user has manually removed it. Or maybe only let the application do it by asking the use (and requiring one of the answers to be “no, and never ask again”.
Re:I looked at all the ways Microsoft Teams tracks users by jbverschoor on Monday January 18, 2021 @07:19AM (#25821009)
Well, you can't really buy Teams from the App Store, now can you?

Maybe some day people will understand that this "walled garden" is a good thing

Re:I looked at all the ways Microsoft Teams tracks users by alsetmusic on Monday January 18, 2021 @07:37AM (#25821168)
I helped my father install O365 via phone. It was a painful experience (he’s not great with computers). O365 was added to the Mac App Store the following week.

https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&c...

Re:I looked at all the ways Microsoft Teams tracks users by csunbird on Monday January 18, 2021 @04:42AM (#25820018)
I feel like steam is a good citizen in this regard. I had no problem with it starting at startup/login after I asked it not to do that.
Re:I looked at all the ways Microsoft Teams tracks users by keeganpoppen on Tuesday January 19, 2021 @05:54AM (#25832136)
i thought so too, but for some reason on my macbook air it keeps starting at login lol. i wouldn't be surprised if it's PEBKAC, honestly...
Re:I looked at all the ways Microsoft Teams tracks users by the_arun on Monday January 18, 2021 @02:49AM (#25819307)
I know, this is a crazy design to start an app during startup. They better get user’s consent before user installs the app and provide an option to disable start on startup (login).
Re:I looked at all the ways Microsoft Teams tracks users by m463 on Monday January 18, 2021 @04:46AM (#25820040)
I think I ran into this when I first used it, and tried disabling it, but then I just uninstalled it and exclusively use the browser version.

I can't recall exactly what I did, it was a while back.

I think one way to combat things like this is to find the launch file disable it and make it unwritable.

   chflags +simmutable <launchfile>
Other possibilities are: zero out files and make them immutable, or make the directory for updaters unreadable.
Re:I looked at all the ways Microsoft Teams tracks users by grishka on Monday January 18, 2021 @06:52AM (#25820812)
I did another variation of this for the Chrome updater. I deleted its plist files in ~/Library/LaunchAgents and created the directories with the same names so it can't easily overwrite them.

Honestly, it's frustrating that installing a daemon doesn't require user consent. Apple doesn't have their priorities right — instead of this legitimately useful feature, they added these annoying runtime permissions for the subdirectories in your home directory.

Re:I looked at all the ways Microsoft Teams tracks users by HenryBemis on Monday January 18, 2021 @05:53AM (#25820428)
> but then I just uninstalled it and exclusively use the browser version.

I had a couple of interviews with a bank and they wanted me to use Teams. I fell through the trap of installing it. Then (by default) plugged itself on my start-up list. "Join by browser" is the best option.

As or the tool, I use from SysInternals the Autoruns.exe. I love this toolkit (for a couple of decades now), I always suggest people to download the SysInternals Suite, cool small exe tools.

Edit: adding the download site: https://docs.microsoft.com/en-us/sysinternals/downloads/sysi...

Re:I looked at all the ways Microsoft Teams tracks users by kerng on Monday January 18, 2021 @12:27AM (#25818494)
What is a "login item"? Sorry, I dont know about Macs
Re:I looked at all the ways Microsoft Teams tracks users by NobodyNada on Monday January 18, 2021 @12:36AM (#25818550)
The login items are applications that open automatically when the computer is started (like the startup folder on Windows).
Re:I looked at all the ways Microsoft Teams tracks users by 2rsf on Monday January 18, 2021 @04:18AM (#25819838)
At least it is relatively easy to close it, Skype was almost impossible to close in a normal way
Re:I looked at all the ways Microsoft Teams tracks users by otabdeveloper4 on Monday January 18, 2021 @03:51AM (#25819661)
This is why I never run the desktop version of Teams, only the phone app. (The phone app is total shit, and loses all the distinctive and useful functionality of Teams, but I don't care.)
Re:I looked at all the ways Microsoft Teams tracks users by PascLeRasc on Monday January 18, 2021 @09:45AM (#25822244)
Check out Cisco WebEx sometime if you want to see how bad it can get. It is not possible to quit the app, it will re-open itself automatically and stick in your dock + app switcher. Nothing in Login Items and no setting to disable this. I found the LaunchDaemon doing this and deleted it, and it figured out and refused to work when launched manually.
Re:I looked at all the ways Microsoft Teams tracks users by CharlesW on Monday January 18, 2021 @02:40PM (#25825659)
> …any time I open Teams, it will re-insert itself in my list of login items. This happens no matter how many times I have manually removed it.

In your Teams profile settings, have you also unchecked Settings > General > Auto-start application?

(I'm not saying that Teams shouldn't use "Login Items" as the source of truth on this, just that Microsoft provides its own setting for this.)

Re:I looked at all the ways Microsoft Teams tracks users by specialist on Monday January 18, 2021 @09:42AM (#25822216)
Random idea:

I like the idea of running apps in their own sandbox, eg using docker container to run an instance.

For macOS, maybe second desktop login just for Teams and then use quick user switching.

Kludge, not a fix.

Working remotely, my SO has to agitate the mouse, like a dead person's switch, to prevent screensaver / lock screen, and to signal to micromanaging PHB continuous attention. Separate user login wouldn't help with that.

Re:I looked at all the ways Microsoft Teams tracks users by tgv on Monday January 18, 2021 @02:42AM (#25819256)
That's odd: I've recently switched macs, and nor on the old, nor on the new one was Teams added to the Login items; only OneDrive did that.

So I had a vague memory: go to your account icon > Settings > Auto-start application, and uncheck it.

Re:I looked at all the ways Microsoft Teams tracks users by gnicholas on Monday January 18, 2021 @03:20AM (#25819474)
Unfortunately this ability is only afforded to people who have accounts (I only use Teams when invited to someone else's meeting).

How silly that people who don't have accounts — because they use Teams infrequently — are subjected to the spammiest behavior.

Re:I looked at all the ways Microsoft Teams tracks users by tinus_hn on Monday January 18, 2021 @04:32AM (#25819942)
Why, they don’t need to advertise to the people who already have the product!
Re:I looked at all the ways Microsoft Teams tracks users by tgv on Monday January 18, 2021 @03:41AM (#25819600)
That's bad design, indeed.
Re:I looked at all the ways Microsoft Teams tracks users by brainzap on Monday January 18, 2021 @07:37AM (#25821161)
I think this is also partially on apple they did deprecate the existing start on login API, and I could get the new API working.
Re:I looked at all the ways Microsoft Teams tracks users by sriku on Monday January 18, 2021 @12:31AM (#25818517)
It seems to do the equivalent of this on my ubuntu machine too.
Re:I looked at all the ways Microsoft Teams tracks users by alpaca128 on Monday January 18, 2021 @04:41AM (#25820006)
Oh my, makes me glad I only used it in the browser so far. That kind of nuisance makes me glad VMs and containers exist.

Maybe it's possible to restrict its access via flatpak or Snap? I have a messenger via flatpak that can't access anything outside the home/Downloads folder, but I can't say whether that restriction applies to other apps as well.

Re:I looked at all the ways Microsoft Teams tracks users by unpixer on Monday January 18, 2021 @08:35AM (#25821601)
I responded in more detail elsewhere because I hadn't seen your comment yet, but you're not imagining things.