Hackers linked to China have found footholds inside hundreds of companies after a mass hack.