Massive cyberattack spreads ransomware across Europe, US