Another article:
Trump administration blames North Korea for global WannaCry cyberattack
https://www.politico.com/story/2017/12/18/trump-north-korea-cyberattack-wannacry-290222
This info is used to put pressure on NK. The info was in the public domain already in June:
British security officials believe that hackers in North Korea were behind the cyber-attack that crippled parts of the NHS and other organisations around the world last month, the BBC has learned.
Britain’s National Cyber Security Centre (NCSC) led the international investigation.
Security sources have told the BBC that the NCSC believes that a hacking group known as Lazarus launched the attack
http://www.bbc.com/news/technology-40297493