About read-only \ false positive issues related to website malware infection \ hacker intrusion

Published: 2014-12-01

Current Website Security Status: According to statistics released by 360 Company: more than 60% of domestic websites have vulnerabilities, and more than 40% have backdoors. "Database dumping" incidents break out on the Internet every day. For a long time, enterprises have hated hacker attacks caused by vulnerabilities, but at the same time they have no better way to solve them. Hacker attacks not only cause direct economic losses to enterprises, but improper handling can also lead to PR crises, causing customers to lose trust in the enterprise.


Impact of hacker intrusions on customer websites: Websites are implanted with malware and black links by hackers, affecting 百度 rankings; they are occupied by parasitic websites such as 传奇私服 and gambling sites, generating a large number of junk files that fill up space and exhaust traffic, etc.

Impact on other customers on the same server: Hackers use Trojan programs to launch DDOS attacks externally, causing bandwidth exhaustion and CPU exhaustion, seriously affecting host stability.


To reduce the impact of hacker intrusions on customer websites and other normal websites, 西部数码 decided to add the automatic "virus scanning and removal" function for virtual hosting websites starting from July 2017.


The system will scan newly added files on the website in real time (including files generated online and files uploaded via FTP). If viruses, Trojans, or backdoor programs are found, the Trojan programs will automatically be renamed to the corresponding .bak files.

At the same time, to prevent hackers from using program vulnerabilities to re-upload viruses and Trojans, the system will automatically set website files to "read-only". Setting them to read-only can prevent hackers from modifying website content, implanting malware, inserting black links, etc. due to program vulnerabilities.


Possible adverse effects
: If the website has an access database, or needs to upload images online, generate html files online, etc., it may be affected by this,

After setting read-only, the relevant directories and files cannot be modified or newly created through the Web method (website program), and files cannot be uploaded via FTP.


Related notifications: When scanning and removing Trojans, the system will automatically send an email notification, and there will be reminder information in the virtual hosting control panel.


Scanning cycle: real-time scanning.


Measures you need to take: If your website does not need website updates via FTP, online file uploads, online file generation, etc. (that is, the website application is not affected by read-only), you can keep the read-only status without any operation, which will be safer.

If there is an update need, please first clean the website's viruses and Trojans and fix website vulnerabilities, and then remove the read-only restriction in the control panel.


Please take investigation and handling measures yourself according to the actual situation of your website. If you need our company to manually analyze viruses and Trojans and manually provide vulnerability repair suggestions, (we provide suggestions for common Trojan cleanup, black link removal, and vulnerability repair). Please submit a 有问必答 application.


Because programs are diverse, our company does not provide separate code analysis and repair operations for specific programs, but only general suggestions. If you have more special needs, please submit 有问必答 to discuss the charging standard.


We recommend that you use AI助手 for analysis and processing. For details, see: https://vhost.west.cn/aivhost 



Because the security threat has not been eliminated, hackers may intrude again in a few days, and our virus scanning and removal program will perform the read-only operation again during the next scan (if Trojan viruses still exist).


At the same time, you need to patch program vulnerabilities to prevent hackers from intruding again. Generally, you need to upgrade to the latest version of the program or pay attention to the latest upgrade patches and security notices on the program developer's official website.


Handling of false positives: If individual files are falsely detected, please submit 有问必答 to give us feedback for verification and improvement, and clearly describe the file path and file name.


Website due to the existence of Trojan viruses:This type of virus is generated in large quantities by worm viruses to generate backdoor files. The system automatically monitors in real time. If more than 5 files are generated, the system will automatically set the entire site to read-only, and web(image.png)files cannot be uploaded. You need to thoroughly clean all Trojan files across the site and check the program for vulnerabilities and repair them. After confirming the repair, you can remove the restriction in Virtual Host Management--Directory Protection item 9. If the website does not perform update website file write operations, it is recommended not to cancel the restriction, and it will not affect website operation.


Related links:


Security settings for 织梦dedecms program http://www.west.cn/faq/list.asp?unid=729 

A brief discussion on virtual hosting website security settings http://www.west.cn/faq/list.asp?unid=733