It seems the malicious software known as WannaCry — which was unleashed on hospitals, individuals and a host of others last week — originated as an NSA tool that exploited a flaw in older Windows software.

Now Microsoft is calling out the NSA for “stockpiling” exploits like this.

WannaCry was “ransomware.” Once hackers got it on a computer, they were able to encrypt files and hold them for ransom, hoping users would pay to keep their data available to them and only them.

This wasn’t the first attack of its kind, and it’s highly unlikely to be the last. When these tools are being developed by governments and criminals alike, how should we protect ourselves, or should we start saving bitcoin in preparation for the inevitable?