Cybercriminals are hiding malware in cracked and repacked games, infecting more than 400,000 devices worldwide.