The Wannacry ransomware exploited a vulnerability in the Microsoft Windows SMB protocol, known as EternalBlue. This vulnerability allowed the ransomware to spread rapidly across networks, encrypting data and disrupting services. Histology labs with outdated or unpatched systems were particularly at risk.