nav-img
Advanced

WTP Overview

Web Tamper Protection (WTP) can detect and prevent tampering of files in specified directories, including web pages, documents, and images, and quickly restore them using valid backup files.

Constraints and Limitations

Web tamper protection is available only in the HSS WTP edition.

How WTP Prevents Web Page Tampering

WTP supports static and dynamic web page protection. How WTP works shows the protection mechanism.

Table 1 How WTP works

Protection Type

Mechanism

Static web page protection

  1. Local directory lock

    WTP locks files in a web file directory in a drive to prevent attackers from modifying them. Website administrators can update the website content by using privileged processes.

  2. Active backup and restoration

    If WTP detects that a file in the protection directory is tampered with, it immediately uses the backup file on the local host to restore the file.

  3. Remote backup and restoration

    After a remote backup server is configured, if a file in a protected directory is changed, HSS will back up the updated file.

    If the file and backup directory on the local server become invalid, you can log in to the remote backup server, obtain backup files, and manually restore the tampered websites.

Dynamic web page protection

The proprietary RASP can detect application program behaviors, prevent attackers from tampering with web pages through application programs, and provide self-protection in Tomcat application runtime.

Process of Using WTP

Figure 1 Usage process


Table 2 Process of using WTP

Operation

Description

After the WTP edition is enabled, static WTP and other protection functions are enabled automatically.

Static WTP protects specified directories. You need to configure static WTP directories.

By default, for Linux servers, HSS backs up files in the protected directories to the local backup paths you specified when adding protected directories. To prevent the local backup from being damaged by attackers, you can configure remote backup to protect web page backup data.

For Linux servers, HSS provides runtime application self-protection (RASP) for Tomcat applications. You can enable dynamic WTP for Tomcat applications as required.

Tamper events that occur during web tamper protection are recorded and displayed in the event list.

After static WTP is enabled, the content in the protected directory is read-only and cannot be modified. To modify a protected file, you can add a privileged process.

Not all OS kernel versions support privileged processes and each server can add up to 10 privileged processes. For OSs that do not support privileged processes, you can set periodic static WTP and update websites while WTP is automatically disabled.