Microsoft Corp. said on Tuesday that a hacking group previously linked to the Russian government and U.S. political hacks is behind recent cyberattacks that exploit a newly discovered flaw in its Windows operating system.