The New York Times soon reported that the most sophisticated piece of the WannaCry code was developed by the US National Security Agency to exploit a vulnerability in Windows.5 The NSA had likely created the code to infiltrate its adversaries’ computers.