Stories
Slash Boxes
Comments

SoylentNews is people

Breaking News
posted by mrcoolbp on Thursday October 22, @12:56PM   Printer-friendly
https://arstechnica.com/information-technology/2026/10/300-tor-exit-nodes-hijacked-to-intercept-ssh-traffic-and-retrieve-plaintext-email/

Unknown hackers hijacked more than 300 Tor exit nodes and reconfigured them to favor unencrypted email traffic and redirect SSH connections through servers they controlled, a researcher reported Tuesday.

The hijacking began in late August, when according to Tor volunteers, the attacker used a valid password that had been reused to gain access to a Tor management server. The attacker then installed Ebury, a backdoor written for Linux that was discovered 12 years ago.

Then 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. With administrative control of Switzerland2, the attackers installed Ebury there as well. Finally, the attacker reconfigured settings on two exit nodes that Switzerland2 hosted.

Ultimately, 333 exit relays were involved in the SSH and email interception campaign, although investigators haven't established how the attackers gained control of all the underlying servers. The attackers then reconfigured the servers. One set of changes redirected SSH traffic traversing Tor to one of 12 attacker-controlled interceptor servers. Tor users who ignored warnings that the SSH host key had changed would then enter their SSH passwords.

A second set of changes caused the exit nodes to block ports 25, 465, 587, 993 and 995—used to accept various forms of encrypted email—while continuing to allow ports for receiving unencrypted email. If email services downgraded the connections, the attackers used their access to the exit nodes to obtain unencrypted messages. It's unclear whether any such downgrade attempts succeeded. The hijacking occurred from October 2 to October 5.

Tor volunteers partially outlined the initial compromise of the management server and Switzerland2 and the attempt to intercept unencrypted email. Tuesday's report revealed many new details, including how many exit nodes were compromised and how the attackers used them to redirect SSH traffic.

"If you happen to get a circuit that exits over one of those 333 infected exit nodes, you won't notice anything at first," Kaba, the name of the Tor volunteer who authored the post, wrote. "Encrypted web traffic is forwarded as usual, but if you attempt an SSH connection over Port 22, you're unknowingly redirected to one of 12 SSH interception servers. That's exactly what happened to me on Friday morning." Kaba then received the following warning:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ED25519 key sent by the remote host is
SHA256:6baCZCPsl+AfQuujUS81fMEE/C7UeJ+AwjrImqmDB3E.
Please contact your system administrator.

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.

Several mysteries remain. Tor volunteers still don't know how the attackers accessed so many servers. One possibility is that a company hosting them was hacked, but the theory is inconclusive. Another open question is who is behind the attack. "The use of Ebury and the broad collection of unencrypted data point to a financially motivated crime group," Kaba wrote. "Though this too is just speculation."

A last perplexing finding: why did Switzerland2 accept an RSA key when there's no evidence it was an authorized SSH certificate?

The takeaway from the event is the crucial role defense in depth 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.

