Risk Alert: Abnormal Redirection Caused by Malicious DNS Tampering on Home Routers

In June, with the joint support of the Cyberspace Administration of Dongguan Municipality and NSFOCUS Fuying Security Lab, CNCERT identified cases in which some home users, after connecting to a home router’s Wi-Fi network, were unexpectedly redirected to illegal websites containing pornographic or gambling content when visiting legitimate websites or triggering network connectivity checks on their devices. Analysis indicates that these incidents were primarily caused by tampering with the DNS server settings of home routers and other home networking devices.

Routers are a key entry point to home networks. Once DNS settings have been maliciously modified, devices such as smartphones and computers connected to the router may automatically obtain rogue DNS server addresses. As a result, requests to legitimate websites may be resolved incorrectly, redirecting users to illegal pages and exposing them to risks such as intrusive advertising, phishing and fraud, and the theft of account information.

I. The Internet’s “Signposts” Have Been Tampered With

DNS can be understood as the internet’s “signpost” system. Under normal circumstances, when a user visits a website, DNS resolves the domain name to the correct address. If a home router’s DNS settings are tampered with, devices connecting to its Wi-Fi network may be assigned rogue DNS server addresses. Requests to legitimate websites may then be resolved to specific malicious IP addresses, after which redirection instructions returned by the relevant websites may induce users to open illegal pages.

On-site forensic investigation confirmed that the affected routers had weak administrator passwords for their management interfaces. The attackers are suspected of first compromising a device on the home network and then exploiting weak passwords to access the router’s management interface and modify its DNS server settings.

As of June, CNCERT has monitored dozens of DNS servers specifically providing malicious domain-resolution services, as well as web servers providing abnormal redirection services. The number of malicious DNS resolutions has exceeded hundreds of millions per day, while the daily number of unique domestic IP addresses affected has peaked at more than 700,000. These risks have disrupted normal internet access for users and affected network security.

II. How to Check for Signs of Compromise

If home users encounter abnormal redirections, they should check the following:

  1. Check for abnormal browsing behavior. After connecting to a home Wi-Fi network, if visits to legitimate websites are redirected to pages containing pornographic or gambling content, advertising pages, or suspected phishing pages—or if multiple devices on the same Wi-Fi network experience similar issues—check whether the router’s DNS settings are abnormal.
  2. Check the DNS settings. Log in to the router’s management interface and locate the DNS server addresses under sections such as “Internet Settings,” “Network Parameters,” “LAN Settings,” or “DHCP Server.” Check whether the addresses have been changed to unfamiliar IP addresses or differ from the DNS servers automatically assigned by the internet service provider (ISP) or trusted DNS servers configured by the user.
  3. Check network information on endpoint devices. Users can view the current DNS server address in the Wi-Fi details, network connection details, or network adapter details on smartphones and computers. On a computer, the DNS server address can also be checked by running commands such as “ipconfig /all” in the command line. If a device has obtained an unfamiliar DNS address, or multiple devices show abnormal DNS addresses, promptly check whether the router’s configuration has been tampered with. Some routers enable DNS proxy mode by default, in which case the DNS server displayed on an endpoint may be the router’s internal network address. Users should therefore assess the information together with the DNS settings in the router’s management interface.
  4. Check the device’s status. If the router’s management interface uses a weak password (such as 123456, a date of birth, or a phone number), Wi-Fi settings change unexpectedly, or the device experiences slower network speeds, frequent disconnections, or unexpected restarts, promptly conduct a security check and take appropriate remedial action.

III. Recommendations for Protection

Internet users, router manufacturers, and relevant network service providers should strengthen their risk awareness and promptly investigate and address potential issues. The following measures are recommended:

  1. Check DNS settings. Home users should log in to their router’s management interface and check whether the DNS server settings have been changed to unfamiliar IP addresses. If any abnormal settings are found, restore the DNS settings to those automatically assigned by the ISP or to a trusted public DNS service, and restart the router and connected devices.
  2. Change weak passwords. Promptly replace default or weak passwords for the router’s management interface with strong, unique passwords to prevent attackers from accessing the interface and modifying its settings by guessing or exploiting simple passwords.
  3. Disable high-risk features. Disable unnecessary features such as remote management, UPnP, and port forwarding to reduce the router’s attack surface and lower the risk of compromise and configuration tampering.
  4. Update firmware promptly. Follow firmware updates released by router manufacturers and upgrade devices to the latest versions in a timely manner to address known security vulnerabilities.
  5. Watch for abnormal redirections. If a connected device is redirected from a legitimate website to a page containing pornographic or gambling content, an advertising page, or a suspected phishing page, immediately disconnect it from the network. Check the router’s DNS settings and the security status of the endpoint device. If necessary, restore the router to its factory settings and reconfigure it.
  6. Strengthen product security. Router manufacturers are advised to improve protection for management-interface logins, warnings about weak passwords, alerts for abnormal DNS settings, and secure firmware updates. These measures can reduce risks to home users arising from weak passwords, outdated firmware, or improperly configured default settings.

IV. Related Indicators of Compromise (IoCs)

Active Malicious DNS Servers

  • 27.124.42.32
  • 202.79.174.219
  • 118.107.24.242
  • 27.124.17.11
  • 118.107.32.155
  • 112.213.116.170
  • 134.122.183.142
  • 143.92.48.15
  • 202.79.175.100
  • 27.124.34.143
  • 143.92.56.180
  • 27.124.20.237
  • 137.220.229.5
  • 143.92.63.213
  • 27.124.12.72
  • 137.220.229.16
  • 192.252.176.48
  • 118.107.47.76
  • 27.124.2.196
  • 27.124.2.214
  • 202.95.14.241
  • 202.79.171.149
  • 143.92.57.29
  • 14.128.50.26
  • 143.92.52.183
  • 202.95.11.163
  • 202.79.168.144
  • 143.92.53.251
  • 143.92.63.247
  • 143.92.56.81
  • 143.92.56.8
  • 27.124.45.61
  • 27.124.41.92
  • 202.95.14.218
  • 143.92.53.134
  • 27.124.42.48
  • 202.79.168.160
  • 118.107.40.48
  • 143.92.63.214
  • 27.124.42.39
  • 27.124.17.18
  • 118.107.24.243
  • 202.95.14.252
  • 202.95.14.230
  • 202.95.11.179
  • 27.124.42.51
  • 27.124.42.50
  • 27.124.34.144
  • 27.124.20.238
  • 143.92.63.249
  • 118.107.47.78

Leave a Reply

Your email address will not be published. Required fields are marked *