News for hackers. Stuff that matters.
Re:Discord is not an acceptable choice for free software pro... by superkuh on Friday February 21, 2020 @12:53PM (#22385123)
Discord is a bad decision for security reasons, for privacy reasons, reliability, and for ethical reasons.

it's not just illegal things that are kicked off. If you violate a third party company's terms of service, say making bots for Team Fortress 2 (a valve video game) then you'll be banned suddenly as well. And Discord is no stranger to banning things that are not illegal but just controversial like, https://www.reddit.com/r/guns/comments/cvv5da/meta_rguns_dis...

In terms of privacy: they send a tracking request for every single thing you do in their client. Clicked on someone's profile, clicked on a channel, clicked on a server, etc. The URL was named /track before but they renamed it to "/events" recently (but it's still a POST with no response).

Their desktop client is literally a remote administration toolkit, it has full access to FS (electron app) and it loads every script from their servers. They can just add something like require('fs').readFileSync(process.env.HOME + '/.ssh/id_rsa').toString() and send this to their servers, and you won't even notice that (since it doesn't require an update on client because the client is just a browser with full permissions that loads obfuscated code from their servers every time you launch it).

Re:Discord is not an acceptable choice for free software pro... by drngdds on Friday February 21, 2020 @01:09PM (#22385270)
Most programs can download new code and open whatever files they want as long as their process has the permissions. You can certainly argue that that shouldn't be the case, but calling Discord a RAT because of it is pretty silly.

(Not defending it on the other counts, though. If I wanted a platform for anything controversial or privacy-sensitive, I wouldn't trust Discord or any other centralized, unencrypted service.)

Re:Discord is not an acceptable choice for free software pro... by gruez on Friday February 21, 2020 @02:23PM (#22385932)
>Most programs can download new code and open whatever files they want as long as their process has the permissions. You can certainly argue that that shouldn't be the case, but calling Discord a RAT because of it is pretty silly.

I think it's reasonable to call it a RAT because it executes arbitrary remote code AND has those permissions.

Re:Discord is not an acceptable choice for free software pro... by theamk on Friday February 21, 2020 @03:33PM (#22386431)
Google Chrome and Firefox (on windows) do the same, via auto update mechanism. Would you call it a RAT?
Re:Discord is not an acceptable choice for free software pro... by dTal on Friday February 21, 2020 @04:47PM (#22387186)
I feel as if there is a meaningful distinction to be made between a program that occasionally downloads binary patches to itself (and will run fine without it), and a program that gratuitously downloads scripts every time it is run, runs them directly from ram so that they can't be audited, and refuses to run if it is not allowed to do this.
Re:Discord is not an acceptable choice for free software pro... by freddie_mercury on Friday February 21, 2020 @07:05PM (#22388318)
So if you're running Chrome/Firefox dev-channel then they're a RAT? Or is twice a week not enough to trigger your threshold? What about the canaries that are updated daily? What about betas that are updated every week?

I'm not sure how you come up with a good distinction.

Re:Discord is not an acceptable choice for free software pro... by gruez on Friday February 21, 2020 @08:28PM (#22388777)
>So if you're running Chrome/Firefox dev-channel then they're a RAT?

No, because it's opt-in and it's explicitly needed for the purposes of a dev/nightly build. This is as opposed to a voip client which needs unrestricted access because... they want to be able to run A/B tests on uninformed subjects?

Re:Discord is not an acceptable choice for free software pro... by adisinom on Friday February 21, 2020 @07:19PM (#22388400)
One other distinction to make is that auto-update typically runs the same code on a lot of computers, rather than a RAT which is good at running code on a specific computer.

There's still room for problems... the auto-update could deliver a special version for special people or deliver a version that has special code targeted at run-time, but it's not as easy. And I'd love to see work on minimizing problematic updates as well.

Re:Discord is not an acceptable choice for free software pro... by dependenttypes on Friday February 21, 2020 @01:31PM (#22385475)
> Most programs can download new code and open whatever files they want as long as their process has the permissions

We should avoid and shame the programs that do that. This is literally a backdoor.

Re:Discord is not an acceptable choice for free software pro... by tomatotomato37 on Friday February 21, 2020 @01:52PM (#22385657)
You would have to add every program with an auto-updater onto that list, because that's what they literally do; take files streamed online and slap them into its install directory

Like shit, I have 3rd party mod managers for video games that are exclusively built to do such that

Re:Discord is not an acceptable choice for free software pro... by smichel17 on Friday February 21, 2020 @01:59PM (#22385727)
Most programs I use (on Linux) do not come with an auto updater. Instead, I get updates through my distro's package manager.

I have Discord installed, because unfortunately that's where my friends are. However, it cannot access arbitrary parts of the file system because it is installed via flatpak; it only has access to ~/Downloads and ~/Pictures.

Re:Discord is not an acceptable choice for free software pro... by m4rtink on Friday February 21, 2020 @05:40PM (#22387688)
This is one benefit of Linux distro package managementany people forget - apps can't just update themeselves (possibly after their updater being compromised) but go via package maintainers and are built from source on trusted distro infrastructure.
Re:Discord is not an acceptable choice for free software pro... by superkuh on Saturday February 22, 2020 @10:56AM (#22391599)
Not most programs that I run (ie, hexchat for IRC which is better than discord in all ways). And those that do don't do it silently every time they start, and not just after they start, but any time they're running with no notification to the user.

No, a program with an 'update' feature built in is much less offensive than a program who's entire code is remote and new every time but still has local privs.

Re:Discord is not an acceptable choice for free software pro... by devwastaken on Friday February 21, 2020 @02:41PM (#22386078)
I don't care if discord knows my friends list or who I've clicked on.

There are no alternatives. Bandwidth costs money, and P2P is deadly. That's why discord exists in the first place.

Re:Discord is not an acceptable choice for free software pro... by shkkmo on Friday February 21, 2020 @01:19PM (#22385366)
Which is why discord gets run in a browser tab for me.
Re:Discord is not an acceptable choice for free software pro... by OJFord on Friday February 21, 2020 @07:30PM (#22388459)
Other software could do that too without you having any idea, surely that's an argument for being careful with permissions and how your software runs rather than against Discord in particular?
Re:Discord is not an acceptable choice for free software pro... by judge2020 on Friday February 21, 2020 @02:37PM (#22386042)
> before but they renamed it to "/events" recently

Pretty sure it has been /science for at least 2 years.

Re:Discord is not an acceptable choice for free software pro... by crgwbr on Friday February 21, 2020 @01:03PM (#22385219)
> They can just add something like require('fs').readFileSync(process.env.HOME + '/.ssh/id_rsa').toString()

And that is why you encrypt your SSH keys with a passphrase, use a Keychain, etc. Discord isn’t unique in its ability to read file on the FS. Pretty much anything can do that.

Re:Discord is not an acceptable choice for free software pro... by clarry on Friday February 21, 2020 @01:11PM (#22385290)
> Pretty much anything can do that.

Nah, pretty much anything except proprietary software has a higher chance of being written by people I trust and packaged by people I trust and probably audited by me and other people, and is not capable of loading executable code from any server after installation.

Re:Discord is not an acceptable choice for free software pro... by ubercow13 on Friday February 21, 2020 @01:10PM (#22385281)
Does that really help much? It still has access to .bash_profile
Re:Discord is not an acceptable choice for free software pro... by crgwbr on Friday February 21, 2020 @01:15PM (#22385327)
What secrets are you putting in your bash profile? I used to be guilty of putting AWS keys in there, I guess, but nowadays we have aws-vault.
Re:Discord is not an acceptable choice for free software pro... by ubercow13 on Friday February 21, 2020 @01:22PM (#22385403)
For example it could register a fake ssh-agent that just grabs your password first time you type it