News for hackers. Stuff that matters.
Re:GitHub under ongoing DDoS attack by est on Sunday March 29, 2015 @06:41AM (#9284417)
> > Which raises the question: when will the rest of the world kick China of the internet?

Well, that's exactly what the DDoS wanted, so the government could just happily control all access to Internet in mainland China

The DDoS targets github.com/greatfire and github.com/cn-nytimes by their so called "collateral freedom" [1]

Suppose github could just ban Chinese IP all together, but @greatfire could easily jump to another host and abuse ToS to hosting "neutral" political content, like bitbucket[2]

Many webmasters have already banned all Chinese IPs, so gradually, every public hosting service will eventually ban all Chinese IPs, Chinese government could easily destroy the rest of circumvention methods

[1]: https://en.greatfire.org/blog/2014/jan/collateral-freedom-fa...

[2] https://bitbucket.org/greatfire

Re:GitHub under ongoing DDoS attack by mike_hearn on Sunday March 29, 2015 @07:35AM (#9284514)
The first attack based on the Javascript wasn't actually using Chinese IPs to do the attack. As otherwise it'd indeed be very easy to block by just blackholing Chinese traffic.

What it was actually doing was a massive MITM attack against non-SSLd HTTP connections from inbound connections to China, from Chinese users abroad visiting Chinese websites. It's an extremely clever trick that is only possible if you have the ability to mount mass MITM attacks on an entire country, but what it gives you is a massive ever shifting botnet.

The lesson I draw from this is that we need more SSL, we need it everywhere and we need it yesterday. I hope this stuff puts to rest the idea that some websites aren't worth being encrypted.

Re:GitHub under ongoing DDoS attack by KMag on Sunday March 29, 2015 @08:26AM (#9284605)
I agree in general, but in this specific case, Beijing can just demand access to Baidu's private keys and MITM all traffic passing through the GFWoC.
Re:GitHub under ongoing DDoS attack by rmc on Sunday March 29, 2015 @03:43PM (#9286196)
Chinese government already has a root CA in all browsers.
Re:GitHub under ongoing DDoS attack by KMag on Monday March 30, 2015 @06:49AM (#9288695)
> Chinese government* already has a root CA in all* * browsers.

* For definitions of "Chinese government" that includes the Beijing non-profit China Internet Network Information Center, which isn't technically part of the government, but presumably is easily pressured.

* * For definitions of "all browsers" that excludes some minority browsers and those browsers run by users who have disabled the CNNIC root cert.

I have no doubt that the Chinese government has access to the CCNIC root certificate private key if it so chooses, but demanding the private key for an existing domain certificate would provide slightly less traceability and slightly more deniability.

Re:GitHub under ongoing DDoS attack by im2w1l on Sunday March 29, 2015 @08:50AM (#9284640)
That would be the death of Baidu among the Chinese diaspora.
Re:GitHub under ongoing DDoS attack by Kiwikwi on Sunday March 29, 2015 @09:34AM (#9284755)
Buh? Encryption is de-facto illegal in China. To the extent SSL is used, you can be sure that the government already has a copy of the master key. I've worked on Chinese deployed train systems, and we were banned from encrypting train control signals (signing was allowed, though), just in case someone might try to sneak in a political message in an ATO control telegram...
Re:GitHub under ongoing DDoS attack by im2w1l on Sunday March 29, 2015 @10:22AM (#9284896)
Not breaking encryption itself. Breaking encryption to serve malicious scripts.
Re:GitHub under ongoing DDoS attack by icebraining on Sunday March 29, 2015 @01:30PM (#9285655)
So breaking encryption is accepted; serving malicious scripts is accepted (it's what happened in this attack), but breaking encryption to serve malicious scripts would be out of limits? That doesn't make much sense.
Re:GitHub under ongoing DDoS attack by im2w1l on Monday March 30, 2015 @04:20AM (#9288236)
Serving malicious scripts is very bad, and may not actually be accepted. I know I would hesitate to use baidu analytics after this. But people might come around if they say something about SSL and wont happen again.

If the encryption is then broken and it is done again, then a) it will prove that China did it. Because you can see who signed the certificate. b) it will prove that technical countermeasures are not enough, since the problem is deeper than that.

Re:GitHub under ongoing DDoS attack by Estragon on Sunday March 29, 2015 @08:49PM (#9287127)
Why is encrypting train control signals a good idea? What reasons were given for the ban?
Re:GitHub under ongoing DDoS attack by KMag on Monday March 30, 2015 @07:26AM (#9288794)
> Why is encrypting train control signals a good idea?

Because someone might like to mess with train signals, and in the off chance that some weakness is found in the MAC/signature scheme you're using, forcing an attacker to guess at which messages they're manipulating and how will make their attack more difficult.

If you're working with a networked application, even if it's on a non-public network, you should be asking yourself "why not encrypt?" instead of "why encrypt?". This is doubly true of critical infrastructure that's expensive and slow to replace.

Re:GitHub under ongoing DDoS attack by wongarsu on Sunday March 29, 2015 @07:00AM (#9284454)
If that was what the Chinese government wanted they could simply block all access from China to github. In fact they did that once but had to undo that because the damage to the IT sector would be too big. China doesn't want github inaccessible, they want github to take down repos which the Chinese censor doesn’t like.
Re:GitHub under ongoing DDoS attack by gpvos on Sunday March 29, 2015 @07:46AM (#9284535)
Hmm, maybe Github could block all access from China except for these two projects, serve a special home page with install instructions, and make it so that with either of these installed you can access all of Github from China?
Re:GitHub under ongoing DDoS attack by army on Sunday March 29, 2015 @11:44AM (#9285217)
They can't selectively block parts of github when it's going over HTTPS. All they see is an encrypted connection from inside China to github.com.
Re:GitHub under ongoing DDoS attack by thret on Sunday March 29, 2015 @09:27AM (#9284729)
Hopefully never. IMO access to the internet is a basic human right, like clean water and immunization. I wouldn't choose to deny these things to citizens of any country.
Re:GitHub under ongoing DDoS attack by tedunangst on Sunday March 29, 2015 @09:31AM (#9284741)
What happens when providing those things to another country means denying them to your own country?