Project Management

ScanSafe raises alarm about thousands of compromised Web pages

ScanSafe has determined that untold thousands of Web sites are hosting malicious code, just waiting to infect computers of unsuspecting Web surfers.

ScanSafe is an acclaimed provider of Software as a Service (SaaS) Web security. I try to pay attention to their STAT Blog, it usually contains worthwhile information. Today was no exception, as foretold by the blog post's title: Up to 55K Compromised by Potent Backdoor/Data Theft Cocktail.

Infamous iFrame

ScanSafe's Mary Landesman author of the ominous-sounding post somehow found a malicious iFrame embedded in upwards of 55, 000 Web sites. That didn't mean much to me until I found out what an iFrame was. According to the Web Design Group an iFrame consists of:

"The IFRAME element defines an inline frame for the inclusion of external objects including other HTML documents. IFRAME provides similar functionality to OBJECT. One advantage of IFRAME is that it can act as a target for other links."

The last sentence is the one to pay attention to. In this particular case, the iFrame includes of the following snippet of code:

"script src="

If I understand correctly, that simple phrase will redirect Web browsers to without the user knowing it.

What happens then

The Web site is where the heavy-duty malware is. Once the Web browser is talking to, Landesman explains a slew of malicious code consisting of trojans, backdoors, password stealers, and possibly a downloader will try to install on the visiting computer. If the operating system is Windows-based and vulnerable, the malware will successfully install.

Yes, this is yet again a Windows-only issue. Fortunately, all of our computers are up-to-date and have sufficient protection to prevent any malware from taking root. Right?

Check it out

What I find fascinating is that we can repeat Landesman's experiment, easily finding how many Web pages are currently infected. Enter "script src=" in your favorite search engine and check the number of hits.

When Landesman first wrote the post, Google search found 54,900 hits. I'm getting 97,200 hits a day later. Some of the sites include,, and Maybe it's on purpose, but no one is explaining why the number of infected Web pages is growing so fast. is not the only malicious Web destination. Others include:,,,,,, and Landesman mentions that is the most prolific of the group. You may find the WHOIS record for interesting:

Notice the unusual registrant and street names. Seems like there is very little vetting going on at this particular registrar.

Catch 22

I am by no means a Web developer. Still, it seems we are going to have this problem until client-side scripting can be ran securely. Sure, disabling JavaScript or using an application like NoScript solves the problem. That is until you want to see what doing so has broken on the Web site.

Final thoughts

I have a pretty good idea why so many computers are vulnerable. But, what's going on with Web servers? Are the current Web server exploits so new, only the bad guys know about them? It sure seems like it.

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");

document.write(unescape("%3Cscript src='" + gaJsHost + "' type='text/javascript'%3E%3C/script%3E"));

// —>

try {

var pageTracker = _gat._getTracker("UA-9822996-4");


} catch(err) {}

// —>


Information is my field...Writing is my passion...Coupling the two is my mission.

Editor's Picks