this post was submitted on 24 Aug 2024
54 points (87.5% liked)

Privacy

31816 readers
271 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

Chat rooms

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS
 

all 37 comments
sorted by: hot top controversial new old
[–] Godort@lemm.ee 38 points 2 months ago (5 children)

Typically, with scams like this, the attacker is using a tool like Evilginx.

The way this works is that Evilginx runs on a server that the hacker controls and will request the login page from whatever service they are targeting(Discord, Steam, Google, etc) and then serve it to you as a proxy. It looks entirely legitimate unless you make sure to very closely check the URL.

Once you login, it will take a copy of your Username, your password, and your session token(the thing that lets Discord know it's you so you don't need to login again after every refresh). and suddenly the attackers now have access to your account to do whatever they want with it.

Discord should absolutely prevent modifying links in this way specifically for this reason, but good practice as a user is to hover over every link and make sure it's pointing where it's supposed to. Don't click on anything that looks suspicious.

[–] refalo@programming.dev 29 points 2 months ago (1 children)

I struggle to call that hacking in the sense most people probably mean. Phishing is definitely a thing but they're not 'breaking' anything to access a system, they're just tricking you into giving it to them.

[–] BearOfaTime@lemm.ee 15 points 2 months ago

Yep, this is marginally hacking, and a bit more social engineering

[–] eager_eagle@lemmy.world 16 points 2 months ago

unless you make sure to very closely check the URL.

or you use random passwords + password manager, which auto-fill won't work in the fake domain.

[–] ReversalHatchery@beehaw.org 3 points 2 months ago (1 children)

Does this rely on the user typing in their password, or does somehow even the browser fall for it and autofill it?

Because in that case, to respond to OP: Firefox is not vulnerable to this, but most users themselves are. Using a password manager like Bitwarden would help, because if you add the website's real URL to your password entey (happens automatically for the current URL at password entry creation), bitwarden will simply just not show your password entry when the URL does not match.

Also, install uBlock Origin and turn on it's phising blocklists in the settings. It can be helpful.

[–] Godort@lemm.ee 1 points 2 months ago

An attack using this tool does require that the user actually logs in, but because they're just acting as a proxy for the real login page, the only way you'd spot the difference is if the URL doesn't match (or that your password manager doesn't auto-fill)

However, it's pretty easy to see that someone would be fooled by that as you'd expect to need to confirm your identity when adding a gift card to your steam account.

[–] DumbAceDragon@sh.itjust.works 3 points 2 months ago* (last edited 2 months ago) (1 children)

They do already prevent fake links. Their markdown doesn't work if you have the http scheme in the url, which is why the link in the thumbnail says steamcommunity.com instead of https://steamcommunity.com

[–] Godort@lemm.ee 5 points 2 months ago (1 children)

Sure, but an average user is not going to know to check for the URL protocol. It's still incredibly effective for phishing

[–] DumbAceDragon@sh.itjust.works 3 points 2 months ago

Yeah that's fair.

[–] zaknenou@lemmy.dbzer0.com 1 points 2 months ago (1 children)

I don't understand, as you said the hacker's server requests my credits, so am I not supposed to be prompted to accept something by the browser or Discord app? Twitter and Google usually prompt you and require you to click "allow"

[–] Godort@lemm.ee 5 points 2 months ago (1 children)

You've got half of it. The hacker's server is acting as a middleman for the real login page. Everything appears legitimate except the URL will be wrong and if you use a password manager, it won't auto-fill

They access the legit login page and forward it to you, but they're in the middle capturing everything you send.

When you enter your login details, they will record them and then forward them to the real login window in near real time, effectively logging in as you. They then have a legitimate session token which they can use to access your account without needing to re-authenticate.

[–] zaknenou@lemmy.dbzer0.com 3 points 2 months ago

aah, so in this trick I have to enter my creditentials again,

[–] GolfNovemberUniform@lemmy.ml 21 points 2 months ago (1 children)

Hacking Discord is easier than anything else because every account has a passcode that you can easily obtain using regular social engineering or remote access and it bypasses everything, even 2FA.

[–] lud@lemm.ee 1 points 2 months ago (1 children)

