this post was submitted on 25 Jun 2024
34 points (75.0% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54716 readers
182 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS
 

I'm not tech savvy and have noticed that many streaming sites are .ru, and as someone located in Finland, I want to make sure if they are dangerous to use.

you are viewing a single comment's thread
view the rest of the comments
[–] Nougat@fedia.io 13 points 5 months ago* (last edited 5 months ago) (12 children)

Something which has not been mentioned yet - Russia controls DNS resolution for any .ru site, and here's how that works:

When you browse, say, www.yandex[.]ru, your computer needs to know the IP address of a server that hosts that site. Let's say you are not using an ISP or public DNS server to get your name resolution from DNS hostname to IP address. (All of the following is essentially still what happens, just with a less complicated explanation.)

First, your computer contains a list of root DNS servers. Every DNS query starts with a root server, and those root servers are associated with the often-excluded '.' at the end, like "www.yandex[.]ru**.**" - that trailing dot at the end always exists, we just don't type it.

The root server says, "Here's a DNS server which is authoritative for the .ru top-level domain, go ask them."

Then your computer asks the .ru DNS server where to find www.yandex[.]ru, and the .ru DNS server says "Here's the server that is authoritative for the "yandex" subdomain under .ru, go ask them where their "www" host is."

Then your computer asks the yandex[.]ru DNS server where to find www.yandex[.]ru, then that DNS server says "Here's the IP address that goes with that hostname," and your computer asks the server at that IP for the website.

Again, Russia controls DNS resolution for anything at .ru. All they would need to do for any subdomain beneath .ru is provide their own authoritative DNS server for yandex[.]ru - or for any other whatever[.]ru DNS name. They could then redirect all browsing traffic to anything under .ru to anything they wanted.

Those FBI takedown pages? This is exactly how that is done. The FBI doesn't reconfigure a server at the "correct" IP; they redirect DNS for the subdomain to their own IP and own web server in order to display the takedown page. That operation is performed within legal limits, but from a technical perspective, such an operation could just as easily happen outside of legal limits, especially when the party trusted to properly respond to DNS queries is Russia.

tl;dr: Russia can very easily redirect any traffic to any .ru site to anywhere they want.

[–] sunzu@kbin.run 5 points 5 months ago (2 children)

tl;dr: ~~Russia~~ MITM can very easily redirect any traffic to any .ru site to anywhere they want.

[–] Nougat@fedia.io 3 points 5 months ago (1 children)

Yes, that's true, but more generally speaking, an external attacker would need to first gain access. The governments who control their national TLDs already have that access. Could the UK do the same thing with the co.uk TLD? They could, but the UK government seems more trustworthy on that point than does the Russian government.

OP asked specifically about the "safety" of .ru sites. I answered that question in that context.

[–] sunzu@kbin.run 6 points 5 months ago

I don't disagree, I am mainly pointing out that anyone who controls your DNS is mitm, so people understand that they aren't much safer.

Just picking your poison here.

Also, I don't have much faith in our government anymore than russia's

load more comments (9 replies)