Since the question of "why" and "how" is coming up again, here's a quick summary I posted on reddit: From a few different analysis on HN and elsewhere... Baidu has an analytics product and an ads product, much like Google Analytics and Google AdSense, which are used on all kinds of websites via Javascript. China has set the Great Firewall of China to modify some of Baidu's assets so that any non-Chinese IP gets a mod…
actually both projects are still online on github. https://github.com/cn-nytimes https://github.com/greatfire
China's Man-On-the-Side Attack on GitHub
161–170 of 323 posts
Re: China's Man-On-the-Side Attack on GitHub
#162One thing I don't understand: when you have the infrastructure to run the Great Firewall, why not simply generate the traffic yourself ? At this point you might just fake traffic from inside China with any kind of amplifiable no-state protocol. Sure, the TCP/HTTP attack might be a bit more resource intensive, but it should be doable with the same capabilities provided by their DPI infrastructure, no ? Edit : Last but…
Re: China's Man-On-the-Side Attack on GitHub
#163Earlier quoted context omitted.
The injection has been stopped and Baidu's script checks if there exists a referer.
What do you mean "has been" stopped? There's no definitively stopping this without HTTPS, which I'm pretty sure hasn't magically "happened" in China in the last couple days. The GFW may have ceased its attack, but there's no check you can possibly add into an asset delivered over HTTP which can't be undone by the GFW. As long as there's a script being delivered over HTTP, the GFW can intercept that script request and…
Re: China's Man-On-the-Side Attack on GitHub
#164One thing I don't understand: when you have the infrastructure to run the Great Firewall, why not simply generate the traffic yourself ? At this point you might just fake traffic from inside China with any kind of amplifiable no-state protocol. Sure, the TCP/HTTP attack might be a bit more resource intensive, but it should be doable with the same capabilities provided by their DPI infrastructure, no ? Edit : Last but…
Couldn't github simply null-route all chinese-origin traffic in that case?
Currently the DDoS comes from everywhere except china
Re: China's Man-On-the-Side Attack on GitHub
#165Re: China's Man-On-the-Side Attack on GitHub
#166Earlier quoted context omitted.
> [China] an unfathomable degree of control over their citizens You obviously haven't been there. I think Chinese gov have the same level of control over its citizens as France: very erratic, sometime works well, some people try to play with fire, but overall the Chinese are all but lobotomized robots in the hands of a few puppet masters. There's over 500 strikes a year in China, not counting all the ones not big eno…
I live in China, and I disagree with your statement, but I can understand why you think like that. Usually when you reside in a country for a long time, you don't think the government as a whole, big, flat thing. The size of the it is gigantic, so that anything you do, you might be interacting with government at some level. I'm not judging this but giving you an image of what it's like living in China, salt, gas, new…
I thought it was pretty well known that the BRICS countries want their own internet:
http://www.infowars.com/brics-countries-build-new-internet-t...
Re: China's Man-On-the-Side Attack on GitHub
#167One thing I don't understand: when you have the infrastructure to run the Great Firewall, why not simply generate the traffic yourself ? At this point you might just fake traffic from inside China with any kind of amplifiable no-state protocol. Sure, the TCP/HTTP attack might be a bit more resource intensive, but it should be doable with the same capabilities provided by their DPI infrastructure, no ? Edit : Last but…
Re: China's Man-On-the-Side Attack on GitHub
#168Earlier quoted context omitted.
Github wouldn't get baidu's cookies since they're different domains.
They could if they put code to read cookies in JS and send them home in the JS included in people's pages.
Re: China's Man-On-the-Side Attack on GitHub
#169Earlier quoted context omitted.
actually both projects are still online on github. https://github.com/cn-nytimes https://github.com/greatfire
One solution that comes to mind for this is for CDN's to have an edge node just outside of the great firewall of China. Even with a simple edge side include, the impact on Github's servers should be near zero.
Re: China's Man-On-the-Side Attack on GitHub
#170Earlier quoted context omitted.
You'd think, wouldn't you. Or instead simply blacklist Baidu's analytics code completely. That will only hurt Chinese businesses using Baidu's product, and no-one else.
It would also hurt american, or european, or any nationality of business that uses baidu to get more insight into chinese visitors. Baidu is certainly most popular within china, but not exclusive to them.