Apparently this was targeted, and not for cash.
I heard reported that the malicious code was very complex, professionally written with multiple target vectors. By contrast the ransom code is slipshod, indicating lack of interest.
I wonder who would have expertise in malicious code and a grudge against Ukrainians? Can't think of anyone that fits that description.