This discussion was created by mrcoolbp (68) for logged-in users only. Log in and try again!
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
(1)
  • (Score: 3, Insightful) by epitaxial on Thursday October 22, @01:07PM (17 children)

    by epitaxial (3165) on Thursday October 22, @01:07PM (#1457218)

    These exit nodes are the group controlled by the US government and their lax security allowed a third party to take control.

    • (Score: 4, Interesting) by turgid on Thursday October 22, @03:01PM (16 children)

      by turgid (4318) Subscriber Badge on Thursday October 22, @03:01PM (#1457240) Journal

      I'm intrigued. I know what Tor's original intentions were: to provide dissidents in oppressive regimes a means for communicating relatively safely and relatively anonymously. Obviously, that's ripe for abuse. Did it meet its design goals? Has it helped anyone?

      • (Score: 2, Touché) by Anonymous Coward on Thursday October 22, @03:21PM (15 children)

        by Anonymous Coward on Thursday October 22, @03:21PM (#1457245)

        Tor is a honeypot, created by the U.S. government. It might protect you from some tinpot dictator in Uganda, but it's all perfectly legible by our TLAs. It's times like these that we have to assume the worst.

        • (Score: 3, Touché) by turgid on Thursday October 22, @03:38PM (3 children)

          by turgid (4318) Subscriber Badge on Thursday October 22, @03:38PM (#1457247) Journal

          Tor is a honeypot, created by the U.S. government.

          You'd have to be a bit dim not to have figured that out, wouldn't you?

          • (Score: 0) by Anonymous Coward on Friday October 23, @07:45AM (2 children)

            by Anonymous Coward on Friday October 23, @07:45AM (#1457314)

            You'd have to be a bit dim not to have figured that out, wouldn't you?

            I know what Tor's original intentions were: to provide dissidents in oppressive regimes a means for communicating relatively safely and relatively anonymously.

            🤣

            • (Score: 2) by turgid on Friday October 23, @08:39AM

              by turgid (4318) Subscriber Badge on Friday October 23, @08:39AM (#1457318) Journal

              Quite. You're catching on.

            • (Score: 2) by Bentonite on Friday October 23, @12:21PM

              by Bentonite (56146) on Friday October 23, @12:21PM (#1457332)

              It was originally developed by the US government to allow their glow bros to communicate privately and somewhat anonymously - access was provided to dissidents for the goal of cover traffic.

              Now the US government no longer develops it, although they still use it and of course they are still trying out every possible deanonymizing attack against it (attacks are mitigated on an ongoing basis).

        • (Score: 4, Interesting) by Bentonite on Friday October 23, @12:03PM (10 children)

          by Bentonite (56146) on Friday October 23, @12:03PM (#1457331)

          Tor isn't a honeypot, as ctor is free software (any backdoors are hard to hide in the source code).

          Honeypots are always proprietary software (see the rust implementation of tor, considering that rust is arguably proprietary and is clearly backdoored).

          The US government does run some malicious relays, but even the US government cannot see into TLS, with certificate verification that does not rely on CA's.

          Yes, exit relays can see your exit traffic if it's not encrypted and can MiTM it - that is true of any router on the internet.

          The US government has trouble seeing onion traffic, as it's 3-6 layers of TLS and also pubkey encrypted to the address - although at the moment there is DoS attacks being carried out against HSDir's (probably the US government, maybe not), to reduce the number of HSDirs to allow attacks against onion services - but such attacks are being mitigated.

          • (Score: 0) by Anonymous Coward on Friday October 23, @01:59PM (1 child)

            by Anonymous Coward on Friday October 23, @01:59PM (#1457344)

            even the US government cannot see into TLS

            There is no way of knowing that.

            • (Score: 3, Interesting) by Bentonite on Saturday October 24, @02:37AM

              by Bentonite (56146) on Saturday October 24, @02:37AM (#1457448)

              It wouldn't be so easy to keep a complete TLSv1.2 & 1.3 compromise secret (TLSv1 & TLSv1.1 were known to be likely broken several years before complete breaks were worked out).

              The US government was caught weakening proprietary software implementations of https://en.wikipedia.org/wiki/Dual_EC_DRBG?useskin=monobook#Software_and_hardware_which_contained_the_possible_backdoor

              Currently it seems the US government cannot break TLSv1.3 and decent TLSv1.2 ciphers - which is why they are collecting all available internet traffic for later decryption and encouraging MiTM's such a "cloudflare", as no need to break the TLS, when the HTTP session is available in plaintext on a US companies server's.

          • (Score: 0) by Anonymous Coward on Saturday October 24, @01:37PM (7 children)

            by Anonymous Coward on Saturday October 24, @01:37PM (#1457480)

            Could you pretty please offer a quick argument on both points (rust is proprietary and rust is backdoored), or point to some write-up for either or both?

            I'm not disagreeing; I'd like to hear the thinking behind the claims.

            • (Score: 3, Informative) by Bentonite on Sunday October 25, @09:06AM (6 children)

              by Bentonite (56146) on Sunday October 25, @09:06AM (#1457544)

              Basically, microsoft owns rust; https://web.archive.org/web/20260910134254if_/https://rustfoundation.org/media/guest-post-rust-is-tier-1-language-at-microsoft/ [archive.org] (no foundation that isn't owned by microsoft, is going to host microsoft "guest posts").

              Almost all of rust is developed and financed on microsoft github; https://blog.rust-lang.org/2026/06/02/launching-the-rust-foundation-maintainers-fund/ [rust-lang.org] (see the link to https://github.com/sponsors/rustfoundation) [github.com] and almost all the rust crates are hosted on microsoft github too.

              microsoft has very carefully ensured to never publish free software (I've checked a few of their so called "open source" releases and every single time I've found proprietary binaries, or requirements for proprietary compiler binaries, or that the software is trapped to a proprietary OS) - why would they allow rust to be free software?

              Rust also has a trademark policy that clearly violates the freedom to modify (as rust is written everywhere, it's not as simple as s/rust/something-else/g);
              https://web.archive.org/web/20261005154520if_/https://rustfoundation.org/policy/rust-trademark-policy/ [archive.org]
              https://lwn.net/Articles/901816/ [lwn.net]

              Therefore, rust is clearly proprietary.

              The insecurity of rust crates alone, is quite good for backdooring rust; https://blog.rust-lang.org/2026/08/20/supply-chain-attack-on-arrayref/ [rust-lang.org]

              The current version of the rust compiler cannot be reasonably bootstrapped from source code, on reasonable hardware.

              There is no actual rust specification - the language is a moving target - the newest rust can only be built by the newest rustc compiler.

              The only (partially) working alternative implementation, is the C++ mrustc compiler, which apparently supports compiling rustc 1.90.0; https://guix.gnu.org/blog/2018/bootstrapping-rust/ [gnu.org]

              gccrs will likely never catch up to rustc, as it still cannot compile hello world; https://github.com/Rust-GCC/gccrs/issues/49 [github.com] (the programmers working on it are clearly intentionally incredibly stupid, considering that they're developing with github, but if even the most hopeless programmers have been working on a compiler for 11+ years and it still cannot properly compile hello world, the problem is the language, not the compiler developers).

              Currently rust is up to 1.99.1; https://blog.rust-lang.org/2026/10/15/Rust-1.99.1/ [rust-lang.org] - the 9 steps from 1.90.0 to 1.99.1 requires hundreds of gigabytes of storage, ludicrous amounts of RAM and copious CPU cycles for days (better hope the compilation doesn't fail part of the way through).

              Such a ludicrous mass of files would be the perfect place to hide multiple backdoors in - therefore you really should assume that rust is backdoored.

              • (Score: 0) by Anonymous Coward on Sunday October 25, @09:28AM

                by Anonymous Coward on Sunday October 25, @09:28AM (#1457546)

                Therefore, rust is clearly proprietary.

                Are you still pushing this lie? It is the 'brands' that are registered, not the language itself. From your own links:

                The Rust and Cargo names and brands make it possible to say what is officially part of the Rust Project, and what isn’t. So we’re careful about where we allow them to appear. At the same time, we want to allow for as much creative use of these brands as we can. This policy explains how we strike a balance. If you want to use the Rust names or brands, especially in a commercial way, please read this page or feel free to reach out and ask us about it.

                You can fork it if you wish. Nobody will follow you because you are wrong, and you would have to recreate all of the crates that you rely on. But that would apply to any language that you decide to fork. But merely using the word 'Rust' or 'Crate', or writing code, is not commercial.

                Rust code is being used in all sorts of places. Quote me one instance where someone has been forced to remove or change Rust code and then I might believe something you say.

                You dislike Microsoft - so do many of us, myself included. You dislike Rust because you have misconstrued much of it. That is your own decision. You are free to use whatever other languages you wish. But some people are finding that Rust actually does make their code more reliable and it prevents a common cause of several bugs.

                Many computer languages have been written by the big software organisations. If you don't want to use them you do not have to.

              • (Score: 1) by Arthur T Knackerbracket on Sunday October 25, @10:45AM

                by Arthur T Knackerbracket (6256) Subscriber Badge on Sunday October 25, @10:45AM (#1457552) Journal
                From: https://en.wikipedia.org/wiki/Rust_(programming_language) [wikipedia.org]

                In August 2020, Mozilla laid off 250 of its 1,000 employees as part of a corporate restructuring during the COVID-19 pandemic.[35][36] The Servo team was disbanded. The event raised concerns about the future of Rust.[37] The Rust Core Team acknowledged the impact of the layoffs and announced plans for an independent foundation. Its first goal would be to own and take financial responsibility for trademarks and domain names.[38]

                On February 8, 2021, the Rust Foundation was formed by founding companies Amazon Web Services, Google, Huawei, Microsoft, and Mozilla.[39][40] The foundation would support developers financially through grants and server funding.[21] In an April 6, 2021 blog post, Google announced support for Rust within the Android Open Source Project.[41] Facebook (Meta Platforms) joined the foundation in April 2021,[42] followed by ARM (Arm Holdings) in November.[43]

                On November 22, 2021, the Moderation Team, responsible for enforcing the community code of conduct, resigned "in protest of the Core Team placing themselves unaccountable to anyone but themselves".[44] In May 2022, the Rust leadership council published a response to the incident.[45]

                The Rust Foundation posted a draft for a new trademark policy on April 6, 2023 that resulted in widespread negative reactions.[46] The trademark policy included rules for how the Rust logo and name could be used.[46]

                In June 2026, OpenAI joined the Rust Foundation.[47]

              • (Score: 0) by Anonymous Coward on Sunday October 25, @08:16PM (3 children)

                by Anonymous Coward on Sunday October 25, @08:16PM (#1457598)

                Thank you kindly for your answer.

                Wasn't there something with signing binaries going on as well? Who sits on the keys to those (and by extension, to access to a suitable compiler for all that code that's infecting other projects including the linux kernel)?

                Anyhow, it does seem like rust warrants a comprehensive write-up, then condensed to an executive summary, as to whether one would want to commit their project to dependence. And, seeing Arthur T Knackerbracket's comment [soylentnews.org], there should be some serious looking into what moved these bigshot companies to back this project before it had even become vaguely useful. Other than as a vehicle for them to push whatever it is they want to push with it.

                The immediate pushback, even on here, says that there's other things going on than "it's a good language", which it clearly isn't, not if you are honest about its costs and how they relate to the purported benefits.

                Google has form for backing things without spec, see "living standard" HTML5. microsoft is made of that stuff. And the vigour and zeal with which it is pushed says it's not just about "better code", or at all really. Fishy indeed. Anyway, thanks for the answer and the reading material.

                • (Score: 2) by Bentonite on Monday October 26, @04:42AM (2 children)

                  by Bentonite (56146) on Monday October 26, @04:42AM (#1457623)

                  Wasn't there something with signing binaries going on as well?

                  As far as I am aware, rust binaries are not signed by default, although there is support for signing binaries for macos and windows (as both OS's refuse to install and/or run certain kinds of binaries, unless they have an approved ).

                  Who sits on the keys to those (and by extension, to access to a suitable compiler for all that code that's infecting other projects including the linux kernel)?

                  Digital signatures are not even needed to enforce control of rust - unless you have at least a dozen full time employees, or the equivalent in volunteers, there's no way to keep up with the changes being made to rust.

                  As for the kernel, Linux, rust kernel modules, like all other Linux modules, require a UEFI signature from microsoft, for such module to execute on many UEFI computers (unless you disable restricted boot - although disabling such is not possible on an increasing amount of new "computers").

                  Google has form for backing things without spec, see "living standard" HTML5.

                  The sane parts of the actual HTML5 standard is actually feasible to implement; https://www.w3.org/TR/2014/REC-html5-20141028/ [w3.org]

                  The main problem with the standard, is that it contains a non-standard requirement that you guess what the web developer meant, when parsing incorrect HTML5, rather than something sane, like rejecting the page (like what xhtml allows) or ignoring the incorrect HTML.

                  Of course, there is a non-standard that is called also "HTML", that is a massive pile of JavaScript cancer, that is changed every 5 minutes, to ensure that developing a "competing" browser is unreasonable; https://html.spec.whatwg.org/ [whatwg.org]

                  • (Score: 0) by Anonymous Coward on Monday October 26, @08:29AM (1 child)

                    by Anonymous Coward on Monday October 26, @08:29AM (#1457639)

                    As far as I am aware, rust binaries are not signed by default,

                    I was actually thinking about the rust compiler itself. But I may have misremembered that.

                    (unless you disable restricted boot - although disabling such is not possible on an increasing amount of new "computers")

                    I hope they can at least accept alternative keys?

                    Either way, truth in advertising laws might need deployment, as well as antitrust laws. Time to do a write-up of why this is bad and petition your political representatives that a computer that requires microsoft approval to run anything is not truly owned by anybody but microsoft -- what then are you paying for?

                    As to HTML5, it's far too big and a moving target under google's control (they've subverted the W3C with the whatwg nonsense); that makes it really unsuitable for "paper replacement". You know, official websites for official business like tax returns, read applicable laws, or other civic stuff. Where you want the tools to be stable. Who wants to upgrade their paper and pen every year just so you can still do the taxes? You didn't want to do them in the first place! We really need a non-moving baseline for that, perhaps a separate browser that's solid enough it doesn't need updating every five minutes.

                    The guessing bit wasn't a requirement previously but something most if not all browsers (except the "test bed" wossname thing by the W3C itself--making it useless for checking websites for baseline functioning) did anyway. There's something to be said for that, since having a website visitor load a page (back then over slow slow slow dialup) only for all that data to be summarily chucked out because some tags got put wrong. The users would not have accepted that.

                    Though it wouldv'e been far better if browsers had offered a "strict" mode so developers could do correctness testing in whatever browser they were doing. They have to be fuzzy because all the tools are fuzzy, and nobody cares to even use, nevermind build, the tools to do it properly. It's an attitude problem, one of many, that suffuses the "web developer community" (yech).

                    • (Score: 2) by Bentonite on Sunday November 01, @07:02AM

                      by Bentonite (56146) on Sunday November 01, @07:02AM (#1458213)

                      I hope they can at least accept alternative keys?

                      Some of the UEFI implementations that don't allow disabling restricted boot, allow adding keys instead, but adding keys is a pain in the neck (only some GNU/Linux installers have automated the process and a non-microsoft signed installer will not boot on such computers) and the ability to add additional keys and/or remove microsofts keys, will eventually be taken away.

                      petition your political representatives that a computer that requires microsoft approval to run anything is not truly owned by anybody but microsoft -- what then are you paying for?

                      The issue in that in many countries, most of the political representatives have computers that require microsoft's, or google's and/or apple's approval to run anything and they don't consider that a problem.

                      That'll be like asking them to consider serving the citizens, instead of themselves and businesses.

                      perhaps a separate browser that's solid enough it doesn't need updating every five minutes.

                      Emacs Web Wowser, lynx, w3m, dillo, netsurf and new moon.

                      since having a website visitor load a page (back then over slow slow slow dialup) only for all that data to be summarily chucked out because some tags got put wrong. The users would not have accepted that.

                      As mentioned, ignoring incorrect HTML would have been accepted by such users, but web developers don't want that, as that would mean people would see the broken page and ask them to fix their incorrect HTML - instead browsers guess what the web developer meant, to cover for their inability to write HTML.

                      Though it wouldv'e been far better if browsers had offered a "strict" mode so developers could do correctness testing in whatever browser they were doing.

                      XHMTL is a strict mode, but that requires everything on the page to be valid XML, which web developers cannot handle.

  • (Score: 3, Informative) by bzipitidoo on Thursday October 22, @02:44PM (1 child)

    by bzipitidoo (4388) on Thursday October 22, @02:44PM (#1457235) Journal

    And it was always because I changed the ID of the server. Or, rather, that I was reinstalling the OS, or doing something else that as a consequence erased the ID. As this was all on a LAN, it didn't matter and the warning was safe to ignore.

    I think the field of security should do more to reduce false positives. It's totally that old fable of The Boy Who Cried Wolf. Firefox used to go apeshit about suspect websites when the real problem was that your machine's clock was wrong. Took your machine's clock as infallible, and shrieked out fearsome warnings about websites' certs not yet being valid. There was nothing wrong with those certs. Once the machine's clock had been set to the correct time, all those warnings went away. Firefox has addressed this issue, and now its warning messages aren't so hysterical, and say that it could be your clock.

    • (Score: 4, Insightful) by canopic jug on Thursday October 22, @05:33PM

      by canopic jug (3949) Subscriber Badge on Thursday October 22, @05:33PM (#1457264) Journal

      As this was all on a LAN, it didn't matter and the warning was safe to ignore.

      I disagree. It's not a false warning, not even on the LAN. It's not like LANs are impervious to infiltration, especially in mixed environments. At a few work sites, I have seen that "WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!" error, on the LAN no less, but as the result of spoofing from breached Windoze systems trying to gain entrance to the serious systems. Such is life when co-located with M$ boxes.

      Anyway, the errors shows that the host key offered does not match the key on record. When using networked systems there is a minimal level of care required to be able to take shortcuts before considering whether to connect in the face of such a warning. That minimal level is to at least check the host keys' fingerprints before choosing yes or no. If you're doing something on the LAN with reinstallation and forget to restore the host keys, it is up to you to know that, and even then you should check the fingerprint even if only out of principle. The software can't read minds.

      There are only two alternatives to the Trust On First Use (TOFU) shortcut which makes this error pop up from time to time. One is to populate the clients in advance with the public host keys or to restore the host keys from backup before activating the server. If people are too negligent to check the host key fingerprints, they are unlikely to take the effort to pre-load the systems with the right keys. The other is to use certificates, but that requires a little bit of planning and, if automating some of the process, a bit of infrastructure. However, with repetitive activities, say a home lab or school lab or work environment, both are feasible to achieve with a minimum of effort. For more extensive computing environments with many systems or which have been around a long time, certificates would be the recommended best practice.

      --
      Money is not free speech. Elections should not be auctions.
(1)