How to protect port 135? Detailed explanation of port 135 security measures

Time: 2026-07-08
Editor: USTAT.COM

135 port

In the Internet environment, port is the key channel for devices to interact with the outside world. Port 135, as the default server level port of Windows system, bears the core function of remote procedure calls, but also becomes a high-frequency target for malicious attacks by hackers. Once Port 135 is improperly protected, hackers may invade the system through vulnerabilities, steal sensitive data and even manipulate devices. This article will explain the security protection method of Port 135 in detail from basic configuration, advanced protection to daily monitoring, etc., to help users build cyber security barriers.

1. How to do 135 port basic protection?

basic protection is the first level of port 135 security, mainly from the port itself and the default configuration of the system to start, through simple adjustment can greatly reduce the probability of being attacked.

1, close unnecessary port 135

If the user does not need to use the remote procedure call service on a daily basis, you can directly close port 135. In Windows systems, you can find the "Remote Procedure Call (RPC) " service through the "Services" panel, set its startup type to "Disabled", and add a rule to deny port 135 connection in the inbound rules of the firewall; for server users, if the port 135 function must be retained, the service can be restricted to bind only the intranet IP to avoid exposure to the public network environment.

2, clean up redundant service

associated with port 135

135 ports are associated with multiple system auxiliary services, some of which are not necessary for the user, such as the extension service of "RPC Endpoint Mapper", which may become a breakthrough for the attack. Users can disable the redundant services associated with port 135 through the system configuration tool, and only retain the components required for the core function, reduce the exposure of the port, and reduce the risk of being exploited.

2. What are the measures for advanced protection of 135 ports?

the basic protection is completed, it is necessary to strengthen the security level of port 135 through advanced means, and set up targeted defense mechanisms for hackers' commonly used attack methods.

1, configure firewall precise control 135 ports

whether it is a Windows firewall or a third-party hardware firewall, you can set refined rules for port 135. For example, only the specified intranet IP segment is allowed to access port 135, and all unknown IP connection requests are rejected; at the same time, the connection frequency limit is set. If there are a large number of port 135 requests from the same IP in a short time, the interception mechanism is automatically triggered to prevent brute force cracking or port scanning attacks.

2 Deploy vulnerability patches to port 135

Microsoft will regularly release vulnerability patches related to port 135, such as remote code execution vulnerability patches for RPC services. Users need to download and install them through Windows updates or official channels in a timely manner. For systems that are not timely updated, hackers can directly invade port 135 through known vulnerabilities. Therefore, regular patching is the core link of advanced protection of port 135. It is recommended to turn on the automatic update function of the system to ensure real-time synchronization of patches.

How to monitor the abnormal state of port 135?

even if the protection configuration is done, it is still necessary to monitor the running status of port 135 in real time, find abnormalities and deal with them in time, and avoid small problems from evolving into big risks.

1, monitoring port 135 traffic changes

users can use network monitoring tools to view the inflow and outflow traffic of port 135 in real time. If there is a sudden surge in traffic, a large number of connection requests from unfamiliar IP, etc., it may be suffering from port scanning or DDoS attacks. At this time, it is necessary to immediately start the emergency interception rules of the firewall, check the source IP of the attack, and add it to the blacklist if necessary to prevent subsequent attacks.

2, audit the connection log of port 135

Windows system's Event Viewer logs all connections on port 135, and users need to regularly audit these logs, focusing on failed connection attempts, access requests with abnormal permissions, etc. For server users, a log analysis system can be built to automatically identify abnormal behavior on port 135 and issue alarms to ensure a timely response in the early stage of an attack.

What are the key points of 135-port cloud environment protection?

For servers deployed in the cloud environment, the protection of port 135 needs to be combined with the characteristics of the cloud platform to achieve coordinated protection between the cloud and the local configuration.

1, use cloud firewall to strengthen 135 port protection

most cloud platforms provide cloud firewall services, users can set up port 135 access rules in the cloud firewall, such as allowing only the public IP of the enterprise office network to access port 135 of the Cloud as a Service, and turn on the "port protection" function of the cloud platform to automatically block common attacks on port 135. Compared with the local firewall, the cloud firewall can identify the attack traffic in the public network faster and has a wider protection range.

2, set up access whitelist for port 135

in the security group configuration of the cloud platform, a strict access whitelist is set for port 135, and only the Internet Protocol Address that needs to use port 135 service is added to the whitelist, and all connection requests from non-whitelisted IPs are rejected. At the same time, the whitelist is regularly updated to remove IPs that no longer need to access port 135, so as to avoid redundancy of the whitelist due to personnel changes or business adjustments and cause security risks.

To sum up, the security protection of port 135 is a complete system from basic to advanced, from configuration to monitoring. The core is to close non-essential ports, strengthen firewall rules, patch regularly, and monitor abnormal traffic in real time. Whether individual users or enterprise users, they need to choose appropriate protection measures according to their own network environment and continuously maintain the security status of port 135 in order to effectively avoid network attacks and ensure the security of equipment and data.