Managing Ransomware Protection Policies
Scenarios
After ransomware prevention is enabled, you can manage its policies as needed. Supported operations include:
- Changing a Policy: If the current protection policy bound to a server cannot meet your requirements, you can bind another policy to the server.
- Modifying a Policy: If you need to modify specific settings (such as the honeypot protection directories or excluded directories), you can modify them in an existing protection policy. When HSS automatically enables ransomware prevention, a protection policy is configured by default. (The default policy for Linux is tenant_linux_anti_default_policy, and that for Windows is tenant_Windows_anti_default_policy.) You can modify them as needed.
- Deleting a Policy: If a protection policy is discarded and not associated with any servers, you can delete the policy.
Changing a Policy
- Log in to the management console.
- In the upper left corner of the page, select a region, click
, and choose Security & Compliance > Host Security Service.
- Choose .
- Click the Protected Servers tab.
- Select a server and click Change Policy.
You can also choose Operation column of a server.
in the - In the Change Policy dialog box, select a protection policy.
- Click OK.
Modifying a Policy
- Log in to the management console and go to the HSS page.
- In the navigation pane, choose Server Protection > Ransomware Prevention. Click the Policies tab.
- Click Edit in the Operation column of a policy. Edit the policy configurations and associated servers. For more information, see Table 1.
The following uses a Linux server as an example. On the Protected Servers tab, you can also click the name of the policy associated with the server to edit the policy.
Table 1 Protection policy parameters Parameter
Description
Example Value
Policy
Policy name.
Anti_Ransomware
Action
How an event is handled.
- Report alarm and isolate
- Report alarm
Report alarm and isolate
Dynamic Honeypot Protection
After honeypot protection is enabled, the system deploys honeypot files in protected directories and other random locations (unless otherwise specified by users). A honeypot file occupies only a few server resources. You can configure excluded directories, so that honeypot files will not be deployed in them.
This parameter is mandatory only for Linux servers.
Enabled
Honeypot File Directories
Directory that needs to be protected by static honeypots (excluding subdirectories). You are advised to configure important service directories or data directories.
Separate multiple directories with semicolons (;). You can configure up to 20 directories.
This parameter is mandatory for Linux servers and optional for Windows servers.
- Linux: /root;/home;/opt;/var;/etc
- Windows: C:\software
Excluded Directory (Optional)
Directory that does not need to be protected by honeypot files.
Separate multiple directories with semicolons (;). You can configure up to 20 excluded directories.
- Linux: /bin;/boot;/lib;/lib32;/lib64;/lost+found;/proc;/run;/sbin;/selinux;/srv;/sys;/usr/bin;/usr/local/bin;/usr/local/sbin;/usr/sbin;/var/lib/container;/var/lib/kubelet;/var/lib/ntp/proc
- Windows: C:\software\test
Protected File Type
Types of files to be protected.
More than 70 file formats can be protected, including databases, containers, code, certificate keys, and backups.
This parameter is mandatory only for Linux servers.
Select all
(Optional) Process Whitelist
Paths of the process files that can be automatically ignored during the detection, which can be obtained from alarms.
This parameter is mandatory only for Windows servers.
-
Associate Servers
Information about the server associated with the policy. If you want to disassociate the server (disable ransomware protection), you can delete the policy.
-
AI Ransomware Prevention
It monitors all server files, detects ransomware attack characteristics (including the characteristics of ransomware letters and encryption behaviors) in real time, and determines whether the server is under a ransomware attack.
Suspicious events are further checked by the graph engine through comprehensive source tracing analysis to determine whether they are ransomware attacks. For more information about graph engine detection, see Policy Management Overview.
To use the graph engine, you need to enable it and the HIPS policy as well. For details, see Configuring Policies.
To use AI ransomware prevention, your Windows agent version must be 4.0.28 or later.
This parameter is mandatory only for Windows servers.
- Confirm the policy information and click OK.
Deleting a Policy
- Log in to the management console and go to the HSS page.
- In the navigation pane, choose Server Protection > Ransomware Prevention. Click the Policies tab.
- Click Delete in the Operation column of the target policy.
After a policy is deleted, the associated servers are no longer protected. Before deleting a policy, you are advised to bind its associated servers to other policies.
- Confirm the policy information and click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.