Malaysia's cyber security agency has issued an alert as the country emerged as one of the nearly 100 nations hit by a massive global cyberattack of ransomware.