Меню
BE

Over 20,000,000 of Chrome Users are Victims of Fake Ad Blockers

According to the PageFair 2014 report, Google Chrome is a major driver of adblock growth. 20% of users discovered ad blocking by browsing “available browser extensions”. Given how popular ad blocking is, it is quite a lot. This also explains why "cloning" wide-spread ad blockers has become so popular among online crooks. Seven months ago big news broke: 37,000 users were tricked into installing a fake Adblock Plus extension.

What if I told you that thanks to poor Chrome's WebStore moderation the situation is much worse, and in reality over 20,000,000 users are affected and tricked into installing fake malicious ad blockers?

I must say the problem is not new. It's been a while since different "authors" started spamming Chrome WebStore with lazy clones of popular ad blockers (with a few lines of their code on top of them). That's how users could end up installing some "Adguard Hardline" or "Adblock Plus Premium" or something like that. The only way of fighting this stuff is to file a trademark violation abuse to Google, and it takes them a few days to take a clone down.

They got smarter now. Just look at the search results. All the extensions I've highlighted are simple rip-offs with a few lines of code and some analytics code added by the "authors". Instead of using tricky names they now spam keywords in the extension description trying to make to the top search results.

Apparently, being in the top is enough to gain trust of casual users. For instance, take a look at the stats of one of them:

So I've decided to take a deeper look inside of this so-called "AdRemover". The following section is full of technical details and if you are not interested, just skip it to the next section where I'll explain how it works in normal language.

All shades of hiding scripts

There was one file added compared to the original code of the AdBlock extension, the coupons.txt file:

Another thing that caught my eye is that while initializing it was loading a strange image from a third-party domain www.hanstrackr.com:

Okay, that's weird. Let's find out why do they need these files. It appears that both files were loaded by a script hidden inside the modified jQuery library:

jQuery.extend({

	normalize: function(value) {

		return jQuery.xrat+'ob("'+value+'")';
	}
});

This function returns a string: atob("here goes the hidden base64-encoded script") which is then executed. The script itself was also obfuscated. You can take a look at the deobfuscated version of it here.

This hidden script was listening to every request made by your browser and compared md5(url + "%Ujy%BNY0O") with the list of signatures loaded from coupons.txt. When the said signature was hit, it loaded an iframe from the g.qyz.sx domain passing information about the visited page, and then re-initialized the extension. For instance, one of these signatures corresponded to https://www.google.com/.

Now to that weird image. It appears that another script is hidden inside of it, and the extension was decoding and executing it:

    decodeMessage = function(variable_0, variable_1) {
        var variable_2 = [],
            variable_4 = getNumberFromBits(variable_0, variable_2, variable_1);
        if (16 * (variable_4 + 1) > 0.75 * variable_0["length"]) {
            return ""
        };
        if (0 === variable_4) {
            return ""
        };
        for (var variable_3 = [], variable_5 = 0; variable_5 < variable_4; variable_5++) {
            var variable_66 = getNumberFromBits(variable_0, variable_2, variable_1);
            variable_3["push"](String["fromCharCode"](variable_66))
        };
        return variable_3["join"]("")
    }

