Cybersecurity
Attackers seized 333 Tor exit nodes to spy on SSH logins and plain-text email
A large-scale compromise of Tor's infrastructure gave attackers a window to intercept unencrypted communications and redirect secure shell traffic to malicious servers.
Ars Technica
Researchers uncovered a sophisticated attack in early October that compromised over 300 Tor exit nodes to intercept unencrypted traffic and redirect SSH connections to attacker-controlled servers. The operation exposed a critical vulnerability in how Tor infrastructure can be targeted when administrative credentials are compromised.
How the attack unfolded#
The breach began in late August when attackers exploited a reused password to gain access to a Tor management server. From there, they deployed Ebury, a backdoor malware for Linux systems first identified over a decade ago. The attackers then pivoted to a second critical server called Switzerland2 using an RSA key that investigators couldn't locate in the server's authorized key files—raising questions about how this access was obtained.
Once in control of Switzerland2, the attackers installed Ebury on that system as well and reconfigured settings across 333 exit relays hosted on the compromised infrastructure. The hijacking window lasted from October 2 to October 5.
The interception tactics#
The compromised exit nodes were modified in two ways. First, SSH traffic passing through Tor was rerouted to one of a dozen attacker-run interceptor servers. Unsuspecting users who proceeded despite SSH host key warnings would unwittingly submit their credentials to these malicious machines.
Second, the nodes were configured to block encrypted email ports (25, 465, 587, 993, and 995) while permitting unencrypted ones. If email services fell back to unencrypted connections in response, the attackers could harvest the messages. Whether any such downgrade attacks succeeded remains unclear.
What makes this significant#
A Tor volunteer known as Kaba detailed the incident in a comprehensive post, revealing that users relying on compromised exit nodes would see no obvious signs of interference with encrypted web traffic. Only SSH connections on port 22 would be diverted to attacker infrastructure—the kind of targeted interception that could steal login credentials from developers, system administrators, and other technical users who use Tor for privacy-sensitive SSH sessions.
The attack highlights how administrative access to a single server can cascade into control of hundreds of nodes, and underscores the ongoing challenge of securing large distributed systems.

