Should you open any Discord tweet and scroll past the usual meme and good time responses, you'll see no less than a few pleas for help - even more if you look at their mentions.
So how did we get here and how does it keep getting worse - with even competent users losing their accounts and servers to hackers?
Some of the common attack vectors are:
Password reuse is simple enough to avoid - DO NOT use the same password for multiple websites/services - else if one of them gets breached and leaked into wild, people can use the password to log into all of your other accounts.
Using an external password manager with a master password (e.g. BitWarden) can spare you of having to remember dozens of "sufficiently secure" passwords and is strongly encouraged.
Social engineering is deceiving by pretending to be someone (in this case, commonly Discord support) to get you to do something (usually, hand over username, password, and 2FA under guise of identity verification).
Takes a little care to avoid, but, rest assured, Discord or Steam wouldn't contact you about account issues by adding you as a friend on Discord. Or by emailing you from an unofficial email. And if a friend of yours is acting sketchy, ask them to verify by messaging you elsewhere!
Phishing is the process of fooling you into entering your credentials on an unrelated website, usually on premise of getting free Nitro. You have definitely seen at least a few of these as they pop up and vanish on daily basis.
Talking the obvious here, but you should never enter your credentials on unrelated websites - if a website integrates with Discord, it'll redirect you to Discord website to ask for permissions (and even then, you should triple-check the URL before entering anything).
Should you fail this little attention check, your account will be either stolen and sold (if it has a payment method attached or other value) or used to spam links to the same phishing website until Discord perma-bans it for spam.
The good news are that if you have opened a phishing site but haven't entered anything, the odds of your account being compromised are astronomically low - even lower in our modern days of Flash and PDF viewer plugins all but obliterated from browsers.
User tokens are a little more interesting:
They are, essentially, your login session - when you log in, a token is generated. When you log out (or after a while), the token is invalidated. A token "renews" while in use. Password resets use short-lived tokens. Usual stuff.
There is a little caveat - tokens aren't bound to system nor geographically, meaning that if someone can get their hands on your token, they can access your account - wherever they are.
Discord takes basic precautions against your token being stolen from right before your eyes, but as the last window/tab of Discord closes, it has to save the token somewhere so that you don't have to re-login next time you open the app.
And thus, to steal a token, malicious application has to wait for you to exit Discord first before it can send your token off and/or get down to its dirty business.
Much like with phishing, you will see your email+password changed (which invalidates YOUR token and generates a new one for the attacker) and the account will be either sold or used for spamming links to same malware until it is banned.
Security recommendations are foggier here - of course, "don't download malware", but malware can now be found in many places - in sketchy games you get DMs about testing, in browser extensions, in innocent-looking jam games, or even what may seem like "normal" games.
Edit: by the looks of it, it shouldn't be possible (at least API-wise) to change the email/password with a token alone (current password is required), so additional steps (like infecting the Discord desktop install to steal the entered password) would be needed. This is semi-good news for having your account stolen outright (as you'd have to manually re-enter your password without suspecting something) and neutral news for having your account used for spam (for which a token is enough).
At this point some of the readers might get an urge to interrupt this with "Well, you see, I have something that the common victims lack - a brain and a linked 2FA app",
And you could be right, but 2FA doesn't mean jack on Discord. Try guessing which of these actions require 2FA confirmation:
- Changing the user's password and/or email address
- Buying hundreds of dollars worth of Nitro gifts
- Irrevocably deleting
serversserver data that user owns
Edit: while it would seem that people cannot delete the server itself, kicking everyone out and deleting every channel is allowed (and is irreversible).
Answer follows ➜
None at all! 2FA is only used for email+password login and to unlink 2FA. So if an app can fetch your token (which anything you download might do), it can spam itself to your friends, wreck your stuff, spend your money, and strip you of access to the account.
In comparison, if you were to steal my Steam session (which is region+machine bound by the looks of it), you could play videogames, but not buy new ones (because my payment method uses 2FA) nor trade any items of remote interest (which prompts for a Steam Guard code)
This might seem like a pretty serious issue, so what does Discord do?
- Blame you (yes, really)
- Decline to restore lost servers/channels
- If your account was used for spam, it'll be deleted - no appeals
(and no matter how many hundred dollars you've given them - good user retention)
All of this on top of week-long wait times to get a human to respond to your ticket as such.
But wait, it gets worse: you know how when you email support, they attach it to your account and you can look at it at Support website?
They do for login issues too, so a person that now has access to your account can just... go there and close your ticket. [ref].
This is the point where I'd usually reassure you that things will get better, but this had been an issue for so long that there are now "black markets" for stolen Discord tokens, and there currently aren't any promises of investigating security improvements.
- Use a password manager.
- Be careful about trusting people or web pages.
- Be extra careful about running executables from the web.
If you have sufficient familiarity/willingness to learn, run unfamiliar applications in a VM or isolated environment (e.g. Sandboxie) that is configured to forbid access to important directories.
- If you have Discord servers that are important/dear to you, consider transferring their ownership to an account that is never used on "unsafe" machines (e.g. only on mobile devices that do not have obvious attack vectors).
- If you are an administrator of a particularly big Discord server,
you may have to eventually investigate offloading the "administrator" role onto a bot
so that the channels can't be wiped if someone gets their account compromised.
Unfortunately, Discord seems to be actively working on adding more and more bureaucracy into bot development, which can be particularly troublesome for moderation bots with plenty of permissions.