News for hackers. Stuff that matters.
Re:Belarus has shut down the internet amid a controversial e... by yabones on Tuesday August 11, 2020 @06:31PM (#24126770)
I have some close acquaintances in BY, so this has been hard.

We saw that (at least as of 8 PM UTC) outbound connections to HTTP servers wasn't really a problem. A fresh ec2 box with a basic web server wasn't effected.

So, early yesterday I set up an OpenVPN server on ec2 (eu-west-1) to try to get some slow but functional internet access. What we saw was that about 15-30 seconds after the TLS handshake the connection would stall and drop out. To me this says they're doing some deep packet inspection to find TLS and dropping those firewall states. I also noticed while running `tcpdump` that almost every tcp segment from a BY address had incorrect CRC's after the IDS kicked in.

Tonight we're going to try using an xor tcp proxy to obfuscate the VPN traffic. The system we're using has a name, but I'm not going to say it to risk KGB (yes it's still called that there) creating IDS signatures and killing our VPN. I'm sure that after a few hours it will start dropping these connections as well, but if we can buy some time that's worth while.

This, really, is the real problem with the internet. In many small countries there's only one IX, often under government ownership or supervision. You might think that they know better than to do stuff like this, but push comes to shove they'll all lock it down as soon as there's a threat to their authority.

