How can we determine from the port whether it is a virus or a trojan?

Source: Internet
Author: User

Q: How can I determine from the port whether it is a virus or a trojan?

A: ports can be divided into three categories:

1. Well Known Ports: from 0 to 1023, they are closely bound to some services. Usually the communication between these ports clearly indicates a service protocol. For example, port 80 is always HTTP Communication.

2. register the port (Registered Ports) from 1024 to 49151. They are loosely bound to some services. That is to say, many services are bound to these ports, which are also used for many other purposes. For example, many systems process dynamic ports starting from around 1024.

3. Dynamic and/or Private Ports: From 49152 to 65535. Theoretically, these ports should not be allocated to the service. In fact, machines usually allocate dynamic ports from 1024. But there are also exceptions: SUN's RPC port starts from 32768.

Generally, viruses and trojans do not use the first type, namely Port 0. But there are also exceptions. For example, the red code uses port 80. Therefore, it cannot be said in general that a port of XX must come out of viruses and Trojans. In addition, the current Trojan customization function is becoming more and more powerful. You can design communication ports at will, which also makes it difficult to identify if it is a trojan.

In fact, it is basically impossible to judge from the port, especially the bounce Trojan.

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.