uBlock Origin added script blocking for scanning network ports

To the filter applied in uBlock Origin EasyPrivacy added rules to block typical network port scanning scripts on the user's local system. Recall that in May It revealed scanning local ports when opening eBay.com. It turned out that this practice is not limited to eBay and many other sites (Citibank, TD Bank, Sky, GumTree, WePay, etc.) apply port scanning of the user's local system when opening their pages, using the code for detecting access attempts from hacked computers provided by the ThreatMetrix service.

In the case of eBay, 14 network ports were tested associated with remote access servers such as VNC, TeamViewer, Anyplace Control, Aeroadmin, Ammy Admin and RDP. Probably checking in progress for determining the presence of traces of malware infection in the system in order to prevent fraudulent purchases using botnets. Scanning can also be used to obtain data for indirect user identification.

Scanning uses a technique based on trying to establish connections to various network ports of the host 127.0.0.1 (localhost) via WebSocket. The presence of an open network port is determined indirectly based on the difference in the handling of connection errors to active and unused network ports. WebSocket allows you to send only HTTP requests, but such a request for an inactive network port fails immediately, and for an active port only after a while, which takes some time to try to negotiate the connection. In addition, in the case of an inactive port, WebSocket issues a connection error code (ERR_CONNECTION_REFUSED), and in the case of an active one, a connection negotiation error code.

uBlock Origin added script blocking for scanning network ports

In addition to port scanning, WebSockets can also apply to attack the systems of web developers running WebSocket handlers for React applications on the local system. An external site can enumerate network ports, determine the presence of such a handler and connect to it. If the developer makes a mistake, the attacker can obtain the contents of the debug data, which may include snippets of sensitive information.

uBlock Origin added script blocking for scanning network ports

Source: opennet.ru

Add a comment