I do adore my Synology NAS, but never forget that it is a computer. Connect it to the Internet and it's a vulnerable computer.
Sounds like a bummer but it also sounds like there's an easy way out of the ransomware that involves removing the disks and performing a DSM install.
Computers are fun.
By way of several people. I guess I'm known as a Synology user.