Re:Belarus has shut down the internet amid a controversial e... by Waterluvian on Tuesday August 11, 2020 @08:22PM (#24127439)
What are the odds this is some western commercially packaged product that lets them do all this? Like some Sandvine stuff or whatever.
Re:Belarus has shut down the internet amid a controversial e... by stjohnswarts on Tuesday August 11, 2020 @08:58PM (#24127633)
The Chinese are also rather good at shutting down the internet as well. why not blame all possible parties?
Re:Belarus has shut down the internet amid a controversial e... by Scoundreller on Tuesday August 11, 2020 @09:46PM (#24127853)
Does China sell/license/supply their GFW tech to anyone? Sandvine seems to sell to anyone that tear gas fabricators will sell to (Oh, you'll use this against your own citizens and that's legal because you wrote the law? Great, just check this box!).
Re:Belarus has shut down the internet amid a controversial e... by jariel on Tuesday August 11, 2020 @11:27PM (#24128346)
"why not blame all possible parties?"

10 years ago I would have said 'it's probably Western companies helping them'.

Now, I would say probably it's Chinese. Frankly, because it's going to be so, so much cheaper, let alone it probably doesn't come with any potential political headaches, and, they are developing a 'core competency' in this.

That said, Putin has serious geopolitical interest in Belarus, and himself is supportive of the regime. Since the Russian state is also 'good at that stuff' it could very well be a state-sponsored initiative.

Finally, Belarus is not Venezuela, wherein they might have difficulty recruiting all the talent necessary to do this. Belarus has enough native talent to contemplate the task.

But it'd be interesting to know 'who' is helping them do this.

Re:Belarus has shut down the internet amid a controversial e... by sueuu3rid8 on Thursday August 13, 2020 @02:34AM (#24140563)
Frankly, I don't see why it matters who is selling or managing the equipment. It's a pointless debate that misses the forest for the trees. Only children thought refusing to produce and export this kind of expertise would stop it from from proliferating. The demand and the money aren't going to go away because anyone in particular took the high road. Refusing to participate just means someone else gets the money.
Re:Belarus has shut down the internet amid a controversial e... by sam_lowry_ on Wednesday August 12, 2020 @06:30AM (#24130424)
Apparently, the DPI was (at least partially) developed by RDP.ru. Here is the LinkedIn profile of the CTO: https://www.linkedin.com/in/nikolay-guzakov-1334484/
Re:Belarus has shut down the internet amid a controversial e... by xenospn on Tuesday August 11, 2020 @08:28PM (#24127474)
100%
Re:Belarus has shut down the internet amid a controversial e... by ardy42 on Wednesday August 12, 2020 @12:09AM (#24128527)
> Tonight we're going to try using an xor tcp proxy to obfuscate the VPN traffic.

You might want to pad the traffic too. IIRC, the GFW can detect many kinds of VPN connections based off of a sequence of characteristic packet lengths during the handshake.

Re:Belarus has shut down the internet amid a controversial e... by yabones on Wednesday August 12, 2020 @12:38AM (#24128638)
That's a great idea! Unfortunately it looks like they've fully locked down their network since about 20:00 (EDT), so that will have to wait for tomorrow to try out.
Re:Belarus has shut down the internet amid a controversial e... by mimi89999 on Tuesday August 11, 2020 @06:45PM (#24126871)
Maybe protesters should set up some mesh to keep the information flow and coordination if the internet will be cut completely.
Re:Belarus has shut down the internet amid a controversial e... by anonymfus on Tuesday August 11, 2020 @08:56PM (#24127616)
Currently there is no need for this as Telegram messages still work and Telegram channel network NEXTA (https://t.me/nexta_tv, from Belarusian word Нехта (someone), pronounced [ˈnʲexta](nyekhta), see https://be.wikipedia.org/wiki/Сцяпан_Аляксандравіч_Пуціла ) became the main tool for spreading news and coordination.
Re:Belarus has shut down the internet amid a controversial e... by pvg on Wednesday August 12, 2020 @02:09AM (#24129023)
from Belarusian word Нехта

I've been wondering why it's called that for the last few days, thanks! Curiously, it's not mentioned on the Russian NEXTA wikipedia page.

Re:Belarus has shut down the internet amid a controversial e... by mehrdadn on Tuesday August 11, 2020 @06:49PM (#24126908)
I don't get how XOR helps here? Isn't this stuff based on timing + length information?
Re:Belarus has shut down the internet amid a controversial e... by yabones on Tuesday August 11, 2020 @07:35PM (#24127182)
Well, it does more than just XOR but the goal is to just scramble the traffic enough that it looks like a bunch of nonsense rather than a TLS handshake. The actual VPN provides the encryption, this layer adds a socket on top that garbles up the data.
Re:Belarus has shut down the internet amid a controversial e... by mehrdadn on Tuesday August 11, 2020 @07:38PM (#24127198)
Ah ok that makes more sense, thanks.
Re:Belarus has shut down the internet amid a controversial e... by baybal2 on Tuesday August 11, 2020 @06:34PM (#24126790)
Do you have a clue on physical location of this middlebox?
Re:Belarus has shut down the internet amid a controversial e... by yabones on Tuesday August 11, 2020 @06:44PM (#24126869)
Not sure. My information is largely based on observations made by people that live or have lived in BY. It's sort of common knowledge there that regardless which ISP or carrier you're on there's always one hop in common when traceroute'ing outside of the country.
Re:Belarus has shut down the internet amid a controversial e... by dylz on Tuesday August 11, 2020 @06:52PM (#24126924)
As far as I can tell, virtually every network marked BY has a common transit or peer of AS6697 Republican Unitary Telecommunication Enterprise Beltelecom
Re:Belarus has shut down the internet amid a controversial e... by baybal2 on Wednesday August 12, 2020 @12:48AM (#24128679)
Any Belorussian ASes behind it?
Re:Belarus has shut down the internet amid a controversial e... by dylz on Wednesday August 12, 2020 @01:03AM (#24128739)
Assuming the index of 144 total ASNs is correct marked BY, there are a handful of cloud providers/university systems (that I can count in one hand) that might have their own connectivity, but anything remotely advertised as eyeball goes through "Beltelecom" or "Business Network Ltd" (which in turn goes through "Beltelecom" or "National Traffic Exchange Center" (60330))

At a casual glance, look at how Beltelecom is one of the very, very few that has any international peers just based on the flags: https://bgp.he.net/AS6697#_peers

Then look at the others:

https://bgp.he.net/AS12406#_peers

https://bgp.he.net/AS60330#_peers

https://bgp.he.net/AS25106#_peers

This is similar to to Iran's ITC/TIC (there's a handful of them, pop in 12880, 49666, 48159, etc. onto bgp.he for a quick look) where they are the in-between to international peers and domestic peers.

Re:Belarus has shut down the internet amid a controversial e... by justinclift on Tuesday August 11, 2020 @09:39PM (#24127817)
If udp connections are working, it may be feasible to proxy something over that.
Re:Belarus has shut down the internet amid a controversial e... by rigrassm on Tuesday August 11, 2020 @10:58PM (#24128204)
Curious if something like zerotier would be effective for a while.
Re:Belarus has shut down the internet amid a controversial e... by out_of_protocol on Wednesday August 12, 2020 @04:13AM (#24129661)
UDP is blocked completely or almost completely
Re:Belarus has shut down the internet amid a controversial e... by justinclift on Wednesday August 12, 2020 @11:23AM (#24132959)
ICMP then?
Re:Belarus has shut down the internet amid a controversial e... by out_of_protocol on Friday August 14, 2020 @02:06AM (#24154257)
internet is restored, for now. There could be some ways to bypass blocking (e.g. SSH tunnel via TCP works just fine, unlike all popular proxy protocols), needs more investigation. Until next time then :/
Re:Belarus has shut down the internet amid a controversial e... by justinclift on Monday August 17, 2020 @06:02AM (#24185694)
Ahhh. With SSH working you have options. :)

If it happens again (but SSH still works), then to enable general web browsing you can:

1. Set up Squid (a proxy server) on a remote host. eg a VM in Digital Ocean. You may need to ask someone to do this for you, if you don't have a VM you can access remotely already.

2. Configure SSH to proxy traffic from your (desktop) web browser to that remote Squid server

3. Configure your browser (eg Firefox/Chrome) to use the new SSH proxy

It sounds like you're familiar with the Linux or macOS command line, so you shouldn't have much trouble.

I've done exactly this before, and it works reliably. Browsing speed is a bit slower than standard though, but not horrible. :)

Re:Belarus has shut down the internet amid a controversial e... by out_of_protocol on Sunday August 23, 2020 @12:13PM (#24252875)
UPD: new "no internet thing". (Because: http://lon-screenshots.s3.amazonaws.com/2020-08-23_v.mp4 ) They are learning. _mobile_ internet is blocked completely, no dns/icmp/udp/ssh/http/https/etc is going through, landline is operational but could be blocked as well on a whim
Re:Belarus has shut down the internet amid a controversial e... by strls on Wednesday August 12, 2020 @07:10AM (#24130751)
Private OpenVPN definitely didn't work for the last 3 days, on any port.