I love it how it's the little things that get overlooked will fix the big things that everyone notices.
I believe the NSA just took advantage of a vulnerability in Windows that had a patch released for it a few months ago. I am not sure how far into exploiting the vulnerability went with them in regards to Wannacry.