Use security tools to quickly detect malicious code injections, and monitor to prevent reinfection.
Published: 2020-05-15
(This article applies to Cloud Servers; for Virtual Hosting, use the AI Assistant)
Log in to the Management Center, enter the Virtual Hosting Control Panel, and find the "AI Assistant" entry in the left navigation bar to use it;
Kill Trojan viruses, patch vulnerabilities, add new features, redesign websites... Open the hosting control panel and say a word, and the AI Assistant will help you get it done online!



I. 护卫神 Quickly Locate Malicious Code Files (Cloud Server)
Visit on the cloud server:https://www.hws.com/soft/kill/ , click to download the software, download address:https://d.hws.com/free/HwsKill.zip , The interface after downloading, extracting, and running is shown in the figure below:

Select "Custom Scan" and the following interface appears:

Select the path where the site is located, as shown below D:\wwwroot\testweb\wwwroot, and click "Start Scan"

If abnormal malicious files exist, the list in the figure below will display the specific file name, malicious code type, and other information. Double-click an item to view the specific malicious content:


In addition, right-click the relevant item. Referring to the figure below, you can "Open file path" and "Open log" to view operation records in a log-format file. After confirming that it is an abnormal file, you can directly delete the abnormal file.

At this point, the process of scanning and cleaning abnormal files with the 护卫神 - Cloud Scan Tool is complete, but 护卫神 cannot detect all malicious files and content 100%, which does not mean all malicious content has been cleaned.
Cleaning malicious files or content does not mean the website is completely secure. You need to contact the program developer to check and fix program vulnerabilities, or download the latest version of the program and upgrade to improve program security.
If there is no technical personnel to handle program issues and no latest version of the program can be downloaded, what should you do? You can use 360文档卫士 below to monitor file modification operations.
II. 360文档卫士 Monitors File Modifications to Prevent Re-infection
360文档卫士 download address:http://weishi.360.cn/wendangweishi.html , the program interface after downloading and installing is shown below:

In the previous section, malicious files with the php suffix were scanned by the 护卫神 Cloud Scan Tool. Open 360文档卫士, click Settings, and in the Custom Rules section of the interface below, add the *.php suffix format, then click Save.

As shown below, previously a Trojan.php malicious file was found in the site through 护卫神 scan and the deletion operation was performed. The operation time was 0:41 AM on May 14,

After installing 360文档卫士, see the figure below. It monitored that another Trojan.php file was generated at 13:50 on May 14, accurately located the file path, file name, and creation time. You can directly delete the abnormal file to restore the site to its previous state; you can also use the generation time to verify the site logs and check the php files accessed during the relevant time period to help find the backdoor file.

III. 护卫神 Remote Trojan File Scan (Mainly for Virtual Hosting)
In addition to being used on servers, 护卫神 can also scan virtual hosting by filling in the ftp connection information as shown below.

Select Remote Scan, click "Select ftp" to add ftp connection information:


If abnormal files are scanned, the handling method is the same as "Custom Scan" above.
