We recommend that you take a look at the top ten basic principles for preventing ASP Trojans.

Source: Internet
Author: User

ASP is a service function provided by the server. It is highly concealed and hard to detect and kill because it is a vulnerability in upfile files of dvbbs recently, this poses a serious threat to website security. Therefore, the prevention and removal of ASP Trojans puts forward higher technical requirements for network administrators.

Several large programs have all been found to have the upload vulnerability, and the number of small programs is even more numerous. This makes asp Trojans dominant and widely used. Presumably, if you are a server, this is definitely a headache. In particular, users of virtual hosts have experienced web page tampering and data deletion. In addition to suffering from such behavior, many customers suffer from ineffective preventive measures. In view of the fact that most website intrusions are completed by using asp Trojans, this article allows common VM users to better understand and prevent asp Trojans. Only by taking preventive measures jointly between the space provider and the virtual host user can asp Trojans be effectively prevented!

First of all, let's take a look at how to prevent it. When it comes to prevention, we naturally need to work on the principles of asp Trojans. I will not talk about the principle. There are some articles on the internet, simply put, asp Trojans are actually website programs written in asp, and some asp Trojans are modified by asp Website management programs. For example, our common asp webmaster assistant, etc.

There is no essential difference between asp and other asp programs, as long as the space that can run asp can run it, this nature makes asp Trojans very difficult to detect. The difference between asp and other asp programs is that asp Trojans are asp programs that intruders upload to the target space and help intruders control the target space. If you want to prohibit asp trojans from running, the operation of asp is disabled. This is obviously not feasible. This is why asp Trojans are rampant! Someone has asked, is there no way? No, there is a way:

First, starting from the source, how did intruders upload asp Trojans? Generally, there are several ways to obtain administrator privileges through SQL injection, and write asp Trojans to the server through the backup database function. You can also access the background through asp program upload function vulnerabilities, upload Trojans, and so on. Of course, under normal circumstances, these asp programs that can upload files have permission restrictions, most of these limits the upload of asp files. (For example, we can upload news and publishing of images, image management programs, and Forum programs that can upload more types of files). If we directly upload an asp Trojan, we will find that, the program will prompt that it cannot be directly uploaded. However, due to human asp setup errors and vulnerabilities in the asp program itself, intruders can take the opportunity to upload asp Trojans.

Therefore, the focus of asp Trojan prevention is on how to ensure the security of asp upload programs in your space by VM users. If you are using other programs, use a well-known large program as much as possible, so that there are fewer vulnerabilities and the latest version is used as much as possible. In addition, you should often go to the official website to check the latest version or patch, there is also the default path of those databases, and the administrator password is the default, which must be changed to ensure program security.

So if you are a programmer, I also want to say that we should try to write programs involving user names and passwords on the server side from a secure perspective, as few as possible appear in the ASP file, the minimum permission should be granted to the user name and password involved in the connection to the database; the file name of the previous page can be tracked on the ASP page that requires verification, only sessions that are transferred from the previous page can read this page. Prevent ASP homepage. inc file leakage; prevent some. asp. bak file leakage issues generated by UE and Other Editors. Pay special attention to the upload function.

The preceding requirements only apply to the customer. However, the Space Provider cannot predict what kind of programs the virtual host user uploads on its own site and whether each program has vulnerabilities, therefore, it is impossible to prevent intruders from using the client program vulnerability in the site to upload asp Trojans. The Space Provider can only prevent intruders from intruding other sites on the same server again using the intruded site. This also indicates that to prevent asp Trojans, Vm users must strictly control their own programs! For this reason, I have summarized the top ten principles of ASP Trojan defense for your reference:

1. We recommend that you use ftp to upload and maintain webpages, and try not to install asp upload programs.

2. the asp upload program must be called for identity authentication, and only trusted users are allowed to use the upload program.

This includes various news releases, malls, and Forum programs. All asp files that can be uploaded must undergo identity authentication!

3. the username and password of the asp program administrator must be complex and cannot be too simple. Pay attention to regular change.

4. Download the asp program on a regular website and modify the Database Name and storage path after the download. The database file name must also be complex. We recommend that customers of our company use the. mdb database file extension because our company server has set the. mdb file anti-download function.

5. Try to keep the program in the latest version.

6. Do not add a link to the background management program logon page on the webpage.

7. To prevent unknown vulnerabilities in the program, you can delete the background management program login page after maintenance, and then upload it through ftp during the next maintenance.

8. Always back up important files such as databases.

9. perform routine maintenance and check whether there are unknown asp files in the space. Remember: one minute of sweat, another minute of safety!

10. Once an intrusion is detected, all files must be deleted unless you can identify all trojan files.

Before re-uploading a file, reset the user name and password of all asp programs, and re-Modify the Database Name and storage path of the program and the path of the background management program.

If you take the above preventive measures, your website can only be said to be relatively secure, and you must never neglect it because intrusion and anti-intrusion are an eternal war!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.