Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 13th Jan 2014, 12:33 AM   #1
Active Warrior
War Room Member
 
SusieJones's Avatar
 
Join Date: 2010
Location: Brisbane, QLD Australia
Posts: 77
Thanks: 64
Thanked 27 Times in 24 Posts
Blog Entries: 1
Default
Server Injected via old Joomla install - be warned!
Share on: 
fb share twitter share gplus share more share

When I started working with my bosses (3 months ago) they had a couple of sites that have an old version of Joomla. Not being familiar with Joomla (I do Wordpress sites), I didn't realize the danger.

I recently moved the two sites to new hosting (the old host company was insistent we had to move them off - now I think I understand why). the one site which has a version 1.5.22 on Joomla, was injected with a perl script just before Christmas and again on the 9th of January 2014. I found 8 files and have deleted all of them and have combed through the folders looking for other suspicious code.

In the end the injection shut down the server with 150 sites (very important sites too).

I have copies of the perl script files and read through them, wondering what they were up to.

My question is this - what would be the purpose of doing this? The code has a line "Open Server Socket" and there are many many urls listed in the code, along with a lot of commenting - like die... killall and rest.... does anyone have any clues?

The other interesting file I found at the cpanel level was gen.roc - a Ruby Script execution. The date of this file was the first day the WHM/cpanel were set up for me....??? thoughts?

I will be re-building the site with WP starting tomorrow... any hints on this are welcome also!

Thank you Susie

SusieJones is offline  
Unread 13th Jan 2014, 03:02 AM   #2
Senior Warrior Member
War Room Member
 
kpmedia's Avatar
 
Join Date: 2010
Location: USA, Europe
Posts: 1,163
Thanks: 57
Thanked 266 Times in 213 Posts
Default
Re: Server Injected via old Joomla install - be warned!
Share on: 
fb share twitter share gplus share more share

Who was hosting that? Because a properly managed server would NOT harm all the other sites. That doesn't sound like a good host!

... unless you had them as add-on domains, of course, not full accounts. That's a security risk waiting to be exploited.

Joomla is fine as a CMS. But Joomla 1.5.x is old and has exploits.
Joomla Joomla! version 1.5.2 : Security vulnerabilities

WordPress isn't any better. Keep this in mind. It gets hacked, too. You need proper security, and this does NOT mean plugins.

kpmedia is offline  
The Following User Says Thank You to kpmedia For This Useful Post:
Unread 13th Jan 2014, 08:58 AM   #3
HyperActive Warrior
 
Join Date: 2012
Posts: 128
Thanks: 2
Thanked 21 Times in 16 Posts
Default
Re: Server Injected via old Joomla install - be warned!
Share on: 
fb share twitter share gplus share more share

Wordpress is actually better, from my experience. In any case keep the script up to date, no matter which open source you are using.

The injection seems to be doing some kind of spamming, opening a socket connetction to somewhere else and probably sending emails etc. Anyway, that doesn't really matter. Stick to what you understand best.

Hosting specials - Hostgator Review and Inmotion Coupon
Weblover50 is offline  
The Following User Says Thank You to Weblover50 For This Useful Post:
Unread 13th Jan 2014, 08:59 AM   #4
Internet Marketer
Registered Member
 
alamest's Avatar
 
Join Date: 2009
Location: London
Posts: 652
Thanks: 37
Thanked 71 Times in 65 Posts
Default
Re: Server Injected via old Joomla install - be warned!
Share on: 
fb share twitter share gplus share more share

What can i give advice is that join with that hosting company who's support knows little bit of Wordpress or Joomla cause they can help you for FREE, one the Hosting Company Names called GVO I use it regularly and for forever..

alamest is offline  
The Following User Says Thank You to alamest For This Useful Post:
Unread 13th Jan 2014, 12:15 PM   #5
Graphics, PHP, .Net, Html
War Room Member
 
WebdevelopmentGroup's Avatar
 
Join Date: 2011
Location: New York, NY
Posts: 2,176
Thanks: 199
Thanked 170 Times in 132 Posts
Default
Re: Server Injected via old Joomla install - be warned!
Share on: 
fb share twitter share gplus share more share

Yes indeed this happened with one our clients joomla sites.

