The WannaCry ransomware attack exploited a known vulnerability called EternalBlue in Microsoft's SMB protocol, allowing it to spread quickly across networks. The other options were not involved in the WannaCry attack.