Southern Spirit Hunters
News: Welcome to all our guests.  Take a look around and if you are interested in joining, please register.  If you are from China or Russia, don't bother.
 
*
Welcome, Guest. Please login or register. May 23, 2012, 07:54:31 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: News - SSH Hacked!  (Read 593 times)
0 Members and 1 Guest are viewing this topic.
Jim
Administrator
*
Offline Offline

Posts: 3,274

Location: Summerton, SC
Date Registered: 30 Jul 2006

What have I gotten myself into?


WWW
« on: Oct 19, 2010, 08:13:05 PM »

By now most of you know that we were part of a mass hack yesterday afternoon approximately 4:20PM.  While I was driving home from work, Dianna told me the forum was down.  I said I will send an email to our host if I can't get to the control panel when I get home.  Once I got here, she also showed me one of the messages that someone had got when trying to connect.  When I saw that I had a bad feeling about the whole mess.  Anyway I sent an email off to our host and got a response within a few minutes.  Here is what the response said:

Quote
Your site was hacked and the compromise may have gotten into the server. We are doing an investigation at this time. Once we are satisfied that there is no threat to our systems we will open the server to the public network again.

 Shocked  SmileyFear After what Dianna had shown me I wasn't surprised.  I was sure that they didn't get in through our account though as I keep the forum up to date and we (the SMF team) address any known vulnerabilities in the software rather quickly.  Anyway there wasn't much I could do but wait till they reconnected the server to the internet so I could see how much damage was done.

About 10 minutes later I got this email from our host:

Quote
This is a mass-notification to let everyone know that Pegasus has been disconnected from the internet momentarily. An account on the server was hacked, and this allowed the attack access to certain system utilities. These utilities were exploited to change some "index" files to simply say "Hacked by...".

We are right now making sure the server is clean.

No personal information was compromised, as it is NOT stored on the production servers. All custom files appear to be in tact, and no data was lost other than the index files.

We estimate the server to be back up within an hour or so.

We are also preparing a new system, with a fresh installation of UNIX and all utilities. We are going to move the accounts to the new server AFTER inspecting every single file. This will be done late at night and we will be re-using the same IP addresses so it will not cause any inconveniences to you, our client.

UPDATE: Current indications are that there is a vulnarability in Tinyportal, a well-used SMF MOD that allowed access... Index pages with only this text: Hacked by Ma3sTr0~Dz are symptomatic of this hacker.

Great!  tickedoff

Shortly after that email I got this one:

Quote
Pegasus is back up.

That is to say, it is connected to the network, and Apache, and MySQL processes are running.

cPanel is currently not running, but FTP is.

If your site is displaying "by Ma3sTr0-Dz", you will need to re-upload your "index.php", or "index.html", or "index.htm" (whichever you were using). No other files were harmed, and no database content, etc. was removed.

Again: NO FILES other than the INDEX files were changed (caps added for emphasis)

For those running phpBB, SMF, etc. it is best to download a fresh index.php file. If you require help with this, please reply to this email to raise a ticket and we will gladly assist you.

We have found the cause of the attack. Our servers are "lockboxed", that is, each account can not go into any other account's files. However, we have one exception, and that is through the accelerator systems (APC, eaccelerator) which scripts like SMF use to work quicker. These accelerators compile PHP scripts and store them in /tmp. When one of the scripts is compromised, it is also compiled to /tmp and from there can be run on all accounts. We have disabled accelerators to prevent this.

We also found the account that was compromised - using an outdated SMF and Tinyportal installation. Tinyportal was used to upload the initial rogue payload. Because of this, we are asking all clients to update their sites as soon as possible. If you are using Tinyportal, we encourage you to find an alternative, or at the very least upgrade it to the latest version.

Right now we are preparing a server to use in place of Pegasus ( or rather, new hardware to use Pegasus with). This should be ready by nightfall and everything should be back to normal at the latest by tomorrow morning. Note, that this does not mean there wil be downtime during this entire period, simply that services such as cPanel should be back by morning at the latest.

As an added bonus, the new system will have 12GB of RAM, and 8 Woodcrest 3.0Ghz CPUs (roughly a 4x performance increase).

We will send out another mass-mailing to all clients on Pegasus once we are ready to place clients on the new hardware.

An outdated SMF and TinyPortal?  That's why we always insist that everyone update to the most recent release of the software.  Some folks have modified the files so much that they refuse to do it and this is what can happen.  Oh and if you hadn't figured it out our host names all the servers.   grinnnn  We are not using TinyPortal!

Now is when my work began.  At last count I had to replace approximately 165 files.  In most cases the hacker just replaced every file that began with index.* with the hacked file.  He also replaced every file that began with main*.* and home*.* with a hacked file.  For some strange reason he also deleted files that began with log*.*.  Maybe that was to cover his tracks!  mad2

