A ransomware attack wouldn’t allow you to access the SYNOLOGY NAS server. In such a case, reach out to a data recovery expert such as Stellar who can recover SYNOLOGY NAS data even if the SYNOLOGY server has encountered ransomware attack.