How can I remove unwanted ads on top of sites?

2

1

I'm running Windows 7. Yesterday, when I opened a website with Firefox, I saw 3 ads at the top of the site.

Then, when I checked other websites with different browsers, I saw these ads:

enter image description here

In the page source, I can't see any code for these ads. After using Inspect Element, this code was added to the header:

<iframe src="http://85.25.138.211/index.php?3a2j"></iframe>

And the code in the body for this ad is:

<a href="http://track.impreskin.pl/product/ImpreSkin/?uid=21002&amp;pid=153&amp;bid=1659" rel="nofollow" title="wygladzanie zmarszczek"><img src="http://track.impreskin.pl/banner/?uid=21002&amp;pid=153&amp;bid=1659" alt="wygladzanie zmarszczek"></a>

I don't see any new and unwanted plugins in my browsers, and I haven't installed Hotspot Shield.

Is this malware, and if so, how can I remove it?

mohammad6006

Posted 2014-10-27T14:29:13.613

Reputation: 141

Question was closed 2014-10-29T19:20:18.503

1I'm not sure why you are thinking it is as a malware. It's just a banner. You would see them everywhere on internet. – Haplo – 2014-10-27T15:03:16.940

2because this ads is not for that sites , ads display in stackoverflow or my personal website that i not add this ads in my site – mohammad6006 – 2014-10-27T16:20:13.463

Are you also using Edimax router as me?

– Martin Prikryl – 2014-10-29T07:09:14.760

@MartinPrikryl : No , i am using D-link wireless modem are you think this virus source is one pc or mobile that connect to this modem? – mohammad6006 – 2014-10-29T19:07:48.133

@MartinPrikryl : Do you know name of this kind virus? – mohammad6006 – 2014-10-29T20:33:56.173

@mohammad6006 Do you mean your PC/mobile or attacker's PC/mobile? I do not believe the source of the problem is infected PC/mobile. I do not even think that someone hacked your Wi-Fi (and re-configured the router afterwards). As the problem seems world-wide, remote exploiting of some router vulnerability is more likely. – Martin Prikryl – 2014-10-30T07:04:24.003

@MartinPrikryl i want research about this kind of vulnerabilities. can you help me what keywords should i search? – mohammad6006 – 2014-10-31T07:37:47.623

@mohammad6006 I do not know. I had difficulties myself finding anything about it. – Martin Prikryl – 2014-10-31T07:52:04.397

Something like "D-link/Edimax router vulnerability". I've found Router Vulnerability. Though it mentions Edimax only, not D-link.

– Martin Prikryl – 2014-10-31T07:57:59.087

Answers

1

After research I found this answer by Martin Prikryl:

... the problem is happening on cellular network only because of caching. After some time of being connected on cellular network and keeping refreshing, the problem went away. And reappeared only after connecting back to the Wi-Fi.

This made it obvious that the problem is due to compromised router. Resetting it back to factory settings fixed it.

mohammad6006

Posted 2014-10-27T14:29:13.613

Reputation: 141

1

You are experiencing malware which has been designed to operate just before your web browser displays web pages. It typically intercepts a browser request to retrieve a web page, analyzes the site you are visiting and tries to inject HTML ADs which may or may not be pertinent to what you are viewing.

You will have to check the proxy settings of all of your web browsers and run full malware and antivirus scans on your PC because your computer is severely infected

Adblock will not help you, this is a virus. I would confidently guess that all web pages are loading very slowly and if you check your task manager then FireFox is probably using 300-500 MB just to view one website.

MonkeyZeus

Posted 2014-10-27T14:29:13.613

Reputation: 7 101

yes , how can i detect this virus? i have update eset smart security and scan with windows defencer but can not find any virus – mohammad6006 – 2014-10-27T16:34:07.990

1

Malwarebytes works very well but you should follow the instructions on http://superuser.com/questions/100360/how-do-i-get-rid-of-malicious-spyware-malware-viruses-or-rootkits-from-my-pc

– MonkeyZeus – 2014-10-27T16:42:28.037

