Over 12,000 machines in around 65 countries including the United States have been hit by the cyberattack.