Google found a series of hacking tools they said were used by a Russian espionage group and a cybercriminal group in China.