scan with Malwarebytes but problem not solved :( – mohammad6006 – 2014-10-28T09:50:38.853

You should probably wipe your computer back to a clean install. Please read the answers in the link I posted. If you underestimate the severity of the issue then you are going to have a bad time. If you truly believe that your system can be cleaned then you can try ComboFix

– MonkeyZeus – 2014-10-28T13:35:37.710

3

The problem is actually a compromised router. It's not a local infection.

– Martin Prikryl – 2014-10-29T07:05:19.233

@MartinPrikryl has mohammad6006 confirmed this? – MonkeyZeus – 2014-10-29T16:09:22.367

@MonkeyZeus Yes, see his accepted self-answer.

– Martin Prikryl – 2014-10-29T19:20:13.627

-1

I have the exact same problem. Platform - windows 7 64. It does not only attack firefox. It hacks all your web browsers (firefox, i.e. and I'm guessing it also would have done chrome, too)... that means it's either installed as an extension or as some piece of global cached scripting code (for all browsers)...or maybe even something more global.

I've managed to "hack" a "bandaid" solution to the problem - namely to block these ip's with windows firewall, and also to download the firefox adblock extension, but that does not address the underlying problem, namely that the system itself has been hacked.

PARTIAL RESOLUTION (solves most of the visual misery): Search your windows directory, and edit either "lmhosts" or "hosts" to map these url's to

"localhost":
(promo.cityads.ru)
(track.impreskin.pl)
(rcm-na.amazon-adsystem.com)
(www.juicyads.com)

-or-

block these remote ip's in firewall settings

(72.21.202.62)
(81.177.161.202)
(54.192.118.235)
(199.83.129.149)

-and- install adblock for firefox.

This will =still= leave you with the hacker's name on your pages.

UNRESOLVED ANGLES TO FIX THE REST: I'm still working on this part... but I'm trying a disk file contents search for .js and/or php / css files containing: "wygladzanie zmarsczek" and the above url's

^remove related files

Barring success, see about clearing all .js, php and css caching... sorry, but I'm still working on finding out how to do that.

None of that proves you have really cleaned all the malware from your pc. It's just addressing a symptom (like if you had a disease but took aspirin to reduce the pain). There might be alot more this virus left on the pc.

So this solution is a far cry from "perfection", which would be to understand the attack vector this virus used, to close the security hole, and to remove all files it may have deposited -- but it's still alot better than nothing.

If anyone can come up with the formal name for this attack and answer any of those questions, it would help to build a public understanding which resolves the problem.

RESULTS: These files came back associated with that search signature:

C:\Users\computer_name\AppData\Local\Mozilla\Firefox\Profiles\pxxczg4r.default\cache2\entries\2E0C4058E084A83FFD5E59DF25634B4708213893

C:\Users\computer_name\AppData\Local\Mozilla\Firefox\Profiles\pxxczg4r.default\cache2\entries\C116A7489A2D13D65DA56BD218030121E46D2476

C:\Users\computer_name\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5\HND03M2G\ga[1].js

Relativize the path for your own pc by replacing "computer_name" with your own self-referential pc name. Those cache files are generated with what might be a random name under firefox... nuking the entire cache might be the best solution.

Sam Jennings

Posted 2014-10-27T14:29:13.613

Reputation: 1

I would not recommend modifying lmhosts or hosts. Additionally, those links are not helpful as they are specific to one advertisement each. – cutrightjm – 2014-10-28T02:34:07.883

Look man -- read up the list. THERE IS NO OTHER ANSWER HERE. So for now it's my way or the highway... :-)

Also, why on earth are you saying don't modify lmhosts? That's what it's for! – Sam Jennings – 2014-10-28T03:24:12.043

Hi Sam, there's an answer right above yours that has been accepted. Also, please read this article.. the LMHOSTS and HOSTS files are to map to internal servers or reroute traffic (which this does, but in the wrong context), not serve as a "bandaid" to patch malware: http://technet.microsoft.com/en-us/library/cc977602.aspx

– cutrightjm – 2014-10-28T04:24:26.653

1

See Advertisement suddenly appearing on top of almost every page

– Martin Prikryl – 2014-10-29T07:06:44.670