Enabling Ransomware Prevention¶
Ransomware is one of the biggest cybersecurity threats today. Ransomware can intrude a server, encrypt data, and ask for ransom, causing service interruption, data leakage, or data loss. Attackers may not unlock the data even after receiving the ransom. HSS provides static and dynamic ransomware prevention. You can periodically back up server data to reduce potential losses.
Constraints and Limitations¶
This function is supported only by the HSS premium, WTP, and container editions.
Constraints¶
Only premium, WTP, and container editions support ransomware protection.
Step 1: Creating a Protection Policy¶
Log in to the management console.
Choose Prevention > Ransomware Prevention.
Note
If your servers are managed by enterprise projects, you can select the target enterprise project to view or operate the asset and detection information.
Click the Policies tab and click Add Policy.
Configure policy parameters. For more information, see Table 1.
¶ Parameter
Description
Example Value
OS
Server OS.
Linux
Policy
Policy name
test
Action
Indicates 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). The honeypot files deployed in random locations are automatically deleted every 12 hours and then randomly deployed again. A honeypot file occupies a few server resources. Therefore, configure the directories that you do not want to deploy the honeypot file in the excluded directories.
Note
Currently, Linux servers support dynamic generation and deployment of honeypot files. Windows servers support only static deployment of honeypot files.
Enable
Honeypot File Directories
Directory that needs to be protected by static honeypot (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: /etc
Windows: C:\Test
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: /etc/lesuo
Windows: C:\Test\ProData
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 for Linux servers only.
Select all
Click OK.
Step 2: Enabling Ransomware Prevention¶
Log in to the management console.
Choose Prevention > Ransomware Prevention.
Click the Protected Servers tab.
In the Ransomware Prevention Status column of a server, click Enable.
You can also select multiple servers and click Enable Ransomware Prevention above the server list.
In the Enable Ransomware Prevention dialog box, confirm the server information and select a protection policy.
Click OK.
If the Ransomware Prevention Status of the server changes to Enabled, ransomware protection is enabled successfully.