Cybersecurity researchers said Monday that the massive “WannaCry” virus that has infected computers around the globe was developed using some of the same code used in the 2014 hack of Sony Pictures, ...