270 points · by hacka22 · 5y ago · 147 comments
I would not be opposed to having some sort of operator validation of exit nodes. Where you can actually validate who runs an operator node, get a person behind them. And perhaps rate those higher than others.
Interesting/Awesome. Just curious, what day/event specifically motivated you to get started with this?
To be honest, my impression -- which could be wrong -- is most exit node operators do so for nefarious reasons, Pr0n (hence your username INT-Penis), or are Fed.
(to be clear, appreciate what you are doing regardless)
I'm not stupid, with anonymity comes abuse. But I don't think that's a reason to get rid of the option to be anonymous.
I'd say your impression is wrong about tor operators, I've met a few of them at various events. (Not including the tor operators who try to subvert anonymity of course, whoever they are.)
But the tor network is absolutely mostly used for illegal activity. I can't be dishonest about this, that would mean denying human nature. Give humans a way to be anonymous and they will absolutely abuse that.
But I've also met one reporter in person who thanked me for the tor network, that's enough for me.
Helping people around make me feel better.
Wait I can't tell if you're joking, do you really think their username is a reliable indication that they run Tor nodes for pornography, and not a stupid internet pun? Because if you're joking I lol'd, but if you're not I ... I'm worried about you, I guess?
I wanted to use the name NaturalsticPhallacy, because it's a prevalent fallacy I see people fall for, and humans have found dicks funny since recorded history but it's too long for HN so I had to shorten it to this one.
I do not build or operate any sort of porn or even porn adjacent software or service and never have. Not that I wouldn't if the right job came along, but I never have and currently don't.
But I digress. Usernames are generally best ignored. The content of their writing is what matters.
This part of your comment is completely unnecessary and unwarranted.
You already asked your question, just wait for an answer instead of jumping to uncharitable conclusions.
Sure, as an attacker it's interesting, but cost vs. how interesting isn't clear. The law enforcement case for specific investigations makes some sense, general counter intelligence value of keeping track of which web sites are attracting people who take precautions, maybe there is a general list of suspected dissident minds states maintain?
https://nusenu.medium.com/how-malicious-tor-relays-are-explo...
Or are these MITM's somehow signing stuff with well known root certs? That seems like it would be a much bigger story. Or are TOR users really accepting self-signed certs when passing around their bitcoin addresses?
Maybe there are bitcoin clients that don't validate the chain when doing TLS? Given the sorry security posture of so many exchanges this is somewhat more plausible.
Many bitcoin mixers are not HSTS preloaded. And to avoid creating a trail, TOR Browser doesn't save frequently visited sites, history for autocomplete, cached redirects, or cached HSTS headers between sessions.
And as Tor users prize secrecy, many don't bookmark their bitcoin mixer. Instead they key in the address manually - and sometimes they're used to doing without the https://www. prefix. And by convention, browsers use http when you do that.
The exit node then removes the http-to-https redirect, and presents the bitcoin mixer over http, with the bitcoin addresses replaced.
The result looks like this: https://imgur.com/otaBerJ
No MITM of encrypted connections needed.
It's almost impossible for the Tor project to detect this, as the attackers only target a small whitelist of sites - so the Tor project can only detect attackers by guessing the sites on the attack whitelist.
Here's an example with HN (notice the protocol in the req/res):
$ curl -v http://news.ycombinator.com
[...]
< HTTP/1.1 301 Moved Permanently
< Location: https://news.ycombinator.com/
However, the first request is over http, before it gets redirected and encrypted. This is where the malicious relay node would intercept and change the response.Moral of the story, if you a are a site operator use HSTS. And if you're on tor, you should maybe consider configuring things so you only use tls.
Also, if someone is running a bitcoin exchange that has port 80 open for anything more than a redirect I would not do business with them.
PROTIP: Your browser already comes with all the malicious root certs a Five-Eyes-aligned attacker would ever need. The Tor Browser uses Mozilla's Root Store if you want to go see what's in it. To pick a random example look at VeriSign's root, the company that runs dot-com and dot-net, and manages dot-gov. Do you think they might be Best Fwends with the DoD/NSA/etc? https://www.ntia.doc.gov/page/verisign-cooperative-agreement
I also think it's a pretty safe bet that many many other roots are compromised many times over even if nobody ever willingly cooperated with anything.
1) When I want to make sure a site doesn't get saved to my network/client profile on search engines and content sites.
2) When I need to verify that something is up/down compared to what I or a customer is seeing.
3) When I need to force IPv4 (tor is ipv4 only)
4) Hidden services.
5) Hotel/Airport wifi.
Remember that Tor only routes TCP. It's not a substitute for a VPN in many circumstances.
For 2), Tor browser is a single executable that I can just start and run on any computer, even through a remote control if I want to very the network through a customers own computer. No credentials, no payments, no waiting.
Don't know enough about nordvpn for 3).
4) Hidden services is tor only.
5) Nordvpn would work fine for that.
Different security threat need different security measures. The biggest risk to my own security is not that someone mitm my tor connection because I do not use tor for services which I have an account with, and would never do banking on a tor connection. My bank can more or less find what my network is anyway by looking at my transaction and which of those is an ISP. Leaks from companies however seems so common that one get posted here on HN every month, and haveibeenpawned feel more relevant today than antivirus.
Or they really are just shitty and impatient Russians, I could go either way.
But there's no rule saying that these are average malicious exit node operators. They could just be particularly stupid ones. We don't know about the competent ones.
Not only did an actor commit a string of seemingly sloppy and unrelated "mistakes", where they had correctly executed that same things n times before for x amount of time, but they then brought their own existence to the attention of a technically empowered group to see how many of those seemingly unrelated and sloppy mistakes the system tolerates.
I'm not sure how this is an example of the "toupée fallacy", as I'm just positing as ti why this toupée would look so intentionally bad; to figure out the tolerance for a bad toupée and discover what about it made the toupée "bad".
> When Tor Browser migrates to Firefox 91esr we will look at enabling https-only mode for everyone, but there remains a significant concern that there are many sites that do not support HTTPS (especially more region specific sites) and the question of what messaging Tor Browser should use in that case.
Source: https://lists.torproject.org/pipermail/tor-relays/2021-April...
Edit: clarified
https://sites.cs.ucsb.edu/~vigna/publications/2013_RAID_i2p....
1. Live in a country in which law enforcement follows the law and the law does not prohibit running tor, as noted in a response.
2. Hire a lawyer competent on cybercrime, intellectual property and freedom of speech.
3. Set up a non-profit or other legal entity with the explicit purpose of running tor exits/relays (stated in the articles of incorporation or similar founding documents, depending on the country and type of legal entity). Make sure its address is not your home address.
4. Purchase or rent the necessary hardware through the legal entity (don't ever do anything unrelated to the tor exits from this entity). Make sure you co-lo it in a datacenter, do not run any exits in your office and especially not in your home. Avoid having any hardware you rely on not being seized in close (physical -- same rack or logical -- e.g. same network) proximity. Explain to your host that you'll be running tor exits. Clearly label your systems as tor exits in any possible way you can manage, including physically on the cases/bezels. Run a web server on their public IPs with a page explaining that this is a tor exit node run by such and such legal entity, set WHOIS data with the same info if possible. Set up reverse DNS with hostnames that clearly state this is a tor exit node.
5. Be ready for trips to the PD in order to explain what tor is and why what you're doing is legal and that it's not you that sent that phishing e-mail, etc. It is a matter of when an illegal activity will be traced back to y̵o̵u̵r̵ the legal entity's exit and no amount of labelling will deter law enforcement from summoning you as a representative of the entity. Reasons being incompetence, desire/requirement to investigate thoroughly, or plainly using inconvenience as a way to discourage you from running the nodes (in the end, tor both creates more work for law enforcement and is a big obstacle to them so they'd rather not have to deal with it if possible).
This is the gist of it. The details need to be discussed with a lawyer. And again all of this relies on the law enforcement and justice systems to follow the law and the law to not prohibit tor. Don't do this in a country in which there's risk of you being black-bagged or held legally responsible for running tor or not keeping traffic logs.
Source: my poor understanding my country's and EU's laws. IANAL.
(I am not your lawyer) AFAIK this is still up in the air for U.S. persons - many states make it a crime to help criminals, including when not in the event of commissioning the crime, so you might be considered an accomplice to said crimes by running the exit node (or even just a relay). This isn't exactly a hot issue nor a clear-cut one so I would doubt D.A.s are interested in bringing you to court after a few times of being explained the situation.
Closely related to this, why wouldn't this position create criminal liability for running an open wifi network, if it turned out to have been used by a criminal? How about for a public library that allows unidentified members of the public to use public computer terminals? How about for running a commercial ISP?
Is the likely argument some kind of common-law imputed duty to not provide too much more privacy to network users than the average ISP does?
https://blog.torproject.org/support-tor-network-donate-exit-...
If it's a hidden service you're connecting to, it's fine, there's no way for a malicious exit node to alter what's sent to you. If it's a normal website (i.e: not .onion) that you're getting the address from, then the exit node could perform SSL stripping [0], an attack in which a website which would normally be served over HTTPS is served to you via HTTP, and so the malicious exit node could alter the content. In this case, the attacker could change any cryptocurrency addresses present in the website to convince you to send currency to the wrong address. It would be visible in your browser that the website is being served over HTTP, not HTTPS.
It should be noted, this scenario is getting rarer with the introduction of HSTS [1], especially in conjunction with HSTS preloading, which prevents your browser from accessing the website over plain HTTP. Tools like HTTPS Everywhere [2] can help ensure that you never access websites over plain HTTP also.
Also, this isn't a vulnerability in Tor per se, the exact same is possible without Tor, it's just that when you connect to a website via Tor, you're deliberately introducing extra hops between you and your destination, which wouldn't normally be there.
So, things that would need to come together for this attack to work: First, you're not connecting to a hidden service. Second, the website you're connecting to doesn't use HSTS, or you've not connected to them before & they're not in the preload list. Third, you aren't using a tool like HTTPS everywhere and you don't notice the website is coming to you over HTTP. Fourth, you don't verify that the address you've been given is correct independent of the website before sending a payment. This seems to me to be a fairly rare set of circumstances on the modern internet.
0: https://security.stackexchange.com/questions/41988/how-does-...
1: https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security
If the MITM operators have stolen a well known root cert then we have a much bigger problem.
https://blog.cloudflare.com/performing-preventing-ssl-stripp...
Which is why you should generally only use https when using tor. The last leg may be snooped on so you need to use encryption during it. (http is fine with hidden services though)
Its important to keep in mind that anonoyminity and data integrity are separate properties. You can have one without the others.
But it doesn't mean much as DARPA's seems to fund a lots of projects with seemingly opposite goals.
If you seriously feel paranoid about being watched then you'll want to own the hardware you're actually passing through. And I assume that any large organizations that demand this level of invisibility (cartels etc...) have essentially done this - likely locating some of those servers behind armed guards that will protect the physical device.
That said, I think it's unlikely that Tor has been majority compromised at this point, but as it fades from the minds of folks and becomes more and more niche the probability will escalate.
I mean. That’s what I uhh, would do if I was doing something dodgy on the internet…
Edit; with a second hand android bought from a pawn shop running nethunter as an ap ofc…
how do you keep the hardware physically secure? What prevents a gov actor replacing it with their own mitm proxy?
There is no safe when it comes to determined state actors.
This is going to be difficult: <https://arstechnica.com/information-technology/2014/07/the-n...>
Pretty sure that gets you on a list?