WebDevelopmentGroup NYC & CA- Small Business Web Development, App Development, WordPress Development, Graphic Designs, Online Marketing, Local Marketing & more!. "Call us 1.800.219.1314 or message us!". Visit us today! "Now On Live Chat Mon-Fri.". www.WebDevelopmentGroup.org
(Whitelable our Services)
===================================
==> #1 OFFLINE MARKETING FORUM ON THE WEB! <==
www.OFFLINEMARKETINGFORUM.com
(Register Now)
WebdevelopmentGroup is offline  
Unread 13th Jan 2014, 06:06 PM   #6
Active Warrior
War Room Member
 
SusieJones's Avatar
 
Join Date: 2010
Location: Brisbane, QLD Australia
Posts: 77
Thanks: 64
Thanked 27 Times in 24 Posts
Blog Entries: 1
Default
Re: Server Injected via old Joomla install - be warned!
Share on: 
fb share twitter share gplus share more share

Thank you all for your suggestions - yes I am a bit worried about the hosting - as I have usually used Hostgator without any problems, this is a brand new company to me.

I have many many Wordpress sites and have never had a problem. It definitely is a result of the old install, so I will have to change it over asap.

I am still not sure I wan to stay with this hosting though.

Thank you for your words Susie

SusieJones is offline  
Unread 14th Jan 2014, 03:59 AM   #7
IM Rocks!
War Room Member
 
shahriyar's Avatar
 
Join Date: 2010
Location: USA
Posts: 501
Thanks: 52
Thanked 65 Times in 60 Posts
Arrow
Re: Server Injected via old Joomla install - be warned!
Share on: 
fb share twitter share gplus share more share

Joomla or Wordpress, you always have your platform & plugins updated. In most cases hackers use a vulnerability in outdated plugins & themes to break in.

A hacked server can be used for many things, can become a part of a bigger DDOS attack, sends 1000s of spam emails using your server etc. etc.

Good luck with the wordpress site, be sure to install security plugins to secure the site from hackers.

shahriyar is offline  
The Following User Says Thank You to shahriyar For This Useful Post:
Unread 14th Jan 2014, 06:53 AM   #8
Active Warrior
 
JenChan's Avatar
 
Join Date: 2014
Location: Bali
Posts: 37
Thanks: 0
Thanked 6 Times in 6 Posts
Default
Re: Server Injected via old Joomla install - be warned!
Share on: 
fb share twitter share gplus share more share

I would recommend to check other wordpress recommended hostings.

bluehost
siteground
dreamhost

Build your next etsy or eBay website today!

Get 70% discount with your Wordpress and Joomla Web Hosting with SiteGround.
A complete web hosting and support platform with Cloudacess.
JenChan is offline  
The Following User Says Thank You to JenChan For This Useful Post:
Unread 14th Jan 2014, 07:10 AM   #9
IM Rocks!
War Room Member
 
shahriyar's Avatar
 
Join Date: 2010
Location: USA
Posts: 501
Thanks: 52
Thanked 65 Times in 60 Posts
Arrow
Re: Server Injected via old Joomla install - be warned!
Share on: 
fb share twitter share gplus share more share

Originally Posted by SusieJones View Post

Thank you all for your suggestions - yes I am a bit worried about the hosting - as I have usually used Hostgator without any problems, this is a brand new company to me.
Hostgator is not a bad hosting, many of my clients host there without any problem. But I should warn you, even if you choose another host, don't go with Godaddy hosting, both their hosting and hosting support is poor.

shahriyar is offline  
The Following User Says Thank You to shahriyar For This Useful Post:
Unread 14th Jan 2014, 07:31 AM   #10
Senior Warrior Member
War Room Member
 
kpmedia's Avatar
 
Join Date: 2010
Location: USA, Europe
Posts: 1,163
Thanks: 57
Thanked 266 Times in 213 Posts
Default
Re: Server Injected via old Joomla install - be warned!
Share on: 
fb share twitter share gplus share more share

Again:
Originally Posted by kpmedia

Don't use
- Godaddy
- Yahoo
- 1&1
- Dreamhost
- the 50+ EIG brands, including Hostgator, Bluehost, Justhost, iPage, Fatcow, and a crapload others

Hostgator is garbage:
- http://www.warriorforum.com/main-int...-my-sites.html
- http://www.warriorforum.com/main-int...s-traffic.html
- http://www.warriorforum.com/main-int...-all-down.html
- http://www.warriorforum.com/internet...hostgator.html
- http://www.warriorforum.com/main-int...-want-out.html
- http://www.warriorforum.com/main-int...-hour-now.html