While I was trying to get the files replaced everyone was trying to logon and in some cases did even though lots of the buttons were gone.  That created 1358 pages of errors in the log.  Once I finally got to where I could log in and get to the admin panel, I placed the forum in maintenance mode and continued to replace files.  It's a good thing I had a backup to work with.

This is the email that came in about 2:30AM this morning from our host:

Quote
Most accounts are now back to normal. We have a few left that still require manual intervention which we are working on.

Because of this, we have pushed out the move of the data from the old Pegasus to the new one, to tomorrow night starting at 10:00 PM CDT.

This will allow everyone to warn their memberships of what's going on. We do not anticipate any downtime, but there may be some flakiness / slow loading going on while we are in the process.


We are right now capturing a snapshot of all accounts, which will be stored off-server, and in fact, out of datacenter.

We have changed all system passwords, and blocked all exterior access to the old Pegasus as a precaution. We will continually monitor it until such time as everyone is safely on the new hardware setup.

For those of you that don't know, the new Pegasus' specs:

4 x Intel Xeon-Woodcrest 5148-DualCore-LV [2.33GHz]
12GB ECC FB-DIMM DDR2
1TB RAID10 array
1Tbit/s network uplink

And all the usual goodies Wink

As usual, if you notice anything out of the ordinary, please let us know.

As a security precaution cPanel has been turned off until tomorrow evening. If you require access to any cPanel functions, feel free to raise a ticket and we'd be happy to assist you. Once on the new system, full cPanel access, along with a few new features, will be available immediately.

We'd also like to take this time to thank everyone for their patience. It's been a pleasure working with you all today - as we know these kinds of things can get on one's nerves.

So that is just about it.  Tonight after 10:00 EST we should be moved to the new hardware.  If you experience some times after that where you can't login, it is because the move is taking place.

I can't say anything but good words about our host.  If any of you ever decide to put up a website you should definitely consider MonteCarloHosting.  They are the best!
Logged

SMF Lead Support Specialist
sunsoaker
Elite Member
*
Online Online

Posts: 9,483

Location: FL
Date Registered: 26 Sep 2006

Sunny Sylph


« Reply #1 on: Oct 19, 2010, 08:24:05 PM »

You've been a busy boy. I will say it again. A GREAT BIG THANK YOU for keeping this forum up and running.
Logged

Dear Lord, On this day, please wrap your arm around my shoulder and keep your hand over my mouth.  Amen
Jim
Administrator
*
Offline Offline

Posts: 3,274

Location: Summerton, SC
Date Registered: 30 Jul 2006

What have I gotten myself into?


WWW
« Reply #2 on: Oct 19, 2010, 09:17:03 PM »

Just got another email from our host stating the transfer will begin at approximately 10:30EDT. 
Logged

SMF Lead Support Specialist
Tina
Elite Member
*
Offline Offline

Posts: 18,361

Location: So. Cal
Date Registered: 16 Mar 2007

Naughty Nymph


« Reply #3 on: Oct 19, 2010, 09:20:04 PM »

I am very glad you shared the total problem with us. I don't understand every single word of the tech stuff but I certainly got the drift of what went on. It is nice to know as much as we do. Thank you for the fix and the facts, Jim.
Logged

Friends are like bras, close to your heart and all about support
Jim
Administrator
*
Offline Offline

Posts: 3,274

Location: Summerton, SC
Date Registered: 30 Jul 2006

What have I gotten myself into?


WWW
« Reply #4 on: Oct 19, 2010, 09:23:23 PM »

Feel free to ask questions and I will try to explain what I can.
Logged

SMF Lead Support Specialist
Tina
Elite Member
*
Offline Offline

Posts: 18,361

Location: So. Cal
Date Registered: 16 Mar 2007

Naughty Nymph


« Reply #5 on: Oct 19, 2010, 09:30:02 PM »

No, I basically got it. I just wouldn't pass a written exam.  giggle Computers and their ways and routes are beyond my ken and interest. I am more concerned that it works when I need it. And very glad you explained about the problems.
I also should say that I got the notice asking us not to try to get on site but it didn't come all the way through to my gmail. Not until after I refreshed that page. So I am sorry if I added a bunch of errors that you had to deal with in the mop up.
Logged

Friends are like bras, close to your heart and all about support
Jessica
Elite Member
*
Offline Offline

Posts: 6,924

Location: Minnesota
Date Registered: 21 Sep 2009

Sassy Sprite


« Reply #6 on: Oct 19, 2010, 09:38:26 PM »

Thanks for sharing all of that with us, Jim.  And thank you for working so hard to keep this place running for us.  I know that we all appreciate it.
Logged
bayou girl
Elite Member
*
Offline Offline

