All Products
Search
Document Center

Security Center:Create and manage anti-ransomware policies and agents

Last Updated:Mar 31, 2026

Security Center's anti-ransomware feature backs up your server data to Cloud Backup. If ransomware encrypts or steals your data, restore it from a backup to minimize downtime and data loss.

Prerequisites

Before you begin, make sure that you have:

How it works

When you create an anti-ransomware policy, Security Center installs the anti-ransomware agent on the protected servers and starts backing up data to Cloud Backup.

  • First backup: A full backup of all protected directories. This consumes significant CPU and memory resources, so schedule it during off-peak hours.

  • Subsequent backups: Incremental — only files that are newly created, modified, or deleted since the last backup. This reduces resource usage and anti-ransomware capacity consumption.

The number of backup jobs per policy depends on the policy version and the directories configured. See Version description of the anti-ransomware agent for details.

Create an anti-ransomware policy

Before creating a policy, verify that your server's operating system is supported. If the OS version is not supported, data cannot be backed up. See Operating systems and versions supported by anti-ransomware for servers.

  1. Log on to the Security Center console. In the top navigation bar, select the region of the asset: China or Outside China.

  2. In the left-side navigation pane, choose Protection Configuration > Host Protection > Anti-ransomware.

  3. On the Anti-ransomware for Servers tab, click Create Anti-ransomware Policy.

  4. In the Create Anti-ransomware Policy panel, configure the basic parameters.

    Elastic Compute Service (ECS) instances can span different regions in a single policy. Servers not deployed on Alibaba Cloud must all be in the same region. A server can belong to only one anti-ransomware policy.
    ParameterDescription
    Policy nameName of the anti-ransomware policy
    Server typeType of server to protect
    Backup routeCommunication method for backup. Required only when Server type is Server Not Deployed on Alibaba Cloud. Internet: may incur bandwidth charges. Internal network: requires connectivity via virtual private clouds (VPCs), Express Connect circuits, or Cloud Enterprise Network (CEN) instances.
    RegionThe region where the server resides, or any region with an available anti-ransomware endpoint. Required only when Server type is Server Not Deployed on Alibaba Cloud. Make sure the server can reach the anti-ransomware endpoint in the selected region. See Anti-ransomware endpoints.
    Select assetAssets to protect. Select an asset, an asset group, or multiple assets across groups. In the Asset group section, select a group to include all assets in it, then clear assets that don't need protection in the Assets section. To find a specific asset, enter its name in the search box (fuzzy match is supported).
  5. Under Protection policies, select Recommended policy or Custom policy, then click OK.

Recommended policy

The recommended policy uses built-in defaults and cannot be modified:

SettingDefault value
Directory to protectAll directories
Directory to excludeDefault excluded directories
Non-local mount pathExcluded (Object Storage Service (OSS) objects and NAS file systems)
File type to protectAll file types
First backup starts atBetween 00:00 and 03:00
Periodic backup intervalOne day
Backup data retention period7 days
Maximum backup bandwidth0 MB/s for Alibaba Cloud servers (no limit); 5 MB/s for servers not deployed on Alibaba Cloud

Custom policy

Configure the following parameters to match your requirements:

ParameterDescription
Directory to protectSpecific directory: back up only specified directories. Enter up to 20 directory paths (for example, C:\Program Files (x86)\ on Windows or /usr/bin/ on Linux). Backup jobs run in sequence per path, which limits peak resource usage. All directories: back up the entire server.
Directory to excludeDirectories to skip. Security Center pre-fills common exclusions; add or remove as needed.
Non-local mount pathSelect whether to exclude non-local mount paths such as OSS or NAS mounts.
File type to protectAll file types: protect all files. Specific file types: protect only selected types (for example, Document, Picture). Multiple types can be selected.
First backup starts atTime to start the first backup job. Schedule during off-peak hours to avoid impacting services during the initial full backup.
Periodic backup intervalInterval between backup jobs. Default: one day.
Backup data retention periodHow long backup data is kept. Default: 7 days. Permanent: retained until Security Center expires, the policy is deleted, or the server is removed from the policy. Custom: 1 to 65,535 days. Set based on your recovery requirements — data outside the retention period is deleted automatically.
Maximum backup bandwidthMaximum bandwidth for backup jobs, in MB/s (0 to unlimited). 0 MB/s means no limit for Alibaba Cloud servers. For servers not deployed on Alibaba Cloud, the default is 5 MB/s. Limit bandwidth if backup jobs affect service performance.

After the policy is created, it is enabled immediately. Security Center installs the anti-ransomware agent on the protected servers and starts backing up data according to the policy schedule.

Warning

Monitor the anti-ransomware agent status and address any exceptions promptly. An abnormal agent status causes backup and recovery jobs to fail. See View the status of the anti-ransomware agent.

Reconfigure policies after replacing a server's operating system

After replacing the operating system on a protected server, the configured protected directories remain unchanged. This can cause high resource usage or backup failures because the directories may not match the new OS.

After an OS replacement:

  • If the existing policy still meets the protection requirements: remove the server from the policy and re-add it.

  • If the existing policy no longer meets the requirements: modify the policy, or remove the server and create a new policy for it.

Manage the anti-ransomware agent

Version description of the anti-ransomware agent

New policies are created as V2.0. Existing V1.0 policies cannot be modified, but can be upgraded.

ItemV1.0 anti-ransomware policyV2.0 anti-ransomware policy
Custom directories to excludeNot supportedSupported
Classic network
Compatibility with Cloud Backup
Backup methodMultiple backup jobs run simultaneously — may cause high CPU utilizationMultiple backup jobs run in sequence — lower resource usage

How backup jobs are scheduled by version and directory type:

Directory to back upV1.0 policyV2.0 policy
All directoriesLinux: one backup job. Windows: one backup job per data disk — two disks run simultaneously, consuming more CPU and memory. Schedule carefully based on CPU utilization and memory usage.One backup job per server; multiple servers run in sequence. Lower resource usage with no service impact.
Specific directoriesOne backup job per directory path; jobs run simultaneously and may consume significant CPU and memory. Specify only the directories your business requires.(same as V1.0 for specific directories)

Upgrade V1.0 policies to V2.0

Upgrade a V1.0 policy by clicking Upgrade in the Actions column of the policy list. The anti-ransomware agent is automatically upgraded to V2.X.X during the policy upgrade.

升级客户端
The upgrade does not affect existing backup data — backup jobs continue running after the upgrade. If the upgrade fails, the agent automatically rolls back to V1.X.X and backup jobs are not interrupted. If a specific server's agent cannot be upgraded automatically: remove that server from the policy, click Upgrade for the policy, then re-add the server. The V2.X.X agent is installed automatically when the server is re-added.

View the status of the anti-ransomware agent

After creating a policy, check that the agent status for each protected server is Online. Security Center can only back up data when the agent is online.

To check agent status: on the Anti-ransomware for Servers tab, find the policy and click the 展开 icon next to the policy name. The expanded server list shows the status in the Agent status column.

To verify that backups are running: find a server and click the number in the Recoverable versions column. In the Recoverable data versions panel, the Version name column lists available backup versions. The Version column shows when each backup started.

If the status is Exception, backup jobs are failing. Exceptions may also affect data restoration, but restoration errors do not impact backup jobs. Identify and resolve the cause — see Troubleshoot the issues that cause the abnormal status of the anti-ransomware agent and backup tasks.

Agent status and recommended actions

Use this table to determine the right action based on current agent status:

Agent statusMeaningRecommended action
OnlineAgent is running normally; backups proceed on scheduleNo action required. Verify backups by checking the Recoverable versions column.
ExceptionAgent has encountered an error; backup jobs are failingIdentify and resolve the root cause. See Troubleshoot abnormal agent status. If the agent cannot recover, uninstall and reinstall it.

Manually install the anti-ransomware agent

After you create a policy, Security Center installs the anti-ransomware agent automatically. If the server is offline or has restrictive firewall rules, the installation may fail.

If automatic installation fails, diagnose the cause, resolve it, then install the agent manually. See Manage servers that are added to an anti-ransomware policy.

安装混合云备份客户端

Uninstall the anti-ransomware agent

If the agent on a protected server is abnormal, uninstall it and then reinstall it.

To uninstall: click Uninstall in the Actions column for the server.

  • If you uninstall within the configured retention period, backup data is preserved.

  • If you uninstall after the retention period has passed, backup data is deleted.

卸载混合云备份客户端

Delete the anti-ransomware agent

Delete the agent to remove a server from anti-ransomware protection entirely.

Important

Deleting the agent permanently deletes all backup data for that server. Deleted backup data cannot be restored. Proceed with caution.

After deletion, the server is removed from the policy's protected server list, and the occupied anti-ransomware capacity is released. Capacity is updated within 24 to 72 hours after release.

If anti-ransomware capacity runs out, backup jobs stop and Security Center performs a full backup when capacity is restored — significantly increasing server resource usage. Avoid letting capacity run out.

删除客户端

What's next