The default image/script does nothing malicious, but at any moment it can be changed. Note, that this script is executed in the privileged context (extension's background page) and it can do literally anything with your browser.

AdRemover's Summary

Now back to the normal language. Here is a list of what this fake ad blocker does.

  1. It hides malicious code inside a well-known javascript library (jQuery).
  2. This code sends back to their server information about some of the websites you visit.
  3. It receives commands from the command center remote server. In order to avoid detection, these commands are hidden inside a harmless-looking image.
  4. These commands are scripts which are then executed in the privileged context (extension's "background page") and can change your browser behavior in any way.

Basically, this is a botnet composed of browsers infected with the fake adblock extensions. The browser will do whatever the command center server owner orders it to do.

It is not alone

I have scanned other extensions on the WebStore and found four more using the very same approach. By the way, two of them are not fake ad blockers, and nothing pointed to them being malicious until I checked the code.

Here is the full list.

  • AdRemover for Google Chrome™ (10M+ users)
  • uBlock Plus (8M+ users)
  • Adblock Pro (2M+ users)
  • HD for YouTube™ (400K+ users)
  • Webutation (30K+ users)

We have reported these extensions to Google. Hopefully, they will be taken down soon.

How to protect yourself from malicious extensions

With the current state of things, surfing through the Chrome's WebStore is like walking through a minefield. So here's my advice: if you want to install an extension, think twice. And then think twice again.

Ok, I got it, you absolutely need this extension. At least do one thing: check who is the author of this extension. Do not install it if you don't trust the author. Please note, that at some point the extension can be sold to someone else, and who knows what it will become (here's a vivid example).

  • UPD (18.04.2018, 12:48 GMT+3): Google has taken down 4 of 5 extensions. We've reported the last one again.
  • UPD (18.04.2018, 13:17 GMT+3): All five are taken down.
Liked this post?
18 307 18307 водгукаў
Выдатна!

AdGuard для Windows

AdGuard для Windows - гэта больш, чым блакіроўшчык рэкламы. Гэта шматмэтавы інструмент, які блакіруе рэкламу, кантралюе доступ да небяспечных сайтаў, паскарае загрузку старонак і абараняе дзяцей ад недапушчальнага кантэнту.
Спампоўваючы праграму, вы прымаеце ўмовы Ліцэнзійнага пагаднення
Чытаць далей
18 307 18307 водгукаў
Выдатна!

AdGuard для Mac

AdGuard для Mac - унікальны блакіроўшчык рэкламы, распрацаваны з улікам спецыфікі аперацыйнай сістэмы macOS. Ён не толькі бароніць вас ад раздражняльнай рэкламы ва ўсіх браўзерах і праграмах, але і бароніць вас ад сачэння, фішынгу і махлярства.
Спампоўваючы праграму, вы прымаеце ўмовы Ліцэнзійнага пагаднення
Чытаць далей
18 307 18307 водгукаў
Выдатна!

AdGuard для Android

AdGuard для Android - ідэальнае рашэнне для Android-прылад. У адрозненні ад іншых блакіроўшчыкаў, AdGuard не патрабуе поўнага доступу, а таксама дае шырокі спектр магчымасцей па кіраванню праграмамі.
Спампоўваючы праграму, вы прымаеце ўмовы Ліцэнзійнага пагаднення
Чытаць далей
18 307 18307 водгукаў
Выдатна!

AdGuard для iOS

Лепшы блакіроўшчык рэкламы iOS для iPhone і iPad. AdGuard ліквідуе ўсе віды рэкламы ў Safari, абараняе вашу прыватнасць і паскарае загрузку старонак. Тэхналогія блакіроўкі рэкламы AdGuard для iOS забяспечвае высокую якасць фільтрацыі і дазваляе выкарыстоўваць некалькі фільтраў адначасова
Спампоўваючы праграму, вы прымаеце ўмовы Ліцэнзійнага пагаднення
Чытаць далей
18 307 18307 водгукаў
Выдатна!

AdGuard VPN

74 лакацыі па ўсім свеце

Доступ да любога кантэнту

Моцнае шыфраванне

Без лагавання

Самае хуткае злучэнне

Цэладзённая падтрымка

Паспрабуйце бясплатна
Спампоўваючы праграму, вы прымаеце ўмовы Ліцэнзійнага пагаднення
Чытаць далей
18 307 18307 водгукаў
Выдатна!

Блакіроўшчык кантэнту AdGuard

AdGuard Content Blocker ухіляе ўсе аб'явы ў мабільных браўзарах, якія падтрымваюць тэхналогію блакавання кантэнту — да прыкладу, Samsung Internet і Яндэкс.Браўзар. Ён валодае меншай колькасцю функцый, чым AdGuard для Android, але пры гэтым дармовы, просты ва ўсталёўцы і па-ранейшаму забяспечвае высокая якасць блакавання рэкламы.
Спампоўваючы праграму, вы прымаеце ўмовы Ліцэнзійнага пагаднення
Чытаць далей
18 307 18307 водгукаў
Выдатна!

Браўзернае пашырэнне AdGuard

AdGuard — самае хуткае і лёгкае браўзарнае пашырэнне для блакавання ўсіх тыпаў рэкламы! Абірайце AdGuard для хуткага і бяспечнага сёрфінга без рэкламы.
18 307 18307 водгукаў
Выдатна!

Памочнік AdGuard

Дапаможнае браўзернае пашырэнне для AdGuard настольных праграм. Дае доступ у браўзеры да такіх функцый, як блакіроўка асобных элементаў, уключэнне вэб-сайта ў белы спіс або адпраўка справаздачы.
18 307 18307 водгукаў
Выдатна!

AdGuard DNS

AdGuard DNS – гэта альтэрнатыўны спосаб заблакаваць рэкламу, абараніць асабістыя дадзеныя і ахаваць дзяцей ад дарослых матэрыялаў. Ён просты ў наладзе і выкарыстанні і забяспечвае патрэбны мінімум абароны ад рэкламы, трэкінгу і фішынгу, незалежна ад платформы.
18 307 18307 водгукаў
Выдатна!

AdGuard Home

AdGuard Home — магутная прылада для сеціва супраць рэкламы і трэкінгу. З узмацненнем ролі інтэрнэту рэчаў робіцца ўсё больш і важнейшым кіраваць усiм вашым сецівам. Пасля налады AdGuard Home будзе ахапляць УСЕ вашы хатнія прылады і для гэтага вам не спатрэбіцца праграмнае забеспячэнне на боку кліента.
18 307 18307 водгукаў
Выдатна!

AdGuard Pro для iOS

AdGuard Pro прапануе значна больш чым проста блакаванне рэкламы ў Safari, якая ёсць у звычайнай версіі. З дапамогай адмысловых налад DNS вы зможаце блакаваць больш рэкламы, абараніць вашы асабістыя дадзеныя і ахаваць дзяцей ад дарослага кантэнту.
Спампоўваючы праграму, вы прымаеце ўмовы Ліцэнзійнага пагаднення
Чытаць далей
18 307 18307 водгукаў
Выдатна!

AdGuard для Safari

Пашырэнні, што блакуюць рэкламу ў Safari, перажываюць не лепшыя часы з той пары, як кампанія Apple вымусіла ўсіх выкарыстоўваць новы SDK. Пазнаёмцеся з нашым лёгка наладжвальным і імгненным дадаткам!
18 307 18307 водгукаў
Выдатна!

AdGuard Temp Mail

Ваш часовы паштовую скрыню, каб на асноўную пошту не прыходзіў спам
18 307 18307 водгукаў
Выдатна!

AdGuard для Android TV

AdGuard for Android TV is the only app that blocks ads, guards your privacy, and acts as a firewall for your Smart TV. Get warnings about web threats, use secure DNS, and benefit from encrypted traffic. Relax and dive into your favorite shows with top-notch security and zero ads!
Спампоўка AdGuard Каб усталяваць AdGuard, пстрыкніце файл, пазначаны стрэлкай Выберыце «Адкрыць» і націсніце «ОК», затым дачакайцеся спампоўкі файла. У акне, якое адкрылася, перацягніце значок AdGuard у папку «Праграмы». Дзякуй, што выбралі AdGuard! Выберыце «Адкрыць» і націсніце «ОК», затым дачакайцеся спампоўкі файла. У акне, якое адкрылася, націсніце «Усталяваць». Дзякуй, што выбралі AdGuard!
Усталюйце AdGuard на мабільную прыладу