[重要なセキュリティのお知らせ] 偽の 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% の人が、これは役に立つと思っています。
ご意見をいただき、ありがとうございます。

この記事の改善箇所をお知らせください。

その他のフィードバックがある場合は、以下に入力してください。

仕様を選択

      もっと見る 閉じる
      当ページを他の国/地域で見る:
      気軽にお問い合わせ! show inquiry button
      open menu
      back to top