Hackers Use Google Analytics Javascript Code to Download Viruses to Your Computer! How?

How heart-wrenching is it to find out after addingGoogle support staff in the support forum. The
Google Analytics to your website that the added codeSupport Staff gave actual names of programs and
contains malicious codes, designed to downloadwebsites suspected of delivering viruses to
viruses on your visitors' computers? Not very pleasing!compromised websites.
Well, that is exactly what is happening to manyScripts distributed by malicious websites deliver codes
website owners who have added the Googlethat create hidden iframes that are loaded directly
Analytics code to their websites.from those malicious sites. It is with such mechanism
One website owner said that on March 16th, three ofthat viruses are downloaded to peoples' computers.
his website members reported that his UK-basedOne victim of the Google Analytics exploit came
website was attempting to download a virus to theirforward and shared his story, saying that he too was
computer. The webmaster and his team thenvictimized by the Google Analytics exploit, which was
deployed a barrage of investigative measures, whichcharacterized by several days of excessive traffic
revealed that it was indeed a piece of malicious codefrom an unusual spider that scanned every page on
hidden within the Google Analytics tracking code thathis website.
was attempting to download the virus to peoples'He then immediately removed the Google Analytics
computers, Google Support Forum.code from his website and server, which ceased the
A Google support staff was quick to point out that heunusual spider activities. This webmaster's website
has in fact seen a multitude of websites beingwas ASP-based. This is telling us that it does not
compromised in a similar manner, and the actualmake any difference as to what framework the
reason for the problem is compromised passwords.target website is built on, the danger still exist for
Therefore, whenever the admin password formalicious websites to use the Google Analytics as a
accessing the said website ends up in the hands ofvirus delivery tool! So, this can happen to websites
the wrong people, bad things happen.running ASP, PHP, HTML, etc.
These malicious program producers gain access to anIn the event of a Google Analytics exploit,
unsuspecting website by using a compromisedwebmasters should check their server access logs for
password and then plant virus-producing codes withinany kind of suspicious "GET (and POST)" requests.
the Google Analytics Javascript code block. Therefore,These requests will most likely be made by the
people should not get the wrong impression and startsuspected malicious program because computer
blaming the Google Analytics code for being malicious.viruses can be injected into websites via the HTTP
It is the added code by the perpetrators that isrequests protocol, according to a Google support
malicious, not the Google code itself. In effect, it is theforum member.
Google Analytics code that is compromised by theThe rule of thumb for website owners is to always
hackers, just wanted to make that clear.take extra precautions in password security by
Therefore, to prevent such a thing from happening onchanging passwords frequently. A name, date of birth,
any website, the webmaster of that site should takeor child's birth date should never be used as a
extra precautions by periodically changing passwords.password. In fact, passwords should have letters,
While compromised password is one way of exploitingnumbers, and special character combinations to make
the Google Analytics code, the Google support staffthem very difficult to figure out.
cautioned us that it is not the only method of exploitingWe saw in our discussions that it is not the Google
the code while it is on a website.Analytics code that is totally to blame for the
Another method of exploitation is the actual injecting ofdownloading of viruses to people's computers. It is
malicious scripts by websites indulging in such practices.password security of websites.
An example of such a website was discussed by the