I have no idea why people still suggest that in 2014. It's terrible. It's not even the same "Hostgator" anymore, not since summer 2012, and is nothing more than an EIG brand now. There are better hosts.
Some of the hosts being mentioned here are terrible, and years out of date in terms of being "good" or not. (Not that Hostgator was ever good, mind you.) Some are the same hosts with difference names (Bluehost, Hostgator)

Better hosts include Arvixe, Site5, Stablehost and Veerotech. Use one of those if you need a good host.

I'd still like to know who the host is used by the OP.

(Note: Godaddy is making major changes, and I may one day suggest it. But I need to review it for 6 months. It's still a gamble right now.)

kpmedia is offline  
The Following 2 Users Say Thank You to kpmedia For This Useful Post:
Unread 14th Jan 2014, 08:40 AM   #11
Web Developer
War Room Member
 
Andrew H's Avatar
 
Join Date: 2012
Location: Vancouver, BC
Posts: 593
Thanks: 149
Thanked 162 Times in 133 Posts
Default
Re: Server Injected via old Joomla install - be warned!
Share on: 
fb share twitter share gplus share more share

Well, I don't know how the discussion got to hosting. The problem is 100% related to the insecure Joomla install. I have a very reputable host (Servint), and a Joomla 1.5 website was still hacked on my server (and replaced with a 'Taken over by xxx group, send money to _______@______ to reactivate'). Of course I didn't send the money, but got it all sorted.

Anyways, yes there are bad hosting companies, and yes most of them listed above are bad. But the moral of the story is Joomla 1.5 is severely out of date. If you have to run it I strongly advise to place an .htaccess in the admin folder to prevent access when you are not in there, this will solve almost all problems.

"You shouldn't come here and set yourself up as the resident wizard of oz."
Andrew H is offline  
The Following User Says Thank You to Andrew H For This Useful Post:
Unread 15th Jan 2014, 12:04 AM   #12
Active Warrior
War Room Member
 
SusieJones's Avatar
 
Join Date: 2010
Location: Brisbane, QLD Australia
Posts: 77
Thanks: 64
Thanked 27 Times in 24 Posts
Blog Entries: 1
Default
Re: Server Injected via old Joomla install - be warned!
Share on: 
fb share twitter share gplus share more share

kpmedia,

Thank you very much for this informed reply! I have many sites on Hostgator - maybe I will move them once I get this mess sorted out!

Cheers Susie

SusieJones is offline  
Unread 15th Jan 2014, 12:08 AM   #13
Active Warrior
War Room Member
 
SusieJones's Avatar
 
Join Date: 2010
Location: Brisbane, QLD Australia
Posts: 77
Thanks: 64
Thanked 27 Times in 24 Posts
Blog Entries: 1
Default
Re: Server Injected via old Joomla install - be warned!
Share on: 
fb share twitter share gplus share more share

Andrew H - thank you also for your comment - and yes that is my sense of it - it was the outdated version of the Joomla that caused the problem.

I am currently looking at going straight from the version 1.5 to Wordpress, I found a plugin that can do it and has received great reviews.

The site is quite big so to replicate it all be hand will be very time consuming - my bosses are considering going back to the support crowd they have used the last 2.75 years and get them to do it!

I will check back to see if you have any suggestions regarding this!

Cheers Susie

PS, love the reference to OZ - as I am here!

SusieJones is offline  
Unread 15th Jan 2014, 07:56 AM   #14
Active Warrior
 
JenChan's Avatar
 
Join Date: 2014
Location: Bali
Posts: 37
Thanks: 0
Thanked 6 Times in 6 Posts
Default
Re: Server Injected via old Joomla install - be warned!
Share on: 
fb share twitter share gplus share more share

Originally Posted by shahriyar View Post

But I should warn you, even if you choose another host, don't go with Godaddy hosting, both their hosting and hosting support is poor.

AGREE!!!! GoDAddy is the worst hosting provider. For me they have the same quality of host with 1&1, all crappy!!!

Although I don't quiet agree with the poor support. I've bought SSL stuff with them and whenever I have questions they are always active in the phone in a very professional way. Although its mainly pre-sale stuff.. I have not tried the technical support though.

Build your next etsy or eBay website today!

Get 70% discount with your Wordpress and Joomla Web Hosting with SiteGround.
A complete web hosting and support platform with Cloudacess.
JenChan is offline  
Unread 15th Jan 2014, 09:17 AM   #15
Monkey
War Room Member
 
nettiapina's Avatar
 
Join Date: 2013
Location: Vantaa, Finland
Posts: 4,324
Thanks: 336
Thanked 697 Times in 617 Posts
Default
Re: Server Injected via old Joomla install - be warned!
Share on: 
fb share twitter share gplus share more share

Originally Posted by SusieJones View Post

My question is this - what would be the purpose of doing this? The code has a line "Open Server Socket" and there are many many urls listed in the code, along with a lot of commenting - like die... killall and rest.... does anyone have any clues?
Servers are powerful computers connected to very fast internet connections so criminals are looking to break in them. For example an average home PC is not very good at sending mail, but servers are configured for that purpose. Email and link spam is one reason, but the servers are also used as an attack platform against more valuable targets and other nefarious purposes. It's also possible that "it was there" is the only explanation that you can ever find.

I've also heard that old Joomla sites are vulnerable. Your website just happened to be the weakest link in security.

Die, killall and rest are probably methods of a programming language or Unix commands.
nettiapina is offline  
The Following User Says Thank You to nettiapina For This Useful Post:
Unread 15th Jan 2014, 10:08 AM   #16
Senior Warrior Member
War Room Member
 
kpmedia's Avatar
 
Join Date: 2010
Location: USA, Europe
Posts: 1,163
Thanks: 57
Thanked 266 Times in 213 Posts
Default
Re: Server Injected via old Joomla install - be warned!
Share on: 
fb share twitter share gplus share more share

Originally Posted by Andrew H View Post

Well, I don't know how the discussion got to hosting. The problem is 100% related to the insecure Joomla install.
Not necessarily.

For example, is the host running mod_security? Because that can block many attack vectors.

Sometimes a certain condition on a server, combined with a certain condition of an app, allows a breach. It can be *just* a site, or *just* a host, yes. But it's not necessarily true. It really depends on exactly what the exploit did. That takes analysis, not a ridiculous knee-jerk "update your site" piece of advice. Because MANY exploits have exactly diddly and squat to do with how updated something is.

But again, you probably are right. The CMS has a hole it in. Yet having mod_security could have prevented it.

Going back to original statement, "the injection shut down the server with 150 sites" is piss poor server management. Somebody did something completely stupid with that server. This should NEVER happen on a quality server setup.

So that's how it got to hosting.

kpmedia is offline  
The Following 2 Users Say Thank You to kpmedia For This Useful Post:
Unread 15th Jan 2014, 10:17 AM   #17
HyperActive Warrior
War Room Member
 
BWHadam's Avatar
 
Join Date: 2011
Posts: 239
Thanks: 39
Thanked 24 Times in 22 Posts
Default
Re: Server Injected via old Joomla install - be warned!
Share on: 
fb share twitter share gplus share more share

never run outdated scripts, hackers are more advanced now. That's why the latest releases and versions build for. Mostly they inject the codes to get other sites hacked or send spam emails.

as you are switching to wordpress, make sure you have word-fence installed.
Avoid downloading every free themes and plugins from low quality websites. usually this free stuff is injected with suspicious code that acts like a parasite.

Though hosts offer backup, But for your own safety always have backups downloaded to your PC, I repeat always have backups of your important websites.
BWHadam is offline  
The Following User Says Thank You to BWHadam For This Useful Post:
Unread 15th Jan 2014, 06:24 PM   #18
Active Warrior
War Room Member
 
SusieJones's Avatar
 
Join Date: 2010
Location: Brisbane, QLD Australia
Posts: 77
Thanks: 64
Thanked 27 Times in 24 Posts
Blog Entries: 1
Default
Re: Server Injected via old Joomla install - be warned!
Share on: 
fb share twitter share gplus share more share

Excellent thoughts and advice regarding the version updates - I agree completely - the company that was supporting them really let them down over the last few years. Hopefully they will come to the party and help us fix it up!

And yes, thank goodness I do have backups of everything - I installed backup programs on the main sits that have dynamic content updates (like the blog, etc.) and we use mostly straight WP install with Optimize Press themes running.

I was burned many years ago with themes I purchased that were full of code that took any traffic away and stole the AdSense $$ !! So I do look at the code and spot any suspicious stuff.

Thank you everyone that has responded - it is so valuable to be able to come into the WF and get some feedback, instead of people's eyes glazing over !!!

S

SusieJones is offline  
Closed Thread


Bookmarks

Tags
injected, install, joomla, server, warned


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 10:33 AM.