Slashdot Mirror


Tor Used To Collect Embassy Email Passwords

Several readers wrote in to inform us that Swedish security researcher Dan Egerstad has revealed how he collected 100 passwords from embassies and governments worldwide, without hacking into anything: he sniffed Tor exit routers. Both Ars and heise have writeups on Egerstad's blog post, but neither adds much to the original. It's not news that unencrypted traffic exits the Tor network unencrypted, but Egerstad correctly perceived, and called attention to, the lack of appreciation for this fact in organizations worldwide.

27 of 99 comments (clear)

  1. Raising the question... by InvisblePinkUnicorn · · Score: 2, Interesting

    Why are embassy officials using Tor? Trying to hide something?

    1. Re:Raising the question... by Anonymous Coward · · Score: 3, Informative

      Working at a ISP I know for a fact that the RCMP use to monitor the traffic of several embassies with a server installed at the ISP end.

    2. Re:Raising the question... by varmittang · · Score: 2, Interesting

      One person already brought up the idea that it could be hackers using tor, and that they are reading the emails of the embassy officials. tor just helps them cover their tracks.

      --
      -----BEGIN PGP SIGNATURE-----
      12345
      -----END PGP SIGNATURE-----
  2. This reminds me... by betterunixthanunix · · Score: 4, Interesting

    ...of a guy in a class I took who had packet sniffed our network, then reported my university e-mail password to me. Why? Because the university refused to enable SSL-secured POP3. A quick email reveals that, in fact, they were never planning to, and that I am just SOL.

    --
    Palm trees and 8
    1. Re:This reminds me... by betterunixthanunix · · Score: 2, Funny

      I used the same trick in high school to get around a really annoying filter. This filter would sometimes block slashdot because there were too many curses, "sexual references," or just because the random block feature was active. A quick SSH to a box outside of the school, run w3m (our connection was pretty bad, so I needed to save some bandwidth), and I have the unfiltered web.

      --
      Palm trees and 8
    2. Re:This reminds me... by pclminion · · Score: 2, Funny

      Heh. When I was in school, people would come to me if they'd forgotten their email password, because they knew I had all of them :-)

    3. Re:This reminds me... by SCHecklerX · · Score: 3, Informative

      if you have an account on the box hosting the pop server, and can use ssh, then just forward pop over ssh. Otherwise, that sucks, you're screwed.

    4. Re:This reminds me... by Abcd1234 · · Score: 2, Informative

      Or just run openssh with the -D option, which sets up a dynamic proxy that conforms to the SOCKS protocol, and then just point your browser at it.

      Assuming, of course, you had access to openssh.

    5. Re:This reminds me... by turbidostato · · Score: 2, Informative

      "Don't put too much faith in SSL. Yep, even with SSL, someone can play a man in the middle attack on you."

      Just tell me how do you expect to launch a MiM attack against a site I got the public key already on hand. Yeah, well, not a valid case for a USA high school where -it's commonplace, students usually reside up to ten thousand miles away from the premises.

      "IPSec is a better choice for remote services."

      Yessir, specially when you only can make one side agree. Surely forcing an IPSec tunnel to any single student that wants just to download her e-mail from the school server is the proper, mensurated, well engineered solution for the problem. Just using POP3S? Naaah!

  3. Heh by dada21 · · Score: 2, Funny

    Of course something originally designed by the US Naval Research Laboratory and then spun off to an "independent pro-privacy group" such as the EFF would have loopholes, insecurities, and unwieldly aspects of it.

    One thing that doesn't make sense to me: why does Tor operate MOSTLY over primary networks with non-tor functions? Doesn't it make sense that people who rely on Tor-offered anonymity would only operate the network bound to a specific NIC, a specific router and a specific network connection, separate from their main non-anonymous one? If anonymity is that important, why even bother trying to maintain an anonymous network connection concurrent with your non-anonymous one, with both utilizing the same single-point of exit/entry?

    Doesn't make sense.

    1. Re:Heh by charlesnw · · Score: 3, Informative

      Um. Have you ever used Tor? Did you read the article or even the summary? There is NO MENTION of any vunerabilites in Tor. You are implying that Tor is back doored or somehow otherwise vunerable. This is not the case or what happened here. The information gathering occured via sniffing of an exit router.

      --
      Charles Wyble System Engineer
    2. Re:Heh by kebes · · Score: 5, Informative

      Indeed. This isn't a problem with TOR per se. If I'm reading the blog post correctly, the security issue he is really identifying is: "don't mix an anonymizer with identifiable actions."

      Quite simply, TOR is a system to anonymize, so that the website you are going to can't tell who you are. (e.g. can't correlate between repeated visits, can't use your IP to track you down, etc.) As long as you a surfing in a non-identifiable way, even the exit node doesn't know anything about you, and can't determine which requests came from you, as opposed to someone else in the TOR network.

      However, if you use TOR in an identifiable way, such as sending a plaintext email (which has plaintext "To" and "From" fields), then you're not using TOR properly. You are inherently exposing yourself, and the exit node can now learn quite a bit about you. If you are connecting to resources without encryption, then the exit node can sniff the data.

      Normally, though, you wouldn't use TOR in combination with a secure site you are logging into, anyway. (What's the point in anonymizing your IP address if you log in with your easily-identifiable username, anyways? The site is obviously going to identify you!) So, really, you should not just turn TOR on and then forget about it, because you shouldn't be sending your email through TOR, nor logging into sites using TOR.

      The lesson to learn from his blog post, which he doesn't state plainly enough, is that you should split your web-usage into categories:
      1. When browsing in a non-identifiable way, use TOR if you want anonymity.
      2. When accessing/logging-in to a trusted resource, don't use TOR. (This includes email, etc.)
      3. If you need to access a specific resource while maintaining anonymity, use TOR but make sure you use strong end-to-end encryption for the entire session (and not merely encryption for the login phase).

      This is, at least, my understanding. Corrections and clarifications are welcome.

    3. Re:Heh by HTH+NE1 · · Score: 4, Informative

      You can use it in a personally identifying way if what you want to conceal is not your identity but rather your location, or you have a need to communicate securely at your local end so that others at your end won't know where you're going.

      There's a balance to be struck with anonymity and security and where you strike it depends on what aspects need to be anonymous and what other aspects need to be secure.

      --
      Oh, say does that Star-Spangled Banner entwine / The myrtle of Venus with Bacchus's vine?
  4. Unencrypted traffic is always unencrypted by eknagy · · Score: 5, Funny

    Well, the embassies should have used this new technology called "encryption". I heard that in the future, even browsers will support it...

    eknagy

  5. Encryption is difficult for laypersons. by Sheetrock · · Score: 3, Interesting

    Tor uses the concept of 'onion routing' to obscure the source and destination of content passed through it. What this means is that, like an onion, content is wrapped in multiple layers of destinations and buried in the ground (or routed) until, after a delay, shoots come up (the headers are interpreted and the onion is passed to another destination) and ultimately the onion is ready to be dug out of the ground (the content reaches its destination).

    Unfortunately, it's possible to tell it's still an onion by the time it reaches your house. And that's what this article is referring to. If you wrapped an apple in an onion (used secure public key encryption) then you have an additional layer of security. That's a whole nother layer of complication, however.

    --

    Try not. Do or do not, there is no try.
    -- Dr. Spock, stardate 2822-3.




    1. Re:Encryption is difficult for laypersons. by Ford+Prefect · · Score: 4, Funny

      Unfortunately, it's possible to tell it's still an onion by the time it reaches your house. And that's what this article is referring to. If you wrapped an apple in an onion (used secure public key encryption) then you have an additional layer of security.

      You know, not everybody likes onions. Cake! Everybody loves cakes! Cakes have layers!

      ...

      You know what else everybody likes? Parfaits. Have you ever met a person, you say, "Let's get some parfait," they say, "Hell no, I don't like no parfait"? Parfaits are delicious.
      --
      Tedious Bloggy Stuff - hooray?
    2. Re:Encryption is difficult for laypersons. by morgan_greywolf · · Score: 2, Insightful

      Encryption is difficult for laypersons? The guy sniffed Web passwords. It's sooo much harder for a layperson to type https instead of http....

    3. Re:Encryption is difficult for laypersons. by hax0r_this · · Score: 2

      Does that work on any web page, or does it have to be specifically enabled? How can I know if the connection is secure? And when I click a link will that also use 'https'?

  6. Is it still called a man-in-the middle attack by joeflies · · Score: 4, Interesting

    if you voluntary place the said man in the middle?

  7. Legitimizes Tor by Anonymous Coward · · Score: 4, Insightful

    Of course Embassy officials have something to hide. In fact this raises a superb example of one of the legitimate, and useful, needs for Tor. There are a lot of people, mostly in law enforcement, who'd like to see all anonymity, and especially Tor, shut down. And I'm not just referring to Communist China.

    And let us not forget that Onion routing was first officially developed, and published, by the U.S. Navy back in the 90's.

    Now if only Slashdot would allow me to post via lynx through Tor. "Anonymous" my butt.

  8. apples and onions by Anonymous Coward · · Score: 3, Funny

    I'd hate to be around when you bake a pie.

  9. Lo dudo by Anonymous Coward · · Score: 5, Insightful

    I doubt the users from these governments were using TOR to check their mail. More likely that hackers had already compromised the accounts and were using them to check the email accounts anonymously.

    -AC

  10. and? by tomstdenis · · Score: 2, Informative

    I thought it was common knowledge that most exit routes were owned by the very people, people think they need to keep secrets from.

    Personally, I'm more afraid of some script kiddie stealing my ID than the man listening to my thoughts ... but then again I grew up in Canada, not Bosnia or whatever :-)

    --
    Someday, I'll have a real sig.
  11. That's exactly what he did. by Valdrax · · Score: 4, Insightful

    Unless he built his own Tor node, joined the network, then captured his proxied traffic - which is something ANY Tor admin could do, in which case its STILL not particulary insightful, cool, or 31337.

    That's exactly what he did. The entire point of him doing so was (he claims) to demonstrate that people using TOR are not protected from anyone reading traffic that comes out the exit nodes if they don't bother to encrypt the traffic they send into TOR.

    --
    If it's for-profit but free, you're not the customer -- you're the product (e.g., the Slashdot Beta's "audience").
  12. What? No! Can't be! Impossible! by Opportunist · · Score: 4, Insightful

    Someone who sits between sender and recepient who exchange unencrypted data can sniff it? Impossible! Stunning news!

    Which reminds me, /. should implement irony tags.

    Seriously, people. OF COURSE that works! Man in the middle, anyone? Where's the big deal? I'm kinda glad someone finally points it out and that it affects some high profile target like an embassy so some people (read: politicians and other, similar entities) will actually realize that this is possible and being done, but the answers here scare me almost more.

    I mean, here, we're supposedly a hint more educated than Joe Schmoe Average Browser, right? News for Nerds is hardly Weekly World News, I'd say. And still, we got people posting tinfoil crap like "Developed by $three_letter_agency" or "of course it has to have holes, it's from the EFF". WTF? Folks? Get a grip. From the exit node to the server it's as unencrypted as it would be from you to the server if you didn't use TOR. That's neither a flaw, nor an implementation error, nor some CIA/NSA/WTF conspiracy. It's simply the way the net works, if you don't use some kind of SSL encryption between the communication partners!

    Sometimes I really wonder...

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    1. Re:What? No! Can't be! Impossible! by Mr.+Underbridge · · Score: 2, Informative

      Seriously, people. OF COURSE that works! Man in the middle, anyone? Where's the big deal?

      I don't think the guy was billing it as some major technical achievement. The news is the sensitivity of the traffic.

  13. Re:SSL Is Insecure unless... by turbidostato · · Score: 2, Insightful

    "Try this site for the issue"

    Can you please explain what this has to be (a faked root authority) with my question? Remember: I *already* have the site's public key; I don't need to be confident in *any* other third party.

    Even in the case from you article, remember that if your "MiM attack" strategy includes owning my box or the server, that's not a MiM attack anymore.

    "It does help a little to sign your own certs and inspect them ALL the time on every use."

    Wouldn't you find a little suspicious that while visiting a site which public key is already known by your client app it asks you to accept a new one?

    The attack presented in the article only works because your app doesn't know the public certificate from the server upfront (and I explicitly said that not being the case) and because you were fooled to accept services from an ill-behaving individual/company. If you think such foolery (or bad luck) is just a "new technologies" hazard, ask yourself about it next time you *physically* allow some unknown guy into your home "just" bacause he happens to wear your cable-tv company uniform.