What passcode? Are you referring to recovery codes?

[–] GolfNovemberUniform@lemmy.ml 0 points 2 months ago (1 children)

Idk anything about any recovery codes. I was referring to a thing that's called something like "security token".

[–] lud@lemm.ee 0 points 2 months ago (1 children)

Ah, alright. Like an API key.

[–] GolfNovemberUniform@lemmy.ml 1 points 2 months ago

No it's not an API key. It's changed every time you change your password so it's basically an alternative one but it has an additional feature of bypassing 2FA.

[–] xylogx@lemmy.world 7 points 2 months ago (2 children)

Passkey is resistant to these attacks, but user adoption is not widespread enough for Discord to be able to mandate it.

[–] _Atlas_@lemmy.world 3 points 2 months ago (1 children)

Wtf, if it's such a huge security bonus, why wait for user adoption, especially if token stealing is an issue?

[–] xylogx@lemmy.world 2 points 2 months ago

Change is hard. It has been a long road to get where we are today: major OS and Browser vendor support. Users now need to change their behavior.

[–] toastal@lemmy.ml 2 points 2 months ago (1 children)

What is wrong with good ol’ TOTP & FIDO2?

[–] xylogx@lemmy.world 2 points 2 months ago (1 children)
[–] toastal@lemmy.ml 4 points 2 months ago (1 children)

Based on FIDO Alliance and W3C standards, passkeys replace passwords with cryptographic key pairs. These key pairs profoundly improve security. -- https://developer.apple.com/passkeys/

Based on FIDO2/WebAuthn but unlike them, passkeys are those things Apple & Google have been pushing that live on their servers + one specific device in its secure enclave you as as a user aren’t allowed to look into. FIDO2 is usually tied to some USB security token.

[–] gibson@sopuli.xyz 1 points 2 months ago (1 children)

you can still use a yubikey or even a password manager like keepassxc with passkeys, no need for any google/apple or even secure enclave.

[–] toastal@lemmy.ml 1 points 2 months ago

These passkeys want to be unique per site/services & many hardware tokens only have a handful of slots for storage which means such dedicated don’t really work & storing them on say your laptop with your other passwords probably isn’t ideal with Keypass. Many security experts don’t see the advantage over a good hardware token + unique password. Like Big Tech trying to reinvent XMPP with RCS, I feel they are trying to do the same with passkeys so they benefit them.

[–] LodeMike@lemmy.today 5 points 2 months ago (1 children)

that steals your discord auth token

How??????

[–] zaknenou@lemmy.dbzer0.com 1 points 2 months ago* (last edited 2 months ago) (1 children)

that steals your discord auth token

the general census on this thread is that he war over-exaggerating, he meant that it tricks you into inserting you Credential

[–] LodeMike@lemmy.today 1 points 2 months ago

So this is just "HTML link hiding in emails" but all over again?

[–] ElectroLisa@lemmy.blahaj.zone 4 points 2 months ago (1 children)

Someone in the comments raised a good question: how clicking a link to a third party website, exposes a discord auth token?

[–] zaknenou@lemmy.dbzer0.com 3 points 2 months ago (1 children)

so, he just over-exaggerated things here, actually when you click there is a page that asks you for your creditentials and kids get tricked to enter them

[–] HATEFISH@midwest.social 8 points 2 months ago (1 children)

So really it's a phishing attack? Maybe he should say that instead instead of being an alarmist that clicking a link will get your credentials stolen.

Every video I see of this guy is filled with disingenuous bs.

[–] zaknenou@lemmy.dbzer0.com 1 points 2 months ago

hmm yeah most likely. I forgot to add a question mark at the end of my reply, maybe it's not the case, maybe

[–] refalo@programming.dev 1 points 2 months ago

if a relevant password of theirs has been leaked then yes and yes. otherwise things get a whole lot harder.

[–] 11111one11111@lemmy.world -2 points 2 months ago (1 children)

Yes. Discord is the absolute worst fucking platform that was designed with mal-intent by a piece of shit company it's absolutely amazing anyone still uses it.

[–] refalo@programming.dev 4 points 2 months ago

Why do you think it's "amazing" that people use it?