Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I'm using Chrome I'm getting fullscreen popup advertising even on sites that I am certain do not have it. I see the web site it is trying to load is "" in the status bar.

I suspect this is some kind of browser or OS virus.

How can I deal with this on Ubuntu? Is there some tool I can run to detect the virus? Or can I totally reinstall Chrome somehow?

share|improve this question
did you recently install any software or browser add-ons? – ImaginaryRobots Feb 18 '13 at 17:38
I tried reinstalling the google-chrome-stable package (purge). Didnt work. I then did it again but this time deleted .cache/chrome too. This has fixed it. I had not recently installed any plugins. Somehow a web site must have "infected" the browser through javascript. – Andrew Tomazos Feb 19 '13 at 1:34
If that fixed the issue, go ahead and post it as an answer to your question, then mark it as the solution. – ImaginaryRobots Feb 19 '13 at 19:33

You haven't provided sufficient information to identify the problem accurately, but the following suggestions may help to identify or even hopefully solve it:

  1. You can open your hosts file (enter this command in terminal: gksu gedit /etc/hosts) and enter this line at the bottom: As this will prevent all connection between this site and your computer after restart, this might solve your problem or if it doesn't, then;
  2. You can try a program like Net Activity Viewer to see a list of sites your browser is being connected, and add all undesirable addresses there as in the step 1.
  3. You can try using a utility like hostsblock to prevent connection to such sites in general. (This utility can be downloaded and manually installed from ArchLinux repositories with just one minor modification, replacing pathname /etc/rc.d with /etc/init.d in these files:, and rc.conf)
share|improve this answer
This is a prevention, but not a cure. The question is why is it trying to connect to in the first place. The sites I was visiting were clean. Somehow the browser was "infected" with the popup advertising. – Andrew Tomazos Feb 19 '13 at 1:36
I know but prevention is always better than cure ;-) I'm glad you've found the cure: deleting all your browser's cache. So maybe it's time to focus on prevention ;-) I'm currently working on making a deb package of hostsblock which I intend to place on launchpad soon. – Sadi Feb 19 '13 at 8:30
Sorry I meant this treats the symptoms but not the disease. Preventing the DNS lookup might hide the popups but whatever malware is causing those lookups to occur in the first place is still present. – Andrew Tomazos Feb 19 '13 at 13:24
I don't understand, after you have managed to remove the culprit malware from your computer (by clearing the entire browser cache as you said), you should be OK now (both symptoms and disease are gone now) as long as you prevent such malware infecting your computer gain. And blocking all connection to potentially harmful sites provides a good protection (disease prevention). The virus may still be out there but cannot reach you. But if you mean total and absolute protection, I doubt that it's possible. We have to be always vigilant about safe browsing measures. – Sadi Feb 19 '13 at 16:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.