RetroFed Forum
Your home away from modern life.
333 Tor exit nodes hijacked to intercept SSH traffic and retrieve plaintext email
Post Reply
AuthorMessage
Nobody_Special piefed.social Nobody_Special@piefed.social
Joined: 2026-06-15
Quote

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

210   Original
Ferrous lemmy.ml Ferrous@lemmy.ml
Joined: 2024-06-11
#2 · Quote Reply

Shout-out to whoever commandeered 333 of the FBI's exit nodes.

25
frongt lemmy.zip frongt@lemmy.zip
Joined: 2025-07-31
#3 · Quote Reply

the attacker connected from the management server to a second Tor server, called Switzerland2, through SSH, using an RSA key that, for unknown reasons, investigators couldn’t find among Switzerland2’s authorized keys

That's what really makes my hair stand on end. Is there some vulnerability in ssh they exploited to gain full access, unauthorized?

72
db2 lemmy.world db2@lemmy.world
Joined: 2023-07-29
#4 · Quote Reply

the attacker connected from the management server to a second Tor server, called Switzerland2, through SSH, using an RSA key that, for unknown reasons, investigators couldn’t find among Switzerland2’s authorized keys That's what really makes my hair stand on end. Is there some vulnerability in ssh they exploited to gain full access, unauthorized?

4?

52
BuckFutter timeyak.com BuckFutter@timeyak.com
Joined: 2026-08-08
#5 · Quote Reply

4?

Could it be? That soon lol.

4
AnAmericanPotato programming.dev AnAmericanPotato@programming.dev
Joined: 2024-05-14
#6 · Quote Reply

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.

30
frongt lemmy.zip frongt@lemmy.zip
Joined: 2025-07-31
#7 · Quote Reply

4?

No, different kind of certificate. And even if it was signed, it still shouldn't be accepted for auth.

17
Kazumara discuss.tchncs.de Kazumara@discuss.tchncs.de
Joined: 2024-04-13
#8 · Quote Reply

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....

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.

13
Kairos lemmy.today LodeMike@lemmy.today
Joined: 2023-12-26
#9 · Quote Reply

the attacker connected from the management server to a second Tor server, called Switzerland2, through SSH, using an RSA key that, for unknown reasons, investigators couldn’t find among Switzerland2’s authorized keys That's what really makes my hair stand on end. Is there some vulnerability in ssh they exploited to gain full access, unauthorized?

It's possible to remove a line from the authorized_keys file at any point

15
Optional lemmy.world homesweethomeMrL@lemmy.world
Joined: 2023-07-09
#10 · Quote Reply

The volunteer investigated further and found that when people ignored the warning, the attacker (1) stole the SSH password, (2) opened a connection to the server and observed all typed commands, and (3) opened a second connection and infected the server with Ebury.

To investigate the campaign, Kaba created a script that polled all of Tor’s roughly 3,000 exit nodes to check whether they received a correct SSH fingerprint from a test server. The test server then checked whether the connection came from a pinned exit node or one of 12 SSH interception servers used by the attacker. The volunteer further set up a honeypot to observe the interception software attempting to log in and install Ebury.

. . . The takeaway from the event is the crucial role in-depth defense plays in preventing data theft in mass hacks like this one. Those measures include configuring email accounts to accept only encrypted traffic and reject unencrypted ports. Another is to disable password authentication in favor of SSH keys.

8
WhyJiffie sh.itjust.works WhyJiffie@sh.itjust.works
Joined: 2023-07-11
#11 · Quote Reply

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 c...

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.

5
joey_builds eviltoast.org joey_builds@eviltoast.org
Joined: 2026-10-14
#12 · Quote Reply

Host key warnings get ignored partly because tooling makes it so easy — half the CI configs I've seen run with strict host key checking off, and accept-new silently trusts whatever key shows up on first connect. And that's the real weak spot here: TOFU only protects you from the second connection onward. On a first connection through a hostile exit node, the attacker just presents their own key, you pin the wrong one, and no warning ever fires. Ebury being the payload tracks too, that thing's been harvesting SSH credentials for over a decade and the takedowns never seem to get everyone. Kind of impressive someone compromised 333 exits at once though, that's over 10% of the network.

9
Post Reply
Back to top