Posts: 11,990

Location: somewhere in the woods
Date Registered: 01 Sep 2009

Shadow Spirit


« Reply #7 on: Oct 19, 2010, 10:03:31 PM »

i second everything said, including the apology about posting before i knew you didn't want us to Blush
Logged

My friends here are some of the kindest on earth kissies
Dianna
Administrator
*
Offline Offline

Posts: 13,019

Location: Summerton, South Carolina
Date Registered: 30 Jul 2006

Angel With The Halo!


WWW
« Reply #8 on: Oct 19, 2010, 10:05:49 PM »

Jim is working on the Chat Room now. grinnnn I went in to check it out and it wouldn't let me log back out. razberry The whole room is messed up... Roll Eyes
Logged

"Be careful what you water your dreams with. Water them with worry and fear and you will produce weeds that choke the life from your dream. Water them with optimism and solutions and you will cultivate success." - Lao Tzu
Jim
Administrator
*
Offline Offline

Posts: 3,274

Location: Summerton, SC
Date Registered: 30 Jul 2006

What have I gotten myself into?


WWW
« Reply #9 on: Oct 19, 2010, 10:21:41 PM »

Chat room is fixed.   Glee

Not a problem on the logging in.  There was really no way to tell everyone until I was able to get to the control panel.  The bugger had deleted all the login and logout buttons.   tickedoff

Once I found and restored all those I was able to put things in maintenance mode.

It's about time for the transfer to start so I am going to call it a night.

Logged

SMF Lead Support Specialist
Ariel
Full Member
*
Offline Offline

Posts: 609

Location: Oregon
Date Registered: 19 Jul 2010


« Reply #10 on: Oct 20, 2010, 02:59:28 AM »

Thank you for all your hard work! sounds like a headache!
Logged

"A Good exercise for the heart is to bend down and help another up" -Anonymous
Triss
Elite Member
*
Offline Offline

Posts: 10,850

Location: Washington
Date Registered: 05 Aug 2006

Live, Love, Laugh! Impudent Imp


WWW
« Reply #11 on: Oct 20, 2010, 11:00:48 AM »

A definite headache.  I never got an email asking us not to log in but I did get a message from Dianna that we should not via FB.

I am so glad you understand all of this Jim and worked so long and hard to get us back up and running.
Logged


We are all under the same stars, therefore we are never far apart.
William
Full Member
*
Offline Offline

Posts: 1,239

Location: Washougal, WA
Date Registered: 14 Nov 2008


« Reply #12 on: Oct 20, 2010, 11:32:03 AM »

Busy guy. Glad it was taken care of.

Wish [too explicit] would keep to themselves and leave other people sites alone, but thats wishful thinking.
Logged

William McIntosh
www.gzmph.com
Jim
Administrator
*
Offline Offline

Posts: 3,274

Location: Summerton, SC
Date Registered: 30 Jul 2006

What have I gotten myself into?


WWW
« Reply #13 on: Oct 20, 2010, 11:33:34 AM »

Here is an update.  We have been moved.  I guess the moved message is what Tammy saw when she tried to login this morning.  When we first moved to the Pegasus server, if you bookmarked us then, pegasus was in the redirected URL.  I'm thinking that was the reason she got the moved message.  Hopefully Dianna has got her all fixed by sending the correct URL to her.

Quote
This is an update with regards to the copy to the new hardware. It has gone exceedingly well, but because of the sheer size of some accounts we were not able to complete all sites this past night.

If your account username starts with the letters "a" to "ra", then your account has been moved. Those from "rb" to "z" will be moved in a second maintenance window, tonight.

It may take a bit of time for your computer to update to the new server - you may see a "moviing page" this is to protect dynamic sites from being updated on the old server once they are moved over.

This will disappear by itself over the next couple of hours.

If you have any questions, feel free to ask by responding to this email.

cPanel access has also been restored for the copied accounts.

The scheduled maintenance is again for 9:30 PM CDT tonight - sites already copied in this past maintenance window will NOT be affected in any way shape or form.

Logged

SMF Lead Support Specialist
Penny
Elite Member
*
Offline Offline

Posts: 9,420

Location: Ontario, Canada
Date Registered: 15 Sep 2006

Pleasant Pixie


« Reply #14 on: Oct 21, 2010, 07:56:08 AM »

Thanks, Jim.
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
SimplePortal 2.3.5 © 2008-2012, SimplePortal

Dilber MC Theme by HarzeM

© 2007-2012 Southern Spirit Hunters, All rights reserved
Valid XHTML 1.0! Valid CSS!
Page created in 0.087 seconds with 24 queries.

Google last visited this page Mar 22, 2012, 09:13:56 PM