• Godort@lemm.ee
    link
    fedilink
    arrow-up
    39
    ·
    3 months ago

    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
      link
      fedilink
      arrow-up
      30
      arrow-down
      2
      ·
      3 months ago

      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.

    • Eager Eagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      15
      ·
      3 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
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 months ago

      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
        link
        fedilink
        arrow-up
        1
        ·
        3 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
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      3 months ago

      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

    • zaknenou@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      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
        link
        fedilink
        arrow-up
        5
        ·
        3 months ago

        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.