News for hackers. Stuff that matters.
Re:Hackers breach FSB contractor, expose Tor deanonymization... by onetimemanytime on Saturday July 20, 2019 @11:28AM (#20486311)
How do various embassies contact the mothership? I heard that a lot of them use TOR, and for smaller countries it makes sense. Big countries I suppose have their brew (which is not necessarily safer.)
Re:Hackers breach FSB contractor, expose Tor deanonymization... by dogma1138 on Saturday July 20, 2019 @11:38AM (#20486386)
Not a single intelligence agency or diplomatic service will rely on ToR for security that’s madness.

A properly configured commercial or open source VPN is considerably more reliable and secure than ToR since you have no idea who is listening on the exit nodes or who can execute unmasking attacks by traffic shaping or monitoring if they control enough relays.

For the most part any country which can perform intelligence collection out of its embassy will have sufficient budget and and technical capacity to develop their own secure means of phoning home.

Also for highly sensitive material a diplomatic pouch is still the most secure means of transport as it never leaves your sight and is never inspected and if you do get intercepted then destroying physical media is much easier than securing network traffic to the same level of assurance.

Re:Hackers breach FSB contractor, expose Tor deanonymization... by dontbenebby on Saturday July 20, 2019 @12:21PM (#20486631)
>Not a single intelligence agency or diplomatic service will rely on ToR for security that’s madness... For the most part any country which can perform intelligence collection out of its embassy will have sufficient budget and and technical capacity to develop their own secure means of phoning home.

The CIA has it's own onion service: ciadotgov4sjwlzihbbgxnqg3xiyrg7so2r2o3lt5wz5ypk4sxyjstad.onion

Tor was developed by the US naval research lab, it was opened up because an anonymity network only spooks use isn't anonymous.

Smart intelligence agencies are not going to reinvent the wheel (or in this case, the onion router).

>A properly configured commercial or open source VPN is considerably more reliable and secure than ToR since you have no idea who is listening on the exit nodes

If traffic is encrypted this does not matter. (HTTPS also provides integrity checking to show messages were not modified in transit)

Also, traffic to onion services does not exit the Tor network - there is no "exit node"

>Also for highly sensitive material a diplomatic pouch is still the most secure means of transport as it never leaves your sight and is never inspected and if you do get intercepted then destroying physical media is much easier than securing network traffic to the same level of assurance.

They may use diplomatic pouches for especially sensitive information, but the need for low latency communication is strong. What's more likely is that one time pad codes for said communications are sent via pouch, and the communication itself then goes over Tor or some other channel.

Re:Hackers breach FSB contractor, expose Tor deanonymization... by X6S1x6Okd1st on Saturday July 20, 2019 @03:20PM (#20487731)
Why would embassies need to be anonymous?

If I needed to design a secure system that didn't need to be anonymous I'd just have it send a HD full of random in a diplomatic pouch & ensure that the packets are sent with encrypted 0s if there isn't anything to say.

And that's only if you think that there isn't a safe pubic key protocol.

Bitcoin's security model relies on public key encryption & there is an extremely large bounty on breaking it. There doesn't seem to be evidence of it being broken yet.

Re:Hackers breach FSB contractor, expose Tor deanonymization... by wincy on Saturday July 20, 2019 @09:48PM (#20489468)
Wow I wonder how much compute it took them to generate that hidden service name.
Re:Hackers breach FSB contractor, expose Tor deanonymization... by crtasm on Sunday July 21, 2019 @08:30AM (#20491050)
I tried one of the older, shorter .onion addresses once out of interest. Didn't take long on a laptop to get a specified 7 characters at the beginning.

I don't know how much the longer .onions affects generation time - anyone?

Re:Hackers breach FSB contractor, expose Tor deanonymization... by dontbenebby on Sunday July 21, 2019 @08:36AM (#20491066)
Is there a script to do that or did you roll your own?
Re:Hackers breach FSB contractor, expose Tor deanonymization... by crtasm on Sunday July 21, 2019 @10:14AM (#20491395)
I used https://github.com/katmagic/Shallot back then and it took 35221958203 attempts to find one with my chosen seven characters.

For the longer v3 .onions you'll want a different tool, this page mentions some and makes some estimates for finding increasing lengths of characters: https://www.jamieweb.net/blog/onionv3-vanity-address/

Re:Hackers breach FSB contractor, expose Tor deanonymization... by paulryanrogers on Saturday July 20, 2019 @02:29PM (#20487466)
HTTPS with SNI leaks what one visits, and if an adversary controls enough of the network they could also use timing attacks.
Re:Hackers breach FSB contractor, expose Tor deanonymization... by dontbenebby on Saturday July 20, 2019 @02:43PM (#20487546)
Yes but why would you use a single hop VPN instead of Tor? Wouldn't both leak that?

(Also it's my understanding Tor uses the exit node's DNS server)

Re:Hackers breach FSB contractor, expose Tor deanonymization... by seisvelas on Saturday July 20, 2019 @11:50AM (#20486449)
Unless they communicate via a hidden service, in which case there is no exit node, so that particular problem is easy to avoid.
Re:Hackers breach FSB contractor, expose Tor deanonymization... by mikeash on Saturday July 20, 2019 @12:02PM (#20486510)
Tor is an anonymizer. Why would embassies use an anonymizer for communicating back home? Everyone knows they’ll be communicating with home. There’s no point in hiding that. What you want to hide is the content of that communication, which Tor doesn’t do very well. You do that with standard encryption tools.
Re:Hackers breach FSB contractor, expose Tor deanonymization... by dontbenebby on Saturday July 20, 2019 @12:22PM (#20486644)
Because if you don't know where traffic is going or coming from it's harder to infer what the message is about.
Re:Hackers breach FSB contractor, expose Tor deanonymization... by mikeash on Saturday July 20, 2019 @01:17PM (#20487019)
It’s not hard to infer that traffic from an embassy is probably going to their home country.
Re:Hackers breach FSB contractor, expose Tor deanonymization... by quonn on Saturday July 20, 2019 @12:36PM (#20486758)
You properly encrypt it and regularly send data (like in a VPN). Done.
Re:Hackers breach FSB contractor, expose Tor deanonymization... by dontbenebby on Saturday July 20, 2019 @12:51PM (#20486858)
So you're claiming that using a VPN makes correlation attacks impossible? Do you have any sources on this? I'd love to read up to better understand your thinking.
Re:Hackers breach FSB contractor, expose Tor deanonymization... by theamk on Saturday July 20, 2019 @01:11PM (#20486983)
Correlation attacks are attacing anonymity. If you are an embassy, there is no need for anonymity. Ok, an embassy connected to vpn.whitehouse.gov and sent 20 gb of data, so what?

(unless you are thinking about high level things, like "lots of traffic" -> "something going on", but tor won't help with that either)

Re:Hackers breach FSB contractor, expose Tor deanonymization... by deathanatos on Saturday July 20, 2019 @04:17PM (#20488088)
I feel like if I were a network operator for something that sensitive I might send some bursts of traffic to nothing just to keep anyone trying to infer "lots of traffic" → "something going on" on their toes.

(Though certainly things like packet timing, packet size, etc. might make more thorough analyses harder to escape…)

Re:Hackers breach FSB contractor, expose Tor deanonymization... by bigiain on Saturday July 20, 2019 @08:05PM (#20489093)
I'm now imagining a significant portion of some small country in politically sensitive area's external internet bandwidth being composed entirely of vpn encrypted email with attached Word docs and Powerpoint decks full of "This page left intentionally blank" sent from embassies back to their respective motherships...
Re:Hackers breach FSB contractor, expose Tor deanonymization... by astrange on Saturday July 20, 2019 @07:58PM (#20489063)
A highly secure connection either uses a fixed-bandwidth pipe or constantly sends random data to avoid correlation like this.
Re:Hackers breach FSB contractor, expose Tor deanonymization... by dontbenebby on Saturday July 20, 2019 @01:39PM (#20487175)
>unless you are thinking about high level things, like "lots of traffic" -> "something going on", but tor won't help with that either

But is an embassy always only "phoning home"?

Re:Hackers breach FSB contractor, expose Tor deanonymization... by ermir on Saturday July 20, 2019 @03:49PM (#20487895)
Yes, it's good practice for an embassy to use a VPN to their home country for 100% of incoming and outgoing traffic (at least that's how I would do it).
Re:Hackers breach FSB contractor, expose Tor deanonymization... by theamk on Saturday July 20, 2019 @04:34PM (#20488201)
Yes, if you are an embassy, you can be pretty sure that the host country is watching all of your traffic very carefully. Having all the traffic go via VPN is just sanity.

(and for really secure stuff you will want a channel with constant rate, constant size packets, as others said)

Re:Hackers breach FSB contractor, expose Tor deanonymization... by dclusin on Saturday July 20, 2019 @12:22PM (#20486638)
One time pads[1] are an effective and cheap measure. Certain privileged diplomatic luggage (not exactly sure of the protocols) cannot be searched by the host country. You can bring them to your embassies on a regular basis.

1 -https://en.wikipedia.org/wiki/One-time_pad

Re:Hackers breach FSB contractor, expose Tor deanonymization... by toxik on Saturday July 20, 2019 @04:26PM (#20488136)
Or just set up an OTP then use the OTP to send new OTPs securely, boom.
Re:Hackers breach FSB contractor, expose Tor deanonymization... by theamk on Saturday July 20, 2019 @04:36PM (#20488213)
If you do this, it is no longer OTP.
Re:Hackers breach FSB contractor, expose Tor deanonymization... by jancsika on Saturday July 20, 2019 @08:30PM (#20489180)
I think it still is:

1. Alice and Bob set up their OTP

2. Alice randomly generates a new OTP

3. Alice encrypts the new OTP with the original OTP and sends the ciphertext to Bob

4. Bob decrypts... the new OTP

5. Alice and Bob burn the original OTP

6. Now Alice and Bob have a copy of the new OTP

I mean, it's pointless. But I don't see how it isn't secure.

Re:Hackers breach FSB contractor, expose Tor deanonymization... by theamk on Saturday July 20, 2019 @10:12PM (#20489553)
For those who do not know exactly how OTP works:

jancsika is right in the sense that this is possible, but meaningless. The reason for that is that in OTP, you use your key ("pad") for every transmission, in 1-to-1 ratio to amount of data being transmitted. And you can only use your key once (hence "one time pad")

So let's say you brought 1000 MB of OTP keys to embassy in diplomatic mail, you can use it to send up to 1000 MB of encrypted data, and then you have to get a new one. If you are low on OTP keys, and you use it to send a new one, you'll have to spend 100 MB of "old" OTP keys to get 100 MB of "new" OTP keys -- entirely pointless process, as amount of unused key data won't change.

Re:Hackers breach FSB contractor, expose Tor deanonymization... by jancsika on Saturday July 20, 2019 @11:12PM (#20489758)
On the other hand, if Alice and Bob are just constantly sending each other these messages as a pointless exercise, the traffic they generate by doing so would technically make the exercise rise above the level of pointlessness. :)
Re:Hackers breach FSB contractor, expose Tor deanonymization... by closeparen on Saturday July 20, 2019 @02:34PM (#20487493)
Dedicated fibre, terrestrial radio, commercial and military satellite links. [0] Crypto algorithms implemented in hardware, keys managed by the signals intelligence agency.

The Department of Defense is probably one the largest and most sophisticated telecoms in the world. Cannot have dependencies on local infrastructure in countries you are bombing.

[0] https://en.wikipedia.org/wiki/Defense_Information_System_Net...

Re:Hackers breach FSB contractor, expose Tor deanonymization... by Santosh83 on Saturday July 20, 2019 @11:38AM (#20486385)
I'd be surprised if the big countries used plain Tor for their vital communication. They would be having their own secret networks or tunnel through Tor. Small countries have probably simply given up hiding their intelligence from the big ones at this point and are simply interested in ensuring their immediate rivals are kept out, which Tor can probably do.
Re:Hackers breach FSB contractor, expose Tor deanonymization... by Paul-ish on Saturday July 20, 2019 @11:44AM (#20486414)
A custom protocol can potentially be fingerprinted. I wouldn't be surprised if they used something less sophisticated. Like (encrypted) direct messages on twitter/reddit/facebook. This way the traffic blends with the rest.
Re:Hackers breach FSB contractor, expose Tor deanonymization... by nameismypw on Saturday July 20, 2019 @12:02PM (#20486505)
There's a companion project to Tor called obs4proxy which is designed to hide the protocol's implementation.
Re:Hackers breach FSB contractor, expose Tor deanonymization... by kijin on Saturday July 20, 2019 @12:39PM (#20486779)
It doesn't need to be a completely custom protocol. HTTPS can handle a very large percentage of anyone's communication needs these days.
Re:Hackers breach FSB contractor, expose Tor deanonymization... by Paul-ish on Sunday July 21, 2019 @03:25PM (#20493158)
An application level protocol implemented on top of HTTPS can be fingerprinted. If you look up "Website Traffic Fingerprinting" you will see what I mean. That traffic is encrypted.
Re:Hackers breach FSB contractor, expose Tor deanonymization... by closeparen on Saturday July 20, 2019 @02:40PM (#20487531)
For official operations, they would not be using the internet in any way, but their own parallel enterprise networks. Tor could be useful for covert operatives, and for generally weakening the grip of governments where we are inducing "popular" uprisings.
Re:Hackers breach FSB contractor, expose Tor deanonymization... by tgsovlerkhgsel on Sunday July 21, 2019 @09:24AM (#20491209)
The fact that the embassy talks to the mothership is not secret.

How much it does so might be, and what it talks certainly is, but that's easily fixed by getting a line with dedicated bandwidth, running an encrypted connection (VPN or something custom) over it, and padding the traffic to ensure the bandwidth usage is constant (if you have a 100 Mbit line and 10 Mbit of traffic, you send 90 Mbit of padding).

The keys for the VPN get delivered via diplomatic courier.

Re:Hackers breach FSB contractor, expose Tor deanonymization... by vbezhenar on Saturday July 20, 2019 @12:27PM (#20486685)
Why do they need anything more than HTTPS? Just open https://nsa.gov/ and send your data.
Re:Hackers breach FSB contractor, expose Tor deanonymization... by ben_w on Saturday July 20, 2019 @12:40PM (#20486797)
Because that reveals that you are talking to the NSA right now. Sometimes the volume of chatter is useful information in its own right. Sure, you could script something to make the data rate constant, but that might be undesirably expensive and if you do everything over Tor then your video chat with HQ looks indistinguishable from you bit torrenting pirate episodes of My Little Pony.
Re:Hackers breach FSB contractor, expose Tor deanonymization... by MauranKilom on Saturday July 20, 2019 @02:00PM (#20487281)
I can't currently find the place on Wikipedia where I learned this, but an example of "volume of chatter" being important was e.g. before the attack on pearl harbor. While the US couldn't decrypt the internal messages, it was clear that an attack was imminent based on the pattern (including the radio silence) before the attack.