News for hackers. Stuff that matters.
Re:MoreOnionsPorfavor: Onionize your website and take back t... by surround on Wednesday July 08, 2020 @09:13PM (#23776045)
What’s the advantage of accessing an onion service (as opposed to accessing a normal https website over tor)?
Re:MoreOnionsPorfavor: Onionize your website and take back t... by t0astbread on Wednesday July 08, 2020 @09:32PM (#23776144)
I am not an expert but as far as I understand it's harder to do correlation attacks when you're able to monitor network traffic when communication stays inside the Tor network. Additionally, you're replacing (or extending) CAs with Tor's public key cryptography for authentication and encryption.

Computerphile did an interesting video series on this!

Re:MoreOnionsPorfavor: Onionize your website and take back t... by moonchild on Thursday July 09, 2020 @04:01AM (#23777966)
> replacing (or extending) CAs with Tor's public key cryptography

Which is good because CAs are useless; they're complete overhead. Back when EV certificates meant something, they were marginally useful, but at this point, we might as well just switch to a TXT record that validates domain ownership. (Obviously, that doesn't protect against DNS MITM attacks, but that's a separate issue.)

Re:MoreOnionsPorfavor: Onionize your website and take back t... by t0astbread on Thursday July 09, 2020 @06:34AM (#23778715)
Oh you mean storing some data to cryptographically verify that a particular server is associated with a domain? If I'm not mistaken, that's what .onion addresses are.

I wonder if anyone has tried putting .onion addresses into DNS and have clients treat them like address records...

Re:MoreOnionsPorfavor: Onionize your website and take back t... by 0xggus on Thursday July 09, 2020 @09:37AM (#23780004)
Location hiding

An onion service's IP address is protected. Onion services are an overlay network on top of TCP/IP, so in some sense IP addresses are not even meaningful to onion services: they are not even used in the protocol.

End-to-end authentication

When a user visits a particular onion, they know that the content they are seeing can only come from that particular onion. No impersonation is possible, which is generally not the case. Usually, reaching a website does not mean that a man-in-the-middle did not reroute to some other location (e.g. DNS attacks).

End-to-end encryption

Onion service traffic is encrypted from the client to the onion host. This is like getting strong SSL/HTTPS for free.

From here: https://community.torproject.org/onion-services/overview/

And there's another good reason for the Tor network: if you run an onion service, the traffic will use only Tor non-exit nodes in the circuit, giving a relief to the exit nodes.

Re:MoreOnionsPorfavor: Onionize your website and take back t... by ve55 on Wednesday July 08, 2020 @09:14PM (#23776053)
The website cannot identify who they are, what ISP they use, or where they live. Similarly, middleboxes such as their ISP cannot find out what websites they are browsing, which is still easily possible even with TLS via many methods (DNS, SNI, IP correlation, many others)
Re:MoreOnionsPorfavor: Onionize your website and take back t... by surround on Wednesday July 08, 2020 @09:16PM (#23776064)
What I mean is, how is a .onion website over tor better than an https website over tor? I edited my comment to clarify.
Re:MoreOnionsPorfavor: Onionize your website and take back t... by threentaway on Wednesday July 08, 2020 @09:29PM (#23776129)
The traffic never leaves the Tor network. This has a few advantages:

* You don't need a TLS certificate from a public certificate authority, as it is already encrypted end to end

* The exit node cannot attempt to snoop on your traffic (via TLS SNI) or inject content/ads/exploits into your unencrypted traffic

* It reduces load on the exit nodes so they can work on serving traffic to sites that don't have an .onion endpoint

Re:MoreOnionsPorfavor: Onionize your website and take back t... by surround on Wednesday July 08, 2020 @11:27PM (#23776677)
If certificate authorities are a concern, then why do some onion services use https?
Re:MoreOnionsPorfavor: Onionize your website and take back t... by zaarn on Thursday July 09, 2020 @01:41AM (#23777257)
Tor public keys don't prove identity (ie, that is cloudflare.com) while such a certificate over, for example, Alt-Svc headers does. Pure .onion certs exist as well and give extra reinsurance that you're on the correct website.
Re:MoreOnionsPorfavor: Onionize your website and take back t... by danielheath on Thursday July 09, 2020 @01:27AM (#23777194)
If I had to guess, it’d be because TOR users are not a solid block with identical opinions.
Re:MoreOnionsPorfavor: Onionize your website and take back t... by boring_twenties on Wednesday July 08, 2020 @11:20PM (#23776634)
In theory no one can spoof a Tor hidden service. The service name itself encodes the public key, and only the corresponding private key can authenticate. Much better than https, where you have many dozens of "trusted" authorities, any one of which can compromise you.

And also it precludes any attacks a malicious exit node could run on your https traffic, like the other comment says

Re:MoreOnionsPorfavor: Onionize your website and take back t... by superkuh on Thursday July 09, 2020 @12:59AM (#23777083)
The domain is actually owned by the person running the website rather than leased on the whim of some corporation all too eager to bow to external pressures.
Re:MoreOnionsPorfavor: Onionize your website and take back t... by jack46644g on Thursday July 09, 2020 @01:54PM (#23782956)
Cost savings. Running web apps behind a dynamically allocated ISP.