PayPal, Netflix, Gmail, and Uber users among targets in new wave of DNS hijacking attacks
Since March 29, 2019, Ixia’s Application and Threat Intelligence (ATI) center has been tracking the latest malicious campaign against consumer-grade routers. Today, April 5th, we captured a new wave of attacks that use a different DNS server. The purpose of these attacks is to modify DNS settings in the routers to point to unauthorized webpages that skim user input data. When end users try to access a targeted website, they will land on a webpage designed to look like the original but is controlled by the attacker.
DNS is the backbone of the modern Internet—whenever a user types a domain name in their browser, they expect to be taken to the necessary server without having to remember an IP address - DNS attempts to do that. Normally, it should take you to that server and none other. However, a malicious attacker able to intercept your requests could send faked DNS responses pointing you to a malicious server hosting a fake bank login page. That server would then grab your credentials, giving the attacker access to your bank accounts.
A user’s home router is his connection point to the Internet and, generally, does some of the DNS resolution work. As a result, an attacker able to modify DNS settings on a home router will be able to redirect their traffic towards whatever server they want. There is some profit from one target. But multiplying by the number of vulnerable routers that exist out there could bring Big Profit!
Attackers restarting DNS hijacking campaign against consumer-grade routers after a short, 2-day break
Some of the consumer-grade routers targeted:
- D-Link DSL Routers
- DSLink 260E
- ARG-W4 ADSL Router
- Secutech Routers
- TOTOLINK Routers
HTTP requests used to change DNS settings
The malicious DNS servers pushed by attackers came in two pairs:
- 22.214.171.124 - primary
- 126.96.36.199 - secondary
- 188.8.131.52 – primary
- 184.108.40.206 - secondary
This malicious wave is part of an ongoing DNS hijacking campaign that started as early as December 29, 2018 according to this excellent technical report published by Troy Mursch.
New wave of DNS hijacking identified on 05 April 2019
Today, we noticed that new attacks have been caught in our honeypots, this time with a new DNS server (220.127.116.11 - which is set both as primary and secondary DNS server). This time, we managed to catch them in the act – or at the beginning of the act – as you’ll understand later.
We first wanted to dig deeper and understand exactly which domain names were targeted by the attackers. By going through the top 10k domains names provided by Alexa Top 1 Million list and interrogating the malicious servers, we were able to extract a list of websites targeted in this campaign.
DNS responses for some of the targeted domains
The attackers seem to have three types of targets they are going after. Global Internet-based enterprises, local hosting providers and last, but not least, financial intuitions based in Brazil.
Internet-based global enterprises:
Local web hosting providers:
Brazilian banks and financial institutions:
By changing the DNS server and accessing some of the targeted domains, we can see that on the fake page, the webservers are unsecured, running on HTTP instead of HTTPS (which isn’t even running).
Cetelem.com.br - fake page
Cetelem.com.br - original page
More so, some of the targets aren’t even fully functional yet, which indicates either the attackers haven’t had the time to configure their servers, which is unlikely, considering that the latest DNS change attacks occurred just two days ago (April 3rd), or that the attackers simply misconfigured the Apache configuration.
cetelem.com ...but not really
By querying the malicious DNS server for specific domains, we can easily compare the results with queries against Google’s 18.104.22.168 resolver, clearly indicating something is wrong.
Interestingly, all the attacks captured on April 3rd came from one single IP address 22.214.171.124, which belongs to Google. The attacker’s DNS and Web server is hosted at 126.96.36.199, which also belongs to Google.
It's 2019 and the Internet is still a dangerous place. However, simple precautions can mitigate many of the risks we face online. Making sure that our devices—in this case routers—are up-to-date and not exposing the admin interface online is important.
Also, be extra careful when accessing important websites, banking especially. Make sure that the connections are HTTPS, check the certificate. All of this is important to make sure that when you're entering your credentials, they don't get to someone else.
- Ongoing DNS hijackings target Gmail, PayPal, Netflix, banks and more April 5, 2019 Dan Goodin, Ars Technica
- Ongoing DNS hijacking campaign targeting consumer routers April 4, 2019 Troy Mursch, Bad Packets Report
- Hacker group has been hijacking DNS traffic on D-Link routers for three months April 4, 2019 Catalin Cimpanu, ZDNet
LEVERAGE SUBSCRIPTION SERVICE TO STAY AHEAD OF ATTACKS
The Application and Threat Intelligence (ATI) Subscription provides bi-weekly updates of the latest application protocols and attacks for use with Ixia platforms.