Skip to content
Techie News UK Logo
Menu
  • Home
Menu

Malware hijacks router DNS to inject ads, pornographic content into websites

Posted on 27 March 2015

Use of malware to hijack router DNS and then subsequently inject ads and pornographic content onto all websites a user is surfing isn’t a new kind of hack, but hijacking routers using Javascript alone is making this a widespread problem and a new report by Ara Labs just reaffirms this.

According to Ara Labs, a new strain of malware is misusing routers to inject ads and pornographic content into websites, and once a router is compromised, the malware will load third-party content onto almost any website visited by the user.

The attack alternates between loading ads and directly loading content from pornographic websites. In both cases, it’s functioning as a basic adware attack, redirecting targets as a pay of generating paid traffic for a client.

According to the investigation carried out by the security company, the attack works by targeting the DNS system. Since DNS information is typically communicated through the router, the attackers used the hacked routers to reroute requests to their own bogus IP addresses.

The fraudsters are using the hijacked DNS to intercept requests to the google-analytics.com domain, then directing the victim to a fake Google Analytics site. When the victim requests the Google Analytics javascript from the fake site they are served malicious Javascript that injects ads into the site they are browsing. This is not a vulnerability with Google Analytics itself, the service was simply targeted due to its widespread use.

The report further adds that in this particular mechanism of fraud, criminals are using a rogue DNS server located at 91.194.254.105. During a successful router hijacking this DNS server is configured as the router’s primary DNS while Google’s DNS sever (8.8.8.8) is configured as the secondary.

The DNS server at 91.194.254.105 refuses to resolve most domains forcing the victim to rely on the secondary DNS server (Google) for most domain lookups. However, when a lookup is attempted for the Google Analytics domain google-analytics.com the rogue DNS server responds with the ip 195.238.181.169, which is most certainly NOT a google server. It is a rogue Google Analytics server.

When the victim browses to a site that is using Google Analytics and attempts to retrieve the standard Google Analytics scripts from 195.238.181.169 the rogue server responds with malicious Javascript that injected ads into the website that is hosting the Google Analytics tag. Sometimes the malicious Javascript is bundled inside an altered version of the Google Analytics script to help disguise it.

Routers are less powerful and harder to patch than computers, so they are much more vulnerable. This had made them a common target for hackers, who use them to launch denial of service attacks or spoof banking sites to steal login credentials.

The compromise is specific to the router and it won’t be detected by traditional antivirus tools, which may lead many victims to assume the ads are legitimate.

Ravi
Ravi

Leave a Reply Cancel reply

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

Norton Secure VPN Ad

Advertisement

Recent Posts

  • Most Watched Netflix Movies in the UK
  • 4 Best British Technology and Science YouTube Channels
  • Most Watched Netflix Movies in Ireland
  • 5 Weird Things That Surprise Tourist About Technology in Ireland
  • British And Irish Science Influencers on TikTok
Norton Secure VPN Ad

Advertisement

Categories

  • Apple
  • Apps
  • Books
  • Business
  • Cars
  • Cloud
  • Compliance
  • Entertainment
  • Featured
  • Future Tech
  • Gadgets
  • Gaming
  • General Tech
  • Global Tech News
  • Health
  • History
  • Industry Voice
  • Influencers
  • Management
  • Mobile
  • Open Source
  • Podcasts
  • Public Sector
  • Roundup
  • Science
  • Security
  • Software
  • Tablets
  • Techie Deals
  • Technology
  • UK & Ireland Tech News
  • Web
  • World
  • WTF
©2025 Techie News (UK and Ireland) | techienews.co.uk   Privacy Policy | Terms of Use | ***DMCA Policy***    🇬🇧 🇮🇪
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT