Web Hosting Talk


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Website hit with tejary.net virus
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)

 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-13-2009, 10:48 AM
reddem0n reddem0n is offline
View Beta Profile
WHT Addict
 
Join Date: Feb 2004
Posts: 144
Website hit with tejary.net virus

Hello All,

I've been trying to scour the internet trying to find out more information about this worm, but all I find are millions of sites that are infected with it.

If anyone has any information on this virus h**p://tejary.net/h.js

it looks like it has overwrited everything in the database - ..most of everything - seems like a type of sql injection script

please advise, we have just been infected overnight .

__________________
Proud Customer of HostGator Since 2004

Reply With Quote
Sponsored Links
  #2  
Old 04-13-2009, 11:15 AM
reddem0n reddem0n is offline
View Beta Profile
WHT Addict
 
Join Date: Feb 2004
Posts: 144
Nevermind, disregard above message.

__________________
Proud Customer of HostGator Since 2004

Reply With Quote
  #3  
Old 04-14-2009, 05:55 AM
prashant1979 prashant1979 is offline
View Beta Profile
Eternal Learner
 
Join Date: Jul 2007
Posts: 853
I am facing the same problem. Did you get a solution for this?

__________________
Prashant T.

Don't run after Success. Run after Excellence and Success will soon follow.

Reply With Quote
Sponsored Links
  #4  
Old 04-15-2009, 08:33 AM
WeWatch WeWatch is offline
View Beta Profile
WHT Addict
 
Join Date: Oct 2008
Location: Chicago, IL
Posts: 102
It's a SQL injection. A Google search shows over 45,000 entries so it is a mass attack.

It's currently hitting Cold Fusion and ASP based sites mostly. Restore database from known good point and filter all data input.

__________________
Thomas J. Raef
WeWatchYourWebsite - so you don't have to!
Report: How Cybercriminals Use Your Website to Deliver Their Malware

Reply With Quote
  #5  
Old 04-15-2009, 11:22 AM
prashant1979 prashant1979 is offline
View Beta Profile
Eternal Learner
 
Join Date: Jul 2007
Posts: 853
Recently a few of my customer websites have been infected with the same. Is there a way to prevent it?

__________________
Prashant T.

Don't run after Success. Run after Excellence and Success will soon follow.

Reply With Quote
  #6  
Old 04-15-2009, 12:16 PM
WeWatch WeWatch is offline
View Beta Profile
WHT Addict
 
Join Date: Oct 2008
Location: Chicago, IL
Posts: 102
Yes. But upon further detailed analysis, we believe it's a SQL injection. We've reviewed a number of the sites and have found the script is placed in too many seemingly random spots in the HTML to be a SQL injection attack.

It does occur most frequently in .asp, .aspx and .cfm sites.

Would you care to provide one of the websites so we can perform a vulnerability scan?

Many of the sites that show up in Google when searching for tejary.net/h.js have their "This site may harm your computer" label so I would think people would want to get their sites secure fairly quick.

Let me know or PM me.

Thank you.

__________________
Thomas J. Raef
WeWatchYourWebsite - so you don't have to!
Report: How Cybercriminals Use Your Website to Deliver Their Malware

Reply With Quote
  #7  
Old 04-15-2009, 12:24 PM
prashant1979 prashant1979 is offline
View Beta Profile
Eternal Learner
 
Join Date: Jul 2007
Posts: 853
I have seen a few websites designed in pure html being injected with this virus.

__________________
Prashant T.

Don't run after Success. Run after Excellence and Success will soon follow.

Reply With Quote
  #8  
Old 04-16-2009, 12:02 AM
GOT GOT is offline
View Beta Profile
WHT Addict
 
Join Date: Jun 2002
Location: Portsmouth, VA
Posts: 118
We fought this on a CF server for a long time. In our case, they were coming in on a cold fusion based forum system. We firewalled the IPs the attack was coming from and disabled the forum. It took us five days to track all this down.

Since disabling the forum and firewalling, they have not gotten back in.

__________________
---
Jon Berry
Proactive Server Management
http://www.got-management.com

Reply With Quote
  #9  
Old 04-16-2009, 02:27 AM
nickgl nickgl is offline
View Beta Profile
New Member
 
Join Date: Apr 2009
Posts: 1
We have seen this recently as well. In our case, the person who set up the server didn't know what they were doing.

They attack came from the following IP address:
61.236.71.195

If it's the same in your case, you can search your weblogs on that IP and you may be able to see what they are up to.

The attacker was able to upload a file to the web server through a compromised FTP account or possibly through a poorly coded file upload feature. The file was named tuckt.cfm.

They were able to run the file through a web browser using the cfexecute tag to open a command prompt into the server. So, if you are on a CF oriented server, make sure to disable cfexecute. You may want to also change all your FTP passwords and use a FTP server like filezilla where you can ban IPs that fail too many login attempts. You may also need to make sure that certain file types can't be uploaded from a web site (as through an image upload feature).

While you are locating the hole another thing that you can do to contain this is use software like Fusion Reactor to set up content filters that will remove the harmful URLs before they get to the browser.

This is happening on ASP and PHP sites as well, but I can't give you as much info about those scenarios.

Reply With Quote
  #10  
Old 04-16-2009, 06:06 AM
prashant1979 prashant1979 is offline
View Beta Profile
Eternal Learner
 
Join Date: Jul 2007
Posts: 853
In my case, it was on html websites as well as asp and asp.net websites which were infected. From my findings, it seems to be done through Mpack. But I am not able to trace the origin of the attack from any log. I also have scanned the server with Nod32 antivirus, but it could not find any virus/trojan on the server.

__________________
Prashant T.

Don't run after Success. Run after Excellence and Success will soon follow.

Reply With Quote
  #11  
Old 04-16-2009, 09:32 AM
WeWatch WeWatch is offline
View Beta Profile
WHT Addict
 
Join Date: Oct 2008
Location: Chicago, IL
Posts: 102
Rarely will you find a virus or trojan on the webserver. They don't want you to know how they got in.

The infectious file will reside on their server. All you'll find on your server is the modified html/cfm/asp/php code which pulls the infectious file down from their server onto the PC of a visitor to your site.

__________________
Thomas J. Raef
WeWatchYourWebsite - so you don't have to!
Report: How Cybercriminals Use Your Website to Deliver Their Malware

Reply With Quote
  #12  
Old 07-02-2009, 10:26 PM
reddem0n reddem0n is offline
View Beta Profile
WHT Addict
 
Join Date: Feb 2004
Posts: 144
Our only way of resolving this issue was using cfparam's instead of the old cfqueries. We haven't seen any attack since. Has anyone else been able to find any other fixes for this?

__________________
Proud Customer of HostGator Since 2004

Reply With Quote
  #13  
Old 07-03-2009, 03:47 AM
prashant1979 prashant1979 is offline
View Beta Profile
Eternal Learner
 
Join Date: Jul 2007
Posts: 853
What are cfparams and cfqueries? Are they related to Coldfusion?

__________________
Prashant T.

Don't run after Success. Run after Excellence and Success will soon follow.

Reply With Quote
  #14  
Old 07-03-2009, 11:52 AM
reddem0n reddem0n is offline
View Beta Profile
WHT Addict
 
Join Date: Feb 2004
Posts: 144
Yes they are related to coldfusion mssql database queries. Basically limits anything suspicious from passing into any forms on our site.

__________________
Proud Customer of HostGator Since 2004

Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement: