MalwareBytes Premium covers this sort of attack and some of the other vendors also probably protect against this type of attack . Almost certainly, the chosen security software (Antivirus) chosen by the hit by the Ransomware is using other vendors software that doesn't provide Anti Ransomware protection