The NotPetya cyberattack of 2017 caused billions of dollars in damage worldwide, paralyzing major companies like Maersk, Merck, and FedEx. At its core was a vulnerability in a Windows component designed for file sharing: the Server Message Block (SMB) protocol.
The attack leveraged a leaked NSA exploit called EternalBlue, which targeted a flaw in Microsoft's implementation of SMBv1. This allowed the malware to spread across networks automatically, without requiring any user interaction such as clicking a malicious link or opening an infected attachment.
NotPetya initially appeared to be ransomware, but its true purpose was destructive: it permanently encrypted files and overwrote the master boot record, rendering systems unbootable. The worm-like propagation meant that once one machine in a network was infected, it could rapidly compromise all vulnerable Windows computers connected to it.
Microsoft had released a security patch (MS17-010) two months prior to the outbreak, but many organizations had not applied it. The attack underscored the critical importance of timely patch management and highlighted how legacy features like SMBv1—often left enabled for compatibility—can become a severe security risk.
Today, cybersecurity experts recommend disabling SMBv1 entirely and ensuring all systems are updated. The NotPetya incident remains a stark reminder that even a simple file-sharing service can become a weapon when left exposed.