There’s not a lot you can do to counter ransomware because once you know you’ve got it, you’ve got it.
It’s a bit like a cold really, all you can really then do is try and treat the symptoms and recover from it. This is where you need to have had good backups, quality backups that you know are working. At which point you can then restore into a known working, good environment.
We did it for our customer who got attacked by a ransomware virus last year and we managed to get them back up and running because they, basically, just had one folder that they work out of. We got that back up for them in an hour and then spent the best part of the next day and a half recovering the rest of the data onto their server.
If you have been attacked by a ransomware virus and you don’t have a back up, you’ve got a lot of pain coming your way.