【重要資安警示】發現冒充 Qfinder Pro 的非官方網站,了解詳情 >

How can I recover files encrypted by ransomware using snapshots?


最後修訂日期: 2025-07-02

Applicable Products:

All QTS NAS models with snapshot functionality


Scenario

My files have been encrypted by ransomware, but I regularly create local snapshots. How can I recover my files and reorganize the NAS environment afterward?


Best Practice

1. If there are valid snapshots on the NAS, proceed with the following steps. If you do not have valid snapshots, it is generally impossible to decrypt the ransomware-encrypted files. Please refer to this guide for more details.

2. To prevent further attacks before file recovery or after recovery is completed, disconnect the NAS from the internet. For example, remove the default gateway or directly connect the computer to the NAS using a network cable (a standard Ethernet cable is sufficient) without connecting to other networks.

Info
The examples below are based on the most common storage configurations for QNAP NAS users. To avoid exhausting the storage pool space by restoring a large number of files directly, it is recommended to restore files to an external hard drive or use the [Restore Volume] option. Refer to this guide for the differences.

3. Restore from a snapshot:

        (1) Open the Snapshot Manager and confirm that the files in the snapshot are not encrypted. For example, the file extensions in the snapshot should appear normal:

        (2) For the useful snapshot, temporarily set its retention policy to [Permanent] to prevent it from being automatically deleted after the retention period:


        (3) Disable the snapshot schedule to prevent new snapshots from being generated and consuming the storage pool space before backups are completed:


        (4.1) Based on the current data volume stored on the NAS, connect a USB external hard drive with greater capacity than the data volume to the NAS. Select the folder(s) you want to restore, click [Restore] > [Restore Folder to], and choose the path of the external hard drive in the new window:


        (4.2) If the data volume on the NAS is large and no external hard drive is currently available, use the [Restore Volume Snapshot] option. Be aware that all changes to files made after the snapshot date will be lost. Before proceeding, back up any files created or modified after the snapshot date (focus on non-encrypted files).

After restoring the volume snapshot, restart the NAS and update the firmware to the latest version. Then, locate backup media to back up your files. You can also use HBS3 for this purpose. Refer to this guide for assistance.


4. Once the files are backed up, it is recommended to reinitialize the NAS that was attacked by ransomware and update it to the latest version:


5. Refer to this guide to enhance the security of your NAS.

6. After completing the adjustments, transfer the files back to the NAS using HBS3 or File Station.

這篇文章有幫助嗎?

100% 的人認為有幫助。
謝謝您,我們已經收到您的意見。

請告訴我們如何改進這篇文章:

如果您想提供其他意見,請於下方輸入。

選擇規格

      顯示更多 隱藏更多
      選擇其他偏好的語言:
      open menu
      back to top