For 3 days this month, 333 exit nodes were hacked in hopes of stealing sensitive data.

  • AnAmericanPotato@programming.dev
    link
    fedilink
    English
    arrow-up
    30
    ·
    6 days ago

    I think the big takeaway here is that if you’re using Tor, or a VPN, or really the internet in general, you always need to think about MITM attacks. There are a lot of standard protections against exactly this kind of attack.

    …users who ignored warnings that the SSH host key had changed…

    SSH keys are one of those protections. Don’t ignore the warnings. That’s a big red flashing DANGER sign.

    …block ports … used to accept various forms of encrypted email—while continuing to allow ports for receiving unencrypted email. If email services downgraded the connections…

    TLS connections are another of those protections; don’t use apps or services that allow plaintext communication.

    I’d be interested to know which email clients will downgrade connections by default. That is an absolutely insane thing to do. I don’t think my email provider even accepts unencrypted connections anymore.

    This is scary but really, nobody’s supposed to trust Tor exit nodes in the first place. This doesn’t drastically change my comfort level with Tor. But it’s a good reminder that you need to be mindful of how your apps are configured.

    • Kazumara@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      13
      ·
      6 days ago

      And also:

      But if you ignore the warning and go ahead with the login, the attacker does three things:

      • Steals your password
      • Opens a connection to your server and observes each command you type (MITM)
      • Opens a second connection to your server and infects it with Ebury

      Don’t use passwords for your SSH. With key based auth your session would still have been intercepted and relayed, but the attacker can’t make arbitrary new sessions, because they don’t get your private key.

      • WhyJiffie@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        5
        ·
        6 days ago

        but the attacker can’t make arbitrary new sessions, because they don’t get your private key.

        unless the attacker takes over the session to allow its own public key, or just password auth.