AVG 2011 – Surf Shield Bug – avg_ls_dom.js

Recently I faced issues loading webpages in Chrome. Many websites failed to load including my Blog. Websites that have a lot of java scripts especially Adsense units (Image and Text) took a lot of time to load. I tested the page elements load time with firefox browser with firebug and Google Page speed addon and found a mysterious Java Script ‘/A2EB891D63C8/avg_ls_dom.js’

It looks like the problem is due to Surf Shield a part of Link Scanner module of AVG 2011. "AVG Surf-Shield actively checks web pages in real-time every time you click a link or enter a web address directly into your browser". This is done by adding a script element to the very beginning of every HTML page rendered inside the browser. This element loads a local JavaScript file called ‘avg_ls_dom.js’.

The script is injected in a non-standard way, right after the document definition and outside of the <head> element, where such resources are normally defined. This technique is most likely used to ensure that avg_ls_dom.js is loaded before any other script possibly injected by attackers into the original page. The JavaScript code inside the file is supposed to create a buffer with the content of the page and submit it via POST to another relative URL called /CC0227228D62/CheckData.

httpRequest.open("POST", "/CC0227228D62/CheckData", false);
httpRequest.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");

This request should again be intercepted by the AVG module, which should inspect the code and give the go-ahead to display the page or tell the script to throw an error instead. However, it seems that a bug causes the proxy-like component to let requests through and get sent to the server from where the page was loaded.

Once I disabled the Surf Shield option in Link Scanner the issue got resolved.

Ref: http://news.softpedia.com/news/AVG-2011-Bug-Affects-Browsing-Experience-Could-Also-Hurt-Websites-160515.shtml


Information Technology – The way I see it in the near Future


After I wrote the blog below I just Googled to find if such trends are expected in the near future. As usual I realized that I am already 6 months behind. The video in the left may explain better the way chrome is going to evolve and the future of net books. Its not ‘in the near future’. It is happening! 












ipadMe and my colleagues were discussing how iPad would change the computing landscape. What we discovered was that while most people would continue to see iPad as just another gadget it is a part of a major change that would impact IT in the near future. For iPad to be seen as an replacement to Laptop or PC one would complain the lesser processing capacity and memory. If we see the usage from the end user perspective these hefty machines would mostly be used for Email & Documents (Official), Browsing & Entertainment (Personal) and file storage. Cloud Computing (http://blog.shankarananth.com/?p=261) as discussed in my earlier blog would transform the way users access these applications.

Currently most or all of these applications can be accessed in the cloud without the need for installation of huge software or processing capacity though most users don’t actually use them beyond email. A manager for example can access all his emails via hosted solution and can save/edit call types of documents he would need via Google docs or Zoho. A Developer or Engineer would still complain access to proprietary Programming or Engineering applications.  These applications can be installed on Cloud OS Servers and they can still be accessed via browsers.


This transformation has made Google release Chrome in an already flooded browser market. To Google, Chrome is an OS to deliver its next generation cloud applications. Yeah! Its true, chrome even has a Task manager. This would be big blow to Microsoft with its major revenues from Windows and Office software. Don’t be surprised. Future Google chrome may not be installed on Windows. Chrome would be booting with the machine at startup, connect to the internet and would be the OS to access applications on the cloud. Over the years I never expected a ‘SEARCH ENGINE’ as I saw it years ago, would challenge Microsoft on Software or Chinese Governments on Information Policies.

With all applications accessible via the browser the dependence on Windows also would tend to go down. One can still argue that linux was all around with the necessary software freely available but still could not change Microsoft’s dominance. Here’s the trick, to change people’s mindset with PC would be difficult. But as new devices come up Microsoft has to freshly compete. For example the windows mobile market share Vs Apple iPhone or other Mobile OS is not comparable to it PC OS market share. Slowly Apple would get into the market with new generation devices that would replace the PC and its functions. This is one more reason why Google came up with Android and Nexus One. Soon we can expect a gPad from Google.

While internet access and higher bandwidth is widely available and constantly improving there is still a worry about accessing applications offline. While Google has it Gears to address this issue there are many developments expected in this area. So are concerns with security which are to be addressed for people to adapt the technology as fast as it is growing now.

The technology is promising. But it is up to the people to decide its tenure in the market place.