Router DNS hijacks hit up to 700,000 Chinese IPs a day

Published

Chinese home users who typed the address of a legitimate website found themselves on pornography, gambling or phishing pages instead. The fault was not their phone or laptop but the router in the hallway: attackers had logged into it and swapped its DNS settings, the internet's address book, so every device on the Wi-Fi asked a rogue server where to go.

The warning comes from CNCERT, China's national computer emergency response team, which identified the cases in June with support from the Cyberspace Administration of Dongguan Municipality and NSFOCUS Fuying Lab. NSFOCUS published the original risk alert in English on 2 December, together with the malicious DNS servers involved.

Hundreds of millions of bad lookups a day

The scale is what sets this apart from a handful of misconfigured boxes. As of June, CNCERT was monitoring dozens of DNS servers dedicated to malicious resolution, plus web servers that handle the redirection. Malicious DNS resolutions exceeded hundreds of millions per day, and the daily number of unique domestic IP addresses affected peaked at more than 700,000. Beyond the unwanted pages, CNCERT warns users were exposed to intrusive advertising, phishing, fraud and the theft of account information.

Weak admin passwords opened the door

On-site forensics found that the affected routers had weak passwords on their management interfaces. CNCERT suspects the attackers first compromised a device on the home network, then used the weak password to reach the router's admin page and change its DNS servers. Once that is done, every phone and computer that joins the Wi-Fi is automatically handed the rogue DNS address, so a lookup for a real website can resolve to a malicious IP that redirects the user onward. CNCERT notes this does not require breaking any encryption; it simply poisons the directions.

Check the DNS entry and change the router password

The fix is mostly in the hands of the router's owner. CNCERT recommends that users:

On a computer, running ipconfig /all shows which DNS server a device received. Some routers act as a DNS proxy, in which case the device shows the router's own internal address and the real setting has to be checked on the router. CNCERT also asks manufacturers to add weak-password warnings and alerts for unexpected DNS changes. Router compromise is a recurring theme; see how attackers have turned hacked routers into proxy nodes elsewhere.

Selected malicious DNS servers

CNCERT published 51 active malicious DNS server addresses. A sample, defanged:

The full list is in the NSFOCUS alert, and network defenders in China and beyond can block or alert on DNS traffic to any of them. The lesson is old but still expensive: the most neglected device in the home sits in front of all the others.

This briefing is provided by IntelFusions for informational and defensive purposes only. It is based on sources assessed to be reliable at the time of writing, and analytic judgments carry the confidence levels indicated. Indicators of compromise are defanged; re-arm them only in controlled environments. IntelFusions is not affiliated with the organizations named and makes no warranty as to completeness or accuracy.

Earlier in Cyber Incidents

All Cyber Incidents briefings

Latest briefings

Read the full analysis on IntelFusions