China has very publicly ran DDOS attacks against GitHub when GitHub did some things they didn't like. Specifically they used infrastructure co-located with the GFW to run a MITM on connections to Baidu and serve malicious javascript. The malicious javascript used users computers to DDOS GitHub.
https://citizenlab.ca/2015/04/chinas-great-cannon/